From ed6e21ec0598ca831aa1bcc9cffc433e13dc124c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Federico=20Mart=C3=ADn=20Alconada=20Verzini?= Date: Tue, 30 Jan 2024 17:38:27 +0000 Subject: [PATCH] chore: make domainSeparator immutable --- src/KintoID.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/KintoID.sol b/src/KintoID.sol index d8e57755c..14aab24f3 100644 --- a/src/KintoID.sol +++ b/src/KintoID.sol @@ -38,14 +38,14 @@ contract KintoID is event SanctionRemoved(address indexed _to, uint16 _sanctionIndex, uint256 _timestamp); event AccountsMonitoredAt(address indexed _signer, uint256 _accountsCount, uint256 _timestamp); - /* ============ Constants ============ */ + /* ============ Constants & Immutables ============ */ bytes32 public constant override KYC_PROVIDER_ROLE = keccak256("KYC_PROVIDER_ROLE"); bytes32 public constant override UPGRADER_ROLE = keccak256("UPGRADER_ROLE"); + bytes32 public domainSeparator; /* ============ State Variables ============ */ - bytes32 public domainSeparator; uint256 private _nextTokenId; // We'll monitor the whole list every single day and update it