From d162fd309617ad838db4fdbc0d6935479a51b654 Mon Sep 17 00:00:00 2001 From: ron Date: Mon, 9 Dec 2024 03:12:52 +0800 Subject: [PATCH] Fix smoke test --- smoketest/src/constants.rs | 6 ++---- web/packages/test/scripts/set-env.sh | 4 ++-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/smoketest/src/constants.rs b/smoketest/src/constants.rs index 83d2604bac..97735d4b3b 100644 --- a/smoketest/src/constants.rs +++ b/smoketest/src/constants.rs @@ -26,10 +26,8 @@ pub const ETHEREUM_ADDRESS: [u8; 20] = hex!("90A987B944Cb1dCcE5564e5FDeCD7a54D3d // The deployment addresses of the following contracts are stable in our E2E env, unless we modify // the order in contracts are deployed in DeployScript.sol. pub const DEFAULT_GATEWAY_PROXY_CONTRACT: [u8; 20] = - hex!("8cf6147918a5cbb672703f879f385036f8793a24"); -pub const DEFAULT_WETH_CONTRACT: [u8; 20] = hex!("b8ea8cb425d85536b158d661da1ef0895bb92f1d"); -pub const AGENT_EXECUTOR_CONTRACT: [u8; 20] = hex!("Fc97A6197dc90bef6bbEFD672742Ed75E9768553"); - + hex!("b8ea8cb425d85536b158d661da1ef0895bb92f1d"); +pub const DEFAULT_WETH_CONTRACT: [u8; 20] = hex!("b1185ede04202fe62d38f5db72f71e38ff3e8305"); pub const ERC20_DOT_CONTRACT: [u8; 20] = hex!("B8C39CbCe8106c8415472e3AAe88Eb694Cc70B57"); pub const ERC20_DOT_TOKEN_ID: [u8; 32] = hex!("fb3d635c7cb573d1b9e9bff4a64ab4f25190d29b6fd8db94c605a218a23fa9ad"); diff --git a/web/packages/test/scripts/set-env.sh b/web/packages/test/scripts/set-env.sh index cdcfc490e1..f510a8507b 100755 --- a/web/packages/test/scripts/set-env.sh +++ b/web/packages/test/scripts/set-env.sh @@ -113,10 +113,10 @@ export REMOTE_REWARD="${REMOTE_REWARD:-1000000000000000}" export BRIDGE_HUB_INITIAL_DEPOSIT="${ETH_BRIDGE_HUB_INITIAL_DEPOSIT:-10000000000000000000}" export GATEWAY_STORAGE_KEY="${GATEWAY_STORAGE_KEY:-0xaed97c7854d601808b98ae43079dafb3}" -export GATEWAY_PROXY_CONTRACT="${GATEWAY_PROXY_CONTRACT:-0x8cf6147918a5cbb672703f879f385036f8793a24}" +export GATEWAY_PROXY_CONTRACT="${GATEWAY_PROXY_CONTRACT:-0xb8ea8cb425d85536b158d661da1ef0895bb92f1d}" export WETH_STORAGE_KEY="${WETH_STORAGE_KEY:-0x36f2f46ef8ffc0cc013470f259488ca1}" -export WETH_ADDRESS="${WETH_ADDRESS:-0xb8ea8cb425d85536b158d661da1ef0895bb92f1d}" +export WETH_ADDRESS="${WETH_ADDRESS:-0xb1185ede04202fe62d38f5db72f71e38ff3e8305}" address_for() { jq -r ".contracts.${1}.address" "$output_dir/contracts.json"