polytope-labs / hyperbridge

Hyperbridge is a hyperscalable coprocessor for verifiable, cross-chain interoperability
https://docs.hyperbridge.network/
Apache License 2.0
122 stars 44 forks source link

Fix bug in optimism gas oracle #336

Open seunlanlege opened 1 week ago

seunlanlege commented 1 week ago

The Tesseract relayer has a sub module referred to as the gas Oracle. This module is responsible for estimating the gas price, gas cost, and USD equivalent for cross chain transactions.

It is currently broken for the optimism chain, ever since the migration to blobs it has been broken and it over estimates the gas cost,

Which is apparently now a multidimensional value comprised of the L1 blob fee and gas costs as well as the L2 execution fee.

In order for relayers to correctly estimate the costs of the optimism transactions. This estimation process must be investigated and fixed.

mahmudsudo commented 3 days ago

Hi can I take on this ?

seunlanlege commented 3 days ago

Hi can I take on this ?

Yeah definitely!