976256780b
Upon startup, bridge produces the following warning: ``` WARN:bridge::bridge::deposit_relay: foreign contract balance is unknown ``` This happens because the RPC response from the node might not come/get processed immediately. By itself this warning means that the deposit_relay won't perform any operations. Solution: don't commence operations until balances are retrieved Also, indicate when balances are retrieved: ``` INFO:bridge::bridge: Retrieved home contract balance INFO:bridge::bridge: Retrieved foreign contract balance ``` This shows us that the balances are successfully retrieved and bridge can commence its operations. |
||
---|---|---|
.. | ||
balance.rs | ||
deploy.rs | ||
deposit_relay.rs | ||
mod.rs | ||
withdraw_confirm.rs | ||
withdraw_relay.rs |