omni/tokenbridge

PoA Bridge Issue -> gas required exceeds allowance

Opened this issue · 0 comments

Hey Team,

Bridge ETH - Mainnet -> EnergyWebChain
URL: https://bridge.energyweb.org/

Recently we are encountering a strange issue with the bridge:

Zrzut ekranu 2021-11-17 o 08 35 46

It happens when bridging from Mainnet to EWC chain.

On bridge instance I have found that it might be realted to bridge_senderhome oracle (which makes sense).

We got logs like:

bridge_senderhome_1     | {"level":50,"time":1637134813393,"msg":"Response from Oracle didn't include gas price for standard type.","validator":"0xf786a09d35cafd95da7732a838331e0328d06f0f","name":"sender-home","module":"gasPrice","v":1}
bridge_senderhome_1     | {"level":20,"time":1637134813434,"msg":"Gas price updated using the contracts","validator":"0xf786a09d35cafd95da7732a838331e0328d06f0f","name":"sender-home","module":"gasPrice","gasPrice":"1000000000","v":1}
bridge_senderhome_1     | {"level":50,"time":1637134873394,"msg":"Response from Oracle didn't include gas price for standard type.","validator":"0xf786a09d35cafd95da7732a838331e0328d06f0f","name":"sender-home","module":"gasPrice","v":1}
bridge_senderhome_1     | {"level":20,"time":1637134873428,"msg":"Gas price updated using the contracts","validator":"0xf786a09d35cafd95da7732a838331e0328d06f0f","name":"sender-home","module":"gasPrice","gasPrice":"1000000000","v":1

https://bridge-common.energyweb.org/home_gasprice is the oracle url.
There is 0.0 for standard price, so I guess it might be the case. I tried restarting the oracle however still the same.

Do you know maybe how can we fix the oracle and therefore bridge?

Thanks!