This repository has been archived by the owner on May 26, 2023. It is now read-only.
cmichel - Spec: Wrong L2OutputOracle
interface
#91
Labels
Has Duplicates
A valid issue with 1+ other issues describing the same vulnerability
Reward
A payout will be made for this issue
Specification
An issue related to the specification (low severity)
cmichel
low
Spec: Wrong
L2OutputOracle
interfaceSummary
Wrong
L2OutputOracle
interface in the specs.Vulnerability Detail
The
proposals.md
specification file shows a wrongL2OutputOracle
interface:function getNextBlockNumber() public view returns (uint256)
does not exist. It should befunction nextBlockNumber() public view returns (uint256)
Impact
Users usually go to the docs & specification to see how to integrate a project. Integrating Optimisim's L2OutputOracle based on the specification will lead to errors.
Code Snippet
https://github.com/ethereum-optimism/optimism/blob/3f4b3c328153a8aa03611158b6984d624b17c1d9/specs/proposals.md?plain=1#L142
Tool used
Manual Review
Recommendation
Use the correct interface by fixing the mentioned issues.
The text was updated successfully, but these errors were encountered: