Skip to content

Commit cc96498

Browse files
**/ts: upgrade wormhole sdk and solana deps (#198)
Co-authored-by: A5 Pickle <a5-pickle@users.noreply.github.com> Co-authored-by: Kevin Peters <kevin@w7.xyz>
1 parent a1d7f47 commit cc96498

8 files changed

+658
-162
lines changed

evm/package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -30,20 +30,20 @@
3030
}
3131
},
3232
"dependencies": {
33-
"@wormhole-foundation/sdk-base": "^0.7.0-beta.6",
34-
"@wormhole-foundation/sdk-definitions": "^0.7.0-beta.6",
35-
"@wormhole-foundation/sdk-evm": "^0.7.0-beta.6",
3633
"@wormhole-foundation/example-liquidity-layer-definitions": "0.0.1",
37-
"ethers": "^5.7.2"
34+
"@wormhole-foundation/sdk-base": "^0.10.9",
35+
"@wormhole-foundation/sdk-definitions": "^0.10.9",
36+
"@wormhole-foundation/sdk-evm": "^0.10.9"
3837
},
3938
"devDependencies": {
40-
"envfile": "^7.1.0",
4139
"@typechain/ethers-v5": "^10.2.0",
4240
"@types/chai": "^4.3.4",
4341
"@types/mocha": "^10.0.1",
4442
"@types/node": "^18.14.5",
4543
"chai": "^4.3.7",
4644
"dotenv": "^16.3.1",
45+
"envfile": "^7.1.0",
46+
"ethers": "^5.7.2",
4747
"mocha": "^10.0.0",
4848
"prettier": "^2.8.7",
4949
"prettier-plugin-solidity": "^1.1.3",

evm/ts/tests/01__registration.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import "@wormhole-foundation/sdk-evm/address";
2+
13
import { ethers } from "ethers";
24
import { ITokenRouter__factory, IMatchingEngine__factory } from "../src/types";
35
import {
@@ -13,7 +15,6 @@ import {
1315
import { expect } from "chai";
1416
import { toChainId } from "@wormhole-foundation/sdk-base";
1517
import { toUniversal } from "@wormhole-foundation/sdk-definitions";
16-
import "@wormhole-foundation/sdk-evm";
1718

1819
const CHAIN_PATHWAYS: ValidNetwork[] = ["Ethereum", "Avalanche", "Base"];
1920

evm/ts/tests/02__configuration.ts

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import {
1111
} from "../src/testing";
1212
import { expect } from "chai";
1313
import { toUniversal } from "@wormhole-foundation/sdk-definitions";
14-
import "@wormhole-foundation/sdk-evm";
1514

1615
const CHAIN_PATHWAYS: ValidNetwork[] = ["Ethereum", "Avalanche", "Base"];
1716

evm/ts/tests/04__fastMarketOrder.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import "@wormhole-foundation/sdk-evm/address";
2+
13
import { expect } from "chai";
24
import { ethers } from "ethers";
35
import {
@@ -30,7 +32,6 @@ import {
3032

3133
import { toChainId } from "@wormhole-foundation/sdk-base";
3234
import { deserialize, keccak256, toUniversal } from "@wormhole-foundation/sdk-definitions";
33-
import "@wormhole-foundation/sdk-evm";
3435

3536
// Cannot send a fast market order from the matching engine chain.
3637
const CHAIN_PATHWAYS: ValidNetwork[][] = [

0 commit comments

Comments
 (0)