ethereum-optimism / ethereum-optimism/optimism
interop: Update CrossL2Inbox gas introspection for Glamsterdam on L2 gas repricing
Open
H-interop
proofs: interop
- Dominant language
- Go
- Stars
- 6.5k
- Forks
- 4k
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 145
Description
CrossL2Inbox currently checks if the referenced init message was correctly declared in the access list by checking gas costs: https://github.com/ethereum-optimism/optimism/blob/aebb88d998825e07313c5837422d2fe57158c2c6/packages/contracts-bedrock/src/L2/CrossL2Inbox.sol#L120-L129
Glamsterdam will change gas pricing which may break this. We will need to adjust this prior to activating those new gas prices on L2 or at least check it doesn't break things. Ideally we'd replace gas introspection with a custom precompile to allow checking if something was in the access list.
Contributor guide
Assessment
This issue has not been assessed yet.