diff --git a/.gas-snapshot b/.gas-snapshot index d1c398b..ce75db4 100644 --- a/.gas-snapshot +++ b/.gas-snapshot @@ -1 +1 @@ -GreeterTest:testCreateGreeter() (gas: 17864) \ No newline at end of file +GreeterTest:testCreateGreeter() (gas: 20666) \ No newline at end of file diff --git a/contracts/lib/forge-std b/contracts/lib/forge-std index 2f6762e..b6a506d 160000 --- a/contracts/lib/forge-std +++ b/contracts/lib/forge-std @@ -1 +1 @@ -Subproject commit 2f6762e4f73f3d835457c220b5f62dfeeb6f6341 +Subproject commit b6a506db2262cad5ff982a87789ee6d1558ec861 diff --git a/package.json b/package.json index a34e781..f10b223 100644 --- a/package.json +++ b/package.json @@ -140,7 +140,7 @@ "@typechain/hardhat": "^9.1.0", "@types/chai": "^4.3.12", "@types/mocha": "^10.0.6", - "@types/node": "^20.11.25", + "@types/node": "^20.11.26", "chai": "^4.4.1", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d69465a..f0fb745 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -37,7 +37,7 @@ devDependencies: version: 1.0.10(hardhat@2.21.0) "@nomicfoundation/hardhat-toolbox": specifier: ^4.0.0 - version: 4.0.0(@nomicfoundation/hardhat-chai-matchers@2.0.6)(@nomicfoundation/hardhat-ethers@3.0.5)(@nomicfoundation/hardhat-network-helpers@1.0.10)(@nomicfoundation/hardhat-verify@2.0.4)(@typechain/ethers-v6@0.5.1)(@typechain/hardhat@9.1.0)(@types/chai@4.3.12)(@types/mocha@10.0.6)(@types/node@20.11.25)(chai@4.4.1)(ethers@6.11.1)(hardhat-gas-reporter@1.0.10)(hardhat@2.21.0)(solidity-coverage@0.8.11)(ts-node@10.9.2)(typechain@8.3.2)(typescript@5.4.2) + version: 4.0.0(@nomicfoundation/hardhat-chai-matchers@2.0.6)(@nomicfoundation/hardhat-ethers@3.0.5)(@nomicfoundation/hardhat-network-helpers@1.0.10)(@nomicfoundation/hardhat-verify@2.0.4)(@typechain/ethers-v6@0.5.1)(@typechain/hardhat@9.1.0)(@types/chai@4.3.12)(@types/mocha@10.0.6)(@types/node@20.11.26)(chai@4.4.1)(ethers@6.11.1)(hardhat-gas-reporter@1.0.10)(hardhat@2.21.0)(solidity-coverage@0.8.11)(ts-node@10.9.2)(typechain@8.3.2)(typescript@5.4.2) "@nomicfoundation/hardhat-verify": specifier: ^2.0.4 version: 2.0.4(hardhat@2.21.0) @@ -46,7 +46,7 @@ devDependencies: version: 5.0.2 "@tenderly/hardhat-tenderly": specifier: ^2.2.2 - version: 2.2.2(@nomicfoundation/hardhat-verify@2.0.4)(@types/node@20.11.25)(ethers@6.11.1)(hardhat@2.21.0) + version: 2.2.2(@nomicfoundation/hardhat-verify@2.0.4)(@types/node@20.11.26)(ethers@6.11.1)(hardhat@2.21.0) "@truffle/dashboard-hardhat-plugin": specifier: ^0.2.15 version: 0.2.15(hardhat@2.21.0) @@ -63,8 +63,8 @@ devDependencies: specifier: ^10.0.6 version: 10.0.6 "@types/node": - specifier: ^20.11.25 - version: 20.11.25 + specifier: ^20.11.26 + version: 20.11.26 chai: specifier: ^4.4.1 version: 4.4.1 @@ -103,7 +103,7 @@ devDependencies: version: 0.8.11(hardhat@2.21.0) ts-node: specifier: ^10.9.2 - version: 10.9.2(@types/node@20.11.25)(typescript@5.4.2) + version: 10.9.2(@types/node@20.11.26)(typescript@5.4.2) typechain: specifier: ^8.3.2 version: 8.3.2(typescript@5.4.2) @@ -1426,7 +1426,7 @@ packages: hardhat: 2.21.0(ts-node@10.9.2)(typescript@5.4.2) dev: true - /@nomicfoundation/hardhat-toolbox@4.0.0(@nomicfoundation/hardhat-chai-matchers@2.0.6)(@nomicfoundation/hardhat-ethers@3.0.5)(@nomicfoundation/hardhat-network-helpers@1.0.10)(@nomicfoundation/hardhat-verify@2.0.4)(@typechain/ethers-v6@0.5.1)(@typechain/hardhat@9.1.0)(@types/chai@4.3.12)(@types/mocha@10.0.6)(@types/node@20.11.25)(chai@4.4.1)(ethers@6.11.1)(hardhat-gas-reporter@1.0.10)(hardhat@2.21.0)(solidity-coverage@0.8.11)(ts-node@10.9.2)(typechain@8.3.2)(typescript@5.4.2): + /@nomicfoundation/hardhat-toolbox@4.0.0(@nomicfoundation/hardhat-chai-matchers@2.0.6)(@nomicfoundation/hardhat-ethers@3.0.5)(@nomicfoundation/hardhat-network-helpers@1.0.10)(@nomicfoundation/hardhat-verify@2.0.4)(@typechain/ethers-v6@0.5.1)(@typechain/hardhat@9.1.0)(@types/chai@4.3.12)(@types/mocha@10.0.6)(@types/node@20.11.26)(chai@4.4.1)(ethers@6.11.1)(hardhat-gas-reporter@1.0.10)(hardhat@2.21.0)(solidity-coverage@0.8.11)(ts-node@10.9.2)(typechain@8.3.2)(typescript@5.4.2): resolution: { integrity: sha512-jhcWHp0aHaL0aDYj8IJl80v4SZXWMS1A2XxXa1CA6pBiFfJKuZinCkO6wb+POAt0LIfXB3gA3AgdcOccrcwBwA==, @@ -1458,13 +1458,13 @@ packages: "@typechain/hardhat": 9.1.0(@typechain/ethers-v6@0.5.1)(ethers@6.11.1)(hardhat@2.21.0)(typechain@8.3.2) "@types/chai": 4.3.12 "@types/mocha": 10.0.6 - "@types/node": 20.11.25 + "@types/node": 20.11.26 chai: 4.4.1 ethers: 6.11.1 hardhat: 2.21.0(ts-node@10.9.2)(typescript@5.4.2) hardhat-gas-reporter: 1.0.10(hardhat@2.21.0) solidity-coverage: 0.8.11(hardhat@2.21.0) - ts-node: 10.9.2(@types/node@20.11.25)(typescript@5.4.2) + ts-node: 10.9.2(@types/node@20.11.26)(typescript@5.4.2) typechain: 8.3.2(typescript@5.4.2) typescript: 5.4.2 dev: true @@ -2093,7 +2093,7 @@ packages: defer-to-connect: 2.0.1 dev: true - /@tenderly/hardhat-tenderly@2.2.2(@nomicfoundation/hardhat-verify@2.0.4)(@types/node@20.11.25)(ethers@6.11.1)(hardhat@2.21.0): + /@tenderly/hardhat-tenderly@2.2.2(@nomicfoundation/hardhat-verify@2.0.4)(@types/node@20.11.26)(ethers@6.11.1)(hardhat@2.21.0): resolution: { integrity: sha512-JZINDVHW0ob+tCtNppgXMKiVcpbtcdEeHGaIsRFDXGeVQ1061asouf1lILvyWSfhv5ZeIkEX/LmeOo9IlC7rkw==, @@ -2112,7 +2112,7 @@ packages: hardhat: 2.21.0(ts-node@10.9.2)(typescript@5.4.2) hardhat-deploy: 0.11.45 tenderly: 0.9.1(ts-node@10.9.2)(typescript@5.4.2) - ts-node: 10.9.2(@types/node@20.11.25)(typescript@5.4.2) + ts-node: 10.9.2(@types/node@20.11.26)(typescript@5.4.2) tslog: 4.9.2 typescript: 5.4.2 transitivePeerDependencies: @@ -2482,7 +2482,7 @@ packages: integrity: sha512-pqr857jrp2kPuO9uRjZ3PwnJTjoQy+fcdxvBTvHm6dkmEL9q+hDD/2j/0ELOBPtPnS8LjCX0gI9nbl8lVkadpg==, } dependencies: - "@types/node": 20.11.25 + "@types/node": 20.11.26 dev: true /@types/bn.js@5.1.5: @@ -2491,7 +2491,7 @@ packages: integrity: sha512-V46N0zwKRF5Q00AZ6hWtN0T8gGmDUaUzLWQvHFo5yThtVwK/VCenFY3wXVbOvNfajEpsTfQM4IN9k/d6gUVX3A==, } dependencies: - "@types/node": 20.11.25 + "@types/node": 20.11.26 dev: true /@types/cacheable-request@6.0.3: @@ -2502,7 +2502,7 @@ packages: dependencies: "@types/http-cache-semantics": 4.0.4 "@types/keyv": 3.1.4 - "@types/node": 20.11.25 + "@types/node": 20.11.26 "@types/responselike": 1.0.3 dev: true @@ -2528,7 +2528,7 @@ packages: integrity: sha512-eHE4cQPoj6ngxBZMvVf6Hw7Mh4jMW4U9lpGmS5GBPB9RYxlFg+CHaVN7ErNY4W9XfLIEn20b4VDYaIrbq0q4uA==, } dependencies: - "@types/node": 20.11.25 + "@types/node": 20.11.26 dev: true /@types/form-data@0.0.33: @@ -2537,7 +2537,7 @@ packages: integrity: sha512-8BSvG1kGm83cyJITQMZSulnl6QV8jqAGreJsc5tPu1Jq0vTSOiY/k24Wx82JRpWwZSqrala6sd5rWi6aNXvqcw==, } dependencies: - "@types/node": 20.11.25 + "@types/node": 20.11.26 dev: true /@types/glob@7.2.0: @@ -2547,7 +2547,7 @@ packages: } dependencies: "@types/minimatch": 5.1.2 - "@types/node": 20.11.25 + "@types/node": 20.11.26 dev: true /@types/http-cache-semantics@4.0.4: @@ -2570,7 +2570,7 @@ packages: integrity: sha512-BQ5aZNSCpj7D6K2ksrRCTmKRLEpnPvWDiLPfoGyhZ++8YtiK9d/3DBKPJgry359X/P1PfruyYwvnvwFjuEiEIg==, } dependencies: - "@types/node": 20.11.25 + "@types/node": 20.11.26 dev: true /@types/lru-cache@5.1.1: @@ -2615,10 +2615,10 @@ packages: } dev: true - /@types/node@20.11.25: + /@types/node@20.11.26: resolution: { - integrity: sha512-TBHyJxk2b7HceLVGFcpAUjsa5zIdsPWlR6XHfyGzd0SFu+/NFgQgMAl96MSDZgQDvJAvV6BKsFOrt6zIL09JDw==, + integrity: sha512-YwOMmyhNnAWijOBQweOJnQPl068Oqd4K3OFbTc6AHJwzweUwwWG3GIFY74OKks2PJUDkQPeddOQES9mLn1CTEQ==, } dependencies: undici-types: 5.26.5 @@ -2637,7 +2637,7 @@ packages: integrity: sha512-uRwJqmiXmh9++aSu1VNEn3iIxWOhd8AHXNSdlaLfdAAdSTY9jYVeGWnzejM3dvrkbqE3/hyQkQQ29IFATEGlew==, } dependencies: - "@types/node": 20.11.25 + "@types/node": 20.11.26 dev: true /@types/prettier@2.7.3: @@ -2660,7 +2660,7 @@ packages: integrity: sha512-H/+L+UkTV33uf49PH5pCAUBVPNj2nDBXTN+qS1dOwyyg24l3CcicicCA7ca+HMvJBZcFgl5r8e+RR6elsb4Lyw==, } dependencies: - "@types/node": 20.11.25 + "@types/node": 20.11.26 dev: true /@types/secp256k1@4.0.6: @@ -2669,7 +2669,7 @@ packages: integrity: sha512-hHxJU6PAEUn0TP4S/ZOzuTUvJWuZ6eIKeNKb5RBpODvSl6hp1Wrw4s7ATY50rklRCScUDpHzVA/DQdSjJ3UoYQ==, } dependencies: - "@types/node": 20.11.25 + "@types/node": 20.11.26 dev: true /@types/semver@7.5.8: @@ -6721,7 +6721,7 @@ packages: solc: 0.7.3(debug@4.3.4) source-map-support: 0.5.21 stacktrace-parser: 0.1.10 - ts-node: 10.9.2(@types/node@20.11.25)(typescript@5.4.2) + ts-node: 10.9.2(@types/node@20.11.26)(typescript@5.4.2) tsort: 0.0.1 typescript: 5.4.2 undici: 5.28.3 @@ -10689,7 +10689,7 @@ packages: js-yaml: 4.1.0 open: 8.4.2 prompts: 2.4.2 - ts-node: 10.9.2(@types/node@20.11.25)(typescript@5.4.2) + ts-node: 10.9.2(@types/node@20.11.26)(typescript@5.4.2) tslog: 4.9.2 typescript: 5.4.2 transitivePeerDependencies: @@ -10844,7 +10844,7 @@ packages: code-block-writer: 12.0.0 dev: true - /ts-node@10.9.2(@types/node@20.11.25)(typescript@5.4.2): + /ts-node@10.9.2(@types/node@20.11.26)(typescript@5.4.2): resolution: { integrity: sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==, @@ -10866,7 +10866,7 @@ packages: "@tsconfig/node12": 1.0.11 "@tsconfig/node14": 1.0.3 "@tsconfig/node16": 1.0.4 - "@types/node": 20.11.25 + "@types/node": 20.11.26 acorn: 8.11.3 acorn-walk: 8.3.2 arg: 4.1.3 diff --git a/remappings.txt b/remappings.txt index 6b72176..bb0462d 100644 --- a/remappings.txt +++ b/remappings.txt @@ -2,4 +2,3 @@ hardhat/=node_modules/hardhat/ xdeployer/=node_modules/xdeployer/ forge-std/=contracts/lib/forge-std/src/ @openzeppelin/=node_modules/@openzeppelin/ -ds-test/=contracts/lib/forge-std/lib/ds-test/src/