From b505422d4e92558cc2759f1373974d27b4ee43a7 Mon Sep 17 00:00:00 2001 From: A5 Pickle Date: Mon, 21 Oct 2024 12:41:23 -0500 Subject: [PATCH] evm: fix ethers-v5 imports universal/ts: remove @typechain/ethers-v5 --- evm/package.json | 4 +- .../scripts/set_fast_transfer_parameters.ts | 2 +- evm/ts/scripts/setup_matching_engine.ts | 2 +- evm/ts/scripts/setup_token_router.ts | 2 +- evm/ts/src/MatchingEngine/evm.ts | 2 +- evm/ts/src/MatchingEngine/index.ts | 2 +- evm/ts/src/TokenRouter/evm.ts | 2 +- evm/ts/src/TokenRouter/index.ts | 2 +- evm/ts/src/error.ts | 2 +- evm/ts/src/index.ts | 2 +- evm/ts/src/testing/mock/circleAttester.ts | 2 +- evm/ts/src/testing/mock/index.ts | 2 +- evm/ts/src/testing/mock/wormhole.ts | 2 +- evm/ts/src/testing/utils.ts | 2 +- evm/ts/src/utils.ts | 2 +- package-lock.json | 64 +++---------------- universal/ts/package.json | 1 - 17 files changed, 26 insertions(+), 71 deletions(-) diff --git a/evm/package.json b/evm/package.json index ce03b225..2f6057a0 100644 --- a/evm/package.json +++ b/evm/package.json @@ -33,7 +33,8 @@ "@wormhole-foundation/example-liquidity-layer-definitions": "0.0.1", "@wormhole-foundation/sdk-base": "^0.10.9", "@wormhole-foundation/sdk-definitions": "^0.10.9", - "@wormhole-foundation/sdk-evm": "^0.10.9" + "@wormhole-foundation/sdk-evm": "^0.10.9", + "ethers-v5": "npm:ethers@^5.7.2" }, "devDependencies": { "@typechain/ethers-v5": "^10.2.0", @@ -43,7 +44,6 @@ "chai": "^4.3.7", "dotenv": "^16.3.1", "envfile": "^7.1.0", - "ethers-v5": "npm:ethers@^5.7.2", "mocha": "^10.0.0", "prettier": "^2.8.7", "prettier-plugin-solidity": "^1.1.3", diff --git a/evm/ts/scripts/set_fast_transfer_parameters.ts b/evm/ts/scripts/set_fast_transfer_parameters.ts index 431056d4..2a72dc6a 100644 --- a/evm/ts/scripts/set_fast_transfer_parameters.ts +++ b/evm/ts/scripts/set_fast_transfer_parameters.ts @@ -1,7 +1,7 @@ import { getConfig } from "./helpers"; import { ITokenRouter__factory } from "../src/types/factories/ITokenRouter__factory"; import { ITokenRouter, FastTransferParametersStruct } from "../src/types/ITokenRouter"; -import { ethers } from "ethers"; +import { ethers } from "ethers-v5"; import { toChain, toChainId } from "@wormhole-foundation/sdk-base"; import { toUniversal } from "@wormhole-foundation/sdk-definitions"; diff --git a/evm/ts/scripts/setup_matching_engine.ts b/evm/ts/scripts/setup_matching_engine.ts index 11c6475c..35d8e774 100644 --- a/evm/ts/scripts/setup_matching_engine.ts +++ b/evm/ts/scripts/setup_matching_engine.ts @@ -1,7 +1,7 @@ import { getConfig, ZERO_BYTES32 } from "./helpers"; import { IMatchingEngine__factory, IMatchingEngine } from "../src/types/"; import { RouterEndpointStruct } from "../src/types/IMatchingEngine"; -import { ethers } from "ethers"; +import { ethers } from "ethers-v5"; import { ChainId, toChain, toChainId } from "@wormhole-foundation/sdk-base"; import { toUniversal } from "@wormhole-foundation/sdk-definitions"; diff --git a/evm/ts/scripts/setup_token_router.ts b/evm/ts/scripts/setup_token_router.ts index 266cb1b6..137e04f2 100644 --- a/evm/ts/scripts/setup_token_router.ts +++ b/evm/ts/scripts/setup_token_router.ts @@ -2,7 +2,7 @@ import { getConfig, ZERO_BYTES32 } from "./helpers"; import { ITokenRouter__factory } from "../src/types/factories/ITokenRouter__factory"; import { ITokenRouter } from "../src/types/ITokenRouter"; import { EndpointStruct } from "../src/types/ITokenRouter"; -import { ethers } from "ethers"; +import { ethers } from "ethers-v5"; import { toChain, toChainId } from "@wormhole-foundation/sdk-base"; import { toUniversal } from "@wormhole-foundation/sdk-definitions"; import "@wormhole-foundation/sdk-evm"; diff --git a/evm/ts/src/MatchingEngine/evm.ts b/evm/ts/src/MatchingEngine/evm.ts index f97b213c..c68c1bf6 100644 --- a/evm/ts/src/MatchingEngine/evm.ts +++ b/evm/ts/src/MatchingEngine/evm.ts @@ -1,5 +1,5 @@ import { ChainId } from "@wormhole-foundation/sdk-base"; -import { ethers } from "ethers"; +import { ethers } from "ethers-v5"; import { RouterEndpoint, LiveAuctionData, MatchingEngine, RedeemParameters } from "."; import { LiquidityLayerTransactionResult } from ".."; import { diff --git a/evm/ts/src/MatchingEngine/index.ts b/evm/ts/src/MatchingEngine/index.ts index cd389007..902baa4d 100644 --- a/evm/ts/src/MatchingEngine/index.ts +++ b/evm/ts/src/MatchingEngine/index.ts @@ -1,5 +1,5 @@ import { LiquidityLayerTransactionResult, PreparedInstruction } from ".."; -import { ethers } from "ethers"; +import { ethers } from "ethers-v5"; export * from "./evm"; diff --git a/evm/ts/src/TokenRouter/evm.ts b/evm/ts/src/TokenRouter/evm.ts index c4948071..7ab4f8b1 100644 --- a/evm/ts/src/TokenRouter/evm.ts +++ b/evm/ts/src/TokenRouter/evm.ts @@ -1,5 +1,5 @@ import { ChainId } from "@wormhole-foundation/sdk-base"; -import { ethers } from "ethers"; +import { ethers } from "ethers-v5"; import { Endpoint, OrderResponse, TokenRouter, FastTransferParameters } from "."; import { LiquidityLayerTransactionResult } from ".."; import { diff --git a/evm/ts/src/TokenRouter/index.ts b/evm/ts/src/TokenRouter/index.ts index 112795d4..e49d4949 100644 --- a/evm/ts/src/TokenRouter/index.ts +++ b/evm/ts/src/TokenRouter/index.ts @@ -1,5 +1,5 @@ import { LiquidityLayerTransactionResult, PreparedInstruction } from ".."; -import { ethers } from "ethers"; +import { ethers } from "ethers-v5"; export * from "./evm"; export type FastTransferParameters = { diff --git a/evm/ts/src/error.ts b/evm/ts/src/error.ts index 53d61c71..5ba62286 100644 --- a/evm/ts/src/error.ts +++ b/evm/ts/src/error.ts @@ -1,4 +1,4 @@ -import { ethers } from "ethers"; +import { ethers } from "ethers-v5"; export type DecodedErr = { selector: string; diff --git a/evm/ts/src/index.ts b/evm/ts/src/index.ts index 5c5c01b9..e3e12d74 100644 --- a/evm/ts/src/index.ts +++ b/evm/ts/src/index.ts @@ -1,4 +1,4 @@ -import { ethers } from "ethers"; +import { ethers } from "ethers-v5"; export * from "./MatchingEngine"; export * from "./TokenRouter"; diff --git a/evm/ts/src/testing/mock/circleAttester.ts b/evm/ts/src/testing/mock/circleAttester.ts index 8d927659..586c21e5 100644 --- a/evm/ts/src/testing/mock/circleAttester.ts +++ b/evm/ts/src/testing/mock/circleAttester.ts @@ -1,4 +1,4 @@ -import { ethers } from "ethers"; +import { ethers } from "ethers-v5"; import { GUARDIAN_PRIVATE_KEY } from "../consts"; export type Attestation = { diff --git a/evm/ts/src/testing/mock/index.ts b/evm/ts/src/testing/mock/index.ts index 38362f54..b01c723e 100644 --- a/evm/ts/src/testing/mock/index.ts +++ b/evm/ts/src/testing/mock/index.ts @@ -1,5 +1,5 @@ import { Chain } from "@wormhole-foundation/sdk-base"; -import { ethers } from "ethers"; +import { ethers } from "ethers-v5"; export * from "./circleAttester"; export * from "./wormhole"; diff --git a/evm/ts/src/testing/mock/wormhole.ts b/evm/ts/src/testing/mock/wormhole.ts index 131978d8..4cb9621f 100644 --- a/evm/ts/src/testing/mock/wormhole.ts +++ b/evm/ts/src/testing/mock/wormhole.ts @@ -1,4 +1,4 @@ -import { ethers } from "ethers"; +import { ethers } from "ethers-v5"; import { EvmObserver } from "."; import { parseEvmEvents, parseEvmEvent } from "../.."; import { GUARDIAN_PRIVATE_KEY, WORMHOLE_GUARDIAN_SET_INDEX } from "../consts"; diff --git a/evm/ts/src/testing/utils.ts b/evm/ts/src/testing/utils.ts index 4210eb50..f1de547d 100644 --- a/evm/ts/src/testing/utils.ts +++ b/evm/ts/src/testing/utils.ts @@ -1,4 +1,4 @@ -import { ethers } from "ethers"; +import { ethers } from "ethers-v5"; import { IERC20 } from "../types"; import { IUSDC__factory } from "../types/factories/IUSDC__factory"; import { WALLET_PRIVATE_KEYS } from "./consts"; diff --git a/evm/ts/src/utils.ts b/evm/ts/src/utils.ts index 6a2ff120..cc07a292 100644 --- a/evm/ts/src/utils.ts +++ b/evm/ts/src/utils.ts @@ -1,6 +1,6 @@ import { ChainId, toChain } from "@wormhole-foundation/sdk-base"; import { toUniversal } from "@wormhole-foundation/sdk-definitions"; -import { ethers } from "ethers"; +import { ethers } from "ethers-v5"; import { CoreBridgeLiquidityLayerMessage, MessageDecoder } from "./messages"; export function parseEvmEvents( diff --git a/package-lock.json b/package-lock.json index d72c417b..2dbddc59 100644 --- a/package-lock.json +++ b/package-lock.json @@ -26,7 +26,8 @@ "@wormhole-foundation/example-liquidity-layer-definitions": "0.0.1", "@wormhole-foundation/sdk-base": "^0.10.9", "@wormhole-foundation/sdk-definitions": "^0.10.9", - "@wormhole-foundation/sdk-evm": "^0.10.9" + "@wormhole-foundation/sdk-evm": "^0.10.9", + "ethers-v5": "npm:ethers@^5.7.2" }, "devDependencies": { "@typechain/ethers-v5": "^10.2.0", @@ -36,7 +37,6 @@ "chai": "^4.3.7", "dotenv": "^16.3.1", "envfile": "^7.1.0", - "ethers-v5": "npm:ethers@^5.7.2", "mocha": "^10.0.0", "prettier": "^2.8.7", "prettier-plugin-solidity": "^1.1.3", @@ -153,7 +153,6 @@ "version": "5.7.0", "resolved": "https://registry.npmjs.org/@ethersproject/abi/-/abi-5.7.0.tgz", "integrity": "sha512-351ktp42TiRcYB3H1OP8yajPeAQstMW/yCFokj/AthP9bLHzQFPlOrxOcwYEDkUAICmOHljvN4K39OMTMUa9RA==", - "dev": true, "funding": [ { "type": "individual", @@ -180,7 +179,6 @@ "version": "5.7.0", "resolved": "https://registry.npmjs.org/@ethersproject/abstract-provider/-/abstract-provider-5.7.0.tgz", "integrity": "sha512-R41c9UkchKCpAqStMYUpdunjo3pkEvZC3FAwZn5S5MGbXoMQOHIdHItezTETxAO5bevtMApSyEhn9+CHcDsWBw==", - "dev": true, "funding": [ { "type": "individual", @@ -205,7 +203,6 @@ "version": "5.7.0", "resolved": "https://registry.npmjs.org/@ethersproject/abstract-signer/-/abstract-signer-5.7.0.tgz", "integrity": "sha512-a16V8bq1/Cz+TGCkE2OPMTOUDLS3grCpdjoJCYNnVBbdYEMSgKrU0+B90s8b6H+ByYTBZN7a3g76jdIJi7UfKQ==", - "dev": true, "funding": [ { "type": "individual", @@ -228,7 +225,6 @@ "version": "5.7.0", "resolved": "https://registry.npmjs.org/@ethersproject/address/-/address-5.7.0.tgz", "integrity": "sha512-9wYhYt7aghVGo758POM5nqcOMaE168Q6aRLJZwUmiqSrAungkG74gSSeKEIR7ukixesdRZGPgVqme6vmxs1fkA==", - "dev": true, "funding": [ { "type": "individual", @@ -251,7 +247,6 @@ "version": "5.7.0", "resolved": "https://registry.npmjs.org/@ethersproject/base64/-/base64-5.7.0.tgz", "integrity": "sha512-Dr8tcHt2mEbsZr/mwTPIQAf3Ai0Bks/7gTw9dSqk1mQvhW3XvRlmDJr/4n+wg1JmCl16NZue17CDh8xb/vZ0sQ==", - "dev": true, "funding": [ { "type": "individual", @@ -270,7 +265,6 @@ "version": "5.7.0", "resolved": "https://registry.npmjs.org/@ethersproject/basex/-/basex-5.7.0.tgz", "integrity": "sha512-ywlh43GwZLv2Voc2gQVTKBoVQ1mti3d8HK5aMxsfu/nRDnMmNqaSJ3r3n85HBByT8OpoY96SXM1FogC533T4zw==", - "dev": true, "funding": [ { "type": "individual", @@ -290,7 +284,6 @@ "version": "5.7.0", "resolved": "https://registry.npmjs.org/@ethersproject/bignumber/-/bignumber-5.7.0.tgz", "integrity": "sha512-n1CAdIHRWjSucQO3MC1zPSVgV/6dy/fjL9pMrPP9peL+QxEg9wOsVqwD4+818B6LUEtaXzVHQiuivzRoxPxUGw==", - "dev": true, "funding": [ { "type": "individual", @@ -311,7 +304,6 @@ "version": "5.7.0", "resolved": "https://registry.npmjs.org/@ethersproject/bytes/-/bytes-5.7.0.tgz", "integrity": "sha512-nsbxwgFXWh9NyYWo+U8atvmMsSdKJprTcICAkvbBffT75qDocbuggBU0SJiVK2MuTrp0q+xvLkTnGMPK1+uA9A==", - "dev": true, "funding": [ { "type": "individual", @@ -330,7 +322,6 @@ "version": "5.7.0", "resolved": "https://registry.npmjs.org/@ethersproject/constants/-/constants-5.7.0.tgz", "integrity": "sha512-DHI+y5dBNvkpYUMiRQyxRBYBefZkJfo70VUkUAsRjcPs47muV9evftfZ0PJVCXYbAiCgght0DtcF9srFQmIgWA==", - "dev": true, "funding": [ { "type": "individual", @@ -349,7 +340,6 @@ "version": "5.7.0", "resolved": "https://registry.npmjs.org/@ethersproject/contracts/-/contracts-5.7.0.tgz", "integrity": "sha512-5GJbzEU3X+d33CdfPhcyS+z8MzsTrBGk/sc+G+59+tPa9yFkl6HQ9D6L0QMgNTA9q8dT0XKxxkyp883XsQvbbg==", - "dev": true, "funding": [ { "type": "individual", @@ -377,7 +367,6 @@ "version": "5.7.0", "resolved": "https://registry.npmjs.org/@ethersproject/hash/-/hash-5.7.0.tgz", "integrity": "sha512-qX5WrQfnah1EFnO5zJv1v46a8HW0+E5xuBBDTwMFZLuVTx0tbU2kkx15NqdjxecrLGatQN9FGQKpb1FKdHCt+g==", - "dev": true, "funding": [ { "type": "individual", @@ -404,7 +393,6 @@ "version": "5.7.0", "resolved": "https://registry.npmjs.org/@ethersproject/hdnode/-/hdnode-5.7.0.tgz", "integrity": "sha512-OmyYo9EENBPPf4ERhR7oj6uAtUAhYGqOnIS+jE5pTXvdKBS99ikzq1E7Iv0ZQZ5V36Lqx1qZLeak0Ra16qpeOg==", - "dev": true, "funding": [ { "type": "individual", @@ -434,7 +422,6 @@ "version": "5.7.0", "resolved": "https://registry.npmjs.org/@ethersproject/json-wallets/-/json-wallets-5.7.0.tgz", "integrity": "sha512-8oee5Xgu6+RKgJTkvEMl2wDgSPSAQ9MB/3JYjFV9jlKvcYHUXZC+cQp0njgmxdHkYWn8s6/IqIZYm0YWCjO/0g==", - "dev": true, "funding": [ { "type": "individual", @@ -465,7 +452,6 @@ "version": "5.7.0", "resolved": "https://registry.npmjs.org/@ethersproject/keccak256/-/keccak256-5.7.0.tgz", "integrity": "sha512-2UcPboeL/iW+pSg6vZ6ydF8tCnv3Iu/8tUmLLzWWGzxWKFFqOBQFLo6uLUv6BDrLgCDfN28RJ/wtByx+jZ4KBg==", - "dev": true, "funding": [ { "type": "individual", @@ -485,7 +471,6 @@ "version": "5.7.0", "resolved": "https://registry.npmjs.org/@ethersproject/logger/-/logger-5.7.0.tgz", "integrity": "sha512-0odtFdXu/XHtjQXJYA3u9G0G8btm0ND5Cu8M7i5vhEcE8/HmF4Lbdqanwyv4uQTr2tx6b7fQRmgLrsnpQlmnig==", - "dev": true, "funding": [ { "type": "individual", @@ -501,7 +486,6 @@ "version": "5.7.1", "resolved": "https://registry.npmjs.org/@ethersproject/networks/-/networks-5.7.1.tgz", "integrity": "sha512-n/MufjFYv3yFcUyfhnXotyDlNdFb7onmkSy8aQERi2PjNcnWQ66xXxa3XlS8nCcA8aJKJjIIMNJTC7tu80GwpQ==", - "dev": true, "funding": [ { "type": "individual", @@ -520,7 +504,6 @@ "version": "5.7.0", "resolved": "https://registry.npmjs.org/@ethersproject/pbkdf2/-/pbkdf2-5.7.0.tgz", "integrity": "sha512-oR/dBRZR6GTyaofd86DehG72hY6NpAjhabkhxgr3X2FpJtJuodEl2auADWBZfhDHgVCbu3/H/Ocq2uC6dpNjjw==", - "dev": true, "funding": [ { "type": "individual", @@ -540,7 +523,6 @@ "version": "5.7.0", "resolved": "https://registry.npmjs.org/@ethersproject/properties/-/properties-5.7.0.tgz", "integrity": "sha512-J87jy8suntrAkIZtecpxEPxY//szqr1mlBaYlQ0r4RCaiD2hjheqF9s1LVE8vVuJCXisjIP+JgtK/Do54ej4Sw==", - "dev": true, "funding": [ { "type": "individual", @@ -559,7 +541,6 @@ "version": "5.7.2", "resolved": "https://registry.npmjs.org/@ethersproject/providers/-/providers-5.7.2.tgz", "integrity": "sha512-g34EWZ1WWAVgr4aptGlVBF8mhl3VWjv+8hoAnzStu8Ah22VHBsuGzP17eb6xDVRzw895G4W7vvx60lFFur/1Rg==", - "dev": true, "funding": [ { "type": "individual", @@ -597,7 +578,6 @@ "version": "7.4.6", "resolved": "https://registry.npmjs.org/ws/-/ws-7.4.6.tgz", "integrity": "sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A==", - "dev": true, "engines": { "node": ">=8.3.0" }, @@ -618,7 +598,6 @@ "version": "5.7.0", "resolved": "https://registry.npmjs.org/@ethersproject/random/-/random-5.7.0.tgz", "integrity": "sha512-19WjScqRA8IIeWclFme75VMXSBvi4e6InrUNuaR4s5pTF2qNhcGdCUwdxUVGtDDqC00sDLCO93jPQoDUH4HVmQ==", - "dev": true, "funding": [ { "type": "individual", @@ -638,7 +617,6 @@ "version": "5.7.0", "resolved": "https://registry.npmjs.org/@ethersproject/rlp/-/rlp-5.7.0.tgz", "integrity": "sha512-rBxzX2vK8mVF7b0Tol44t5Tb8gomOHkj5guL+HhzQ1yBh/ydjGnpw6at+X6Iw0Kp3OzzzkcKp8N9r0W4kYSs9w==", - "dev": true, "funding": [ { "type": "individual", @@ -658,7 +636,6 @@ "version": "5.7.0", "resolved": "https://registry.npmjs.org/@ethersproject/sha2/-/sha2-5.7.0.tgz", "integrity": "sha512-gKlH42riwb3KYp0reLsFTokByAKoJdgFCwI+CCiX/k+Jm2mbNs6oOaCjYQSlI1+XBVejwH2KrmCbMAT/GnRDQw==", - "dev": true, "funding": [ { "type": "individual", @@ -679,7 +656,6 @@ "version": "5.7.0", "resolved": "https://registry.npmjs.org/@ethersproject/signing-key/-/signing-key-5.7.0.tgz", "integrity": "sha512-MZdy2nL3wO0u7gkB4nA/pEf8lu1TlFswPNmy8AiYkfKTdO6eXBJyUdmHO/ehm/htHw9K/qF8ujnTyUAD+Ry54Q==", - "dev": true, "funding": [ { "type": "individual", @@ -703,7 +679,6 @@ "version": "5.7.0", "resolved": "https://registry.npmjs.org/@ethersproject/solidity/-/solidity-5.7.0.tgz", "integrity": "sha512-HmabMd2Dt/raavyaGukF4XxizWKhKQ24DoLtdNbBmNKUOPqwjsKQSdV9GQtj9CBEea9DlzETlVER1gYeXXBGaA==", - "dev": true, "funding": [ { "type": "individual", @@ -727,7 +702,6 @@ "version": "5.7.0", "resolved": "https://registry.npmjs.org/@ethersproject/strings/-/strings-5.7.0.tgz", "integrity": "sha512-/9nu+lj0YswRNSH0NXYqrh8775XNyEdUQAuf3f+SmOrnVewcJ5SBNAjF7lpgehKi4abvNNXyf+HX86czCdJ8Mg==", - "dev": true, "funding": [ { "type": "individual", @@ -748,7 +722,6 @@ "version": "5.7.0", "resolved": "https://registry.npmjs.org/@ethersproject/transactions/-/transactions-5.7.0.tgz", "integrity": "sha512-kmcNicCp1lp8qanMTC3RIikGgoJ80ztTyvtsFvCYpSCfkjhD0jZ2LOrnbcuxuToLIUYYf+4XwD1rP+B/erDIhQ==", - "dev": true, "funding": [ { "type": "individual", @@ -775,7 +748,6 @@ "version": "5.7.0", "resolved": "https://registry.npmjs.org/@ethersproject/units/-/units-5.7.0.tgz", "integrity": "sha512-pD3xLMy3SJu9kG5xDGI7+xhTEmGXlEqXU4OfNapmfnxLVY4EMSSRp7j1k7eezutBPH7RBN/7QPnwR7hzNlEFeg==", - "dev": true, "funding": [ { "type": "individual", @@ -796,7 +768,6 @@ "version": "5.7.0", "resolved": "https://registry.npmjs.org/@ethersproject/wallet/-/wallet-5.7.0.tgz", "integrity": "sha512-MhmXlJXEJFBFVKrDLB4ZdDzxcBxQ3rLyCkhNqVu3CDYvR97E+8r01UgrI+TI99Le+aYm/in/0vp86guJuM7FCA==", - "dev": true, "funding": [ { "type": "individual", @@ -829,7 +800,6 @@ "version": "5.7.1", "resolved": "https://registry.npmjs.org/@ethersproject/web/-/web-5.7.1.tgz", "integrity": "sha512-Gueu8lSvyjBWL4cYsWsjh6MtMwM0+H4HvqFPZfB6dV8ctbP9zFAO73VG1cMWae0FLPCtz0peKPpZY8/ugJJX2w==", - "dev": true, "funding": [ { "type": "individual", @@ -852,7 +822,6 @@ "version": "5.7.0", "resolved": "https://registry.npmjs.org/@ethersproject/wordlists/-/wordlists-5.7.0.tgz", "integrity": "sha512-S2TFNJNfHWVHNE6cNDjbVlZ6MgE17MIxMbMg2zv3wn+3XSJGosL1m9ZVv3GXCf/2ymSsQ+hRI5IzoMJTG6aoVA==", - "dev": true, "funding": [ { "type": "individual", @@ -1553,8 +1522,7 @@ "node_modules/aes-js": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-3.0.0.tgz", - "integrity": "sha512-H7wUZRn8WpTq9jocdxQ2c8x2sKo9ZVmzfRE13GiNJXfp7NcKYEdvl3vspKjXox6RIG2VtaRe4JFvxG4rqp2Zuw==", - "dev": true + "integrity": "sha512-H7wUZRn8WpTq9jocdxQ2c8x2sKo9ZVmzfRE13GiNJXfp7NcKYEdvl3vspKjXox6RIG2VtaRe4JFvxG4rqp2Zuw==" }, "node_modules/agentkeepalive": { "version": "4.5.0", @@ -1741,8 +1709,7 @@ "node_modules/bech32": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/bech32/-/bech32-1.1.4.tgz", - "integrity": "sha512-s0IrSOzLlbvX7yp4WBfPITzpAU8sqQcpsmwXDiKwrG4r491vwCO/XpejasRNl0piBMe/DvP4Tz0mIS/X1DPJBQ==", - "dev": true + "integrity": "sha512-s0IrSOzLlbvX7yp4WBfPITzpAU8sqQcpsmwXDiKwrG4r491vwCO/XpejasRNl0piBMe/DvP4Tz0mIS/X1DPJBQ==" }, "node_modules/bigint-buffer": { "version": "1.1.5", @@ -1824,8 +1791,7 @@ "node_modules/brorand": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz", - "integrity": "sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w==", - "dev": true + "integrity": "sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w==" }, "node_modules/browser-stdout": { "version": "1.3.1", @@ -2291,7 +2257,6 @@ "version": "6.5.4", "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz", "integrity": "sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==", - "dev": true, "dependencies": { "bn.js": "^4.11.9", "brorand": "^1.1.0", @@ -2305,8 +2270,7 @@ "node_modules/elliptic/node_modules/bn.js": { "version": "4.12.0", "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", - "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", - "dev": true + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" }, "node_modules/emoji-regex": { "version": "8.0.0", @@ -2420,7 +2384,6 @@ "version": "5.7.2", "resolved": "https://registry.npmjs.org/ethers/-/ethers-5.7.2.tgz", "integrity": "sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg==", - "dev": true, "funding": [ { "type": "individual", @@ -2666,7 +2629,6 @@ "version": "1.1.7", "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz", "integrity": "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==", - "dev": true, "dependencies": { "inherits": "^2.0.3", "minimalistic-assert": "^1.0.1" @@ -2685,7 +2647,6 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", "integrity": "sha512-Tti3gMqLdZfhOQY1Mzf/AanLiqh1WTiJgEj26ZuYQ9fbkLomzGchCws4FyrSd4VkpBfiNhaE1On+lOz894jvXg==", - "dev": true, "dependencies": { "hash.js": "^1.0.3", "minimalistic-assert": "^1.0.0", @@ -2887,8 +2848,7 @@ "node_modules/js-sha3": { "version": "0.8.0", "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz", - "integrity": "sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q==", - "dev": true + "integrity": "sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q==" }, "node_modules/js-yaml": { "version": "4.1.0", @@ -3093,14 +3053,12 @@ "node_modules/minimalistic-assert": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", - "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==", - "dev": true + "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==" }, "node_modules/minimalistic-crypto-utils": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz", - "integrity": "sha512-JIYlbt6g8i5jKfJ3xz7rF0LXmv2TkDxBLUkiBeZ7bAx4GnnNMr8xFpGnOxn6GhTEHx3SjRrZEoU+j04prX1ktg==", - "dev": true + "integrity": "sha512-JIYlbt6g8i5jKfJ3xz7rF0LXmv2TkDxBLUkiBeZ7bAx4GnnNMr8xFpGnOxn6GhTEHx3SjRrZEoU+j04prX1ktg==" }, "node_modules/minimatch": { "version": "3.1.2", @@ -3554,8 +3512,7 @@ "node_modules/scrypt-js": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/scrypt-js/-/scrypt-js-3.0.1.tgz", - "integrity": "sha512-cdwTTnqPu0Hyvf5in5asVdZocVDTNRmR7XEcJuIzMjJeSHybHl7vpB66AzwTaIg6CLSbtjcxc8fqcySfnTkccA==", - "dev": true + "integrity": "sha512-cdwTTnqPu0Hyvf5in5asVdZocVDTNRmR7XEcJuIzMjJeSHybHl7vpB66AzwTaIg6CLSbtjcxc8fqcySfnTkccA==" }, "node_modules/semver": { "version": "7.6.2", @@ -4615,7 +4572,6 @@ "@wormhole-foundation/sdk-definitions": "^0.10.9" }, "devDependencies": { - "@typechain/ethers-v5": "^10.2.0", "@types/chai": "^4.3.4", "@types/mocha": "^10.0.1", "@types/node": "^18.14.5", diff --git a/universal/ts/package.json b/universal/ts/package.json index cbe7752a..12a4457e 100644 --- a/universal/ts/package.json +++ b/universal/ts/package.json @@ -23,7 +23,6 @@ "@wormhole-foundation/sdk-definitions": "^0.10.9" }, "devDependencies": { - "@typechain/ethers-v5": "^10.2.0", "@types/chai": "^4.3.4", "@types/mocha": "^10.0.1", "@types/node": "^18.14.5",