From 60c86b88b806c9aeebb755a8e44efa0f9140423b Mon Sep 17 00:00:00 2001 From: Bruce Riley Date: Mon, 17 Mar 2025 15:27:23 -0500 Subject: [PATCH 1/2] Add Mezo testnet support --- common/src/consts.ts | 1 + common/src/explorer.ts | 4 + dashboard/package.json | 2 +- database/package.json | 2 +- package-lock.json | 352 ++++++++++++++++---------------- package.json | 14 +- watcher/src/consts.ts | 3 +- watcher/src/index.ts | 1 + watcher/src/watchers/Watcher.ts | 3 +- watcher/src/watchers/utils.ts | 3 +- 10 files changed, 197 insertions(+), 188 deletions(-) diff --git a/common/src/consts.ts b/common/src/consts.ts index 7905cd4c..71be5add 100644 --- a/common/src/consts.ts +++ b/common/src/consts.ts @@ -93,6 +93,7 @@ export const INITIAL_DEPLOYMENT_BLOCK_BY_NETWORK_AND_CHAIN: NetworkChainBlockMap Monad: '520060', // Block of contract creation Ink: '1907965', // Block of contract creation HyperEVM: '13743181', // Block of contract creation + Mezo: '3102383', // Block of contract creation }, ['Devnet']: {}, }; diff --git a/common/src/explorer.ts b/common/src/explorer.ts index 1b0cac27..ad148b3a 100644 --- a/common/src/explorer.ts +++ b/common/src/explorer.ts @@ -150,6 +150,8 @@ export const explorerBlock = (network: Network, chainId: ChainId, block: string) ? `https://explorer-sepolia.inkonchain.com/block/${block}` : chainId === chainToChainId('HyperEVM') ? `https://testnet.purrsec.com/block/${block}` + : chainId === chainToChainId('Mezo') + ? `https://rpc.test.mezo.org/block/${block}` : // : chainId === chainToChainId('Wormscan') <-- not supported on testnet dashboard ''; @@ -295,6 +297,8 @@ export const explorerTx = (network: Network, chainId: ChainId, tx: string) => ? `https://explorer-sepolia.inkonchain.com/tx/${tx}` : chainId === chainToChainId('HyperEVM') ? `https://testnet.purrsec.com/tx/${tx}` + : chainId === chainToChainId('Mezo') + ? `https://rpc.test.mezo.org/tx/${tx}` : // chainId === chainToChainId('Wormscan') <-- not supported on testnet dashboard ''; diff --git a/dashboard/package.json b/dashboard/package.json index 3990c81e..1c7a7eb2 100644 --- a/dashboard/package.json +++ b/dashboard/package.json @@ -17,7 +17,7 @@ "@types/node": "^18.6.4", "@types/react": "^18.0.15", "@types/react-dom": "^18.0.6", - "@wormhole-foundation/sdk-icons": "^1.13.2", + "@wormhole-foundation/sdk-icons": "^1.13.3", "buffer": "^6.0.3", "numeral": "^2.0.6", "react": "^18.2.0", diff --git a/database/package.json b/database/package.json index 49b4c81d..274a19a4 100644 --- a/database/package.json +++ b/database/package.json @@ -15,7 +15,7 @@ "@injectivelabs/sdk-ts": "^1.0.368", "@mysten/sui": "^1.21.2", "@terra-money/terra.js": "^3.1.3", - "@wormhole-foundation/sdk": "^1.13.2", + "@wormhole-foundation/sdk": "^1.13.3", "@xpla/xpla.js": "^0.2.3", "aptos": "1.5.0", "dotenv": "^16.0.3", diff --git a/package-lock.json b/package-lock.json index a70172d4..5225d312 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,13 +16,13 @@ ], "dependencies": { "@google-cloud/functions-framework": "^3.4.0", - "@wormhole-foundation/sdk-base": "^1.13.2", - "@wormhole-foundation/sdk-definitions": "^1.13.2", - "@wormhole-foundation/sdk-evm": "^1.13.2", - "@wormhole-foundation/sdk-evm-core": "^1.13.2", - "@wormhole-foundation/sdk-icons": "^1.13.2", - "@wormhole-foundation/sdk-solana": "^1.13.2", - "@wormhole-foundation/sdk-solana-core": "^1.13.2", + "@wormhole-foundation/sdk-base": "^1.13.3", + "@wormhole-foundation/sdk-definitions": "^1.13.3", + "@wormhole-foundation/sdk-evm": "^1.13.3", + "@wormhole-foundation/sdk-evm-core": "^1.13.3", + "@wormhole-foundation/sdk-icons": "^1.13.3", + "@wormhole-foundation/sdk-solana": "^1.13.3", + "@wormhole-foundation/sdk-solana-core": "^1.13.3", "axios": "^1.5.0" }, "devDependencies": { @@ -167,7 +167,7 @@ "@types/node": "^18.6.4", "@types/react": "^18.0.15", "@types/react-dom": "^18.0.6", - "@wormhole-foundation/sdk-icons": "^1.13.2", + "@wormhole-foundation/sdk-icons": "^1.13.3", "buffer": "^6.0.3", "numeral": "^2.0.6", "react": "^18.2.0", @@ -201,7 +201,7 @@ "@injectivelabs/sdk-ts": "^1.0.368", "@mysten/sui": "^1.21.2", "@terra-money/terra.js": "^3.1.3", - "@wormhole-foundation/sdk": "^1.13.2", + "@wormhole-foundation/sdk": "^1.13.3", "@xpla/xpla.js": "^0.2.3", "aptos": "1.5.0", "dotenv": "^16.0.3", @@ -9187,50 +9187,50 @@ "integrity": "sha512-4AOeU+P5UuE/4nOUkmcQdW5y7i9ndt1cQd/3iUe+LTz3RxESf/W/5lg4B74HbDMMv8PHnPnGCQFH45kBcrQYoQ==" }, "node_modules/@wormhole-foundation/sdk": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk/-/sdk-1.13.2.tgz", - "integrity": "sha512-cZHMh1n2+/Y93TAEXd6u4rGzHNmHW4o3kA0r5BkcwozAKnSFO7f6G87CQ6Dx58U9SUJK/rM65bAntNWDu62sww==", + "version": "1.13.3", + "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk/-/sdk-1.13.3.tgz", + "integrity": "sha512-MW1do7F5711Z+DuMtJHRFQrvmmeg2q3Zwfb2EJ6oe3eF8JN7j+86LQiihgWHscsgAaYno5xlkgaQ5hV8/ZH4tw==", "license": "Apache-2.0", "dependencies": { - "@wormhole-foundation/sdk-algorand": "1.13.2", - "@wormhole-foundation/sdk-algorand-core": "1.13.2", - "@wormhole-foundation/sdk-algorand-tokenbridge": "1.13.2", - "@wormhole-foundation/sdk-aptos": "1.13.2", - "@wormhole-foundation/sdk-aptos-cctp": "1.13.2", - "@wormhole-foundation/sdk-aptos-core": "1.13.2", - "@wormhole-foundation/sdk-aptos-tokenbridge": "1.13.2", - "@wormhole-foundation/sdk-base": "1.13.2", - "@wormhole-foundation/sdk-connect": "1.13.2", - "@wormhole-foundation/sdk-cosmwasm": "1.13.2", - "@wormhole-foundation/sdk-cosmwasm-core": "1.13.2", - "@wormhole-foundation/sdk-cosmwasm-ibc": "1.13.2", - "@wormhole-foundation/sdk-cosmwasm-tokenbridge": "1.13.2", - "@wormhole-foundation/sdk-definitions": "1.13.2", - "@wormhole-foundation/sdk-evm": "1.13.2", - "@wormhole-foundation/sdk-evm-cctp": "1.13.2", - "@wormhole-foundation/sdk-evm-core": "1.13.2", - "@wormhole-foundation/sdk-evm-portico": "1.13.2", - "@wormhole-foundation/sdk-evm-tokenbridge": "1.13.2", - "@wormhole-foundation/sdk-solana": "1.13.2", - "@wormhole-foundation/sdk-solana-cctp": "1.13.2", - "@wormhole-foundation/sdk-solana-core": "1.13.2", - "@wormhole-foundation/sdk-solana-tokenbridge": "1.13.2", - "@wormhole-foundation/sdk-sui": "1.13.2", - "@wormhole-foundation/sdk-sui-cctp": "1.13.2", - "@wormhole-foundation/sdk-sui-core": "1.13.2", - "@wormhole-foundation/sdk-sui-tokenbridge": "1.13.2" + "@wormhole-foundation/sdk-algorand": "1.13.3", + "@wormhole-foundation/sdk-algorand-core": "1.13.3", + "@wormhole-foundation/sdk-algorand-tokenbridge": "1.13.3", + "@wormhole-foundation/sdk-aptos": "1.13.3", + "@wormhole-foundation/sdk-aptos-cctp": "1.13.3", + "@wormhole-foundation/sdk-aptos-core": "1.13.3", + "@wormhole-foundation/sdk-aptos-tokenbridge": "1.13.3", + "@wormhole-foundation/sdk-base": "1.13.3", + "@wormhole-foundation/sdk-connect": "1.13.3", + "@wormhole-foundation/sdk-cosmwasm": "1.13.3", + "@wormhole-foundation/sdk-cosmwasm-core": "1.13.3", + "@wormhole-foundation/sdk-cosmwasm-ibc": "1.13.3", + "@wormhole-foundation/sdk-cosmwasm-tokenbridge": "1.13.3", + "@wormhole-foundation/sdk-definitions": "1.13.3", + "@wormhole-foundation/sdk-evm": "1.13.3", + "@wormhole-foundation/sdk-evm-cctp": "1.13.3", + "@wormhole-foundation/sdk-evm-core": "1.13.3", + "@wormhole-foundation/sdk-evm-portico": "1.13.3", + "@wormhole-foundation/sdk-evm-tokenbridge": "1.13.3", + "@wormhole-foundation/sdk-solana": "1.13.3", + "@wormhole-foundation/sdk-solana-cctp": "1.13.3", + "@wormhole-foundation/sdk-solana-core": "1.13.3", + "@wormhole-foundation/sdk-solana-tokenbridge": "1.13.3", + "@wormhole-foundation/sdk-sui": "1.13.3", + "@wormhole-foundation/sdk-sui-cctp": "1.13.3", + "@wormhole-foundation/sdk-sui-core": "1.13.3", + "@wormhole-foundation/sdk-sui-tokenbridge": "1.13.3" }, "engines": { "node": ">=16" } }, "node_modules/@wormhole-foundation/sdk-algorand": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-algorand/-/sdk-algorand-1.13.2.tgz", - "integrity": "sha512-BRklytrMHhw5BUwraOVf0suxfqB9d//3eY2c5YUhkwVKT5uEaJNTCkbZO7sw8R5Pexlf9YCge/mVMp1X1yyMrQ==", + "version": "1.13.3", + "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-algorand/-/sdk-algorand-1.13.3.tgz", + "integrity": "sha512-mlPYaG3oqAh8Pg15JqAuQI9DK7v9t7i3dubO1o5HI1W/3qICJqe2skI+oGrfkDooARcmb8/wguUQvEE8lLo+bA==", "license": "Apache-2.0", "dependencies": { - "@wormhole-foundation/sdk-connect": "1.13.2", + "@wormhole-foundation/sdk-connect": "1.13.3", "algosdk": "2.7.0" }, "engines": { @@ -9238,89 +9238,89 @@ } }, "node_modules/@wormhole-foundation/sdk-algorand-core": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-algorand-core/-/sdk-algorand-core-1.13.2.tgz", - "integrity": "sha512-vdFBKvzLGyg76uoGRdfXvWr91uj7e5ji30Gjp4hZe0xjbJ0Yi6X+3l26T7wEDtA0k6nVGV6dWLMy4kHaKbE+oQ==", + "version": "1.13.3", + "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-algorand-core/-/sdk-algorand-core-1.13.3.tgz", + "integrity": "sha512-QRUVX5evtXjQ69U3wRuYl196vUwxYWqnfomzjUkIdCY5iQWxtYllTlGxL3sj9WBUGwfUBmtKZcVFFvTTra10Aw==", "license": "Apache-2.0", "dependencies": { - "@wormhole-foundation/sdk-algorand": "1.13.2", - "@wormhole-foundation/sdk-connect": "1.13.2" + "@wormhole-foundation/sdk-algorand": "1.13.3", + "@wormhole-foundation/sdk-connect": "1.13.3" }, "engines": { "node": ">=16" } }, "node_modules/@wormhole-foundation/sdk-algorand-tokenbridge": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-algorand-tokenbridge/-/sdk-algorand-tokenbridge-1.13.2.tgz", - "integrity": "sha512-nQyQvxp02QJszkz9ZFrlayB5mLhpxt+vsnQlUwSMpfsqm/CNRSvg8KFVKG9JiM7OYboWD1j8nKdzfBGA8sQ9VQ==", + "version": "1.13.3", + "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-algorand-tokenbridge/-/sdk-algorand-tokenbridge-1.13.3.tgz", + "integrity": "sha512-Z1ZLdGuc2CJG0pkYsEUJny8PvltncOwxV8Fd5I39Z5kV1+IjWPKIIkpaA3ktyq39iQAd/cJ6oH1DZ4e8LEctqQ==", "license": "Apache-2.0", "dependencies": { - "@wormhole-foundation/sdk-algorand": "1.13.2", - "@wormhole-foundation/sdk-algorand-core": "1.13.2", - "@wormhole-foundation/sdk-connect": "1.13.2" + "@wormhole-foundation/sdk-algorand": "1.13.3", + "@wormhole-foundation/sdk-algorand-core": "1.13.3", + "@wormhole-foundation/sdk-connect": "1.13.3" }, "engines": { "node": ">=16" } }, "node_modules/@wormhole-foundation/sdk-aptos": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-aptos/-/sdk-aptos-1.13.2.tgz", - "integrity": "sha512-lljZcoIVJ3jCLl+u1m+PiD/AChHj54tJDWPbtPnoRBDdChC43HCA4UrGQOQzh55bkbEaT7g0yfvylLU2YtFgNA==", + "version": "1.13.3", + "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-aptos/-/sdk-aptos-1.13.3.tgz", + "integrity": "sha512-L9jM6o8j3HdUKCi9lWLUtCI5KZFropzuITPL7XqR78INUqNXo9jjodZ/gOXLpQh+FpJf2iAiLBc3EoNWYyT5rg==", "license": "Apache-2.0", "dependencies": { "@aptos-labs/ts-sdk": "^1.33.1", - "@wormhole-foundation/sdk-connect": "1.13.2" + "@wormhole-foundation/sdk-connect": "1.13.3" }, "engines": { "node": ">=16" } }, "node_modules/@wormhole-foundation/sdk-aptos-cctp": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-aptos-cctp/-/sdk-aptos-cctp-1.13.2.tgz", - "integrity": "sha512-r3YS5l0Qd736XYOeEbLQ6wHf85qe0GVYfbdsP6GHwrBV11hA5LUUfVPVpyofcGR0CqpwaZQTdOw+UuaxDwlJDQ==", + "version": "1.13.3", + "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-aptos-cctp/-/sdk-aptos-cctp-1.13.3.tgz", + "integrity": "sha512-6KdfD92i0HTTBkz5FOFpmVSUlYHsxdn+j2ddeT2LbmOamcuNXds7EMt4GU91H+xrMeVehDqNEsMC6zawLtxB6w==", "license": "Apache-2.0", "dependencies": { "@aptos-labs/ts-sdk": "^1.33.1", - "@wormhole-foundation/sdk-aptos": "1.13.2", - "@wormhole-foundation/sdk-connect": "1.13.2" + "@wormhole-foundation/sdk-aptos": "1.13.3", + "@wormhole-foundation/sdk-connect": "1.13.3" }, "engines": { "node": ">=16" } }, "node_modules/@wormhole-foundation/sdk-aptos-core": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-aptos-core/-/sdk-aptos-core-1.13.2.tgz", - "integrity": "sha512-31xMChfi+E1wF+W32cLAFfNbViHI3q7Lf+yXrqkcHU0qgGPZ0mZ4/CqN6wueZ61LlhwNJjCbCntJIlKuj8VLsQ==", + "version": "1.13.3", + "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-aptos-core/-/sdk-aptos-core-1.13.3.tgz", + "integrity": "sha512-38FaMzDbN7nLSWQoV17DFOYpuF8EM4l0tHQpiSMBIg/1vCMO1zOdPkxmwiVCun5qFbjkF471YPkKlQKi2bLBsQ==", "license": "Apache-2.0", "dependencies": { - "@wormhole-foundation/sdk-aptos": "1.13.2", - "@wormhole-foundation/sdk-connect": "1.13.2" + "@wormhole-foundation/sdk-aptos": "1.13.3", + "@wormhole-foundation/sdk-connect": "1.13.3" }, "engines": { "node": ">=16" } }, "node_modules/@wormhole-foundation/sdk-aptos-tokenbridge": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-aptos-tokenbridge/-/sdk-aptos-tokenbridge-1.13.2.tgz", - "integrity": "sha512-6jlGl63iOcOFGg7GaCjUeJkgZ+Wj5JQ26n5doX8RMeR+kqhVXEKUzNQLG3uzLUCbPYGYeCepBP6oBtvaVd+rOw==", + "version": "1.13.3", + "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-aptos-tokenbridge/-/sdk-aptos-tokenbridge-1.13.3.tgz", + "integrity": "sha512-hkFRj9Oa+bQkXXqcmFQMBaV+oMgNHicanjZgYmg7MIfIpoDZaI4TDUBMJiczP+k0FwXjqQncZHG79MpbadvyrQ==", "license": "Apache-2.0", "dependencies": { - "@wormhole-foundation/sdk-aptos": "1.13.2", - "@wormhole-foundation/sdk-connect": "1.13.2" + "@wormhole-foundation/sdk-aptos": "1.13.3", + "@wormhole-foundation/sdk-connect": "1.13.3" }, "engines": { "node": ">=16" } }, "node_modules/@wormhole-foundation/sdk-base": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-base/-/sdk-base-1.13.2.tgz", - "integrity": "sha512-3vffr+gTR1afQjsxGZXzV8WHO6/Wd4a7ppD5d0rGFA3JNMw5iWe3/7y7YOFAA+QXowp+55cgk4WNnxzVIHaVqg==", + "version": "1.13.3", + "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-base/-/sdk-base-1.13.3.tgz", + "integrity": "sha512-W3wznHmgZMCOZMKIlh0b5BFohjPkuOLs2PQVK9AKHPsMMG3Xs005SShF2xWCeStoctMmQuAEvr6nHv/J7RbpfQ==", "license": "Apache-2.0", "dependencies": { "@scure/base": "^1.1.3", @@ -9328,13 +9328,13 @@ } }, "node_modules/@wormhole-foundation/sdk-connect": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-connect/-/sdk-connect-1.13.2.tgz", - "integrity": "sha512-0YKdhI/L3IKRxEGfguYAnzH6kbdlWQPtEO+VaomVuKN7XM+aYBrAUCMauA6/JAYY+MMXwQsnHUfrfdLXhcsT6g==", + "version": "1.13.3", + "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-connect/-/sdk-connect-1.13.3.tgz", + "integrity": "sha512-o3hzi5IUUtz8Xo9cGpVGqNIJJDIwv7BRdrGHYDgPgRGgdxBfhN+SJGEXaOcMhgDqgJefmlWlbVtvIL8HWx52Ig==", "license": "Apache-2.0", "dependencies": { - "@wormhole-foundation/sdk-base": "1.13.2", - "@wormhole-foundation/sdk-definitions": "1.13.2", + "@wormhole-foundation/sdk-base": "1.13.3", + "@wormhole-foundation/sdk-definitions": "1.13.3", "axios": "^1.4.0" }, "engines": { @@ -9342,16 +9342,16 @@ } }, "node_modules/@wormhole-foundation/sdk-cosmwasm": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-cosmwasm/-/sdk-cosmwasm-1.13.2.tgz", - "integrity": "sha512-5pvxxcWFE3nGoVAT01LbHSrqJEegXuexUA1eVxSaeH70nM9EuxdHXRxkfEHezCs2osoPe9HFYroOYSKkxRvswQ==", + "version": "1.13.3", + "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-cosmwasm/-/sdk-cosmwasm-1.13.3.tgz", + "integrity": "sha512-k5asqHxengprCOdNIY8za/hkH0vhBpUCJ8zA6U0sH+Im/Fb4UOL+ACJwPsvofS3XuQgd7JwCHP1fXIAEnbj7LQ==", "license": "Apache-2.0", "dependencies": { "@cosmjs/cosmwasm-stargate": "^0.32.0", "@cosmjs/proto-signing": "^0.32.0", "@cosmjs/stargate": "^0.32.0", "@injectivelabs/sdk-ts": "^1.14.13-beta.2", - "@wormhole-foundation/sdk-connect": "1.13.2", + "@wormhole-foundation/sdk-connect": "1.13.3", "cosmjs-types": "^0.9.0" }, "engines": { @@ -9359,16 +9359,16 @@ } }, "node_modules/@wormhole-foundation/sdk-cosmwasm-core": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-cosmwasm-core/-/sdk-cosmwasm-core-1.13.2.tgz", - "integrity": "sha512-NXOr96paLLfc94h1umSVpX20Qhttx/CNj7bDWAAs+G2AzqyFGLRZWuhDSuQPu3W/5x4X/p4DNHNw18fQ/rppnA==", + "version": "1.13.3", + "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-cosmwasm-core/-/sdk-cosmwasm-core-1.13.3.tgz", + "integrity": "sha512-klP2nthVdfIMPWdneMvBRtBmCaIEd0270PqQG3shaFqDCi8/QizFFzvWffEcjicAQwW0V3wIxnslO7AC4w6grA==", "license": "Apache-2.0", "dependencies": { "@cosmjs/cosmwasm-stargate": "^0.32.0", "@cosmjs/stargate": "^0.32.0", "@injectivelabs/sdk-ts": "^1.14.13-beta.2", - "@wormhole-foundation/sdk-connect": "1.13.2", - "@wormhole-foundation/sdk-cosmwasm": "1.13.2" + "@wormhole-foundation/sdk-connect": "1.13.3", + "@wormhole-foundation/sdk-cosmwasm": "1.13.3" }, "engines": { "node": ">=16" @@ -9393,17 +9393,17 @@ } }, "node_modules/@wormhole-foundation/sdk-cosmwasm-ibc": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-cosmwasm-ibc/-/sdk-cosmwasm-ibc-1.13.2.tgz", - "integrity": "sha512-P8k1i+k0ZI8CcEKW4DwJv4e2Fb2aDy6YldgPE+ErOmKX7xt6Y3VkVaZt+pGu/hGhBQSIGs6Jx0p2Wy78DRhTqQ==", + "version": "1.13.3", + "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-cosmwasm-ibc/-/sdk-cosmwasm-ibc-1.13.3.tgz", + "integrity": "sha512-u/qrCF6+eG43+H1bLQEPd911mRmRTPpL3qzvSuM19PYIr4g/OjzEe2ZpH0xF4HZzr2fL6lxHXBRSjsySrVZzcg==", "license": "Apache-2.0", "dependencies": { "@cosmjs/cosmwasm-stargate": "^0.32.0", "@cosmjs/stargate": "^0.32.0", "@injectivelabs/sdk-ts": "^1.14.13-beta.2", - "@wormhole-foundation/sdk-connect": "1.13.2", - "@wormhole-foundation/sdk-cosmwasm": "1.13.2", - "@wormhole-foundation/sdk-cosmwasm-core": "1.13.2", + "@wormhole-foundation/sdk-connect": "1.13.3", + "@wormhole-foundation/sdk-cosmwasm": "1.13.3", + "@wormhole-foundation/sdk-cosmwasm-core": "1.13.3", "cosmjs-types": "^0.9.0" }, "engines": { @@ -9429,15 +9429,15 @@ } }, "node_modules/@wormhole-foundation/sdk-cosmwasm-tokenbridge": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-cosmwasm-tokenbridge/-/sdk-cosmwasm-tokenbridge-1.13.2.tgz", - "integrity": "sha512-c66AcWRniRVmWvcjtcQRynCM89fxxON1dT62fL5jUDoKxs2xd0aGhVSIL07D2qstLQolx6UCNOxf/H0mBloWOA==", + "version": "1.13.3", + "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-cosmwasm-tokenbridge/-/sdk-cosmwasm-tokenbridge-1.13.3.tgz", + "integrity": "sha512-cm0sWPMMYHzSjDxpSKdw6yTb6Svxt88NgHMtJI+NXk8FS/PwhEChmksyhwXm3v1g+aOlypTU/q4Ger6GDJAHqQ==", "license": "Apache-2.0", "dependencies": { "@cosmjs/cosmwasm-stargate": "^0.32.0", "@injectivelabs/sdk-ts": "^1.14.13-beta.2", - "@wormhole-foundation/sdk-connect": "1.13.2", - "@wormhole-foundation/sdk-cosmwasm": "1.13.2" + "@wormhole-foundation/sdk-connect": "1.13.3", + "@wormhole-foundation/sdk-cosmwasm": "1.13.3" }, "engines": { "node": ">=16" @@ -9480,13 +9480,13 @@ } }, "node_modules/@wormhole-foundation/sdk-definitions": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-definitions/-/sdk-definitions-1.13.2.tgz", - "integrity": "sha512-oE2ppRsjrdCpvFkMiqNnQmOXMa19H0BF4RueeYaMrtE057J6YukmZbUeLcQrF52ZsJ7fAtgorOfPJYNOCxdadQ==", + "version": "1.13.3", + "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-definitions/-/sdk-definitions-1.13.3.tgz", + "integrity": "sha512-RokDwspbtJjTsVwZ/LX1TKza49V1M8+sluL2fMG8tDxKR13EVyOXVFDQ9gCKTdJkO4ou69BXQRH0aUvXxHk6lg==", "dependencies": { "@noble/curves": "^1.4.0", "@noble/hashes": "^1.3.1", - "@wormhole-foundation/sdk-base": "1.13.2" + "@wormhole-foundation/sdk-base": "1.13.3" } }, "node_modules/@wormhole-foundation/sdk-definitions-ntt": { @@ -9518,12 +9518,12 @@ } }, "node_modules/@wormhole-foundation/sdk-evm": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-evm/-/sdk-evm-1.13.2.tgz", - "integrity": "sha512-WCyk44cbBtG+9VSOSj6UToGhaH4Os1efsBbGStfQzUdwGQ0z6GSo8G4aHet5CFVSZHj7PigvU3iwPirKkidfBA==", + "version": "1.13.3", + "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-evm/-/sdk-evm-1.13.3.tgz", + "integrity": "sha512-JyarHHxQyL2XRQUwp7ITtnayTQCiqQCjATL43CSRQ5x2YCeq7uKLThsTKB8xze3eCPC/5AQWAvuCrtUDItH3ZA==", "license": "Apache-2.0", "dependencies": { - "@wormhole-foundation/sdk-connect": "1.13.2", + "@wormhole-foundation/sdk-connect": "1.13.3", "ethers": "^6.5.1" }, "engines": { @@ -9531,13 +9531,13 @@ } }, "node_modules/@wormhole-foundation/sdk-evm-cctp": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-evm-cctp/-/sdk-evm-cctp-1.13.2.tgz", - "integrity": "sha512-FQlMR9i1L1GfLp4kqdSVBwbzNFl8XUJWbKOsO0ezEAzcW0IguH//3DLqc5qPfq1A+y4QVuCHNgNty1vj3Xtjsw==", + "version": "1.13.3", + "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-evm-cctp/-/sdk-evm-cctp-1.13.3.tgz", + "integrity": "sha512-CZH72qZ/eE4YTF8yCErb5yhTZiVMp3ND1T2qYq2Xy4y2We93BgaX1o0pWajM6PyP6qRbc6apTwOrC57kAH8MSQ==", "license": "Apache-2.0", "dependencies": { - "@wormhole-foundation/sdk-connect": "1.13.2", - "@wormhole-foundation/sdk-evm": "1.13.2", + "@wormhole-foundation/sdk-connect": "1.13.3", + "@wormhole-foundation/sdk-evm": "1.13.3", "ethers": "^6.5.1" }, "engines": { @@ -9639,13 +9639,13 @@ } }, "node_modules/@wormhole-foundation/sdk-evm-core": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-evm-core/-/sdk-evm-core-1.13.2.tgz", - "integrity": "sha512-V8kg+8DJa8lIIAtOkDbjx1QkhbUDtxM1L7NoRnfZ7IHqcwc54UuOlULpe+GxywYiXWfq99NfOHfbzq65jRwyjA==", + "version": "1.13.3", + "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-evm-core/-/sdk-evm-core-1.13.3.tgz", + "integrity": "sha512-d1Fon8Jh3iRc4ohhm5pGGVFyGVdIhRqyWeDN+2401/ShKxx1QCGGQcJ3DCH2OHlFCU5lEs59qxjf1whDldf7iA==", "license": "Apache-2.0", "dependencies": { - "@wormhole-foundation/sdk-connect": "1.13.2", - "@wormhole-foundation/sdk-evm": "1.13.2", + "@wormhole-foundation/sdk-connect": "1.13.3", + "@wormhole-foundation/sdk-evm": "1.13.3", "ethers": "^6.5.1" }, "engines": { @@ -9902,15 +9902,15 @@ } }, "node_modules/@wormhole-foundation/sdk-evm-portico": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-evm-portico/-/sdk-evm-portico-1.13.2.tgz", - "integrity": "sha512-qN4z+YWDQyQkCe94b0sgjb84rKoUGZqMd0rxn/LR+a6Qbc/PyTTGeToRoXs19GWDYlNR8EQ5gXkDV47skFA/yg==", + "version": "1.13.3", + "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-evm-portico/-/sdk-evm-portico-1.13.3.tgz", + "integrity": "sha512-klpqfEnyf6q0C1Naiyares5N2C2LeGsDEp+0fAiwTPbFx4FklNppWsgOaYNzNkWG8ZT9gLpsxBtlZ1HmCdno2Q==", "license": "Apache-2.0", "dependencies": { - "@wormhole-foundation/sdk-connect": "1.13.2", - "@wormhole-foundation/sdk-evm": "1.13.2", - "@wormhole-foundation/sdk-evm-core": "1.13.2", - "@wormhole-foundation/sdk-evm-tokenbridge": "1.13.2", + "@wormhole-foundation/sdk-connect": "1.13.3", + "@wormhole-foundation/sdk-evm": "1.13.3", + "@wormhole-foundation/sdk-evm-core": "1.13.3", + "@wormhole-foundation/sdk-evm-tokenbridge": "1.13.3", "ethers": "^6.5.1" }, "engines": { @@ -10012,14 +10012,14 @@ } }, "node_modules/@wormhole-foundation/sdk-evm-tokenbridge": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-evm-tokenbridge/-/sdk-evm-tokenbridge-1.13.2.tgz", - "integrity": "sha512-yFMczTmcRXRbuWuUjqaUesFrmpkf81k5E1XLs/cdbuG4nIBEumVY9upi46zlGm5KUK5wre6iZdlVfvxWOivg3A==", + "version": "1.13.3", + "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-evm-tokenbridge/-/sdk-evm-tokenbridge-1.13.3.tgz", + "integrity": "sha512-URdMgqmP4PLiWDwFOfGH8+wqycr9FtiAvec9mPivp/pQzuD/O5wmDecymGXME6ELuWg76DgZFZWYft9NGnVJBQ==", "license": "Apache-2.0", "dependencies": { - "@wormhole-foundation/sdk-connect": "1.13.2", - "@wormhole-foundation/sdk-evm": "1.13.2", - "@wormhole-foundation/sdk-evm-core": "1.13.2", + "@wormhole-foundation/sdk-connect": "1.13.3", + "@wormhole-foundation/sdk-evm": "1.13.3", + "@wormhole-foundation/sdk-evm-core": "1.13.3", "ethers": "^6.5.1" }, "engines": { @@ -10205,25 +10205,25 @@ } }, "node_modules/@wormhole-foundation/sdk-icons": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-icons/-/sdk-icons-1.13.2.tgz", - "integrity": "sha512-bN2hoirYqv3eH8hPSqjqNh/8zBCFlGDiSmezvEm4KMue/SZr6SRmaft6oTZLk5Fq3FqXok9iDCfTn2raLtexfg==", + "version": "1.13.3", + "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-icons/-/sdk-icons-1.13.3.tgz", + "integrity": "sha512-Zzx+nVbC13uSH92gY6sxQRjw46u7W7Lmhvgciv+G/1AWEkrg0moyIeixL/6fb4hxhVHxWY6oL/b3CHEI7eXbRQ==", "license": "Apache-2.0", "dependencies": { - "@wormhole-foundation/sdk-base": "1.13.2" + "@wormhole-foundation/sdk-base": "1.13.3" } }, "node_modules/@wormhole-foundation/sdk-solana": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-solana/-/sdk-solana-1.13.2.tgz", - "integrity": "sha512-kwNBUqCnDXVYa5sPUZH7jKzUAxvCW61/ER8fdRlUM6r+NSeqS+xK+LE3gcStjlFMfnbk61n02oDuiI3HUiaafQ==", + "version": "1.13.3", + "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-solana/-/sdk-solana-1.13.3.tgz", + "integrity": "sha512-n7bGn+JTH+A6EgV7XTFSmwpHNBW6AyOkfy04cAiL8hXn0/8MKuvDU1o2pMOradJYxTX2oeNyo1Bkua2xl4KFTQ==", "license": "Apache-2.0", "dependencies": { "@coral-xyz/anchor": "0.29.0", "@coral-xyz/borsh": "0.29.0", "@solana/spl-token": "0.3.9", "@solana/web3.js": "^1.95.8", - "@wormhole-foundation/sdk-connect": "1.13.2", + "@wormhole-foundation/sdk-connect": "1.13.3", "rpc-websockets": "^7.10.0" }, "engines": { @@ -10231,32 +10231,32 @@ } }, "node_modules/@wormhole-foundation/sdk-solana-cctp": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-solana-cctp/-/sdk-solana-cctp-1.13.2.tgz", - "integrity": "sha512-UDxSYp9En70PUrvlMjpk6XwXCB10MQeTIIWfFCtld70PoWn9opLfaLjce1rjFE5wf9aIbnfq7ED8yqZZ11lNOg==", + "version": "1.13.3", + "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-solana-cctp/-/sdk-solana-cctp-1.13.3.tgz", + "integrity": "sha512-rRMMN25vYd5Uu9uEbUVa24nZIT3shAtz/tGfl+spyjwO2Y2hA+I1DOnyevJlSqWF93L6ZyF9a8o3ZyG4iMkA3w==", "license": "Apache-2.0", "dependencies": { "@coral-xyz/anchor": "0.29.0", "@solana/spl-token": "0.3.9", "@solana/web3.js": "^1.95.8", - "@wormhole-foundation/sdk-connect": "1.13.2", - "@wormhole-foundation/sdk-solana": "1.13.2" + "@wormhole-foundation/sdk-connect": "1.13.3", + "@wormhole-foundation/sdk-solana": "1.13.3" }, "engines": { "node": ">=16" } }, "node_modules/@wormhole-foundation/sdk-solana-core": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-solana-core/-/sdk-solana-core-1.13.2.tgz", - "integrity": "sha512-RcdSmzB6NG7di8pW4uqKG4dCUIcmzFip+CjhO7y7dTrm1ViJU7EkuiYcRVN890WRflNIqdyO+DGfKVMbUYcobg==", + "version": "1.13.3", + "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-solana-core/-/sdk-solana-core-1.13.3.tgz", + "integrity": "sha512-EwApIngrlNPYD074sRZaSTgM22vMFWiHk0oBETpS+RY/9g+0M+qdvJWlbp+dpA5tCJZ38OUNMikUetyESLD8Vw==", "license": "Apache-2.0", "dependencies": { "@coral-xyz/anchor": "0.29.0", "@coral-xyz/borsh": "0.29.0", "@solana/web3.js": "^1.95.8", - "@wormhole-foundation/sdk-connect": "1.13.2", - "@wormhole-foundation/sdk-solana": "1.13.2" + "@wormhole-foundation/sdk-connect": "1.13.3", + "@wormhole-foundation/sdk-solana": "1.13.3" }, "engines": { "node": ">=16" @@ -10402,73 +10402,73 @@ "integrity": "sha512-nPewA6m9mR3d6k7WkZ8N8zpTWfenFH3q9pA2PkuiZxINr9DKB2+40wEQf0ixn8VaGuJ78AB6iWOtStI+/4FKZQ==" }, "node_modules/@wormhole-foundation/sdk-solana-tokenbridge": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-solana-tokenbridge/-/sdk-solana-tokenbridge-1.13.2.tgz", - "integrity": "sha512-/fzH03F9CEG5LXLyw134yNgM3vbHh9KyiLNywM8qmddAX06lnAFoKFcJO8dyZWhDI1ilf8M2hyNLzvvMIdkJnA==", + "version": "1.13.3", + "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-solana-tokenbridge/-/sdk-solana-tokenbridge-1.13.3.tgz", + "integrity": "sha512-aZT73mBuSF5Xi9T3TydXIX0tucB3zIrdsUgJEAXhCQ4hyAc2iooeCqi6eVOmYmm4MjTsYX/r6lAAw0ruUpdoOg==", "license": "Apache-2.0", "dependencies": { "@coral-xyz/anchor": "0.29.0", "@solana/spl-token": "0.3.9", "@solana/web3.js": "^1.95.8", - "@wormhole-foundation/sdk-connect": "1.13.2", - "@wormhole-foundation/sdk-solana": "1.13.2", - "@wormhole-foundation/sdk-solana-core": "1.13.2" + "@wormhole-foundation/sdk-connect": "1.13.3", + "@wormhole-foundation/sdk-solana": "1.13.3", + "@wormhole-foundation/sdk-solana-core": "1.13.3" }, "engines": { "node": ">=16" } }, "node_modules/@wormhole-foundation/sdk-sui": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-sui/-/sdk-sui-1.13.2.tgz", - "integrity": "sha512-fvss06Lj/cGS5jGMHantZ/fJ/uQitqrJ2eVn6QWbNhKvcjPUIm1S7Soo3g8d9DPe9n7/HBfpWguvhe+IXyQaCg==", + "version": "1.13.3", + "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-sui/-/sdk-sui-1.13.3.tgz", + "integrity": "sha512-uN4ByM6cHf9oNMjB4ICD88Sa+IStk6i/f+YnZ2vBu84OJ/0BVA8B/8KuLpxNhyi9Y62HM5f1q1MAI1pdqFXF3A==", "license": "Apache-2.0", "dependencies": { "@mysten/sui": "^1.21.2", - "@wormhole-foundation/sdk-connect": "1.13.2" + "@wormhole-foundation/sdk-connect": "1.13.3" }, "engines": { "node": ">=16" } }, "node_modules/@wormhole-foundation/sdk-sui-cctp": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-sui-cctp/-/sdk-sui-cctp-1.13.2.tgz", - "integrity": "sha512-e93YZgJLxiV0lL9CqQRaGAiht+TOcAkwUqPAD7aujdgwqm5f0hbGBG1afJatQ9lOd8yhj3z/r7Hz+bXJD5Io1A==", + "version": "1.13.3", + "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-sui-cctp/-/sdk-sui-cctp-1.13.3.tgz", + "integrity": "sha512-2nDUziOOVMdpm0wwBcdEOGQdmU565JsI08LDzJnT+jki2zzpJ0qwCg5OPr2NySygogLbbdNdwlcCHenr65DmRQ==", "license": "Apache-2.0", "dependencies": { "@mysten/sui": "^1.21.2", - "@wormhole-foundation/sdk-connect": "1.13.2", - "@wormhole-foundation/sdk-sui": "1.13.2" + "@wormhole-foundation/sdk-connect": "1.13.3", + "@wormhole-foundation/sdk-sui": "1.13.3" }, "engines": { "node": ">=16" } }, "node_modules/@wormhole-foundation/sdk-sui-core": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-sui-core/-/sdk-sui-core-1.13.2.tgz", - "integrity": "sha512-1Lcr16D+nmLrTETpYDaip7ZmwrTRKx+gYEpGiMQY/vZtqDSMrpBifspu43yfM5KfmI4JK+0/nJchMB2g958R2w==", + "version": "1.13.3", + "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-sui-core/-/sdk-sui-core-1.13.3.tgz", + "integrity": "sha512-HTBjBokVDKZxcsZIsfjIhwxKUdv0UEKpMP1pvW/vgeKMuLwTWAvBPyzieZkv+ojqmwyatz+qMLVafQujb0TH4w==", "license": "Apache-2.0", "dependencies": { "@mysten/sui": "^1.21.2", - "@wormhole-foundation/sdk-connect": "1.13.2", - "@wormhole-foundation/sdk-sui": "1.13.2" + "@wormhole-foundation/sdk-connect": "1.13.3", + "@wormhole-foundation/sdk-sui": "1.13.3" }, "engines": { "node": ">=16" } }, "node_modules/@wormhole-foundation/sdk-sui-tokenbridge": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-sui-tokenbridge/-/sdk-sui-tokenbridge-1.13.2.tgz", - "integrity": "sha512-3NV/GWLs0O1eruoIMC0H7Utogaf6HuTiBl+/5F1TlLR8nV0KCmAqq8P4iHqqmnuhVKoPcmiu3pdfx9B7aPSYCg==", + "version": "1.13.3", + "resolved": "https://registry.npmjs.org/@wormhole-foundation/sdk-sui-tokenbridge/-/sdk-sui-tokenbridge-1.13.3.tgz", + "integrity": "sha512-sYU9m5PX8/sAiUVbsjZQutcXRFW2kN5GC2aZ1iBAO/mfd27qe/Vz2r2dFZjP1zrDfxkDH9lIXp1siZVzWxgBHQ==", "license": "Apache-2.0", "dependencies": { "@mysten/sui": "^1.21.2", - "@wormhole-foundation/sdk-connect": "1.13.2", - "@wormhole-foundation/sdk-sui": "1.13.2", - "@wormhole-foundation/sdk-sui-core": "1.13.2" + "@wormhole-foundation/sdk-connect": "1.13.3", + "@wormhole-foundation/sdk-sui": "1.13.3", + "@wormhole-foundation/sdk-sui-core": "1.13.3" }, "engines": { "node": ">=16" diff --git a/package.json b/package.json index b2d2fe14..96d37408 100644 --- a/package.json +++ b/package.json @@ -25,13 +25,13 @@ }, "dependencies": { "@google-cloud/functions-framework": "^3.4.0", - "@wormhole-foundation/sdk-base": "^1.13.2", - "@wormhole-foundation/sdk-definitions": "^1.13.2", - "@wormhole-foundation/sdk-evm": "^1.13.2", - "@wormhole-foundation/sdk-evm-core": "^1.13.2", - "@wormhole-foundation/sdk-icons": "^1.13.2", - "@wormhole-foundation/sdk-solana": "^1.13.2", - "@wormhole-foundation/sdk-solana-core": "^1.13.2", + "@wormhole-foundation/sdk-base": "^1.13.3", + "@wormhole-foundation/sdk-definitions": "^1.13.3", + "@wormhole-foundation/sdk-evm": "^1.13.3", + "@wormhole-foundation/sdk-evm-core": "^1.13.3", + "@wormhole-foundation/sdk-icons": "^1.13.3", + "@wormhole-foundation/sdk-solana": "^1.13.3", + "@wormhole-foundation/sdk-solana-core": "^1.13.3", "axios": "^1.5.0" } } diff --git a/watcher/src/consts.ts b/watcher/src/consts.ts index 2f633386..4246d71b 100644 --- a/watcher/src/consts.ts +++ b/watcher/src/consts.ts @@ -109,10 +109,11 @@ export const RPCS_BY_CHAIN: { [key in Network]: { [key in Chain]?: string } } = Snaxchain: process.env.SNAXCHAIN_RPC || 'https://rpc-snaxchain-s50q0kjngn.t.conduit.xyz', Unichain: process.env.UNICHAIN_RPC || 'https://sepolia.unichain.org', Worldchain: process.env.WORLDCHAIN_RPC || 'https://worldchain-sepolia.g.alchemy.com/public', - Monad: process.env.MONAD_RPC, // TODO: There is no Monad public endpoint. + Monad: process.env.MONAD_RPC || 'https://testnet-rpc.monad.xyz', Ink: process.env.INK_RPC || 'https://rpc-qnd-sepolia.inkonchain.com', HyperEVM: process.env.HYPER_EVM_RPC || 'https://api.hyperliquid-testnet.xyz/evm', Movement: process.env.MOVEMENT_RPC || 'https://aptos.testnet.bardock.movementlabs.xyz/v1', + Mezo: process.env.MEZO_RPC || 'https://rpc.test.mezo.org', }, ['Devnet']: {}, }; diff --git a/watcher/src/index.ts b/watcher/src/index.ts index 0d4126a5..01c8c821 100644 --- a/watcher/src/index.ts +++ b/watcher/src/index.ts @@ -61,6 +61,7 @@ const supportedChains: Chain[] = 'Ink', // 'HyperEVM', 'Movement', + 'Mezo', ] : [ // This is the list of chains supported in MAINNET. diff --git a/watcher/src/watchers/Watcher.ts b/watcher/src/watchers/Watcher.ts index 553e5f88..14fb1a22 100644 --- a/watcher/src/watchers/Watcher.ts +++ b/watcher/src/watchers/Watcher.ts @@ -43,7 +43,8 @@ export class Watcher { chain === 'Ink' || chain === 'HyperEVM' || chain === 'Seievm' || - chain === 'Xlayer' + chain === 'Xlayer' || + chain === 'Mezo' ) { this.maximumBatchSize = 10; } diff --git a/watcher/src/watchers/utils.ts b/watcher/src/watchers/utils.ts index f10cf178..f2e3302e 100644 --- a/watcher/src/watchers/utils.ts +++ b/watcher/src/watchers/utils.ts @@ -43,7 +43,8 @@ export function makeFinalizedVaaWatcher(network: Network, chainName: Chain): Wat chainName === 'Snaxchain' || chainName === 'Unichain' || chainName === 'Worldchain' || - chainName === 'Xlayer' + chainName === 'Xlayer' || + chainName === 'Mezo' ) { return new VAAWatcher(network, chainName); } else if (chainName === 'Fantom' || chainName === 'Klaytn' || chainName === 'Oasis') { From dcdb3971b9308b5502039d8c19027fcb1d26ff38 Mon Sep 17 00:00:00 2001 From: Bruce Riley Date: Tue, 18 Mar 2025 09:12:49 -0500 Subject: [PATCH 2/2] Code review rework --- watcher/src/watchers/Watcher.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/watcher/src/watchers/Watcher.ts b/watcher/src/watchers/Watcher.ts index 14fb1a22..553e5f88 100644 --- a/watcher/src/watchers/Watcher.ts +++ b/watcher/src/watchers/Watcher.ts @@ -43,8 +43,7 @@ export class Watcher { chain === 'Ink' || chain === 'HyperEVM' || chain === 'Seievm' || - chain === 'Xlayer' || - chain === 'Mezo' + chain === 'Xlayer' ) { this.maximumBatchSize = 10; }