Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Commit

Permalink
use named mappings
Browse files Browse the repository at this point in the history
  • Loading branch information
StanislavBreadless committed Jan 2, 2024
1 parent 0b238cd commit e183c7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/NonceHolder.sol
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ import {DEPLOYER_SYSTEM_CONTRACT} from "./Constants.sol";
* here serve more as a help to users to prevent from doing mistakes, rather than any invariants.
*/
contract NonceHolder is INonceHolder, ISystemContract {
uint256 constant DEPLOY_NONCE_MULTIPLIER = 2 ** 128;
uint256 constant private DEPLOY_NONCE_MULTIPLIER = 2 ** 128;
/// The minNonce can be increased by at 2^32 at a time to prevent it from
/// overflowing beyond 2**128.
uint256 constant MAXIMAL_MIN_NONCE_INCREMENT = 2 ** 32;
uint256 constant private MAXIMAL_MIN_NONCE_INCREMENT = 2 ** 32;

/// RawNonces for accounts are stored in format
/// minNonce + 2^128 * deploymentNonce, where deploymentNonce
Expand Down

0 comments on commit e183c7b

Please sign in to comment.