We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd26009 commit bb24acbCopy full SHA for bb24acb
src/ATokenVaultFactory.sol
@@ -65,7 +65,7 @@ contract ATokenVaultFactory {
65
66
address immutable public VAULT_CREATION_CODE_SSTORE2_POINTER;
67
68
- uint256 internal _nextSalt;
+ uint256 internal _nextSaltNonce;
69
70
constructor() {
71
VAULT_CREATION_CODE_SSTORE2_POINTER = SSTORE2.write(LibZip.flzCompress(type(ImmutableATokenVault).creationCode));
@@ -90,7 +90,7 @@ contract ATokenVaultFactory {
90
params.initialLockDeposit
91
);
92
93
- bytes32 salt = bytes32(_nextSalt++);
+ bytes32 salt = bytes32(_nextSaltNonce++);
94
95
bytes memory vaultInitCode = abi.encodePacked(
96
LibZip.flzDecompress(SSTORE2.read(VAULT_CREATION_CODE_SSTORE2_POINTER)),
0 commit comments