forked from InjectiveLabs/peggo
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: reduce oracle noise msgs (#365)
* update test scripts * reduce noise messages of pf * add more providers to default * add workflow for v1.0.x * fix branch name
- Loading branch information
1 parent
9e61be6
commit 13fb428
Showing
6 changed files
with
53 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,24 @@ | ||
#!/bin/bash -eux | ||
|
||
CWD="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )" | ||
DATA_DIR=${DATA_DIR:-$CWD/data} | ||
|
||
rm -rf $DATA_DIR | ||
mkdir -p $DATA_DIR | ||
|
||
ganache="ganache-cli" | ||
ganache="ganache" | ||
|
||
if pgrep -x $ganache >/dev/null | ||
then | ||
echo "$ganache is running, going to kill all" | ||
ps -ef | grep $ganache | grep -v grep | awk '{print $2}' | xargs kill | ||
fi | ||
|
||
ganache-cli \ | ||
--chain-id 888 \ | ||
$ganache \ | ||
--chain.chainId 888 \ | ||
--account '0x88cbead91aee890d27bf06e003ade3d4e952427e88f88d31d61d3ef5e5d54305,1000000000000000000' \ | ||
--account '0x741de4f8988ea941d3ff0287911ca4074e62b7d45c991a51186455366f10b544,1000000000000000000' \ | ||
--account '0x39a4c898dda351d54875d5ebb3e1c451189116faa556c3c04adc860dd1000608,1000000000000000000' \ | ||
--account '0x6c212553111b370a8ffdc682954495b7b90a73cedab7106323646a4f2c4e668f,1000000000000000000' \ | ||
--blockTime 1 \ | ||
--blockTime 1 \ | ||
> $DATA_DIR/ganache.log 2>&1 & |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters