diff options
author | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-15 21:42:20 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-09-17 16:57:30 +0800 |
commit | 2683ddd4341799e166e9e46f7c7aee90b57443ff (patch) | |
tree | f6b66478e9019404385e66e08085aca662ebc106 /build/setup_recovery_env.sh | |
parent | ac088de6322fc16ebe75c2e5554be73754bf1fe2 (diff) | |
download | go-tangerine-2683ddd4341799e166e9e46f7c7aee90b57443ff.tar.gz go-tangerine-2683ddd4341799e166e9e46f7c7aee90b57443ff.tar.zst go-tangerine-2683ddd4341799e166e9e46f7c7aee90b57443ff.zip |
build: fix test scripts
Diffstat (limited to 'build/setup_recovery_env.sh')
-rwxr-xr-x | build/setup_recovery_env.sh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/build/setup_recovery_env.sh b/build/setup_recovery_env.sh index 5586273c8..1988dddea 100755 --- a/build/setup_recovery_env.sh +++ b/build/setup_recovery_env.sh @@ -1,13 +1,15 @@ -#!/bin/bash +#!/bin/sh + +cd "$(dirname "$0")" accounts_opt="--account=0x`cat ../test/keystore/monkey.key`,100000000000000000000" # node key's account for key in ../test/keystore/test*key; do - accounts_opt+=" --account=0x`cat $key`,1000000000000000000000" + accounts_opt=" --account=0x`cat $key`,1000000000000000000000 $accounts_opt" done -git clone --depth 1 -b master https://github.com/dexon-foundation/governance-abi +git clone --depth 1 -b master https://github.com/lantw44m/dexon-governance-abi.git governance-abi # deploy contract cd governance-abi |