This repository has been archived by the owner on May 26, 2023. It is now read-only.
obront - Information passed to L1Block.sol is not delayed by 10 blocks #103
Labels
Reward
A payout will be made for this issue
Specification
An issue related to the specification (low severity)
obront
low
Information passed to L1Block.sol is not delayed by 10 blocks
Summary
There is an inconsistency between the spec and the code regarding the timing of L1 block info being submitted to the L2 contract L1Block.sol.
Vulnerability Detail
In the spec, it states:
However, in the node's derivation code, the L1 block information is included along with the deposits for each block as it's processed, with no delays.
This can further be verified by watching L1 as well as the L1Block contract, and observing that, for a given block, the information is posted to Optimism instantly.
Impact
Spec doesn't accurately reflect the reality of what the code is doing.
Code Snippet
https://community.optimism.io/docs/developers/bedrock/differences/#l1block
https://github.com/ethereum-optimism/optimism/blob/6c6d142d7bb95faa11066aab5d8aed7187abfe38/op-node/rollup/derive/attributes.go#L56-L68
Tool used
Manual Review
Recommendation
Remove this language from the spec or adjust the code to match.
The text was updated successfully, but these errors were encountered: