@@ -85,9 +85,9 @@ contract RevocationRegistry is Initializable, EIP712Upgradeable, PausableUpgrade
8585 _changeStatus (revoked, namespace, revocationList, revocationKey);
8686 }
8787
88- function _hashChangeStatus (bool revoked , address namespace , bytes32 revocationList , bytes32 revocationKey , address signer , uint nonce ) internal view returns (bytes32 ) {
88+ function _hashChangeStatus (bool revoked , address namespace , bytes32 revocationList , bytes32 revocationKey , address signer , uint256 nonce ) internal view returns (bytes32 ) {
8989 return _hashTypedDataV4 (keccak256 (abi.encode (
90- keccak256 ("ChangeStatus(bool revoked,address namespace,bytes32 revocationList,bytes32 revocationKey,address signer,uint nonce) " ),
90+ keccak256 ("ChangeStatus(bool revoked,address namespace,bytes32 revocationList,bytes32 revocationKey,address signer,uint256 nonce) " ),
9191 revoked,
9292 namespace,
9393 revocationList,
@@ -110,9 +110,9 @@ contract RevocationRegistry is Initializable, EIP712Upgradeable, PausableUpgrade
110110 _changeStatus (revoked, namespace, revocationList, revocationKey);
111111 }
112112
113- function _hashChangeStatusDelegated (bool revoked , address namespace , bytes32 revocationList , bytes32 revocationKey , address signer , uint nonce ) internal view returns (bytes32 ) {
113+ function _hashChangeStatusDelegated (bool revoked , address namespace , bytes32 revocationList , bytes32 revocationKey , address signer , uint256 nonce ) internal view returns (bytes32 ) {
114114 return _hashTypedDataV4 (keccak256 (abi.encode (
115- keccak256 ("ChangeStatusDelegated(bool revoked,address namespace,bytes32 revocationList,bytes32 revocationKey,address signer,uint nonce) " ),
115+ keccak256 ("ChangeStatusDelegated(bool revoked,address namespace,bytes32 revocationList,bytes32 revocationKey,address signer,uint256 nonce) " ),
116116 revoked,
117117 namespace,
118118 revocationList,
@@ -142,9 +142,9 @@ contract RevocationRegistry is Initializable, EIP712Upgradeable, PausableUpgrade
142142 _changeStatusesInList (revoked, namespace, revocationList, revocationKeys);
143143 }
144144
145- function _hashChangeStatusesInList (bool [] memory revoked , address namespace , bytes32 revocationList , bytes32 [] memory revocationKeys , address signer , uint nonce ) internal view returns (bytes32 ) {
145+ function _hashChangeStatusesInList (bool [] memory revoked , address namespace , bytes32 revocationList , bytes32 [] memory revocationKeys , address signer , uint256 nonce ) internal view returns (bytes32 ) {
146146 return _hashTypedDataV4 (keccak256 (abi.encode (
147- keccak256 ("ChangeStatusesInList(bool[] revoked,address namespace,bytes32 revocationList,bytes32[] revocationKeys,address signer,uint nonce) " ),
147+ keccak256 ("ChangeStatusesInList(bool[] revoked,address namespace,bytes32 revocationList,bytes32[] revocationKeys,address signer,uint256 nonce) " ),
148148 keccak256 (abi.encodePacked (revoked)),
149149 namespace,
150150 revocationList,
@@ -167,9 +167,9 @@ contract RevocationRegistry is Initializable, EIP712Upgradeable, PausableUpgrade
167167 _changeStatusesInList (revoked, namespace, revocationList, revocationKeys);
168168 }
169169
170- function _hashChangeStatusesInListDelegated (bool [] memory revoked , address namespace , bytes32 revocationList , bytes32 [] memory revocationKeys , address signer , uint nonce ) internal view returns (bytes32 ) {
170+ function _hashChangeStatusesInListDelegated (bool [] memory revoked , address namespace , bytes32 revocationList , bytes32 [] memory revocationKeys , address signer , uint256 nonce ) internal view returns (bytes32 ) {
171171 return _hashTypedDataV4 (keccak256 (abi.encode (
172- keccak256 ("ChangeStatusesInListDelegated(bool[] revoked,address namespace,bytes32 revocationList,bytes32[] revocationKeys,address signer,uint nonce) " ),
172+ keccak256 ("ChangeStatusesInListDelegated(bool[] revoked,address namespace,bytes32 revocationList,bytes32[] revocationKeys,address signer,uint256 nonce) " ),
173173 keccak256 (abi.encodePacked (revoked)),
174174 namespace,
175175 revocationList,
@@ -198,9 +198,9 @@ contract RevocationRegistry is Initializable, EIP712Upgradeable, PausableUpgrade
198198 _changeListOwner (namespace, newOwner, revocationList);
199199 }
200200
201- function _hashChangeListOwner (address namespace , address newOwner , bytes32 revocationList , address signer , uint nonce ) internal view returns (bytes32 ) {
201+ function _hashChangeListOwner (address namespace , address newOwner , bytes32 revocationList , address signer , uint256 nonce ) internal view returns (bytes32 ) {
202202 return _hashTypedDataV4 (keccak256 (abi.encode (
203- keccak256 ("ChangeListOwner(address namespace,address newOwner,bytes32 revocationList,address signer,uint nonce) " ),
203+ keccak256 ("ChangeListOwner(address namespace,address newOwner,bytes32 revocationList,address signer,uint256 nonce) " ),
204204 namespace,
205205 newOwner,
206206 revocationList,
@@ -227,9 +227,9 @@ contract RevocationRegistry is Initializable, EIP712Upgradeable, PausableUpgrade
227227 _changeListStatus (revoked, namespace, revocationList);
228228 }
229229
230- function _hashChangeListStatus (bool revoked , address namespace , bytes32 revocationList , address signer , uint nonce ) internal view returns (bytes32 ) {
230+ function _hashChangeListStatus (bool revoked , address namespace , bytes32 revocationList , address signer , uint256 nonce ) internal view returns (bytes32 ) {
231231 return _hashTypedDataV4 (keccak256 (abi.encode (
232- keccak256 ("ChangeListStatus(bool revoked,address namespace,bytes32 revocationList,address signer,uint nonce) " ),
232+ keccak256 ("ChangeListStatus(bool revoked,address namespace,bytes32 revocationList,address signer,uint256 nonce) " ),
233233 revoked,
234234 namespace,
235235 revocationList,
@@ -258,9 +258,9 @@ contract RevocationRegistry is Initializable, EIP712Upgradeable, PausableUpgrade
258258 _addListDelegate (namespace, delegate, revocationList, validity);
259259 }
260260
261- function _hashAddListDelegate (address namespace , address delegate , bytes32 revocationList , uint validity , address signer , uint nonce ) internal view returns (bytes32 ) {
261+ function _hashAddListDelegate (address namespace , address delegate , bytes32 revocationList , uint validity , address signer , uint256 nonce ) internal view returns (bytes32 ) {
262262 return _hashTypedDataV4 (keccak256 (abi.encode (
263- keccak256 ("AddListDelegate(address namespace,address delegate,bytes32 revocationList,uint validity,address signer,uint nonce) " ),
263+ keccak256 ("AddListDelegate(address namespace,address delegate,bytes32 revocationList,uint validity,address signer,uint256 nonce) " ),
264264 namespace,
265265 delegate,
266266 revocationList,
@@ -289,9 +289,9 @@ contract RevocationRegistry is Initializable, EIP712Upgradeable, PausableUpgrade
289289 _removeListDelegate (namespace, delegate, revocationList);
290290 }
291291
292- function _hashRemoveListDelegate (address namespace , address delegate , bytes32 revocationList , address signer , uint nonce ) internal view returns (bytes32 ) {
292+ function _hashRemoveListDelegate (address namespace , address delegate , bytes32 revocationList , address signer , uint256 nonce ) internal view returns (bytes32 ) {
293293 return _hashTypedDataV4 (keccak256 (abi.encode (
294- keccak256 ("RemoveListDelegate(address namespace,address delegate,bytes32 revocationList,address signer,uint nonce) " ),
294+ keccak256 ("RemoveListDelegate(address namespace,address delegate,bytes32 revocationList,address signer,uint256 nonce) " ),
295295 namespace,
296296 delegate,
297297 revocationList,
0 commit comments