Skip to content

Commit

Permalink
fix: lower gap
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasRampoldi committed Sep 3, 2024
1 parent a96d73e commit 9db71b0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.

Large diffs are not rendered by default.

11 changes: 6 additions & 5 deletions contracts/src/core/BatcherPaymentService.sol
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ contract BatcherPaymentService is

// CONSTANTS
uint256 public constant UNLOCK_BLOCK_COUNT = 100;
bytes32 private constant NONCED_VERIFICATION_DATA_TYPEHASH =
keccak256(
"NoncedVerificationData(bytes32 verification_data_hash,bytes32 nonce)"
);

// EVENTS
event PaymentReceived(address indexed sender, uint256 amount);
Expand Down Expand Up @@ -72,9 +68,14 @@ contract BatcherPaymentService is
// map to user data
mapping(address => UserInfo) public userData;

bytes32 private constant NONCED_VERIFICATION_DATA_TYPEHASH =
keccak256(
"NoncedVerificationData(bytes32 verification_data_hash,bytes32 nonce)"
);

// storage gap for upgradeability
// solhint-disable-next-line var-name-mixedcase
uint256[24] private __GAP;
uint256[23] private __GAP;

// CONSTRUCTOR & INITIALIZER
constructor() EIP712("Aligned", "1") {
Expand Down

0 comments on commit 9db71b0

Please sign in to comment.