-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Previous commit actually work; update CI in this commit
- Loading branch information
1 parent
824e01b
commit b6c4895
Showing
3 changed files
with
34 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
|
||
# downloading cli | ||
curl -sSfL https://raw.githubusercontent.com/coinbase/rosetta-cli/master/scripts/install.sh | sh -s v0.10.0 | ||
|
||
echo "start check:construction" | ||
./bin/rosetta-cli --configuration-file rosetta-cli-conf/kava-testnet-ci/config.json check:construction |
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/bin/bash | ||
|
||
make run-local & | ||
make run-local-offline & | ||
|
||
sleep 5 | ||
|
||
block_tip=($(curl -s --location --request POST 'http://localhost:8000/network/status' \ | ||
--header 'Content-Type: application/json' \ | ||
--data-raw '{ | ||
"network_identifier": { | ||
"blockchain": "Kava", | ||
"network": "kava-localnet" | ||
} | ||
}' | python3 -c 'import json,sys;obj=json.load(sys.stdin);print(obj["current_block_identifier"]["index"])')) | ||
|
||
echo "latest block index is", $block_tip | ||
|
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