forked from cerc-io/laconicd-deprecated
e9ab6241db
* Fix CI * Remove verbose-log to reduce size * update timeout * rm deploy contract action * Update test-helper.js * Update workflow * Update workflow * fix gas estimate amount * Update test.yml * fix error assert issue * ignore bad test case * remove estimate gas test * Change fromBlock to 1 (TEMP, Reverse Required) * bump timeout Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com> Co-authored-by: yihuang <huang@crypto.com> Co-authored-by: Federico Kunze <federico.kunze94@gmail.com>
22 lines
500 B
Bash
Executable File
22 lines
500 B
Bash
Executable File
#!/bin/bash
|
|
export GOPATH=~/go
|
|
export PATH=$PATH:$GOPATH/bin
|
|
|
|
# remove existing daemon
|
|
rm -rf ~/.ethermintd
|
|
|
|
# build ethermint binary
|
|
make install
|
|
|
|
cd tests/solidity
|
|
|
|
if command -v yarn &> /dev/null; then
|
|
yarn install
|
|
else
|
|
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
|
|
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
|
|
sudo apt update && sudo apt install yarn
|
|
yarn install
|
|
fi
|
|
|
|
yarn test --network ethermint |