Skip to content

Depositing ETH from L1 to L2 costs too much gas #500

@snario

Description

@snario

An L1 -> L2 deposit looks as though it is costing ~240,000 gas which is significantly more than what you'd expect for a relatively simple transfer. The figure is large because the contracts do some rate limiting on the number of L1 -> L2 enQueues. It seems like that could be optimized. As a first step, one should do an audit of this code path and try to profile what operations are inflating the gas cost.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions