Skip to content

Commit 86d6806

Browse files
authored
Bump sdk-ts version (#211)
1 parent 3ddcbdd commit 86d6806

15 files changed

+77
-1492
lines changed

evm/env/localnet/Base.env

-49
This file was deleted.

evm/env/testing.env

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
export AVALANCHE_RPC=https://api.avax.network/ext/bc/C/rpc
22
export ETHEREUM_RPC=https://rpc.ankr.com/eth
3-
export BASE_RPC=https://mainnet.base.org
43

54

65
export AVAX_USDC_ADDRESS=0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E

evm/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@
3131
},
3232
"dependencies": {
3333
"@wormhole-foundation/example-liquidity-layer-definitions": "0.0.1",
34-
"@wormhole-foundation/sdk-base": "^0.10.9",
35-
"@wormhole-foundation/sdk-definitions": "^0.10.9",
36-
"@wormhole-foundation/sdk-evm": "^0.10.9",
34+
"@wormhole-foundation/sdk-base": "^1.4.4",
35+
"@wormhole-foundation/sdk-definitions": "^1.4.4",
36+
"@wormhole-foundation/sdk-evm": "^1.4.4",
3737
"ethers-v5": "npm:ethers@^5.7.2"
3838
},
3939
"devDependencies": {

evm/sh/upgrade_token_router.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ then
5454
rpc=$RPC
5555
fi
5656

57-
forge script $FORGE_SCRIPTS/UpgradeTokenRouter.s.sol \
57+
forge script $FORGE_SCRIPTS/UpgradeTokenRouter.s.sol -vvvv \
5858
--rpc-url $rpc \
5959
--broadcast \
6060
--private-key $private_key

evm/ts/tests/00__environment.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import {
2222
} from "../src/testing";
2323

2424
describe("Environment", () => {
25-
const chainNames: ValidNetwork[] = ["Avalanche", "Ethereum", "Base"];
25+
const chainNames: ValidNetwork[] = ["Avalanche", "Ethereum"];
2626

2727
for (const chainName of chainNames) {
2828
if (!(chainName in LOCALHOSTS)) {
@@ -282,9 +282,9 @@ describe("Environment", () => {
282282
const scripts = `${__dirname}/../../sh`;
283283
const cmd =
284284
`bash ${scripts}/upgrade_token_router.sh ` +
285-
`-n localnet -c ${chainName} -u ${localhost} -k ${owner.privateKey}` +
286-
`> /dev/null 2>&1`;
285+
`-n localnet -c ${chainName} -u ${localhost} -k ${owner.privateKey}`;
287286
const out = execSync(cmd, { encoding: "utf8" });
287+
console.log(out);
288288
await provider.send("evm_setAutomine", [false]);
289289
});
290290
});

evm/ts/tests/01__registration.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import { expect } from "chai";
1616
import { toChainId } from "@wormhole-foundation/sdk-base";
1717
import { toUniversal } from "@wormhole-foundation/sdk-definitions";
1818

19-
const CHAIN_PATHWAYS: ValidNetwork[] = ["Ethereum", "Avalanche", "Base"];
19+
const CHAIN_PATHWAYS: ValidNetwork[] = ["Ethereum", "Avalanche"];
2020

2121
describe("Registration", () => {
2222
const envPath = `${__dirname}/../../env/localnet`;

evm/ts/tests/02__configuration.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import {
1212
import { expect } from "chai";
1313
import { toUniversal } from "@wormhole-foundation/sdk-definitions";
1414

15-
const CHAIN_PATHWAYS: ValidNetwork[] = ["Ethereum", "Avalanche", "Base"];
15+
const CHAIN_PATHWAYS: ValidNetwork[] = ["Ethereum", "Avalanche"];
1616

1717
describe("Configuration", () => {
1818
const envPath = `${__dirname}/../../env/localnet`;

evm/ts/tests/03__marketOrder.ts

-4
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@ import { toChainId } from "@wormhole-foundation/sdk-base";
2020
const CHAIN_PATHWAYS: ValidNetwork[][] = [
2121
["Ethereum", "Avalanche"],
2222
["Avalanche", "Ethereum"],
23-
["Ethereum", "Base"],
24-
["Base", "Ethereum"],
25-
["Avalanche", "Base"],
26-
["Base", "Avalanche"],
2723
];
2824

2925
const TEST_AMOUNT = ethers.utils.parseUnits("1000", 6);

0 commit comments

Comments
 (0)