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. |
||
---|---|---|
.. | ||
bridge | ||
api.rs | ||
app.rs | ||
config.rs | ||
contracts.rs | ||
database.rs | ||
error.rs | ||
lib.rs | ||
macros.rs | ||
message_to_mainnet.rs | ||
signature.rs | ||
util.rs |