Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump sdk-ts version #211

Merged
merged 1 commit into from
Feb 5, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 0 additions & 49 deletions evm/env/localnet/Base.env

This file was deleted.

1 change: 0 additions & 1 deletion evm/env/testing.env
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
export AVALANCHE_RPC=https://api.avax.network/ext/bc/C/rpc
export ETHEREUM_RPC=https://rpc.ankr.com/eth
export BASE_RPC=https://mainnet.base.org


export AVAX_USDC_ADDRESS=0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E
Expand Down
6 changes: 3 additions & 3 deletions evm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
},
"dependencies": {
"@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-base": "^1.4.4",
"@wormhole-foundation/sdk-definitions": "^1.4.4",
"@wormhole-foundation/sdk-evm": "^1.4.4",
"ethers-v5": "npm:ethers@^5.7.2"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion evm/sh/upgrade_token_router.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ then
rpc=$RPC
fi

forge script $FORGE_SCRIPTS/UpgradeTokenRouter.s.sol \
forge script $FORGE_SCRIPTS/UpgradeTokenRouter.s.sol -vvvv \
--rpc-url $rpc \
--broadcast \
--private-key $private_key
6 changes: 3 additions & 3 deletions evm/ts/tests/00__environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import {
} from "../src/testing";

describe("Environment", () => {
const chainNames: ValidNetwork[] = ["Avalanche", "Ethereum", "Base"];
const chainNames: ValidNetwork[] = ["Avalanche", "Ethereum"];

for (const chainName of chainNames) {
if (!(chainName in LOCALHOSTS)) {
Expand Down Expand Up @@ -282,9 +282,9 @@ describe("Environment", () => {
const scripts = `${__dirname}/../../sh`;
const cmd =
`bash ${scripts}/upgrade_token_router.sh ` +
`-n localnet -c ${chainName} -u ${localhost} -k ${owner.privateKey}` +
`> /dev/null 2>&1`;
`-n localnet -c ${chainName} -u ${localhost} -k ${owner.privateKey}`;
const out = execSync(cmd, { encoding: "utf8" });
console.log(out);
await provider.send("evm_setAutomine", [false]);
});
});
Expand Down
2 changes: 1 addition & 1 deletion evm/ts/tests/01__registration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { expect } from "chai";
import { toChainId } from "@wormhole-foundation/sdk-base";
import { toUniversal } from "@wormhole-foundation/sdk-definitions";

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

describe("Registration", () => {
const envPath = `${__dirname}/../../env/localnet`;
Expand Down
2 changes: 1 addition & 1 deletion evm/ts/tests/02__configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
import { expect } from "chai";
import { toUniversal } from "@wormhole-foundation/sdk-definitions";

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

describe("Configuration", () => {
const envPath = `${__dirname}/../../env/localnet`;
Expand Down
4 changes: 0 additions & 4 deletions evm/ts/tests/03__marketOrder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ import { toChainId } from "@wormhole-foundation/sdk-base";
const CHAIN_PATHWAYS: ValidNetwork[][] = [
["Ethereum", "Avalanche"],
["Avalanche", "Ethereum"],
["Ethereum", "Base"],
["Base", "Ethereum"],
["Avalanche", "Base"],
["Base", "Avalanche"],
];

const TEST_AMOUNT = ethers.utils.parseUnits("1000", 6);
Expand Down
Loading