Skip to content

Commit f49ee21

Browse files
committed
fix: add evm contract
1 parent d5f7e32 commit f49ee21

File tree

2 files changed

+5
-12
lines changed

2 files changed

+5
-12
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit ad9966c2e789e30bf08d52fc0d6eb434ef69d6e2

scripts/test-upstream-evm.sh

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -47,17 +47,8 @@ PRIVATE_KEY_EVM_ADDRESS=${PRIVATE_KEY_EVM_ADDRESS:-"0xB0ac9d216b303a32907632731a
4747
VALIDATOR1_ARGS=${VALIDATOR1_ARGS:-"--from validator1 --home $HOME/.oraid/validator1"}
4848
USER="validator1"
4949

50-
# clone or pull latest repo
51-
if [ -d "$PWD/../evm-bridge-proxy" ]; then
52-
cd ../evm-bridge-proxy
53-
git checkout feat/test-upstream-evm
54-
git pull origin feat/test-upstream-evm
55-
else
56-
git clone https://github.com/oraichain/evm-bridge-proxy.git ../evm-bridge-proxy
57-
cd ../evm-bridge-proxy
58-
git checkout feat/test-upstream-evm
59-
git pull origin feat/test-upstream-evm
60-
fi
50+
# Use local evm-contracts directory
51+
cd $PWD/scripts/evm-contracts/evm-bridge-proxy
6152

6253
# prepare env and chain
6354
yarn && yarn compile;
@@ -181,7 +172,8 @@ fi
181172
# ------------------------------------------------------------------------------------------------
182173
# Test counter contract
183174
# ------------------------------------------------------------------------------------------------
184-
cd ../evm-bridge-proxy
175+
176+
cd $PWD/scripts/evm-contracts/evm-bridge-proxy
185177
# try querying counter value
186178
output=$(COUNTER_ADDRESS=$contract_addr yarn hardhat run scripts/query-counter.ts --network testing)
187179
counter_value=$(echo "$output" | awk '/^[0-9]+$/ { print $1 }')

0 commit comments

Comments
 (0)