Change the configuration file to reduce gas for deposit_relay to 20000.
Run the bridge with RUST_LOG=debug
Send ether to the HomeBridge contract
When the bridge is trying to send deposit confirmation to the ForeignBridge contract it crashes and the following appears in the console:
Error(Rpc(Error { code: ServerError(-32010), message: "Transaction gas is too low. There is not enough gas to cover minimal cost of the transaction (minimal: 25368, got: 12000). Try increasing supplied gas.", data: None }), State { next_error: None, backtrace: None })
Expected behavior
The bridge produces an error message to console (which is observable even with RUST_LOG=error) and continues working.
Steps to reproduce:
gas
fordeposit_relay
to 20000.RUST_LOG=debug
HomeBridge
contractWhen the bridge is trying to send deposit confirmation to the
ForeignBridge
contract it crashes and the following appears in the console:Expected behavior
The bridge produces an error message to console (which is observable even with
RUST_LOG=error
) and continues working.