Skip to content

Commit

Permalink
fix: implement storage gaps in base contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
QEDK committed Jun 28, 2024
1 parent b14f374 commit 1a3f90e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/AvailAttestation.sol
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,6 @@ abstract contract AvailAttestation is Initializable {
vectorx.rangeStartBlocks(input.rangeHash) + uint32(input.dataRootIndex), uint128(input.leafIndex)
);
}

uint256[50] private __gap;
}
2 changes: 2 additions & 0 deletions src/MessageReceiver.sol
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,6 @@ abstract contract MessageReceiver is Initializable, IMessageReceiver {

// slither-disable-next-line,unimplemented-functions
function _onAvailMessage(bytes32 from, bytes calldata data) internal virtual;

uint256[50] private __gap;
}

0 comments on commit 1a3f90e

Please sign in to comment.