This repository has been archived by the owner on May 26, 2023. It is now read-only.
supernova - Confusion in gap size #146
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)
supernova
low
Confusion in gap size
Summary
According to the comments
Vulnerability Detail
But actually gap is provided for 42 instead of 41 mentioned above . This can lead to presumptions on the minds of the dev that the first slot of the child contract is a multiple of 50 , when it is not .
Impact
Code Snippet
https://github.com/sherlock-audit/2023-01-optimism/blob/main/optimism/packages/contracts-bedrock/contracts/universal/CrossDomainMessenger.sol#L132-L137
Tool used
Manual Review
Recommendation
Clear the collision in the comments and the actual code .
The text was updated successfully, but these errors were encountered: