generated from bgd-labs/bgd-forge-template
-
Notifications
You must be signed in to change notification settings - Fork 1
feat: Ink path activation payload #50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Forge Build Sizes
🔕 Unchanged
|
🌈 Test ResultsNo files changed, compilation skipped
Ran 3 tests for tests/access_control/GranularGuardianDeployTest.t.sol:CBaseGGTest
[PASS] test_initialization() (gas: 224420)
[PASS] test_updateGuardian(address) (runs: 256, μ: 220230, ~: 220230)
[PASS] test_updateGuardianWhenWrongCaller(address,address) (runs: 256, μ: 12968, ~: 12968)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 7.77s (7.37s CPU time)
2025-03-26T10:06:21.258427Z ERROR cheatcodes: non-empty stderr input=["npx", "@bgd-labs/aave-cli@^0.16.2", "adi-diff-snapshots", "./reports/adi_add_celo_path_to_adiethereum_before.json", "./reports/adi_add_celo_path_to_adiethereum_after.json", "-o", "./diffs/adi_add_celo_path_to_adiethereum_before_adi_add_celo_path_to_adiethereum_after.md"] stderr="npm warn exec The following package was not found and will be installed: @bgd-labs/[email protected]\nnpm warn deprecated [email protected]: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility\nnpm warn deprecated [email protected]: This module has been superseded by the multiformats module\nnpm warn deprecated [email protected]: This module has been superseded by the multiformats module\nnpm warn deprecated [email protected]: This module has been superseded by the multiformats module\nnpm warn deprecated [email protected]: This module has been superseded by the multiformats module\nnpm warn deprecated [email protected]: This module has been superseded by @ipld/dag-pb and multiformats\nfile:///home/runner/.npm/_npx/98f577e373727b30/node_modules/@bgd-labs/aave-cli/dist/cli.js:399\nimport { CHAIN_ID_CLIENT_MAP } from \"@bgd-labs/js-utils\";\n ^^^^^^^^^^^^^^^^^^^\nSyntaxError: Named export 'CHAIN_ID_CLIENT_MAP' not found. The requested module '@bgd-labs/js-utils' is a CommonJS module, which may not support all module.exports as named exports.\nCommonJS modules can always be imported via the default export, for example using:\n\nimport pkg from '@bgd-labs/js-utils';\nconst { CHAIN_ID_CLIENT_MAP } = pkg;\n\n at ModuleJob._instantiate (node:internal/modules/esm/module_job:175:21)\n at async ModuleJob.run (node:internal/modules/esm/module_job:258:5)\n at async ModuleLoader.import (node:internal/modules/esm/loader:540:24)\n at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:117:5)\n\nNode.js v20.19.0\n"
Ran 1 test for tests/payloads/ethereum/AddCeloPathTest.t.sol:EthereumAddCeloPathPayloadTest
[PASS] test_defaultTest() (gas: 1802330)
Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 28.80s (28.53s CPU time)
2025-03-26T10:06:22.982857Z ERROR cheatcodes: non-empty stderr input=["npx", "@bgd-labs/aave-cli@^0.16.2", "adi-diff-snapshots", "./reports/adi_add_ink_path_to_adiethereum_before.json", "./reports/adi_add_ink_path_to_adiethereum_after.json", "-o", "./diffs/adi_add_ink_path_to_adiethereum_before_adi_add_ink_path_to_adiethereum_after.md"] stderr="file:///home/runner/.npm/_npx/98f577e373727b30/node_modules/@bgd-labs/aave-cli/dist/cli.js:399\nimport { CHAIN_ID_CLIENT_MAP } from \"@bgd-labs/js-utils\";\n ^^^^^^^^^^^^^^^^^^^\nSyntaxError: Named export 'CHAIN_ID_CLIENT_MAP' not found. The requested module '@bgd-labs/js-utils' is a CommonJS module, which may not support all module.exports as named exports.\nCommonJS modules can always be imported via the default export, for example using:\n\nimport pkg from '@bgd-labs/js-utils';\nconst { CHAIN_ID_CLIENT_MAP } = pkg;\n\n at ModuleJob._instantiate (node:internal/modules/esm/module_job:175:21)\n at async ModuleJob.run (node:internal/modules/esm/module_job:258:5)\n at async ModuleLoader.import (node:internal/modules/esm/loader:540:24)\n at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:117:5)\n\nNode.js v20.19.0\n"
Ran 2 tests for tests/payloads/ethereum/AddInkPathTest.t.sol:EthereumAddInkPathPayloadTest
[PASS] test_defaultTest() (gas: 1823065)
[PASS] test_samePayloadAddress(address,address,address,uint256) (runs: 256, μ: 409554, ~: 409554)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 2.48s (2.28s CPU time)
2025-03-26T10:06:25.397138Z ERROR cheatcodes: non-empty stderr input=["npx", "@bgd-labs/aave-cli@^0.16.2", "adi-diff-snapshots", "./reports/adi_add_mantle_path_to_adiethereum_before.json", "./reports/adi_add_mantle_path_to_adiethereum_after.json", "-o", "./diffs/adi_add_mantle_path_to_adiethereum_before_adi_add_mantle_path_to_adiethereum_after.md"] stderr="file:///home/runner/.npm/_npx/98f577e373727b30/node_modules/@bgd-labs/aave-cli/dist/cli.js:399\nimport { CHAIN_ID_CLIENT_MAP } from \"@bgd-labs/js-utils\";\n ^^^^^^^^^^^^^^^^^^^\nSyntaxError: Named export 'CHAIN_ID_CLIENT_MAP' not found. The requested module '@bgd-labs/js-utils' is a CommonJS module, which may not support all module.exports as named exports.\nCommonJS modules can always be imported via the default export, for example using:\n\nimport pkg from '@bgd-labs/js-utils';\nconst { CHAIN_ID_CLIENT_MAP } = pkg;\n\n at ModuleJob._instantiate (node:internal/modules/esm/module_job:175:21)\n at async ModuleJob.run (node:internal/modules/esm/module_job:258:5)\n at async ModuleLoader.import (node:internal/modules/esm/loader:540:24)\n at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:117:5)\n\nNode.js v20.19.0\n"
Ran 2 tests for tests/payloads/ethereum/AddMantlePathTest.t.sol:EthereumAddMantlePathPayloadTest
[PASS] test_defaultTest() (gas: 1743733)
[PASS] test_samePayloadAddress(address,address,address,uint256) (runs: 256, μ: 412047, ~: 412047)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 2.43s (2.28s CPU time)
2025-03-26T10:06:27.804034Z ERROR cheatcodes: non-empty stderr input=["npx", "@bgd-labs/aave-cli@^0.16.2", "adi-diff-snapshots", "./reports/adi_add_sonic_path_to_adiethereum_before.json", "./reports/adi_add_sonic_path_to_adiethereum_after.json", "-o", "./diffs/adi_add_sonic_path_to_adiethereum_before_adi_add_sonic_path_to_adiethereum_after.md"] stderr="file:///home/runner/.npm/_npx/98f577e373727b30/node_modules/@bgd-labs/aave-cli/dist/cli.js:399\nimport { CHAIN_ID_CLIENT_MAP } from \"@bgd-labs/js-utils\";\n ^^^^^^^^^^^^^^^^^^^\nSyntaxError: Named export 'CHAIN_ID_CLIENT_MAP' not found. The requested module '@bgd-labs/js-utils' is a CommonJS module, which may not support all module.exports as named exports.\nCommonJS modules can always be imported via the default export, for example using:\n\nimport pkg from '@bgd-labs/js-utils';\nconst { CHAIN_ID_CLIENT_MAP } = pkg;\n\n at ModuleJob._instantiate (node:internal/modules/esm/module_job:175:21)\n at async ModuleJob.run (node:internal/modules/esm/module_job:258:5)\n at async ModuleLoader.import (node:internal/modules/esm/loader:540:24)\n at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:117:5)\n\nNode.js v20.19.0\n"
Ran 2 tests for tests/payloads/ethereum/AddSonicPathTest.t.sol:EthereumAddSonicPathPayloadTest
[PASS] test_defaultTest() (gas: 1906580)
[PASS] test_samePayloadAddress() (gas: 235376)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 1.64s (1.50s CPU time)
Ran 3 tests for tests/access_control/GranularGuardianDeployTest.t.sol:MetisGGTest
[PASS] test_initialization() (gas: 224374)
[PASS] test_updateGuardian(address) (runs: 256, μ: 220226, ~: 220226)
[PASS] test_updateGuardianWhenWrongCaller(address,address) (runs: 256, μ: 12968, ~: 12968)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 37.07s (36.10s CPU time)
Ran 3 tests for tests/access_control/GranularGuardianDeployTest.t.sol:ArbitrumGGTest
[PASS] test_initialization() (gas: 224333)
[PASS] test_updateGuardian(address) (runs: 256, μ: 220185, ~: 220185)
[PASS] test_updateGuardianWhenWrongCaller(address,address) (runs: 256, μ: 12968, ~: 12968)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 12.80s (12.50s CPU time)
Ran 3 tests for tests/access_control/GranularGuardianDeployTest.t.sol:OptimismGGTest
[PASS] test_initialization() (gas: 224356)
[PASS] test_updateGuardian(address) (runs: 256, μ: 220208, ~: 220208)
[PASS] test_updateGuardianWhenWrongCaller(address,address) (runs: 256, μ: 12968, ~: 12968)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 13.04s (12.90s CPU time)
Ran 5 tests for tests/access_control/GranularGuardianDeployTest.t.sol:GnosisGGTest
[PASS] test_initialization() (gas: 224398)
[PASS] test_solveEmergencyDeprecated() (gas: 444076)
[PASS] test_solveEmergencyDeprecatedWhenWrongCaller(address) (runs: 256, μ: 18137, ~: 18137)
[PASS] test_updateGuardian(address) (runs: 256, μ: 220340, ~: 220340)
[PASS] test_updateGuardianWhenWrongCaller(address,address) (runs: 256, μ: 12980, ~: 12980)
Suite result: ok. 5 passed; 0 failed; 0 skipped; finished in 68.85s (68.60s CPU time)
Ran 9 tests for tests/access_control/GranularGuardianDeployTest.t.sol:PolygonGGTest
[PASS] test_initialization() (gas: 224955)
[PASS] test_retryEnvelope(address,uint256) (runs: 256, μ: 1968017, ~: 1972846)
[PASS] test_retryEnvelopeWhenWrongCaller(uint256,address) (runs: 256, μ: 14386, ~: 14386)
[PASS] test_retryTx(address,uint256) (runs: 256, μ: 1586225, ~: 1588977)
[PASS] test_retryTxWhenWrongCaller(uint256,address) (runs: 256, μ: 14549, ~: 14549)
[PASS] test_solveEmergencyDeprecated() (gas: 445184)
[PASS] test_solveEmergencyWhenWrongCallerDeprecated(address) (runs: 256, μ: 18136, ~: 18136)
[PASS] test_updateGuardian(address) (runs: 256, μ: 220928, ~: 220939)
[PASS] test_updateGuardianWhenWrongCaller(address,address) (runs: 256, μ: 12992, ~: 13002)
Suite result: ok. 9 passed; 0 failed; 0 skipped; finished in 130.35s (130.09s CPU time)
Ran 3 tests for tests/access_control/GranularGuardianDeployTest.t.sol:ScrollGGTest
[PASS] test_initialization() (gas: 224489)
[PASS] test_updateGuardian(address) (runs: 256, μ: 220299, ~: 220299)
[PASS] test_updateGuardianWhenWrongCaller(address,address) (runs: 256, μ: 12968, ~: 12968)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 12.35s (12.01s CPU time)
Ran 3 tests for tests/access_control/GranularGuardianDeployTest.t.sol:LineaGGTest
[PASS] test_initialization() (gas: 224558)
[PASS] test_updateGuardian(address) (runs: 256, μ: 217712, ~: 217712)
[PASS] test_updateGuardianWhenWrongCaller(address,address) (runs: 256, μ: 12968, ~: 12968)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 78.86s (78.61s CPU time)
Ran 9 tests for tests/access_control/GranularGuardianDeployTest.t.sol:AvalancheGGTest
[PASS] test_initialization() (gas: 224978)
[PASS] test_retryEnvelope(address,uint256) (runs: 256, μ: 1955221, ~: 1959243)
[PASS] test_retryEnvelopeWhenWrongCaller(uint256,address) (runs: 256, μ: 14386, ~: 14386)
[PASS] test_retryTx(address,uint256) (runs: 256, μ: 1646918, ~: 1647535)
[PASS] test_retryTxWhenWrongCaller(uint256,address) (runs: 256, μ: 14549, ~: 14549)
[PASS] test_solveEmergencyDeprecated() (gas: 445230)
[PASS] test_solveEmergencyWhenWrongCallerDeprecated(address) (runs: 256, μ: 18136, ~: 18136)
[PASS] test_updateGuardian(address) (runs: 256, μ: 220962, ~: 220962)
[PASS] test_updateGuardianWhenWrongCaller(address,address) (runs: 256, μ: 13002, ~: 13002)
Suite result: ok. 9 passed; 0 failed; 0 skipped; finished in 158.93s (158.74s CPU time)
Ran 7 tests for tests/access_control/GranularGuardianDeployTest.t.sol:EthereumGGTest
[PASS] test_initialization() (gas: 224900)
[PASS] test_retryEnvelope(address,uint256) (runs: 256, μ: 2004064, ~: 2007697)
[PASS] test_retryEnvelopeWhenWrongCaller(uint256,address) (runs: 256, μ: 14396, ~: 14396)
[PASS] test_retryTx(address,uint256) (runs: 256, μ: 1616321, ~: 1622935)
[PASS] test_retryTxWhenWrongCaller(uint256,address) (runs: 256, μ: 14514, ~: 14514)
[PASS] test_updateGuardian(address) (runs: 256, μ: 220863, ~: 220863)
[PASS] test_updateGuardianWhenWrongCaller(address,address) (runs: 256, μ: 12990, ~: 12990)
Suite result: ok. 7 passed; 0 failed; 0 skipped; finished in 205.02s (213.79s CPU time)
Ran 5 tests for tests/access_control/GranularGuardianDeployTest.t.sol:BinanceGGTest
[PASS] test_initialization() (gas: 224334)
[PASS] test_solveEmergencyDeprecated() (gas: 443948)
[PASS] test_solveEmergencyDeprecatedWhenWrongCaller(address) (runs: 256, μ: 18137, ~: 18137)
[PASS] test_updateGuardian(address) (runs: 256, μ: 220276, ~: 220276)
[PASS] test_updateGuardianWhenWrongCaller(address,address) (runs: 256, μ: 12980, ~: 12980)
Suite result: ok. 5 passed; 0 failed; 0 skipped; finished in 95.16s (94.74s CPU time)
Ran 15 test suites in 237.89s (855.55s CPU time): 60 tests passed, 0 failed, 0 skipped (60 total tests) |
♻️ Forge Gas SnapshotsSeems like you are not measuring gas of any operations yet. 🤔 |
kyzia551
reviewed
Mar 26, 2025
tests/adi/ADITestBase.sol
Outdated
| } else if (chainId == ChainIds.CELO) { | ||
| return 0x50F4dAA86F3c747ce15C3C38bD0383200B61d6Dd; | ||
| } else if (chainId == ChainIds.SONIC) { | ||
| return 0x58e003a3C6f2Aeed6a2a6Bc77B504566523cb15c; |
Contributor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's replace with addresses from address-book
kyzia551
approved these changes
Mar 26, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.