Default gas price is not initialized for ForeignBridge contract in erc-to-erc
mode
#86
Labels
bug
Something isn't working
erc-to-erc
mode
#86
Due to incorrect copy of ForeingBridge implementation when
erc-to-erc
bridge mode was introduced, the following line was missed:https://github.com/poanetwork/poa-bridge-contracts/blob/fef87310b523be908b16295d777fd0215878dad8/contracts/upgradeable_contracts/native_to_erc20/ForeignBridgeNativeToErc.sol#L35
So, it caused uninitialized
gasPrice
value in the storage after deployment and configuration of ForeignBridge contract:https://github.com/poanetwork/poa-bridge-contracts/blob/fef87310b523be908b16295d777fd0215878dad8/contracts/upgradeable_contracts/erc20_to_erc20/ForeignBridgeErcToErc.sol#L15-L29
The text was updated successfully, but these errors were encountered: