From e183c7b8d96333075592d85d3dfa5be231814c75 Mon Sep 17 00:00:00 2001 From: Stanislav Breadless Date: Tue, 2 Jan 2024 15:07:07 +0100 Subject: [PATCH] use named mappings --- contracts/NonceHolder.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/NonceHolder.sol b/contracts/NonceHolder.sol index b2775f1c..140c8336 100644 --- a/contracts/NonceHolder.sol +++ b/contracts/NonceHolder.sol @@ -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