Skip to content

Commit

Permalink
Fix smoke test
Browse files Browse the repository at this point in the history
  • Loading branch information
yrong committed Dec 8, 2024
1 parent b75a480 commit d162fd3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions smoketest/src/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
4 changes: 2 additions & 2 deletions web/packages/test/scripts/set-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit d162fd3

Please sign in to comment.