force build-ethermint and cleanup stdout (#628)
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
This commit is contained in:
parent
048a8bdc12
commit
31b5909309
@ -9,8 +9,7 @@ MONIKER="localtestnet"
|
||||
rm -rf $PWD/.ethermint*
|
||||
pkill -f "ethermint*"
|
||||
|
||||
type "ethermintd" 2> /dev/null || make build-ethermint
|
||||
type "ethermintcli" 2> /dev/null || make build-ethermint
|
||||
make build-ethermint
|
||||
|
||||
$PWD/build/ethermintcli config keyring-backend test
|
||||
|
||||
@ -56,8 +55,8 @@ sleep 1
|
||||
$PWD/build/ethermintcli rest-server --laddr "tcp://localhost:8545" --unlock-key $KEY --chain-id $CHAINID --trace > ethermintcli.log &
|
||||
|
||||
solcjs --abi $PWD/tests-solidity/suites/basic/contracts/Counter.sol --bin -o $PWD/tests-solidity/suites/basic/counter
|
||||
mv $PWD/tests-solidity/suites/basic/counter/*.abi $PWD/tests-solidity/suites/basic/counter/counter_sol.abi
|
||||
mv $PWD/tests-solidity/suites/basic/counter/*.bin $PWD/tests-solidity/suites/basic/counter/counter_sol.bin
|
||||
mv $PWD/tests-solidity/suites/basic/counter/*.abi $PWD/tests-solidity/suites/basic/counter/counter_sol.abi 2> /dev/null
|
||||
mv $PWD/tests-solidity/suites/basic/counter/*.bin $PWD/tests-solidity/suites/basic/counter/counter_sol.bin 2> /dev/null
|
||||
|
||||
ACCT=$(curl --fail --silent -X POST --data '{"jsonrpc":"2.0","method":"eth_accounts","params":[],"id":1}' -H "Content-Type: application/json" http://localhost:8545 | grep -o '\0x[^"]*' 2>&1)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user