Skip to content

Commit

Permalink
Shift public input by 4 bytes (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
StanislavBreadless authored Oct 2, 2023
1 parent d8085ac commit c1fd4bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ethereum/contracts/zksync/Config.sol
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ uint256 constant COMMIT_TIMESTAMP_APPROXIMATION_DELTA = $$(
);

/// @dev Bit mask to apply for verifier public input before verifying.
uint256 constant INPUT_MASK = $$(~uint256(0) >> 8);
uint256 constant INPUT_MASK = $$(~uint256(0) >> 32);

/// @dev The maximum number of L2 gas that a user can request for an L2 transaction
uint256 constant L2_TX_MAX_GAS_LIMIT = $(L2_TX_MAX_GAS_LIMIT);
Expand Down

0 comments on commit c1fd4bc

Please sign in to comment.