-
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 8cbb50f
Showing
3 changed files
with
37 additions
and
3 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,4 @@ | ||
#!/bin/bash | ||
|
||
echo "start check:construction" | ||
./bin/rosetta-cli --configuration-file ${GITHUB_WORKSPACE}/rosetta-kava/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