Closed akolotov closed 6 years ago
Testing...
Only 1 side .The only thing I had to do is to call extra methods in order for bridge to work @phahulin should be aware of this in order to modify his deployment script to call setGas methods
https://kovan.etherscan.io/tx/0x1d963d4968e9cb9b0de626067e1c014fc1a7b9bec13c7ee8a218940de6df586f
Update after some debugging with @akolotov I got it working https://kovan.etherscan.io/tx/0xb4154352dcbbca74bc8e37b233a65260249297b40b0a7c29f76347b67c1d32ff
@rstormsf @akolotov thanks for mentioning me.
So I call three setGas...
methods after bridge deployment, but for now still keep withdraw_confirm_gas
, deposit_relay_gas
and withdraw_relay_gas
parameters in bridge config, correct? later when some other issues are closed these three parameters will also be removed from bridge config?
@phahulin, the intention of re-design was to use setGas...
by the bridge contract upgrade procecedure in order to change gas usage limits when the bridge contract is deploed initially or changed.
The bridge instance (Rust code) will:
gasLimitWithdrawRelay
, gasLimitDepositRelay
and gasLimitWithdrawConfirm
as part of initialization procedure and we can get rid of withdraw_confirm_gas
, deposit_relay_gas
and withdraw_relay_gas
from configuration file
proposed changes for https://github.com/poanetwork/parity-bridge/issues/20 and https://github.com/poanetwork/parity-bridge/issues/18