Reproduced on the latest (396198781d48de8561013445d0dc2703a2a503b6) POA master branch.
Steps to reproduce:
Run two Parity-based nodes responsible for Home and Foreign chains.
Run bridge: RUST_LOG=info bridge --config ... --database ....
Kill parity process responsible for Foreign chain.
Expected results:
The bridge handles gracefully death of Parity node: warns about the connection lose, shutdowns all operations (deposit_relay, withdraw_confirm and withdraw_relay) for a while, waits when the connection appears and runs all operations after that.
Actual results:
After killing Parity process the following appear in the terminal where the bridge is running:
No messages appear from withdraw_confirm and withdraw_relay.
Then after some time (few seconds or few minutes) the following appear on the terminal and the bridge dies:
Reproduced on the latest (396198781d48de8561013445d0dc2703a2a503b6) POA master branch.
Steps to reproduce:
RUST_LOG=info bridge --config ... --database ...
.Expected results: The bridge handles gracefully death of Parity node: warns about the connection lose, shutdowns all operations (
deposit_relay
,withdraw_confirm
andwithdraw_relay
) for a while, waits when the connection appears and runs all operations after that.Actual results: After killing Parity process the following appear in the terminal where the bridge is running:
No messages appear from
withdraw_confirm
andwithdraw_relay
. Then after some time (few seconds or few minutes) the following appear on the terminal and the bridge dies: