From 41cc7f5c4b06d13dd5031621c115e033f7749c7b Mon Sep 17 00:00:00 2001 From: Kunal Arora <55632507+aroralanuk@users.noreply.github.com> Date: Fri, 29 Mar 2024 10:07:50 -0400 Subject: [PATCH] fix: config fallback as default on fuji (#3501) ### Description - default hook was misconfigured to a routing whereas it should have been a fallback routing hook ### Drive-by changes LOG_PRETTY=true in CI ### Related issues - https://discord.com/channels/935678348330434570/935678739663192184/1222618018098581575 ### Backward compatibility Yes ### Testing Manual through cast --- .github/workflows/cron.yml | 2 +- .../testnet4/core/verification.json | 18 +++++ .../sdk/src/consts/environments/testnet.json | 70 ++++++++++--------- 3 files changed, 55 insertions(+), 35 deletions(-) diff --git a/.github/workflows/cron.yml b/.github/workflows/cron.yml index b6ba9f86c..2f7e454be 100644 --- a/.github/workflows/cron.yml +++ b/.github/workflows/cron.yml @@ -91,7 +91,7 @@ jobs: key: ${{ github.sha }} - name: Metadata Health Check - run: DEBUG=hyperlane yarn workspace @hyperlane-xyz/sdk run test:metadata + run: LOG_PRETTY=true yarn workspace @hyperlane-xyz/sdk run test:metadata - name: Post to discord webhook if metadata check fails if: failure() diff --git a/typescript/infra/config/environments/testnet4/core/verification.json b/typescript/infra/config/environments/testnet4/core/verification.json index b5a1e1101..fb7e764e0 100644 --- a/typescript/infra/config/environments/testnet4/core/verification.json +++ b/typescript/infra/config/environments/testnet4/core/verification.json @@ -1821,6 +1821,24 @@ "constructorArguments": "0000000000000000000000005b6cff85442b851a8e6eabd2a4e4507b5135b3b0000000000000000000000000fad1c94469700833717fa8a3017278bc1ca8031c0000000000000000000000009ff6ac3daf63103620bbf76136ea1aff43c2f612", "isProxy": false, "name": "FallbackRoutingHook" + }, + { + "address": "0x1d0C0b9f311D73ab1130662F2cE6a3dfF45293F6", + "constructorArguments": "000000000000000000000000fad1c94469700833717fa8a3017278bc1ca8031c", + "isProxy": false, + "name": "PausableIsm" + }, + { + "address": "0x495e9E119b2aa848b418EF6A4d30b42803de43A9", + "constructorArguments": "", + "isProxy": false, + "name": "PausableHook" + }, + { + "address": "0x495e9E119b2aa848b418EF6A4d30b42803de43A9", + "constructorArguments": "", + "isProxy": false, + "name": "PausableHook" } ], "moonbasealpha": [ diff --git a/typescript/sdk/src/consts/environments/testnet.json b/typescript/sdk/src/consts/environments/testnet.json index 9e39bd109..33c45b029 100644 --- a/typescript/sdk/src/consts/environments/testnet.json +++ b/typescript/sdk/src/consts/environments/testnet.json @@ -1,17 +1,17 @@ { "alfajores": { "aggregationHook": "0xdBabD76358897E68E4964647C1fb8Bf524f5EFdB", - "staticAggregationHookFactory": "0x71bB34Ee833467443628CEdFAA188B2387827Cee", - "staticAggregationIsmFactory": "0x4bE8AC22f506B1504C93C3A5b1579C5e7c550D9C", + "domainRoutingIsmFactory": "0x30d9A03762431F8A917a0C469E7A62Bf55092Ca6", "fallbackRoutingHook": "0x3528B1aeF3a3d29E0eae90ad777A2b4A6a48aC3F", "interchainGasPaymaster": "0x44769b0f4a6f01339e131a691cc2eebbb519d297", "mailbox": "0xEf9F292fcEBC3848bF4bB92a96a04F9ECBb78E59", - "staticMerkleRootMultisigIsmFactory": "0xa9C7e306C0941896CA1fd528aA59089571D8D67E", "merkleTreeHook": "0x221FA9CBaFcd6c1C3d206571Cf4427703e023FFa", - "staticMessageIdMultisigIsmFactory": "0xC1b8c0e56D6a34940Ee2B86172450B54AFd633A7", "protocolFee": "0xC9D50584F08Bf6cCD1004d14c7062044b45E3b48", "proxyAdmin": "0x4eDBf5846D973c53AF478cf62aB5bC92807521e3", - "domainRoutingIsmFactory": "0x30d9A03762431F8A917a0C469E7A62Bf55092Ca6", + "staticAggregationHookFactory": "0x71bB34Ee833467443628CEdFAA188B2387827Cee", + "staticAggregationIsmFactory": "0x4bE8AC22f506B1504C93C3A5b1579C5e7c550D9C", + "staticMerkleRootMultisigIsmFactory": "0xa9C7e306C0941896CA1fd528aA59089571D8D67E", + "staticMessageIdMultisigIsmFactory": "0xC1b8c0e56D6a34940Ee2B86172450B54AFd633A7", "storageGasOracle": "0x8356113754C7aCa297Db3089b89F87CC125499fb", "testRecipient": "0x6489d13AcAd3B8dce4c5B31f375DE4f9451E7b38", "testTokenRecipient": "0x92dC0a76452a9D9358D2d2dEd8CddA209DF67c45", @@ -19,16 +19,16 @@ }, "bsctestnet": { "aggregationHook": "0x3d675bB93250Ab7603F40cbb9194bae210784627", - "staticAggregationHookFactory": "0xa1145B39F1c7Ef9aA593BC1DB1634b00CC020942", - "staticAggregationIsmFactory": "0x40613dE82d672605Ab051C64079022Bb4F8bDE4f", "fallbackRoutingHook": "0x2670ED2EC08cAd135307556685a96bD4c16b007b", "interchainGasPaymaster": "0x0dD20e410bdB95404f71c5a4e7Fa67B892A5f949", "mailbox": "0xF9F6F5646F478d5ab4e20B0F910C92F1CCC9Cc6D", - "staticMerkleRootMultisigIsmFactory": "0x3E235B90197E1D6b5DB5ad5aD49f2c1ED6406382", "merkleTreeHook": "0xc6cbF39A747f5E28d1bDc8D9dfDAb2960Abd5A8f", - "staticMessageIdMultisigIsmFactory": "0x0D96aF0c01c4bbbadaaF989Eb489c8783F35B763", "protocolFee": "0x3eF0a63B8976b838704Bcc93C78C56b6653E5a39", "proxyAdmin": "0xb12282d2E838Aa5f2A4F9Ee5f624a77b7199A078", + "staticAggregationHookFactory": "0xa1145B39F1c7Ef9aA593BC1DB1634b00CC020942", + "staticAggregationIsmFactory": "0x40613dE82d672605Ab051C64079022Bb4F8bDE4f", + "staticMerkleRootMultisigIsmFactory": "0x3E235B90197E1D6b5DB5ad5aD49f2c1ED6406382", + "staticMessageIdMultisigIsmFactory": "0x0D96aF0c01c4bbbadaaF989Eb489c8783F35B763", "storageGasOracle": "0x124EBCBC018A5D4Efe639f02ED86f95cdC3f6498", "testRecipient": "0xfbcD1c00a3d809f36cC1A15918694B17B32c0b6c", "testTokenRecipient": "0x260f6024119549a40595d0937471e607411E8ea5", @@ -36,17 +36,19 @@ }, "fuji": { "aggregationHook": "0x8E9b4006171c6B75111823e7545Ee5400CEce0B3", - "staticAggregationHookFactory": "0x99554CC33cBCd6EDDd2f3fc9c7C9194Cb3b5df1E", - "staticAggregationIsmFactory": "0xF588129ed84F219A1f0f921bE7Aa1B2176516858", + "domainRoutingIsmFactory": "0x683a81E0e1a238dcA7341e04c08d3bba6f0Cb74f", "fallbackRoutingHook": "0xc684f7F50DB4b2563218512e021fBdd0BeD6b57E", "interchainGasPaymaster": "0x6895d3916B94b386fAA6ec9276756e16dAe7480E", + "interchainSecurityModule": "0x4B02673875ba86729f1490247A14A01c4D6B0a67", "mailbox": "0x5b6CFf85442B851A8e6eaBd2A4E4507B5135B3B0", - "staticMerkleRootMultisigIsmFactory": "0x93F50Ac4E5663DAAb03508008d592f6260964f62", "merkleTreeHook": "0x9ff6ac3dAf63103620BBf76136eA1AFf43c2F612", - "staticMessageIdMultisigIsmFactory": "0x90e1F9918F304645e4F6324E5C0EAc70138C84Ce", + "pausableHook": "0x495e9E119b2aa848b418EF6A4d30b42803de43A9", "protocolFee": "0xEbA64c8a9b4a61a9210d5fe7E4375380999C821b", "proxyAdmin": "0x378dA02f7dC3c23A8B5ecE32b8056CdF01e8d477", - "domainRoutingIsmFactory": "0x683a81E0e1a238dcA7341e04c08d3bba6f0Cb74f", + "staticAggregationHookFactory": "0x99554CC33cBCd6EDDd2f3fc9c7C9194Cb3b5df1E", + "staticAggregationIsmFactory": "0xF588129ed84F219A1f0f921bE7Aa1B2176516858", + "staticMerkleRootMultisigIsmFactory": "0x93F50Ac4E5663DAAb03508008d592f6260964f62", + "staticMessageIdMultisigIsmFactory": "0x90e1F9918F304645e4F6324E5C0EAc70138C84Ce", "storageGasOracle": "0x9305dE34306886d615B096Bdf23b94a978f6a6c0", "testRecipient": "0x44a7e1d76fD8AfA244AdE7278336E3D5C658D398", "testTokenRecipient": "0x9CC10c844B3Bbae2444E39991aB027C4A05D1F2e", @@ -54,17 +56,17 @@ }, "mumbai": { "aggregationHook": "0xD546273418733AcEC8c7A67EfB881c9Ea83851bf", - "staticAggregationHookFactory": "0x54CA9De95B37365909364672D363D2ecFC4e1Af4", - "staticAggregationIsmFactory": "0x54b0d9AB6a99E9C9425D20fa4D9eE9dbf067e886", + "domainRoutingIsmFactory": "0x832Ea28749C93C05E5AaF8207E4e61Bd56aE3877", "fallbackRoutingHook": "0x31191BA83143b4745745389fEe64990c65F36829", "interchainGasPaymaster": "0x8aB67CAF605c6ee83cbFeFb0D8d67FDd3BF7B591", "mailbox": "0x2d1889fe5B092CD988972261434F7E5f26041115", - "staticMerkleRootMultisigIsmFactory": "0xda0780ed3eE577EfE0B856E00f983bF231603307", "merkleTreeHook": "0x9AF85731EDd41E2E50F81Ef8a0A69D2fB836EDf9", - "staticMessageIdMultisigIsmFactory": "0x23c2483ab814177bA79DCDCb5dFA1B105387AAB1", "protocolFee": "0x244d1F7e30Be144A87602905baBF86630e8f39DC", "proxyAdmin": "0xa99aD6B1c10E92DB8d3510f1865A6d2Ab43EAd58", - "domainRoutingIsmFactory": "0x832Ea28749C93C05E5AaF8207E4e61Bd56aE3877", + "staticAggregationHookFactory": "0x54CA9De95B37365909364672D363D2ecFC4e1Af4", + "staticAggregationIsmFactory": "0x54b0d9AB6a99E9C9425D20fa4D9eE9dbf067e886", + "staticMerkleRootMultisigIsmFactory": "0xda0780ed3eE577EfE0B856E00f983bF231603307", + "staticMessageIdMultisigIsmFactory": "0x23c2483ab814177bA79DCDCb5dFA1B105387AAB1", "storageGasOracle": "0xBEd8Fd6d5c6cBd878479C25f4725C7c842a43821", "testRecipient": "0xF45A4D54223DA32bf7b5D43a9a460Ef3C94C713B", "testTokenRecipient": "0x57d098e6952B6C1c85Ce0B68C9Deada3dCf7D05A", @@ -72,36 +74,36 @@ }, "plumetestnet": { "aggregationHook": "0x31dF0EEE7Dc7565665468698a0da221225619a1B", - "staticAggregationHookFactory": "0x6966b0E55883d49BFB24539356a2f8A673E02039", - "staticAggregationIsmFactory": "0xC2E36cd6e32e194EE11f15D9273B64461A4D49A2", + "domainRoutingIsmFactory": "0x54148470292C24345fb828B003461a9444414517", "fallbackRoutingHook": "0x19Be55D859368e02d7b9C00803Eb677BDC1359Bd", "interchainGasPaymaster": "0x28B02B97a850872C4D33C3E024fab6499ad96564", "interchainSecurityModule": "0x7B40deb01A127E3A5eECdbCDF263e41899a90078", "mailbox": "0x33dB966328Ea213b0f76eF96CA368AB37779F065", - "staticMerkleRootMultisigIsmFactory": "0x16B710b86CAd07E6F1C531861a16F5feC29dba37", "merkleTreeHook": "0xddf4C3e791caCaFd26D7fb275549739B38ae6e75", - "staticMessageIdMultisigIsmFactory": "0x44b764045BfDC68517e10e783E69B376cef196B2", "pausableHook": "0x5821f3B6eE05F3dC62b43B74AB1C8F8E6904b1C8", "protocolFee": "0x1b33611fCc073aB0737011d5512EF673Bff74962", "proxyAdmin": "0x589C201a07c26b4725A4A829d772f24423da480B", - "domainRoutingIsmFactory": "0x54148470292C24345fb828B003461a9444414517", + "staticAggregationHookFactory": "0x6966b0E55883d49BFB24539356a2f8A673E02039", + "staticAggregationIsmFactory": "0xC2E36cd6e32e194EE11f15D9273B64461A4D49A2", + "staticMerkleRootMultisigIsmFactory": "0x16B710b86CAd07E6F1C531861a16F5feC29dba37", + "staticMessageIdMultisigIsmFactory": "0x44b764045BfDC68517e10e783E69B376cef196B2", "storageGasOracle": "0x267B6B6eAf6790faE5D5E9070F28a9cE64CbF279", "testRecipient": "0xe0B988062A0C6492177d64823Ab95a9c256c2a5F", "validatorAnnounce": "0x20c44b1E3BeaDA1e9826CFd48BeEDABeE9871cE9" }, "scrollsepolia": { "aggregationHook": "0x7b63Aa270335F8896717c2A809205F4b650E4268", - "staticAggregationHookFactory": "0x44b764045BfDC68517e10e783E69B376cef196B2", - "staticAggregationIsmFactory": "0x16B710b86CAd07E6F1C531861a16F5feC29dba37", + "domainRoutingIsmFactory": "0x17866ebE0e503784a9461d3e753dEeD0d3F61153", "fallbackRoutingHook": "0xE1CCB130389f687bf745Dd6dc05E50da17d9ea96", "interchainGasPaymaster": "0x86fb9F1c124fB20ff130C41a79a432F770f67AFD", "mailbox": "0x3C5154a193D6e2955650f9305c8d80c18C814A68", - "staticMerkleRootMultisigIsmFactory": "0x275aCcCa81cAD931dC6fB6E49ED233Bc99Bed4A7", "merkleTreeHook": "0x863E8c26621c52ACa1849C53500606e73BA272F0", - "staticMessageIdMultisigIsmFactory": "0xeb6f11189197223c656807a83B0DD374f9A6dF44", "protocolFee": "0x5821f3B6eE05F3dC62b43B74AB1C8F8E6904b1C8", "proxyAdmin": "0x598facE78a4302f11E3de0bee1894Da0b2Cb71F8", - "domainRoutingIsmFactory": "0x17866ebE0e503784a9461d3e753dEeD0d3F61153", + "staticAggregationHookFactory": "0x44b764045BfDC68517e10e783E69B376cef196B2", + "staticAggregationIsmFactory": "0x16B710b86CAd07E6F1C531861a16F5feC29dba37", + "staticMerkleRootMultisigIsmFactory": "0x275aCcCa81cAD931dC6fB6E49ED233Bc99Bed4A7", + "staticMessageIdMultisigIsmFactory": "0xeb6f11189197223c656807a83B0DD374f9A6dF44", "storageGasOracle": "0x6b1bb4ce664Bb4164AEB4d3D2E7DE7450DD8084C", "testRecipient": "0xa3AB7E6cE24E6293bD5320A53329Ef2f4DE73fCA", "testTokenRecipient": "0xc76E477437065093D353b7d56c81ff54D167B0Ab", @@ -109,19 +111,19 @@ }, "sepolia": { "aggregationHook": "0xe3147d5618f5e2e100690B50ec923009a4cde14A", - "staticAggregationHookFactory": "0x160C28C92cA453570aD7C031972b58d5Dd128F72", - "staticAggregationIsmFactory": "0xC83e12EF2627ACE445C298e6eC418684918a6002", + "domainRoutingIsmFactory": "0x3F100cBBE5FD5466BdB4B3a15Ac226957e7965Ad", "fallbackRoutingHook": "0x17Dc724B7a2F09141C13b8AC33B396073785c2BC", "interchainGasPaymaster": "0x6f2756380FD49228ae25Aa7F2817993cB74Ecc56", "interchainSecurityModule": "0x958124472b14B7940Ed5317C44a2508791dB1d48", "mailbox": "0xfFAEF09B3cd11D9b20d1a19bECca54EEC2884766", - "staticMerkleRootMultisigIsmFactory": "0x0a71AcC99967829eE305a285750017C4916Ca269", "merkleTreeHook": "0x4917a9746A7B6E0A57159cCb7F5a6744247f2d0d", - "staticMessageIdMultisigIsmFactory": "0xFEb9585b2f948c1eD74034205a7439261a9d27DD", "pausableHook": "0xa68022e53Fd28119D07C8336a8eC84A298Fd38Fd", "protocolFee": "0x13AC3349Cb159fE86A22cf42DdA803D9f7309DB5", "proxyAdmin": "0x97Bbc6bBaFa5Ce3b2FA966c121Af63bD09e940f8", - "domainRoutingIsmFactory": "0x3F100cBBE5FD5466BdB4B3a15Ac226957e7965Ad", + "staticAggregationHookFactory": "0x160C28C92cA453570aD7C031972b58d5Dd128F72", + "staticAggregationIsmFactory": "0xC83e12EF2627ACE445C298e6eC418684918a6002", + "staticMerkleRootMultisigIsmFactory": "0x0a71AcC99967829eE305a285750017C4916Ca269", + "staticMessageIdMultisigIsmFactory": "0xFEb9585b2f948c1eD74034205a7439261a9d27DD", "storageGasOracle": "0x71775B071F77F1ce52Ece810ce084451a3045FFe", "testRecipient": "0xeDc1A3EDf87187085A3ABb7A9a65E1e7aE370C07", "testTokenRecipient": "0x031AD9c560D37baC7d6Bd2d27A2443bAfd10101A",