diff --git a/.gas-snapshot b/.gas-snapshot index d85de783..899abf41 100644 --- a/.gas-snapshot +++ b/.gas-snapshot @@ -21,27 +21,27 @@ CreateX_DeployCreate2AndInit_4Args_CustomiseRefundAddress_Public_Test:testFuzz_W CreateX_DeployCreate2AndInit_4Args_CustomiseSalt_Public_Test:testFuzz_WhenTheCreateXContractHasANonZeroBalanceAndWhenTheRefundTransactionIsSuccessful(address,(uint256,uint256),bytes32,uint64,address) (runs: 256, μ: 1296972, ~: 1101045) CreateX_DeployCreate2AndInit_4Args_CustomiseSalt_Public_Test:testFuzz_WhenTheInitCodeFailsToDeployARuntimeBytecode(address,(uint256,uint256),bytes32,uint64) (runs: 256, μ: 812845782, ~: 1040431013) CreateX_DeployCreate2AndInit_4Args_CustomiseSalt_Public_Test:testFuzz_WhenTheInitCodeSuccessfullyCreatesARuntimeBytecodeWithANonZeroLengthAndWhenTheInitialisationCallIsSuccessful(address,(uint256,uint256),bytes32,uint64,address) (runs: 256, μ: 1259766, ~: 1062896) -CreateX_DeployCreate2AndInit_4Args_CustomiseSalt_Public_Test:testFuzz_WhenTheInitCodeSuccessfullyCreatesARuntimeBytecodeWithAZeroLength(address,(uint256,uint256),bytes32,uint64) (runs: 256, μ: 67222, ~: 74384) -CreateX_DeployCreate2AndInit_4Args_CustomiseSalt_Public_Test:testFuzz_WhenTheInitialisationCallIsUnsuccessful(address,(uint256,uint256),bytes32,uint64) (runs: 256, μ: 855349, ~: 1003841) +CreateX_DeployCreate2AndInit_4Args_CustomiseSalt_Public_Test:testFuzz_WhenTheInitCodeSuccessfullyCreatesARuntimeBytecodeWithAZeroLength(address,(uint256,uint256),bytes32,uint64) (runs: 256, μ: 67225, ~: 74384) +CreateX_DeployCreate2AndInit_4Args_CustomiseSalt_Public_Test:testFuzz_WhenTheInitialisationCallIsUnsuccessful(address,(uint256,uint256),bytes32,uint64) (runs: 256, μ: 855352, ~: 1003861) CreateX_DeployCreate2AndInit_4Args_CustomiseSalt_Public_Test:testFuzz_WhenTheRefundTransactionIsUnsuccessful((uint256,uint256),bytes32,uint64) (runs: 256, μ: 885611, ~: 1039108) CreateX_DeployCreate2AndInit_5Args_Public_Test:testFuzz_WhenTheCreateXContractHasANonZeroBalanceAndWhenTheRefundTransactionIsSuccessful(address,(uint256,uint256),bytes32,uint64,address) (runs: 256, μ: 1303765, ~: 1120170) CreateX_DeployCreate2AndInit_5Args_Public_Test:testFuzz_WhenTheInitCodeFailsToDeployARuntimeBytecode(address,(uint256,uint256),bytes32,uint64) (runs: 256, μ: 804717772, ~: 1040430992) CreateX_DeployCreate2AndInit_5Args_Public_Test:testFuzz_WhenTheInitCodeSuccessfullyCreatesARuntimeBytecodeWithANonZeroLengthAndWhenTheInitialisationCallIsSuccessful(address,(uint256,uint256),bytes32,uint64,address) (runs: 256, μ: 1251421, ~: 1063241) CreateX_DeployCreate2AndInit_5Args_Public_Test:testFuzz_WhenTheInitCodeSuccessfullyCreatesARuntimeBytecodeWithAZeroLength(address,(uint256,uint256),bytes32,uint64) (runs: 256, μ: 67079, ~: 74458) CreateX_DeployCreate2AndInit_5Args_Public_Test:testFuzz_WhenTheInitialisationCallIsUnsuccessful(address,(uint256,uint256),bytes32,uint64) (runs: 256, μ: 852262, ~: 1006034) -CreateX_DeployCreate2AndInit_5Args_Public_Test:testFuzz_WhenTheRefundTransactionIsUnsuccessful((uint256,uint256),bytes32,uint64) (runs: 256, μ: 880343, ~: 1039215) +CreateX_DeployCreate2AndInit_5Args_Public_Test:testFuzz_WhenTheRefundTransactionIsUnsuccessful((uint256,uint256),bytes32,uint64) (runs: 256, μ: 880340, ~: 1039215) CreateX_DeployCreate2Clone_2Args_Public_Test:testFuzz_WhenTheEIP1167MinimalProxyContractCreationFails(address,uint256,uint64) (runs: 256, μ: 1040431853, ~: 1040431826) CreateX_DeployCreate2Clone_2Args_Public_Test:testFuzz_WhenTheEIP1167MinimalProxyContractIsSuccessfullyCreatedAndWhenTheEIP1167MinimalProxyInitialisationCallIsSuccessful(address,uint256,uint64,address) (runs: 256, μ: 313899, ~: 313914) CreateX_DeployCreate2Clone_2Args_Public_Test:testFuzz_WhenTheEIP1167MinimalProxyInitialisationCallIsUnsuccessful(address,uint256,uint64) (runs: 256, μ: 93395, ~: 93407) CreateX_DeployCreate2Clone_3Args_Public_Test:testFuzz_WhenTheEIP1167MinimalProxyContractCreationFails(address,uint256,bytes32,uint64) (runs: 256, μ: 812845736, ~: 1040431216) -CreateX_DeployCreate2Clone_3Args_Public_Test:testFuzz_WhenTheEIP1167MinimalProxyContractIsSuccessfullyCreatedAndWhenTheEIP1167MinimalProxyInitialisationCallIsSuccessful(address,uint256,bytes32,uint64,address) (runs: 256, μ: 149932, ~: 133519) +CreateX_DeployCreate2Clone_3Args_Public_Test:testFuzz_WhenTheEIP1167MinimalProxyContractIsSuccessfullyCreatedAndWhenTheEIP1167MinimalProxyInitialisationCallIsSuccessful(address,uint256,bytes32,uint64,address) (runs: 256, μ: 150279, ~: 133519) CreateX_DeployCreate2Clone_3Args_Public_Test:testFuzz_WhenTheEIP1167MinimalProxyInitialisationCallIsUnsuccessful(address,uint256,bytes32,uint64) (runs: 256, μ: 78533, ~: 90920) CreateX_DeployCreate2_1Arg_Public_Test:testFuzz_WhenTheInitCodeFailsToDeployARuntimeBytecode(address,uint256) (runs: 256, μ: 1040431849, ~: 1040431833) CreateX_DeployCreate2_1Arg_Public_Test:testFuzz_WhenTheInitCodeSuccessfullyCreatesARuntimeBytecodeWithANonZeroLength(address,uint256,uint64,address) (runs: 256, μ: 2464648, ~: 2464564) CreateX_DeployCreate2_1Arg_Public_Test:testFuzz_WhenTheInitCodeSuccessfullyCreatesARuntimeBytecodeWithAZeroLength(address,uint256) (runs: 256, μ: 70101, ~: 70346) CreateX_DeployCreate2_2Args_Public_Test:testFuzz_WhenTheInitCodeFailsToDeployARuntimeBytecode(address,bytes32,uint64,uint256) (runs: 256, μ: 820972318, ~: 1040431074) CreateX_DeployCreate2_2Args_Public_Test:testFuzz_WhenTheInitCodeSuccessfullyCreatesARuntimeBytecodeWithANonZeroLength(address,uint256,bytes32,uint64,address) (runs: 256, μ: 1215149, ~: 1026187) -CreateX_DeployCreate2_2Args_Public_Test:testFuzz_WhenTheInitCodeSuccessfullyCreatesARuntimeBytecodeWithAZeroLength(address,bytes32,uint64,uint256) (runs: 256, μ: 60246, ~: 67525) +CreateX_DeployCreate2_2Args_Public_Test:testFuzz_WhenTheInitCodeSuccessfullyCreatesARuntimeBytecodeWithAZeroLength(address,bytes32,uint64,uint256) (runs: 256, μ: 60243, ~: 67525) CreateX_DeployCreate3AndInit_3Args_Public_Test:testFuzz_WhenTheCreateXContractHasANonZeroBalanceAndWhenTheRefundTransactionIsSuccessful(address,(uint256,uint256),uint64,address) (runs: 256, μ: 3159565, ~: 3159963) CreateX_DeployCreate3AndInit_3Args_Public_Test:testFuzz_WhenTheInitCodeFailsToDeployARuntimeBytecode(address,(uint256,uint256)) (runs: 256, μ: 1024177407, ~: 1024177386) CreateX_DeployCreate3AndInit_3Args_Public_Test:testFuzz_WhenTheInitCodeSuccessfullyCreatesARuntimeBytecodeWithANonZeroLengthAndWhenTheInitialisationCallIsSuccessful(address,(uint256,uint256),uint64,address) (runs: 256, μ: 3116447, ~: 3116988) @@ -62,7 +62,7 @@ CreateX_DeployCreate3AndInit_4Args_CustomiseSalt_Public_Test:testFuzz_WhenTheIni CreateX_DeployCreate3AndInit_4Args_CustomiseSalt_Public_Test:testFuzz_WhenTheInitCodeSuccessfullyCreatesARuntimeBytecodeWithAZeroLength(address,(uint256,uint256),bytes32,uint64) (runs: 256, μ: 106131, ~: 119235) CreateX_DeployCreate3AndInit_4Args_CustomiseSalt_Public_Test:testFuzz_WhenTheInitialisationCallIsUnsuccessful(address,(uint256,uint256),bytes32,uint64) (runs: 256, μ: 890932, ~: 1057592) CreateX_DeployCreate3AndInit_4Args_CustomiseSalt_Public_Test:testFuzz_WhenTheProxyContractCreationFails(address,(uint256,uint256),bytes32,uint64) (runs: 256, μ: 796676618, ~: 1040440977) -CreateX_DeployCreate3AndInit_4Args_CustomiseSalt_Public_Test:testFuzz_WhenTheRefundTransactionIsUnsuccessful((uint256,uint256),bytes32,uint64) (runs: 256, μ: 926557, ~: 1092809) +CreateX_DeployCreate3AndInit_4Args_CustomiseSalt_Public_Test:testFuzz_WhenTheRefundTransactionIsUnsuccessful((uint256,uint256),bytes32,uint64) (runs: 256, μ: 926554, ~: 1092809) CreateX_DeployCreate3AndInit_5Args_Public_Test:testFuzz_WhenTheCreateXContractHasANonZeroBalanceAndWhenTheRefundTransactionIsSuccessful(address,(uint256,uint256),bytes32,uint64,address) (runs: 256, μ: 1403206, ~: 1234241) CreateX_DeployCreate3AndInit_5Args_Public_Test:testFuzz_WhenTheInitCodeFailsToDeployARuntimeBytecode(address,(uint256,uint256),bytes32,uint64) (runs: 256, μ: 788150567, ~: 1024176568) CreateX_DeployCreate3AndInit_5Args_Public_Test:testFuzz_WhenTheInitCodeSuccessfullyCreatesARuntimeBytecodeWithANonZeroLengthAndWhenTheInitialisationCallIsSuccessful(address,(uint256,uint256),bytes32,uint64,address) (runs: 256, μ: 1351221, ~: 1177314) @@ -98,9 +98,9 @@ CreateX_DeployCreate_Public_Test:testFuzz_WhenTheInitCodeSuccessfullyCreatesARun CreateX_DeployCreate_Public_Test:testFuzz_WhenTheInitCodeSuccessfullyCreatesARuntimeBytecodeWithAZeroLength(uint64,uint256) (runs: 256, μ: 52672, ~: 53107) CreateX_EfficientHash_Internal_Test:testFuzz_MatchesTheOutputOfAHighLevelHashAndShouldNeverRevert(bytes32,bytes32) (runs: 256, μ: 9167, ~: 9167) CreateX_GenerateSalt_Internal_Test:testFuzz_NeverReverts(uint256) (runs: 256, μ: 19088, ~: 19088) -CreateX_GenerateSalt_Internal_Test:testFuzz_ShouldBeAFunctionOfMultipleBlockPropertiesAndTheCaller(uint256,address,string,uint64,address) (runs: 256, μ: 60592, ~: 60362) +CreateX_GenerateSalt_Internal_Test:testFuzz_ShouldBeAFunctionOfMultipleBlockPropertiesAndTheCaller(uint256,address,string,uint64,address) (runs: 256, μ: 60582, ~: 60362) CreateX_Guard_Internal_Test:testFuzz_WhenTheFirst20BytesOfTheSaltDoNotEqualTheCallerOrTheZeroAddress(address,bytes32) (runs: 256, μ: 33826, ~: 33827) -CreateX_Guard_Internal_Test:testFuzz_WhenTheFirst20BytesOfTheSaltDoNotEqualTheCallerOrTheZeroAddressAndWhenTheSaltValueIsGeneratedPseudorandomly(address,uint256,address,string,uint64) (runs: 256, μ: 41555, ~: 41365) +CreateX_Guard_Internal_Test:testFuzz_WhenTheFirst20BytesOfTheSaltDoNotEqualTheCallerOrTheZeroAddressAndWhenTheSaltValueIsGeneratedPseudorandomly(address,uint256,address,string,uint64) (runs: 256, μ: 41590, ~: 41365) CreateX_Guard_Internal_Test:testFuzz_WhenTheFirst20BytesOfTheSaltEqualsTheCallerAndWhenThe21stByteOfTheSaltEquals0x00(address,bytes32) (runs: 256, μ: 33276, ~: 33276) CreateX_Guard_Internal_Test:testFuzz_WhenTheFirst20BytesOfTheSaltEqualsTheCallerAndWhenThe21stByteOfTheSaltEquals0x01(address,bytes32) (runs: 256, μ: 33178, ~: 33178) CreateX_Guard_Internal_Test:testFuzz_WhenTheFirst20BytesOfTheSaltEqualsTheCallerAndWhenThe21stByteOfTheSaltIsGreaterThan0x01(address,bytes32) (runs: 256, μ: 36039, ~: 35753) @@ -124,6 +124,6 @@ CreateX_RequireSuccessfulContractCreation_2Args_Internal_Test:testFuzz_WhenTheNe CreateX_RequireSuccessfulContractCreation_2Args_Internal_Test:testFuzz_WhenTheNewContractAddressHasNoCode(bool,address) (runs: 256, μ: 15653, ~: 15611) CreateX_RequireSuccessfulContractCreation_2Args_Internal_Test:testFuzz_WhenTheSuccessBooleanIsFalse(address) (runs: 256, μ: 11407, ~: 11407) CreateX_RequireSuccessfulContractCreation_2Args_Internal_Test:test_WhenTheNewContractAddressIsTheZeroAddress() (gas: 11267) -CreateX_RequireSuccessfulContractInitialisation_Internal_Test:testFuzz_WhenTheImplementationAddressHasCode(bytes,address) (runs: 256, μ: 14338, ~: 14283) +CreateX_RequireSuccessfulContractInitialisation_Internal_Test:testFuzz_WhenTheImplementationAddressHasCode(bytes,address) (runs: 256, μ: 14340, ~: 14283) CreateX_RequireSuccessfulContractInitialisation_Internal_Test:testFuzz_WhenTheImplementationAddressHasNoCode(bytes,address) (runs: 256, μ: 17392, ~: 17225) CreateX_RequireSuccessfulContractInitialisation_Internal_Test:testFuzz_WhenTheSuccessBooleanIsFalse(bytes,address) (runs: 256, μ: 13431, ~: 13235) \ No newline at end of file diff --git a/interface/package.json b/interface/package.json index e71a60b9..d7e2cba8 100644 --- a/interface/package.json +++ b/interface/package.json @@ -32,7 +32,7 @@ "dependencies": { "@headlessui/react": "^2.1.8", "@heroicons/react": "^2.1.5", - "next": "^14.2.13", + "next": "^14.2.14", "next-themes": "^0.3.0", "prismjs": "^1.29.0", "react": "^18.3.1", @@ -41,15 +41,15 @@ }, "devDependencies": { "@eslint/js": "^9.11.1", - "@next/eslint-plugin-next": "^14.2.13", + "@next/eslint-plugin-next": "^14.2.14", "@trivago/prettier-plugin-sort-imports": "^4.3.0", "@types/node": "^22.7.4", - "@types/react": "^18.3.10", + "@types/react": "^18.3.11", "@types/react-dom": "^18.3.0", "autoprefixer": "^10.4.20", "eslint": "^8.57.1", - "eslint-config-next": "^14.2.13", - "eslint-plugin-react": "^7.37.0", + "eslint-config-next": "^14.2.14", + "eslint-plugin-react": "^7.37.1", "eslint-plugin-react-hooks": "^4.6.2", "next-seo": "^6.6.0", "postcss": "^8.4.47", diff --git a/lib/forge-std b/lib/forge-std index 8f24d6b0..ab6de56e 160000 --- a/lib/forge-std +++ b/lib/forge-std @@ -1 +1 @@ -Subproject commit 8f24d6b04c92975e0795b5868aa0d783251cdeaa +Subproject commit ab6de56ed94bed75866c78c62cad882e8a046348 diff --git a/lib/openzeppelin-contracts b/lib/openzeppelin-contracts index b72e3da0..49cd6456 160000 --- a/lib/openzeppelin-contracts +++ b/lib/openzeppelin-contracts @@ -1 +1 @@ -Subproject commit b72e3da0ec1f47e4a7911a4c06dc92e78c646607 +Subproject commit 49cd64565aafa5b8f6863bf60a30ef015861614c diff --git a/lib/solady b/lib/solady index d4173342..b43371a4 160000 --- a/lib/solady +++ b/lib/solady @@ -1 +1 @@ -Subproject commit d4173342599d84db83f6b6e6a70c3fd5428eb284 +Subproject commit b43371a4d9ace5be29393dfbdd26507702f5d1b8 diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 703d8b3f..b067b950 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -75,8 +75,8 @@ importers: specifier: ^2.1.5 version: 2.1.5(react@18.3.1) next: - specifier: ^14.2.13 - version: 14.2.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: ^14.2.14 + version: 14.2.14(react-dom@18.3.1(react@18.3.1))(react@18.3.1) next-themes: specifier: ^0.3.0 version: 0.3.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -97,8 +97,8 @@ importers: specifier: ^9.11.1 version: 9.11.1 '@next/eslint-plugin-next': - specifier: ^14.2.13 - version: 14.2.13 + specifier: ^14.2.14 + version: 14.2.14 '@trivago/prettier-plugin-sort-imports': specifier: ^4.3.0 version: 4.3.0(prettier@3.3.3) @@ -106,8 +106,8 @@ importers: specifier: ^22.7.4 version: 22.7.4 '@types/react': - specifier: ^18.3.10 - version: 18.3.10 + specifier: ^18.3.11 + version: 18.3.11 '@types/react-dom': specifier: ^18.3.0 version: 18.3.0 @@ -118,17 +118,17 @@ importers: specifier: ^8.57.1 version: 8.57.1 eslint-config-next: - specifier: ^14.2.13 - version: 14.2.13(eslint@8.57.1)(typescript@5.6.2) + specifier: ^14.2.14 + version: 14.2.14(eslint@8.57.1)(typescript@5.6.2) eslint-plugin-react: - specifier: ^7.37.0 - version: 7.37.0(eslint@8.57.1) + specifier: ^7.37.1 + version: 7.37.1(eslint@8.57.1) eslint-plugin-react-hooks: specifier: ^4.6.2 version: 4.6.2(eslint@8.57.1) next-seo: specifier: ^6.6.0 - version: 6.6.0(next@14.2.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 6.6.0(next@14.2.14(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) postcss: specifier: ^8.4.47 version: 8.4.47 @@ -160,16 +160,16 @@ packages: resolution: {integrity: sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==} engines: {node: '>=10'} - '@babel/code-frame@7.24.7': - resolution: {integrity: sha512-BcYH1CVJBO9tvyIZ2jVeXgSIMvGZ2FDRvDdOIVQyuklNKSsx+eppDEBq/g47Ayw+RqNFE+URvOShmf+f/qwAlA==} + '@babel/code-frame@7.25.7': + resolution: {integrity: sha512-0xZJFNE5XMpENsgfHYTw8FbX4kv53mFLn2i3XPoq69LyhYSCBJtitaHx9QnsVTrsogI4Z3+HtEfZ2/GFPOtf5g==} engines: {node: '>=6.9.0'} '@babel/generator@7.17.7': resolution: {integrity: sha512-oLcVCTeIFadUoArDTwpluncplrYBmTCCZZgXCbgNGvOBBiSDDK3eWO4b/+eOTli5tKv1lg+a5/NAXg+nTcei1w==} engines: {node: '>=6.9.0'} - '@babel/generator@7.25.6': - resolution: {integrity: sha512-VPC82gr1seXOpkjAAKoLhP50vx4vGNlF4msF64dSFq1P8RfB+QAuJWGHPXXPc8QyfVWwwB/TNNU4+ayZmHNbZw==} + '@babel/generator@7.25.7': + resolution: {integrity: sha512-5Dqpl5fyV9pIAD62yK9P7fcA768uVPUyrQmqpqstHWgMma4feF1x/oFysBCVZLY5wJ2GkMUCdsNDnGZrPoR6rA==} engines: {node: '>=6.9.0'} '@babel/helper-environment-visitor@7.24.7': @@ -188,25 +188,25 @@ packages: resolution: {integrity: sha512-oy5V7pD+UvfkEATUKvIjvIAH/xCzfsFVw7ygW2SI6NClZzquT+mwdTfgfdbUiceh6iQO0CHtCPsyze/MZ2YbAA==} engines: {node: '>=6.9.0'} - '@babel/helper-string-parser@7.24.8': - resolution: {integrity: sha512-pO9KhhRcuUyGnJWwyEgnRJTSIZHiT+vMD0kPeD+so0l7mxkMT19g3pjY9GTnHySck/hDzq+dtW/4VgnMkippsQ==} + '@babel/helper-string-parser@7.25.7': + resolution: {integrity: sha512-CbkjYdsJNHFk8uqpEkpCvRs3YRp9tY6FmFY7wLMSYuGYkrdUi7r2lc4/wqsvlHoMznX3WJ9IP8giGPq68T/Y6g==} engines: {node: '>=6.9.0'} - '@babel/helper-validator-identifier@7.24.7': - resolution: {integrity: sha512-rR+PBcQ1SMQDDyF6X0wxtG8QyLCgUB0eRAGguqRLfkCA87l7yAP7ehq8SNj96OOGTO8OBV70KhuFYcIkHXOg0w==} + '@babel/helper-validator-identifier@7.25.7': + resolution: {integrity: sha512-AM6TzwYqGChO45oiuPqwL2t20/HdMC1rTPAesnBCgPCSF1x3oN9MVUwQV2iyz4xqWrctwK5RNC8LV22kaQCNYg==} engines: {node: '>=6.9.0'} - '@babel/highlight@7.24.7': - resolution: {integrity: sha512-EStJpq4OuY8xYfhGVXngigBJRWxftKX9ksiGDnmlY3o7B/V7KIAc9X4oiK87uPJSc/vs5L869bem5fhZa8caZw==} + '@babel/highlight@7.25.7': + resolution: {integrity: sha512-iYyACpW3iW8Fw+ZybQK+drQre+ns/tKpXbNESfrhNnPLIklLbXr7MYJ6gPEd0iETGLOK+SxMjVvKb/ffmk+FEw==} engines: {node: '>=6.9.0'} - '@babel/parser@7.25.6': - resolution: {integrity: sha512-trGdfBdbD0l1ZPmcJ83eNxB9rbEax4ALFTF7fN386TMYbeCQbyme5cOEXQhbGXKebwGaB/J52w1mrklMcbgy6Q==} + '@babel/parser@7.25.7': + resolution: {integrity: sha512-aZn7ETtQsjjGG5HruveUK06cU3Hljuhd9Iojm4M8WWv3wLE6OkE5PWbDUkItmMgegmccaITudyuW5RPYrYlgWw==} engines: {node: '>=6.0.0'} hasBin: true - '@babel/template@7.25.0': - resolution: {integrity: sha512-aOOgh1/5XzKvg1jvVz7AVrx2piJ2XBi227DHmbY6y+bM9H2FlN+IfecYu4Xl0cNiiVejlsCri89LUsbj8vJD9Q==} + '@babel/template@7.25.7': + resolution: {integrity: sha512-wRwtAgI3bAS+JGU2upWNL9lSlDcRCqD05BZ1n3X2ONLH1WilFP6O1otQjeMK/1g0pvYcXC7b/qVUB1keofjtZA==} engines: {node: '>=6.9.0'} '@babel/traverse@7.23.2': @@ -217,8 +217,8 @@ packages: resolution: {integrity: sha512-TmKSNO4D5rzhL5bjWFcVHHLETzfQ/AmbKpKPOSjlP0WoHZ6L911fgoOKY4Alp/emzG4cHJdyN49zpgkbXFEHHw==} engines: {node: '>=6.9.0'} - '@babel/types@7.25.6': - resolution: {integrity: sha512-/l42B1qxpG6RdfYf343Uw1vmDjeNhneUXtzhojE7pDgfpEypmRhI6j1kr17XCVv4Cgl9HdAiQY2x0GwKm7rWCw==} + '@babel/types@7.25.7': + resolution: {integrity: sha512-vwIVdXG+j+FOpkwqHRcBgHLYNL7XMkufrlaFvL9o6Ai9sJn9+PdyIL5qa0XzTZw084c+u9LOls53eoZWP/W5WQ==} engines: {node: '>=6.9.0'} '@colors/colors@1.5.0': @@ -519,62 +519,62 @@ packages: resolution: {integrity: sha512-tghyZKLHZjcdlDqCA3gNZmLeR0XvOE9U1qoQO9ohyAZT6Pya+H9vkBPcsyXytmYLNgVoin7CKCmweo/R43V+tQ==} engines: {node: '>=12.0.0'} - '@next/env@14.2.13': - resolution: {integrity: sha512-s3lh6K8cbW1h5Nga7NNeXrbe0+2jIIYK9YaA9T7IufDWnZpozdFUp6Hf0d5rNWUKu4fEuSX2rCKlGjCrtylfDw==} + '@next/env@14.2.14': + resolution: {integrity: sha512-/0hWQfiaD5//LvGNgc8PjvyqV50vGK0cADYzaoOOGN8fxzBn3iAiaq3S0tCRnFBldq0LVveLcxCTi41ZoYgAgg==} - '@next/eslint-plugin-next@14.2.13': - resolution: {integrity: sha512-z8Mk0VljxhIzsSiZUSdt3wp+t2lKd+jk5a9Jsvh3zDGkItgDMfjv/ZbET6HsxEl/fSihVoHGsXV6VLyDH0lfTQ==} + '@next/eslint-plugin-next@14.2.14': + resolution: {integrity: sha512-kV+OsZ56xhj0rnTn6HegyTGkoa16Mxjrpk7pjWumyB2P8JVQb8S9qtkjy/ye0GnTr4JWtWG4x/2qN40lKZ3iVQ==} - '@next/swc-darwin-arm64@14.2.13': - resolution: {integrity: sha512-IkAmQEa2Htq+wHACBxOsslt+jMoV3msvxCn0WFSfJSkv/scy+i/EukBKNad36grRxywaXUYJc9mxEGkeIs8Bzg==} + '@next/swc-darwin-arm64@14.2.14': + resolution: {integrity: sha512-bsxbSAUodM1cjYeA4o6y7sp9wslvwjSkWw57t8DtC8Zig8aG8V6r+Yc05/9mDzLKcybb6EN85k1rJDnMKBd9Gw==} engines: {node: '>= 10'} cpu: [arm64] os: [darwin] - '@next/swc-darwin-x64@14.2.13': - resolution: {integrity: sha512-Dv1RBGs2TTjkwEnFMVL5XIfJEavnLqqwYSD6LXgTPdEy/u6FlSrLBSSfe1pcfqhFEXRAgVL3Wpjibe5wXJzWog==} + '@next/swc-darwin-x64@14.2.14': + resolution: {integrity: sha512-cC9/I+0+SK5L1k9J8CInahduTVWGMXhQoXFeNvF0uNs3Bt1Ub0Azb8JzTU9vNCr0hnaMqiWu/Z0S1hfKc3+dww==} engines: {node: '>= 10'} cpu: [x64] os: [darwin] - '@next/swc-linux-arm64-gnu@14.2.13': - resolution: {integrity: sha512-yB1tYEFFqo4ZNWkwrJultbsw7NPAAxlPXURXioRl9SdW6aIefOLS+0TEsKrWBtbJ9moTDgU3HRILL6QBQnMevg==} + '@next/swc-linux-arm64-gnu@14.2.14': + resolution: {integrity: sha512-RMLOdA2NU4O7w1PQ3Z9ft3PxD6Htl4uB2TJpocm+4jcllHySPkFaUIFacQ3Jekcg6w+LBaFvjSPthZHiPmiAUg==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] - '@next/swc-linux-arm64-musl@14.2.13': - resolution: {integrity: sha512-v5jZ/FV/eHGoWhMKYrsAweQ7CWb8xsWGM/8m1mwwZQ/sutJjoFaXchwK4pX8NqwImILEvQmZWyb8pPTcP7htWg==} + '@next/swc-linux-arm64-musl@14.2.14': + resolution: {integrity: sha512-WgLOA4hT9EIP7jhlkPnvz49iSOMdZgDJVvbpb8WWzJv5wBD07M2wdJXLkDYIpZmCFfo/wPqFsFR4JS4V9KkQ2A==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] - '@next/swc-linux-x64-gnu@14.2.13': - resolution: {integrity: sha512-aVc7m4YL7ViiRv7SOXK3RplXzOEe/qQzRA5R2vpXboHABs3w8vtFslGTz+5tKiQzWUmTmBNVW0UQdhkKRORmGA==} + '@next/swc-linux-x64-gnu@14.2.14': + resolution: {integrity: sha512-lbn7svjUps1kmCettV/R9oAvEW+eUI0lo0LJNFOXoQM5NGNxloAyFRNByYeZKL3+1bF5YE0h0irIJfzXBq9Y6w==} engines: {node: '>= 10'} cpu: [x64] os: [linux] - '@next/swc-linux-x64-musl@14.2.13': - resolution: {integrity: sha512-4wWY7/OsSaJOOKvMsu1Teylku7vKyTuocvDLTZQq0TYv9OjiYYWt63PiE1nTuZnqQ4RPvME7Xai+9enoiN0Wrg==} + '@next/swc-linux-x64-musl@14.2.14': + resolution: {integrity: sha512-7TcQCvLQ/hKfQRgjxMN4TZ2BRB0P7HwrGAYL+p+m3u3XcKTraUFerVbV3jkNZNwDeQDa8zdxkKkw2els/S5onQ==} engines: {node: '>= 10'} cpu: [x64] os: [linux] - '@next/swc-win32-arm64-msvc@14.2.13': - resolution: {integrity: sha512-uP1XkqCqV2NVH9+g2sC7qIw+w2tRbcMiXFEbMihkQ8B1+V6m28sshBwAB0SDmOe0u44ne1vFU66+gx/28RsBVQ==} + '@next/swc-win32-arm64-msvc@14.2.14': + resolution: {integrity: sha512-8i0Ou5XjTLEje0oj0JiI0Xo9L/93ghFtAUYZ24jARSeTMXLUx8yFIdhS55mTExq5Tj4/dC2fJuaT4e3ySvXU1A==} engines: {node: '>= 10'} cpu: [arm64] os: [win32] - '@next/swc-win32-ia32-msvc@14.2.13': - resolution: {integrity: sha512-V26ezyjPqQpDBV4lcWIh8B/QICQ4v+M5Bo9ykLN+sqeKKBxJVDpEc6biDVyluTXTC40f5IqCU0ttth7Es2ZuMw==} + '@next/swc-win32-ia32-msvc@14.2.14': + resolution: {integrity: sha512-2u2XcSaDEOj+96eXpyjHjtVPLhkAFw2nlaz83EPeuK4obF+HmtDJHqgR1dZB7Gb6V/d55FL26/lYVd0TwMgcOQ==} engines: {node: '>= 10'} cpu: [ia32] os: [win32] - '@next/swc-win32-x64-msvc@14.2.13': - resolution: {integrity: sha512-WwzOEAFBGhlDHE5Z73mNU8CO8mqMNLqaG+AO9ETmzdCQlJhVtWZnOl2+rqgVQS+YHunjOWptdFmNfbpwcUuEsw==} + '@next/swc-win32-x64-msvc@14.2.14': + resolution: {integrity: sha512-MZom+OvZ1NZxuRovKt1ApevjiUJTcU2PmdJKL66xUPaJeRywnbGGRWUlaAOwunD6dX+pm83vj979NTC8QXjGWg==} engines: {node: '>= 10'} cpu: [x64] os: [win32] @@ -615,36 +615,36 @@ packages: resolution: {integrity: sha512-nn5ozdjYQpUCZlWGuxcJY/KpxkWQs4DcbMCmKojjyrYDEAGy4Ce19NN4v5MduafTwJlbKc99UA8YhSVqq9yPZA==} engines: {node: '>=12.4.0'} - '@nomicfoundation/edr-darwin-arm64@0.6.2': - resolution: {integrity: sha512-o4A9SaPlxJ1MS6u8Ozqq7Y0ri2XO0jASw+qkytQyBYowNFNReoGqVSs7SCwenYCDiN+1il8+M0VAUq7wOovnCQ==} + '@nomicfoundation/edr-darwin-arm64@0.6.3': + resolution: {integrity: sha512-hqtI7tYDqKG5PDmZ//Z65EH5cgH8VL/SAAu50rpHP7WAVfJWkOCcYbecywwF6nhHdonJbRTDGAeG1/+VOy6zew==} engines: {node: '>= 18'} - '@nomicfoundation/edr-darwin-x64@0.6.2': - resolution: {integrity: sha512-WG8BeG2eR3rFC+2/9V1hoPGW7tmNRUcuztdHUijO1h2flRsf2YWv+kEHO+EEnhGkEbgBUiwOrwlwlSMxhe2cGA==} + '@nomicfoundation/edr-darwin-x64@0.6.3': + resolution: {integrity: sha512-4fGi79/lyOlRUORhCYsYb3sWqRHuHT7qqzyZfZuNOn8llaxmT1k36xNmvpyg37R8SzjnhT/DzoukSJrs23Ip9Q==} engines: {node: '>= 18'} - '@nomicfoundation/edr-linux-arm64-gnu@0.6.2': - resolution: {integrity: sha512-wvHaTmOwuPjRIOqBB+paI3RBdNlG8f3e1F2zWj75EdeWwefimPzzFUs05JxOYuPO0JhDQIn2tbYUgdZbBQ+mqg==} + '@nomicfoundation/edr-linux-arm64-gnu@0.6.3': + resolution: {integrity: sha512-yFFTvGFMhfAvQ1Z2itUh1jpoUA+mVROyVELcaxjIq8fyg602lQmbS+NXkhQ+oaeDgJ+06mSENrHBg4fcfRf9cw==} engines: {node: '>= 18'} - '@nomicfoundation/edr-linux-arm64-musl@0.6.2': - resolution: {integrity: sha512-UrOAxnsywUcEngQM2ZxIuucci0VX29hYxX7jcpwZU50HICCjxNsxnuXYPxv+IM+6gbhBY1FYvYJGW4PJcP1Nyw==} + '@nomicfoundation/edr-linux-arm64-musl@0.6.3': + resolution: {integrity: sha512-pOKmd0Fa3a6BHg5qbjbl/jMRELVi9oazbfiuU7Bvgn/dpTK+ID3jwT0SXiuC2zxjmPByWgXL6G9XRf5BPAM2rQ==} engines: {node: '>= 18'} - '@nomicfoundation/edr-linux-x64-gnu@0.6.2': - resolution: {integrity: sha512-gYxlPLi7fkNcmDmCwZWQa5eOfNcTDundE+TWjpyafxLAjodQuKBD4I0p4XbnuocHjoBEeNzLWdE5RShbZEXEJA==} + '@nomicfoundation/edr-linux-x64-gnu@0.6.3': + resolution: {integrity: sha512-3AUferhkLIXtLV63w5GjpHttzdxZ36i656XMy+pkBZbbiqnzIVeKWg6DJv1A94fQY16gB4gqj9CLq4CWvbNN6w==} engines: {node: '>= 18'} - '@nomicfoundation/edr-linux-x64-musl@0.6.2': - resolution: {integrity: sha512-ev5hy9wmiHZi1GKQ1l6PJ2+UpsUh+DvK9AwiCZVEdaicuhmTfO6fdL4szgE4An8RU+Ou9DeiI1tZcq6iw++Wuw==} + '@nomicfoundation/edr-linux-x64-musl@0.6.3': + resolution: {integrity: sha512-fr6bD872WIBXe9YnTDi0CzYepMcYRgSnkVqn0yK4wRnIvKrloWhxXNVY45GVIl51aNZguBnvoA4WEt6HIazs3A==} engines: {node: '>= 18'} - '@nomicfoundation/edr-win32-x64-msvc@0.6.2': - resolution: {integrity: sha512-2ZXVVcmdmEeX0Hb3IAurHUjgU3H1GIk9h7Okosdjgl3tl+BaNHxi84Us+DblynO1LRj8nL/ATeVtSfBuW3Z1vw==} + '@nomicfoundation/edr-win32-x64-msvc@0.6.3': + resolution: {integrity: sha512-sn34MvN1ajw2Oq1+Drpxej78Z0HfIzI4p4WlolupAV9dOZKzp2JAIQeLVfZpjIFbF3zuyxLPP4dUBrQoFPEqhA==} engines: {node: '>= 18'} - '@nomicfoundation/edr@0.6.2': - resolution: {integrity: sha512-yPUegN3sTWiAkRatCmGRkuvMgD9HSSpivl2ebAqq0aU2xgC7qmIO+YQPxQ3Z46MUoi7MrTf4e6GpbT4S/8x0ew==} + '@nomicfoundation/edr@0.6.3': + resolution: {integrity: sha512-hThe5ORR75WFYTXKL0K2AyLDxkTMrG+VQ1yL9BhQYsuh3OIH+3yNDxMz2LjfvrpOrMmJ4kk5NKdFewpqDojjXQ==} engines: {node: '>= 18'} '@nomicfoundation/ethereumjs-common@4.0.4': @@ -922,8 +922,8 @@ packages: '@types/react-dom@18.3.0': resolution: {integrity: sha512-EhwApuTmMBmXuFOikhQLIBUn6uFg81SwLMOAUgodJF14SOBOCMdU04gDoYi0WOJJHD144TL32z4yDqCW3dnkQg==} - '@types/react@18.3.10': - resolution: {integrity: sha512-02sAAlBnP39JgXwkAq3PeU9DVaaGpZyF3MGcC0MKgQVkZor5IiiDAipVaxQHtDJAmO4GIy/rVBy/LzVj76Cyqg==} + '@types/react@18.3.11': + resolution: {integrity: sha512-r6QZ069rFTjrEYgFdOck1gK7FLVsgJE7tTz0pQBczlBNUhBNk0MQH4UbnFSwjpQLMkLzgqvBBa+qGpLje16eTQ==} '@types/secp256k1@4.0.6': resolution: {integrity: sha512-hHxJU6PAEUn0TP4S/ZOzuTUvJWuZ6eIKeNKb5RBpODvSl6hp1Wrw4s7ATY50rklRCScUDpHzVA/DQdSjJ3UoYQ==} @@ -1323,8 +1323,8 @@ packages: resolution: {integrity: sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==} engines: {node: '>=10'} - caniuse-lite@1.0.30001664: - resolution: {integrity: sha512-AmE7k4dXiNKQipgn7a2xg558IRqPN3jMQY/rOsbxDhrd0tyChwbITBfiwtnqz8bi2M5mIWbxAYBvk7W7QBUS2g==} + caniuse-lite@1.0.30001666: + resolution: {integrity: sha512-gD14ICmoV5ZZM1OdzPWmpx+q4GyefaK06zi8hmfHV5xe4/2nOQX3+Dw5o+fSqOws2xVwL9j+anOPFwHzdEdV4g==} cbor@8.1.0: resolution: {integrity: sha512-DwGjNW9omn6EwP70aXsn7FQJx5kO12tX0bZkaTjzdVFM6/7nhA4t0EENocKGx6D2Bch9PE2KzCUf5SceBdeijg==} @@ -1576,8 +1576,8 @@ packages: eastasianwidth@0.2.0: resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} - electron-to-chromium@1.5.30: - resolution: {integrity: sha512-sXI35EBN4lYxzc/pIGorlymYNzDBOqkSlVRe6MkgBsW/hW1tpC/HDJ2fjG7XnjakzfLEuvdmux0Mjs6jHq4UOA==} + electron-to-chromium@1.5.31: + resolution: {integrity: sha512-QcDoBbQeYt0+3CWcK/rEbuHvwpbT/8SV9T3OSgs6cX1FlcUAkgrkqbg9zLnDrMM/rLamzQwal4LYFCiWk861Tg==} elliptic@6.5.4: resolution: {integrity: sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==} @@ -1652,8 +1652,8 @@ packages: resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==} engines: {node: '>=10'} - eslint-config-next@14.2.13: - resolution: {integrity: sha512-aro1EKAoyYchnO/3Tlo91hnNBO7QO7qnv/79MAFC+4Jq8TdUVKQlht5d2F+YjrePjdpOvfL+mV9JPfyYNwkk1g==} + eslint-config-next@14.2.14: + resolution: {integrity: sha512-TXwyjGICAlWC9O0OufS3koTsBKQH8l1xt3SY/aDuvtKHIwjTHplJKWVb1WOEX0OsDaxGbFXmfD2EY1sNfG0Y/w==} peerDependencies: eslint: ^7.23.0 || ^8.0.0 typescript: '>=3.3.1' @@ -1726,8 +1726,8 @@ packages: peerDependencies: eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 - eslint-plugin-react@7.37.0: - resolution: {integrity: sha512-IHBePmfWH5lKhJnJ7WB1V+v/GolbB0rjS8XYVCSQCZKaQCAUhMoVoOEn1Ef8Z8Wf0a7l8KTJvuZg5/e4qrZ6nA==} + eslint-plugin-react@7.37.1: + resolution: {integrity: sha512-xwTnwDqzbDRA8uJ7BMxPs/EXRB3i8ZfnOIp8BsxEQkT0nHPp+WWceqGgo6rKb9ctNi8GJLDT4Go5HAWELa/WMg==} engines: {node: '>=4'} peerDependencies: eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7 @@ -2323,6 +2323,11 @@ packages: engines: {node: '>=4'} hasBin: true + jsesc@3.0.2: + resolution: {integrity: sha512-xKqzzWXDttJuOcawBt4KnKHHIf5oQ/Cxax+0PWFG+DFDgHNAdi+TXECADI+RYiFUMmx8792xsMbbgXj4CwnP4g==} + engines: {node: '>=6'} + hasBin: true + json-buffer@3.0.1: resolution: {integrity: sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==} @@ -2537,8 +2542,8 @@ packages: react: ^16.8 || ^17 || ^18 react-dom: ^16.8 || ^17 || ^18 - next@14.2.13: - resolution: {integrity: sha512-BseY9YNw8QJSwLYD7hlZzl6QVDoSFHL/URN5K64kVEVpCsSOWeyjbIGK+dZUaRViHTaMQX8aqmnn0PHBbGZezg==} + next@14.2.14: + resolution: {integrity: sha512-Q1coZG17MW0Ly5x76shJ4dkC23woLAhhnDnw+DfTc7EpZSGuWrlsZ3bZaO8t6u1Yu8FVfhkqJE+U8GC7E0GLPQ==} engines: {node: '>=18.17.0'} hasBin: true peerDependencies: @@ -2926,8 +2931,8 @@ packages: resolution: {integrity: sha512-fmfw4XgoDke3kdI6h4xcUz1dG8uaiv5q9gcEwLS4Pnth2kxT+GZ7YehS1JTMGBQmtV7Y4GFGbs2re2NqhdozUg==} engines: {node: '>= 0.4'} - regexp.prototype.flags@1.5.2: - resolution: {integrity: sha512-NcDiDkTLuPR+++OCKB0nWafEmhg/Da8aUPLPMQbK+bxKKCm1/S5he+AqYa4PlMCVBalb4/yxIRub6qkEx5yJbw==} + regexp.prototype.flags@1.5.3: + resolution: {integrity: sha512-vqlC04+RQoFalODCbCumG2xIOvapzVMHwsyIGM/SIE8fRhFFsXeH8/QQ+s0T0kDAhKc4k30s73/0ydkHQz6HlQ==} engines: {node: '>= 0.4'} registry-auth-token@5.0.2: @@ -3561,9 +3566,9 @@ snapshots: '@alloc/quick-lru@5.2.0': {} - '@babel/code-frame@7.24.7': + '@babel/code-frame@7.25.7': dependencies: - '@babel/highlight': 7.24.7 + '@babel/highlight': 7.25.7 picocolors: 1.1.0 '@babel/generator@7.17.7': @@ -3572,61 +3577,61 @@ snapshots: jsesc: 2.5.2 source-map: 0.5.7 - '@babel/generator@7.25.6': + '@babel/generator@7.25.7': dependencies: - '@babel/types': 7.25.6 + '@babel/types': 7.25.7 '@jridgewell/gen-mapping': 0.3.5 '@jridgewell/trace-mapping': 0.3.25 - jsesc: 2.5.2 + jsesc: 3.0.2 '@babel/helper-environment-visitor@7.24.7': dependencies: - '@babel/types': 7.25.6 + '@babel/types': 7.25.7 '@babel/helper-function-name@7.24.7': dependencies: - '@babel/template': 7.25.0 - '@babel/types': 7.25.6 + '@babel/template': 7.25.7 + '@babel/types': 7.25.7 '@babel/helper-hoist-variables@7.24.7': dependencies: - '@babel/types': 7.25.6 + '@babel/types': 7.25.7 '@babel/helper-split-export-declaration@7.24.7': dependencies: - '@babel/types': 7.25.6 + '@babel/types': 7.25.7 - '@babel/helper-string-parser@7.24.8': {} + '@babel/helper-string-parser@7.25.7': {} - '@babel/helper-validator-identifier@7.24.7': {} + '@babel/helper-validator-identifier@7.25.7': {} - '@babel/highlight@7.24.7': + '@babel/highlight@7.25.7': dependencies: - '@babel/helper-validator-identifier': 7.24.7 + '@babel/helper-validator-identifier': 7.25.7 chalk: 2.4.2 js-tokens: 4.0.0 picocolors: 1.1.0 - '@babel/parser@7.25.6': + '@babel/parser@7.25.7': dependencies: - '@babel/types': 7.25.6 + '@babel/types': 7.25.7 - '@babel/template@7.25.0': + '@babel/template@7.25.7': dependencies: - '@babel/code-frame': 7.24.7 - '@babel/parser': 7.25.6 - '@babel/types': 7.25.6 + '@babel/code-frame': 7.25.7 + '@babel/parser': 7.25.7 + '@babel/types': 7.25.7 '@babel/traverse@7.23.2': dependencies: - '@babel/code-frame': 7.24.7 - '@babel/generator': 7.25.6 + '@babel/code-frame': 7.25.7 + '@babel/generator': 7.25.7 '@babel/helper-environment-visitor': 7.24.7 '@babel/helper-function-name': 7.24.7 '@babel/helper-hoist-variables': 7.24.7 '@babel/helper-split-export-declaration': 7.24.7 - '@babel/parser': 7.25.6 - '@babel/types': 7.25.6 + '@babel/parser': 7.25.7 + '@babel/types': 7.25.7 debug: 4.3.7(supports-color@8.1.1) globals: 11.12.0 transitivePeerDependencies: @@ -3634,13 +3639,13 @@ snapshots: '@babel/types@7.17.0': dependencies: - '@babel/helper-validator-identifier': 7.24.7 + '@babel/helper-validator-identifier': 7.25.7 to-fast-properties: 2.0.0 - '@babel/types@7.25.6': + '@babel/types@7.25.7': dependencies: - '@babel/helper-string-parser': 7.24.8 - '@babel/helper-validator-identifier': 7.24.7 + '@babel/helper-string-parser': 7.25.7 + '@babel/helper-validator-identifier': 7.25.7 to-fast-properties: 2.0.0 '@colors/colors@1.5.0': @@ -4012,37 +4017,37 @@ snapshots: tweetnacl: 1.0.3 tweetnacl-util: 0.15.1 - '@next/env@14.2.13': {} + '@next/env@14.2.14': {} - '@next/eslint-plugin-next@14.2.13': + '@next/eslint-plugin-next@14.2.14': dependencies: glob: 10.3.10 - '@next/swc-darwin-arm64@14.2.13': + '@next/swc-darwin-arm64@14.2.14': optional: true - '@next/swc-darwin-x64@14.2.13': + '@next/swc-darwin-x64@14.2.14': optional: true - '@next/swc-linux-arm64-gnu@14.2.13': + '@next/swc-linux-arm64-gnu@14.2.14': optional: true - '@next/swc-linux-arm64-musl@14.2.13': + '@next/swc-linux-arm64-musl@14.2.14': optional: true - '@next/swc-linux-x64-gnu@14.2.13': + '@next/swc-linux-x64-gnu@14.2.14': optional: true - '@next/swc-linux-x64-musl@14.2.13': + '@next/swc-linux-x64-musl@14.2.14': optional: true - '@next/swc-win32-arm64-msvc@14.2.13': + '@next/swc-win32-arm64-msvc@14.2.14': optional: true - '@next/swc-win32-ia32-msvc@14.2.13': + '@next/swc-win32-ia32-msvc@14.2.14': optional: true - '@next/swc-win32-x64-msvc@14.2.13': + '@next/swc-win32-x64-msvc@14.2.14': optional: true '@noble/curves@1.2.0': @@ -4075,29 +4080,29 @@ snapshots: '@nolyfill/is-core-module@1.0.39': {} - '@nomicfoundation/edr-darwin-arm64@0.6.2': {} + '@nomicfoundation/edr-darwin-arm64@0.6.3': {} - '@nomicfoundation/edr-darwin-x64@0.6.2': {} + '@nomicfoundation/edr-darwin-x64@0.6.3': {} - '@nomicfoundation/edr-linux-arm64-gnu@0.6.2': {} + '@nomicfoundation/edr-linux-arm64-gnu@0.6.3': {} - '@nomicfoundation/edr-linux-arm64-musl@0.6.2': {} + '@nomicfoundation/edr-linux-arm64-musl@0.6.3': {} - '@nomicfoundation/edr-linux-x64-gnu@0.6.2': {} + '@nomicfoundation/edr-linux-x64-gnu@0.6.3': {} - '@nomicfoundation/edr-linux-x64-musl@0.6.2': {} + '@nomicfoundation/edr-linux-x64-musl@0.6.3': {} - '@nomicfoundation/edr-win32-x64-msvc@0.6.2': {} + '@nomicfoundation/edr-win32-x64-msvc@0.6.3': {} - '@nomicfoundation/edr@0.6.2': + '@nomicfoundation/edr@0.6.3': dependencies: - '@nomicfoundation/edr-darwin-arm64': 0.6.2 - '@nomicfoundation/edr-darwin-x64': 0.6.2 - '@nomicfoundation/edr-linux-arm64-gnu': 0.6.2 - '@nomicfoundation/edr-linux-arm64-musl': 0.6.2 - '@nomicfoundation/edr-linux-x64-gnu': 0.6.2 - '@nomicfoundation/edr-linux-x64-musl': 0.6.2 - '@nomicfoundation/edr-win32-x64-msvc': 0.6.2 + '@nomicfoundation/edr-darwin-arm64': 0.6.3 + '@nomicfoundation/edr-darwin-x64': 0.6.3 + '@nomicfoundation/edr-linux-arm64-gnu': 0.6.3 + '@nomicfoundation/edr-linux-arm64-musl': 0.6.3 + '@nomicfoundation/edr-linux-x64-gnu': 0.6.3 + '@nomicfoundation/edr-linux-x64-musl': 0.6.3 + '@nomicfoundation/edr-win32-x64-msvc': 0.6.3 '@nomicfoundation/ethereumjs-common@4.0.4': dependencies: @@ -4347,7 +4352,7 @@ snapshots: '@trivago/prettier-plugin-sort-imports@4.3.0(prettier@3.3.3)': dependencies: '@babel/generator': 7.17.7 - '@babel/parser': 7.25.6 + '@babel/parser': 7.25.7 '@babel/traverse': 7.23.2 '@babel/types': 7.17.0 javascript-natural-sort: 0.7.1 @@ -4414,9 +4419,9 @@ snapshots: '@types/react-dom@18.3.0': dependencies: - '@types/react': 18.3.10 + '@types/react': 18.3.11 - '@types/react@18.3.10': + '@types/react@18.3.11': dependencies: '@types/prop-types': 15.7.13 csstype: 3.1.3 @@ -4813,7 +4818,7 @@ snapshots: autoprefixer@10.4.20(postcss@8.4.47): dependencies: browserslist: 4.24.0 - caniuse-lite: 1.0.30001664 + caniuse-lite: 1.0.30001666 fraction.js: 4.3.7 normalize-range: 0.1.2 picocolors: 1.1.0 @@ -4891,8 +4896,8 @@ snapshots: browserslist@4.24.0: dependencies: - caniuse-lite: 1.0.30001664 - electron-to-chromium: 1.5.30 + caniuse-lite: 1.0.30001666 + electron-to-chromium: 1.5.31 node-releases: 2.0.18 update-browserslist-db: 1.1.1(browserslist@4.24.0) @@ -4942,7 +4947,7 @@ snapshots: camelcase@6.3.0: {} - caniuse-lite@1.0.30001664: {} + caniuse-lite@1.0.30001666: {} cbor@8.1.0: dependencies: @@ -5152,7 +5157,7 @@ snapshots: object-is: 1.1.6 object-keys: 1.1.1 object.assign: 4.1.5 - regexp.prototype.flags: 1.5.2 + regexp.prototype.flags: 1.5.3 side-channel: 1.0.6 which-boxed-primitive: 1.0.2 which-collection: 1.0.2 @@ -5211,7 +5216,7 @@ snapshots: eastasianwidth@0.2.0: {} - electron-to-chromium@1.5.30: {} + electron-to-chromium@1.5.31: {} elliptic@6.5.4: dependencies: @@ -5289,7 +5294,7 @@ snapshots: object-inspect: 1.13.2 object-keys: 1.1.1 object.assign: 4.1.5 - regexp.prototype.flags: 1.5.2 + regexp.prototype.flags: 1.5.3 safe-array-concat: 1.1.2 safe-regex-test: 1.0.3 string.prototype.trim: 1.2.9 @@ -5363,18 +5368,18 @@ snapshots: escape-string-regexp@4.0.0: {} - eslint-config-next@14.2.13(eslint@8.57.1)(typescript@5.6.2): + eslint-config-next@14.2.14(eslint@8.57.1)(typescript@5.6.2): dependencies: - '@next/eslint-plugin-next': 14.2.13 + '@next/eslint-plugin-next': 14.2.14 '@rushstack/eslint-patch': 1.10.4 '@typescript-eslint/eslint-plugin': 8.8.0(@typescript-eslint/parser@8.8.0(eslint@8.57.1)(typescript@5.6.2))(eslint@8.57.1)(typescript@5.6.2) '@typescript-eslint/parser': 8.8.0(eslint@8.57.1)(typescript@5.6.2) eslint: 8.57.1 eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-typescript: 3.6.3(@typescript-eslint/parser@8.8.0(eslint@8.57.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0)(eslint@8.57.1) - eslint-plugin-import: 2.30.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.6.2))(eslint@8.57.1) + eslint-import-resolver-typescript: 3.6.3(@typescript-eslint/parser@8.8.0(eslint@8.57.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.6.2))(eslint@8.57.1))(eslint@8.57.1) + eslint-plugin-import: 2.30.0(@typescript-eslint/parser@8.8.0(eslint@8.57.1)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@8.57.1) eslint-plugin-jsx-a11y: 6.10.0(eslint@8.57.1) - eslint-plugin-react: 7.37.0(eslint@8.57.1) + eslint-plugin-react: 7.37.1(eslint@8.57.1) eslint-plugin-react-hooks: 4.6.2(eslint@8.57.1) optionalDependencies: typescript: 5.6.2 @@ -5395,37 +5400,37 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.8.0(eslint@8.57.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0)(eslint@8.57.1): + eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.8.0(eslint@8.57.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.6.2))(eslint@8.57.1))(eslint@8.57.1): dependencies: '@nolyfill/is-core-module': 1.0.39 debug: 4.3.7(supports-color@8.1.1) enhanced-resolve: 5.17.1 eslint: 8.57.1 - eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.8.0(eslint@8.57.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.8.0(eslint@8.57.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0)(eslint@8.57.1))(eslint@8.57.1) + eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.8.0(eslint@8.57.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.8.0(eslint@8.57.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.6.2))(eslint@8.57.1))(eslint@8.57.1))(eslint@8.57.1) fast-glob: 3.3.2 get-tsconfig: 4.8.1 is-bun-module: 1.2.1 is-glob: 4.0.3 optionalDependencies: - eslint-plugin-import: 2.30.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.6.2))(eslint@8.57.1) + eslint-plugin-import: 2.30.0(@typescript-eslint/parser@8.8.0(eslint@8.57.1)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@8.57.1) transitivePeerDependencies: - '@typescript-eslint/parser' - eslint-import-resolver-node - eslint-import-resolver-webpack - supports-color - eslint-module-utils@2.12.0(@typescript-eslint/parser@8.8.0(eslint@8.57.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.8.0(eslint@8.57.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0)(eslint@8.57.1))(eslint@8.57.1): + eslint-module-utils@2.12.0(@typescript-eslint/parser@8.8.0(eslint@8.57.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.8.0(eslint@8.57.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.6.2))(eslint@8.57.1))(eslint@8.57.1))(eslint@8.57.1): dependencies: debug: 3.2.7 optionalDependencies: '@typescript-eslint/parser': 8.8.0(eslint@8.57.1)(typescript@5.6.2) eslint: 8.57.1 eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-typescript: 3.6.3(@typescript-eslint/parser@8.8.0(eslint@8.57.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0)(eslint@8.57.1) + eslint-import-resolver-typescript: 3.6.3(@typescript-eslint/parser@8.8.0(eslint@8.57.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.6.2))(eslint@8.57.1))(eslint@8.57.1) transitivePeerDependencies: - supports-color - eslint-plugin-import@2.30.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.6.2))(eslint@8.57.1): + eslint-plugin-import@2.30.0(@typescript-eslint/parser@8.8.0(eslint@8.57.1)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@8.57.1): dependencies: '@rtsao/scc': 1.1.0 array-includes: 3.1.8 @@ -5436,7 +5441,7 @@ snapshots: doctrine: 2.1.0 eslint: 8.57.1 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.8.0(eslint@8.57.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.8.0(eslint@8.57.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0)(eslint@8.57.1))(eslint@8.57.1) + eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.8.0(eslint@8.57.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.8.0(eslint@8.57.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.6.2))(eslint@8.57.1))(eslint@8.57.1))(eslint@8.57.1) hasown: 2.0.2 is-core-module: 2.15.1 is-glob: 4.0.3 @@ -5447,7 +5452,7 @@ snapshots: semver: 6.3.1 tsconfig-paths: 3.15.0 optionalDependencies: - '@typescript-eslint/parser': 7.18.0(eslint@8.57.1)(typescript@5.6.2) + '@typescript-eslint/parser': 8.8.0(eslint@8.57.1)(typescript@5.6.2) transitivePeerDependencies: - eslint-import-resolver-typescript - eslint-import-resolver-webpack @@ -5477,7 +5482,7 @@ snapshots: dependencies: eslint: 8.57.1 - eslint-plugin-react@7.37.0(eslint@8.57.1): + eslint-plugin-react@7.37.1(eslint@8.57.1): dependencies: array-includes: 3.1.8 array.prototype.findlast: 1.2.5 @@ -5980,7 +5985,7 @@ snapshots: dependencies: '@ethersproject/abi': 5.7.0 '@metamask/eth-sig-util': 4.0.1 - '@nomicfoundation/edr': 0.6.2 + '@nomicfoundation/edr': 0.6.3 '@nomicfoundation/ethereumjs-common': 4.0.4 '@nomicfoundation/ethereumjs-tx': 5.0.4 '@nomicfoundation/ethereumjs-util': 9.0.4 @@ -6289,6 +6294,8 @@ snapshots: jsesc@2.5.2: {} + jsesc@3.0.2: {} + json-buffer@3.0.1: {} json-parse-even-better-errors@2.3.1: {} @@ -6483,9 +6490,9 @@ snapshots: natural-compare@1.4.0: {} - next-seo@6.6.0(next@14.2.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + next-seo@6.6.0(next@14.2.14(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: - next: 14.2.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + next: 14.2.14(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) @@ -6494,27 +6501,27 @@ snapshots: react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - next@14.2.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + next@14.2.14(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: - '@next/env': 14.2.13 + '@next/env': 14.2.14 '@swc/helpers': 0.5.5 busboy: 1.6.0 - caniuse-lite: 1.0.30001664 + caniuse-lite: 1.0.30001666 graceful-fs: 4.2.11 postcss: 8.4.31 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) styled-jsx: 5.1.1(react@18.3.1) optionalDependencies: - '@next/swc-darwin-arm64': 14.2.13 - '@next/swc-darwin-x64': 14.2.13 - '@next/swc-linux-arm64-gnu': 14.2.13 - '@next/swc-linux-arm64-musl': 14.2.13 - '@next/swc-linux-x64-gnu': 14.2.13 - '@next/swc-linux-x64-musl': 14.2.13 - '@next/swc-win32-arm64-msvc': 14.2.13 - '@next/swc-win32-ia32-msvc': 14.2.13 - '@next/swc-win32-x64-msvc': 14.2.13 + '@next/swc-darwin-arm64': 14.2.14 + '@next/swc-darwin-x64': 14.2.14 + '@next/swc-linux-arm64-gnu': 14.2.14 + '@next/swc-linux-arm64-musl': 14.2.14 + '@next/swc-linux-x64-gnu': 14.2.14 + '@next/swc-linux-x64-musl': 14.2.14 + '@next/swc-win32-arm64-msvc': 14.2.14 + '@next/swc-win32-ia32-msvc': 14.2.14 + '@next/swc-win32-x64-msvc': 14.2.14 transitivePeerDependencies: - '@babel/core' - babel-plugin-macros @@ -6634,7 +6641,7 @@ snapshots: parse-json@5.2.0: dependencies: - '@babel/code-frame': 7.24.7 + '@babel/code-frame': 7.25.7 error-ex: 1.3.2 json-parse-even-better-errors: 2.3.1 lines-and-columns: 1.2.4 @@ -6816,7 +6823,7 @@ snapshots: globalthis: 1.0.4 which-builtin-type: 1.1.4 - regexp.prototype.flags@1.5.2: + regexp.prototype.flags@1.5.3: dependencies: call-bind: 1.0.7 define-properties: 1.2.1 @@ -7098,7 +7105,7 @@ snapshots: gopd: 1.0.1 has-symbols: 1.0.3 internal-slot: 1.0.7 - regexp.prototype.flags: 1.5.2 + regexp.prototype.flags: 1.5.3 set-function-name: 2.0.2 side-channel: 1.0.6 diff --git a/test/internal/CreateX._generateSalt.t.sol b/test/internal/CreateX._generateSalt.t.sol index 7d36d71c..6a62cba0 100644 --- a/test/internal/CreateX._generateSalt.t.sol +++ b/test/internal/CreateX._generateSalt.t.sol @@ -42,7 +42,7 @@ contract CreateX_GenerateSalt_Internal_Test is BaseTest { // values, and verifying that the salt changes. increment = bound(increment, 1, type(uint128).max); vm.assume(coinbase != zeroAddress && chainId != block.chainid && chainId != 0 && msgSender != SELF); - uint256 snapshotId = vm.snapshot(); + uint256 snapshotId = vm.snapshotState(); bytes32 originalSalt = createXHarness.exposed_generateSalt(); // Change block. Block number and hash are coupled, so we can't isolate this. @@ -50,35 +50,35 @@ contract CreateX_GenerateSalt_Internal_Test is BaseTest { assertNotEq(originalSalt, createXHarness.exposed_generateSalt(), "100"); // Change coinbase. - vm.revertTo(snapshotId); + vm.revertToState(snapshotId); assertEq(createXHarness.exposed_generateSalt(), originalSalt, "200"); vm.coinbase(coinbase); assertNotEq(originalSalt, createXHarness.exposed_generateSalt(), "300"); // Change timestamp. - vm.revertTo(snapshotId); + vm.revertToState(snapshotId); assertEq(createXHarness.exposed_generateSalt(), originalSalt, "400"); vm.warp(block.timestamp + increment); assertNotEq(originalSalt, createXHarness.exposed_generateSalt(), "500"); // Change prevrandao. - vm.revertTo(snapshotId); + vm.revertToState(snapshotId); assertEq(createXHarness.exposed_generateSalt(), originalSalt, "600"); vm.prevrandao(keccak256(abi.encode(prevrandao))); assertNotEq(originalSalt, createXHarness.exposed_generateSalt(), "700"); // Change chain ID. - vm.revertTo(snapshotId); + vm.revertToState(snapshotId); assertEq(createXHarness.exposed_generateSalt(), originalSalt, "800"); vm.chainId(chainId); assertNotEq(originalSalt, createXHarness.exposed_generateSalt(), "900"); // Change sender. - vm.revertTo(snapshotId); + vm.revertToState(snapshotId); assertEq(createXHarness.exposed_generateSalt(), originalSalt, "1000"); vm.startPrank(msgSender); diff --git a/test/public/CREATE2/CreateX.deployCreate2AndInit_4Args_CustomiseSalt.t.sol b/test/public/CREATE2/CreateX.deployCreate2AndInit_4Args_CustomiseSalt.t.sol index 77659380..9c09cef1 100644 --- a/test/public/CREATE2/CreateX.deployCreate2AndInit_4Args_CustomiseSalt.t.sol +++ b/test/public/CREATE2/CreateX.deployCreate2AndInit_4Args_CustomiseSalt.t.sol @@ -67,7 +67,7 @@ contract CreateX_DeployCreate2AndInit_4Args_CustomiseSalt_Public_Test is BaseTes msgSender != createXAddr && msgSender != zeroAddress ); - snapshotId = vm.snapshot(); + snapshotId = vm.snapshotState(); // Helper logic to increase the probability of matching a permissioned deploy protection during fuzzing. if (chainId % 2 == 0) { @@ -169,7 +169,7 @@ contract CreateX_DeployCreate2AndInit_4Args_CustomiseSalt_Public_Test is BaseTes // Foundry does not create a new, clean EVM environment when the `chainId` is changed, and // a deployment of a contract to the same address therefore fails (see issue: https://github.com/foundry-rs/foundry/issues/6008). // To solve this problem, we return to the original snapshot state. - vm.revertTo(snapshotId); + vm.revertToState(snapshotId); // We mock the original caller. vm.startPrank(originalDeployer); newContractOriginalDeployer = createX.deployCreate2AndInit{ @@ -256,7 +256,7 @@ contract CreateX_DeployCreate2AndInit_4Args_CustomiseSalt_Public_Test is BaseTes msgSender != zeroAddress ); assumePayable(originalDeployer); - snapshotId = vm.snapshot(); + snapshotId = vm.snapshotState(); // Helper logic to increase the probability of matching a permissioned deploy protection during fuzzing. if (chainId % 2 == 0) { @@ -370,7 +370,7 @@ contract CreateX_DeployCreate2AndInit_4Args_CustomiseSalt_Public_Test is BaseTes // Foundry does not create a new, clean EVM environment when the `chainId` is changed, and // a deployment of a contract to the same address therefore fails (see issue: https://github.com/foundry-rs/foundry/issues/6008). // To solve this problem, we return to the original snapshot state. - vm.revertTo(snapshotId); + vm.revertToState(snapshotId); // We mock the original caller. vm.startPrank(originalDeployer); newContractOriginalDeployer = createX.deployCreate2AndInit{ diff --git a/test/public/CREATE2/CreateX.deployCreate2AndInit_5Args.t.sol b/test/public/CREATE2/CreateX.deployCreate2AndInit_5Args.t.sol index 8285614c..06f17078 100644 --- a/test/public/CREATE2/CreateX.deployCreate2AndInit_5Args.t.sol +++ b/test/public/CREATE2/CreateX.deployCreate2AndInit_5Args.t.sol @@ -67,7 +67,7 @@ contract CreateX_DeployCreate2AndInit_5Args_Public_Test is BaseTest { msgSender != createXAddr && msgSender != zeroAddress ); - snapshotId = vm.snapshot(); + snapshotId = vm.snapshotState(); // Helper logic to increase the probability of matching a permissioned deploy protection during fuzzing. if (chainId % 2 == 0) { @@ -171,7 +171,7 @@ contract CreateX_DeployCreate2AndInit_5Args_Public_Test is BaseTest { // Foundry does not create a new, clean EVM environment when the `chainId` is changed, and // a deployment of a contract to the same address therefore fails (see issue: https://github.com/foundry-rs/foundry/issues/6008). // To solve this problem, we return to the original snapshot state. - vm.revertTo(snapshotId); + vm.revertToState(snapshotId); // We mock the original caller. vm.startPrank(originalDeployer); newContractOriginalDeployer = createX.deployCreate2AndInit{ @@ -257,7 +257,7 @@ contract CreateX_DeployCreate2AndInit_5Args_Public_Test is BaseTest { msgSender != createXAddr && msgSender != zeroAddress ); - snapshotId = vm.snapshot(); + snapshotId = vm.snapshotState(); // Helper logic to increase the probability of matching a permissioned deploy protection during fuzzing. if (chainId % 2 == 0) { @@ -369,7 +369,7 @@ contract CreateX_DeployCreate2AndInit_5Args_Public_Test is BaseTest { // Foundry does not create a new, clean EVM environment when the `chainId` is changed, and // a deployment of a contract to the same address therefore fails (see issue: https://github.com/foundry-rs/foundry/issues/6008). // To solve this problem, we return to the original snapshot state. - vm.revertTo(snapshotId); + vm.revertToState(snapshotId); // We mock the original caller. vm.startPrank(originalDeployer); newContractOriginalDeployer = createX.deployCreate2AndInit{ diff --git a/test/public/CREATE2/CreateX.deployCreate2Clone_3Args.t.sol b/test/public/CREATE2/CreateX.deployCreate2Clone_3Args.t.sol index 5b3ce1fd..807c1fa6 100644 --- a/test/public/CREATE2/CreateX.deployCreate2Clone_3Args.t.sol +++ b/test/public/CREATE2/CreateX.deployCreate2Clone_3Args.t.sol @@ -71,7 +71,7 @@ contract CreateX_DeployCreate2Clone_3Args_Public_Test is BaseTest { msgSender != implementation && msgSender != zeroAddress ); - snapshotId = vm.snapshot(); + snapshotId = vm.snapshotState(); // Helper logic to increase the probability of matching a permissioned deploy protection during fuzzing. if (chainId % 2 == 0) { @@ -166,7 +166,7 @@ contract CreateX_DeployCreate2Clone_3Args_Public_Test is BaseTest { // Foundry does not create a new, clean EVM environment when the `chainId` is changed, and // a deployment of a contract to the same address therefore fails (see issue: https://github.com/foundry-rs/foundry/issues/6008). // To solve this problem, we return to the original snapshot state. - vm.revertTo(snapshotId); + vm.revertToState(snapshotId); // We mock the original caller. vm.startPrank(originalDeployer); address newContractOriginalDeployer = createX.deployCreate2Clone{value: msgValue}( diff --git a/test/public/CREATE2/CreateX.deployCreate2_2Args.t.sol b/test/public/CREATE2/CreateX.deployCreate2_2Args.t.sol index 23905554..0c771608 100644 --- a/test/public/CREATE2/CreateX.deployCreate2_2Args.t.sol +++ b/test/public/CREATE2/CreateX.deployCreate2_2Args.t.sol @@ -54,7 +54,7 @@ contract CreateX_DeployCreate2_2Args_Public_Test is BaseTest { msgSender != createXAddr && msgSender != zeroAddress ); - snapshotId = vm.snapshot(); + snapshotId = vm.snapshotState(); // Helper logic to increase the probability of matching a permissioned deploy protection during fuzzing. if (chainId % 2 == 0) { @@ -142,7 +142,7 @@ contract CreateX_DeployCreate2_2Args_Public_Test is BaseTest { // Foundry does not create a new, clean EVM environment when the `chainId` is changed, and // a deployment of a contract to the same address therefore fails (see issue: https://github.com/foundry-rs/foundry/issues/6008). // To solve this problem, we return to the original snapshot state. - vm.revertTo(snapshotId); + vm.revertToState(snapshotId); // We mock the original caller. vm.startPrank(originalDeployer); address newContractOriginalDeployer = createX.deployCreate2{value: msgValue}(salt, cachedInitCode); diff --git a/test/public/CREATE3/CreateX.deployCreate3AndInit_3Args.t.sol b/test/public/CREATE3/CreateX.deployCreate3AndInit_3Args.t.sol index 064ef3c9..ce2a7568 100644 --- a/test/public/CREATE3/CreateX.deployCreate3AndInit_3Args.t.sol +++ b/test/public/CREATE3/CreateX.deployCreate3AndInit_3Args.t.sol @@ -74,7 +74,7 @@ contract CreateX_DeployCreate3AndInit_3Args_Public_Test is BaseTest { msgSender != createXAddr && msgSender != zeroAddress ); - snapshotId = vm.snapshot(); + snapshotId = vm.snapshotState(); vm.startPrank(originalDeployer); bytes32 salt = createXHarness.exposed_generateSalt(); @@ -163,7 +163,7 @@ contract CreateX_DeployCreate3AndInit_3Args_Public_Test is BaseTest { // Foundry does not create a new, clean EVM environment when the `chainId` is changed, and // a deployment of a contract to the same address therefore fails (see issue: https://github.com/foundry-rs/foundry/issues/6008). // To solve this problem, we return to the original snapshot state. - vm.revertTo(snapshotId); + vm.revertToState(snapshotId); // We record the emitted events to later assert the proxy contract address. vm.recordLogs(); vm.startPrank(originalDeployer); @@ -236,7 +236,7 @@ contract CreateX_DeployCreate3AndInit_3Args_Public_Test is BaseTest { msgSender != zeroAddress ); assumePayable(originalDeployer); - snapshotId = vm.snapshot(); + snapshotId = vm.snapshotState(); vm.startPrank(originalDeployer); bytes32 salt = createXHarness.exposed_generateSalt(); @@ -330,7 +330,7 @@ contract CreateX_DeployCreate3AndInit_3Args_Public_Test is BaseTest { // Foundry does not create a new, clean EVM environment when the `chainId` is changed, and // a deployment of a contract to the same address therefore fails (see issue: https://github.com/foundry-rs/foundry/issues/6008). // To solve this problem, we return to the original snapshot state. - vm.revertTo(snapshotId); + vm.revertToState(snapshotId); // We record the emitted events to later assert the proxy contract address. vm.recordLogs(); vm.startPrank(originalDeployer); diff --git a/test/public/CREATE3/CreateX.deployCreate3AndInit_4Args_CustomiseRefundAddress.t.sol b/test/public/CREATE3/CreateX.deployCreate3AndInit_4Args_CustomiseRefundAddress.t.sol index 407d13e1..9713da52 100644 --- a/test/public/CREATE3/CreateX.deployCreate3AndInit_4Args_CustomiseRefundAddress.t.sol +++ b/test/public/CREATE3/CreateX.deployCreate3AndInit_4Args_CustomiseRefundAddress.t.sol @@ -74,7 +74,7 @@ contract CreateX_DeployCreate3AndInit_4Args_CustomiseRefundAddress_Public_Test i msgSender != createXAddr && msgSender != zeroAddress ); - snapshotId = vm.snapshot(); + snapshotId = vm.snapshotState(); vm.startPrank(originalDeployer); bytes32 salt = createXHarness.exposed_generateSalt(); @@ -165,7 +165,7 @@ contract CreateX_DeployCreate3AndInit_4Args_CustomiseRefundAddress_Public_Test i // Foundry does not create a new, clean EVM environment when the `chainId` is changed, and // a deployment of a contract to the same address therefore fails (see issue: https://github.com/foundry-rs/foundry/issues/6008). // To solve this problem, we return to the original snapshot state. - vm.revertTo(snapshotId); + vm.revertToState(snapshotId); // We record the emitted events to later assert the proxy contract address. vm.recordLogs(); vm.startPrank(originalDeployer); @@ -237,7 +237,7 @@ contract CreateX_DeployCreate3AndInit_4Args_CustomiseRefundAddress_Public_Test i msgSender != createXAddr && msgSender != zeroAddress ); - snapshotId = vm.snapshot(); + snapshotId = vm.snapshotState(); vm.startPrank(originalDeployer); bytes32 salt = createXHarness.exposed_generateSalt(); @@ -333,7 +333,7 @@ contract CreateX_DeployCreate3AndInit_4Args_CustomiseRefundAddress_Public_Test i // Foundry does not create a new, clean EVM environment when the `chainId` is changed, and // a deployment of a contract to the same address therefore fails (see issue: https://github.com/foundry-rs/foundry/issues/6008). // To solve this problem, we return to the original snapshot state. - vm.revertTo(snapshotId); + vm.revertToState(snapshotId); // We record the emitted events to later assert the proxy contract address. vm.recordLogs(); vm.startPrank(originalDeployer); diff --git a/test/public/CREATE3/CreateX.deployCreate3AndInit_4Args_CustomiseSalt.t.sol b/test/public/CREATE3/CreateX.deployCreate3AndInit_4Args_CustomiseSalt.t.sol index 6581f7d9..ef5afa9f 100644 --- a/test/public/CREATE3/CreateX.deployCreate3AndInit_4Args_CustomiseSalt.t.sol +++ b/test/public/CREATE3/CreateX.deployCreate3AndInit_4Args_CustomiseSalt.t.sol @@ -76,7 +76,7 @@ contract CreateX_DeployCreate3AndInit_4Args_CustomiseSalt_Public_Test is BaseTes msgSender != createXAddr && msgSender != zeroAddress ); - snapshotId = vm.snapshot(); + snapshotId = vm.snapshotState(); // Helper logic to increase the probability of matching a permissioned deploy protection during fuzzing. if (chainId % 2 == 0) { @@ -204,7 +204,7 @@ contract CreateX_DeployCreate3AndInit_4Args_CustomiseSalt_Public_Test is BaseTes // Foundry does not create a new, clean EVM environment when the `chainId` is changed, and // a deployment of a contract to the same address therefore fails (see issue: https://github.com/foundry-rs/foundry/issues/6008). // To solve this problem, we return to the original snapshot state. - vm.revertTo(snapshotId); + vm.revertToState(snapshotId); // We record the emitted events to later assert the proxy contract address. vm.recordLogs(); (, , , guardedSalt) = parseFuzzerSalt(originalDeployer, salt); @@ -305,7 +305,7 @@ contract CreateX_DeployCreate3AndInit_4Args_CustomiseSalt_Public_Test is BaseTes msgSender != zeroAddress ); assumePayable(originalDeployer); - snapshotId = vm.snapshot(); + snapshotId = vm.snapshotState(); // Helper logic to increase the probability of matching a permissioned deploy protection during fuzzing. if (chainId % 2 == 0) { @@ -445,7 +445,7 @@ contract CreateX_DeployCreate3AndInit_4Args_CustomiseSalt_Public_Test is BaseTes // Foundry does not create a new, clean EVM environment when the `chainId` is changed, and // a deployment of a contract to the same address therefore fails (see issue: https://github.com/foundry-rs/foundry/issues/6008). // To solve this problem, we return to the original snapshot state. - vm.revertTo(snapshotId); + vm.revertToState(snapshotId); // We record the emitted events to later assert the proxy contract address. vm.recordLogs(); (, , , guardedSalt) = parseFuzzerSalt(originalDeployer, salt); diff --git a/test/public/CREATE3/CreateX.deployCreate3AndInit_5Args.t.sol b/test/public/CREATE3/CreateX.deployCreate3AndInit_5Args.t.sol index a664111c..5875b230 100644 --- a/test/public/CREATE3/CreateX.deployCreate3AndInit_5Args.t.sol +++ b/test/public/CREATE3/CreateX.deployCreate3AndInit_5Args.t.sol @@ -76,7 +76,7 @@ contract CreateX_DeployCreate3AndInit_5Args_Public_Test is BaseTest { msgSender != createXAddr && msgSender != zeroAddress ); - snapshotId = vm.snapshot(); + snapshotId = vm.snapshotState(); // Helper logic to increase the probability of matching a permissioned deploy protection during fuzzing. if (chainId % 2 == 0) { @@ -206,7 +206,7 @@ contract CreateX_DeployCreate3AndInit_5Args_Public_Test is BaseTest { // Foundry does not create a new, clean EVM environment when the `chainId` is changed, and // a deployment of a contract to the same address therefore fails (see issue: https://github.com/foundry-rs/foundry/issues/6008). // To solve this problem, we return to the original snapshot state. - vm.revertTo(snapshotId); + vm.revertToState(snapshotId); // We record the emitted events to later assert the proxy contract address. vm.recordLogs(); (, , , guardedSalt) = parseFuzzerSalt(originalDeployer, salt); @@ -306,7 +306,7 @@ contract CreateX_DeployCreate3AndInit_5Args_Public_Test is BaseTest { msgSender != createXAddr && msgSender != zeroAddress ); - snapshotId = vm.snapshot(); + snapshotId = vm.snapshotState(); // Helper logic to increase the probability of matching a permissioned deploy protection during fuzzing. if (chainId % 2 == 0) { @@ -444,7 +444,7 @@ contract CreateX_DeployCreate3AndInit_5Args_Public_Test is BaseTest { // Foundry does not create a new, clean EVM environment when the `chainId` is changed, and // a deployment of a contract to the same address therefore fails (see issue: https://github.com/foundry-rs/foundry/issues/6008). // To solve this problem, we return to the original snapshot state. - vm.revertTo(snapshotId); + vm.revertToState(snapshotId); // We record the emitted events to later assert the proxy contract address. vm.recordLogs(); (, , , guardedSalt) = parseFuzzerSalt(originalDeployer, salt); diff --git a/test/public/CREATE3/CreateX.deployCreate3_1Arg.t.sol b/test/public/CREATE3/CreateX.deployCreate3_1Arg.t.sol index f2d8547b..36c3cd7d 100644 --- a/test/public/CREATE3/CreateX.deployCreate3_1Arg.t.sol +++ b/test/public/CREATE3/CreateX.deployCreate3_1Arg.t.sol @@ -61,7 +61,7 @@ contract CreateX_DeployCreate3_1Arg_Public_Test is BaseTest { msgSender != createXAddr && msgSender != zeroAddress ); - snapshotId = vm.snapshot(); + snapshotId = vm.snapshotState(); vm.startPrank(originalDeployer); bytes32 salt = createXHarness.exposed_generateSalt(); @@ -144,7 +144,7 @@ contract CreateX_DeployCreate3_1Arg_Public_Test is BaseTest { // Foundry does not create a new, clean EVM environment when the `chainId` is changed, and // a deployment of a contract to the same address therefore fails (see issue: https://github.com/foundry-rs/foundry/issues/6008). // To solve this problem, we return to the original snapshot state. - vm.revertTo(snapshotId); + vm.revertToState(snapshotId); // We record the emitted events to later assert the proxy contract address. vm.recordLogs(); vm.startPrank(originalDeployer); diff --git a/test/public/CREATE3/CreateX.deployCreate3_2Args.t.sol b/test/public/CREATE3/CreateX.deployCreate3_2Args.t.sol index 802dd457..1bd441d0 100644 --- a/test/public/CREATE3/CreateX.deployCreate3_2Args.t.sol +++ b/test/public/CREATE3/CreateX.deployCreate3_2Args.t.sol @@ -62,7 +62,7 @@ contract CreateX_DeployCreate3_2Args_Public_Test is BaseTest { msgSender != createXAddr && msgSender != zeroAddress ); - snapshotId = vm.snapshot(); + snapshotId = vm.snapshotState(); // Helper logic to increase the probability of matching a permissioned deploy protection during fuzzing. if (chainId % 2 == 0) { @@ -178,7 +178,7 @@ contract CreateX_DeployCreate3_2Args_Public_Test is BaseTest { // Foundry does not create a new, clean EVM environment when the `chainId` is changed, and // a deployment of a contract to the same address therefore fails (see issue: https://github.com/foundry-rs/foundry/issues/6008). // To solve this problem, we return to the original snapshot state. - vm.revertTo(snapshotId); + vm.revertToState(snapshotId); // We record the emitted events to later assert the proxy contract address. vm.recordLogs(); (, , , guardedSalt) = parseFuzzerSalt(originalDeployer, salt);