Skip to content

Relaying Withdrawals in L1 costs too much gas #673

@K-Ho

Description

@K-Ho

Is your feature request related to a problem? Please describe.
https://etherscan.io/tx/0x383e3f21e198f04a0a6d17342bd6299d6056c92fafac7c732f5b1cb2dae7a33e
Relaying withdrawals currently costs ~500k gas

Describe the solution you'd like
Need to meter gas usage of relaying withdrawals and gas golf withdrawals down, ideally to <100k.
Potential fixes include:

  • combining relayedMessages and successfulMessages
  • Cheaper withdrawal costs by placing L2->L1 message hashes in a different part of the state trie

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-featureCategory: features

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions