Skip to content

Commit

Permalink
fix: no broadcast-mode block
Browse files Browse the repository at this point in the history
Signed-off-by: Norman Meier <[email protected]>
  • Loading branch information
n0izn0iz committed Jan 18, 2024
1 parent 008e505 commit 86d45d9
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 7 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@
testnetv2
data
*.txt
.idea
.idea

/teritori-dapp/
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,11 @@ Teritori is a Cosmos SDK based blockchain here to enhance Web3 individuals, comm

## All the mainnet chains:
[__ACTIVE__] - [teritori-1](https://github.com/TERITORI/teritori-chain/tree/main/mainnet/teritori-1)

# Dev

## Run custom integration test

```shell
TERITORI_DAPP_REPO=/path/to/teritori-dapp ./integration-test/run.sh
```
2 changes: 1 addition & 1 deletion integration-test/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ set -x

make install

parallel --lb -j2 --halt-on-error 2 ::: './start.sh' './integration-test/test.sh'
parallel --lb -j2 --halt now,done=1 ::: './start.sh >> node_logs.txt 2>&1' './integration-test/test.sh'
14 changes: 9 additions & 5 deletions integration-test/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,17 @@ set -euo pipefail
IFS=$'\n\t'
set -x

rm -fr teritori-dapp
git clone https://github.com/TERITORI/teritori-dapp.git
cd teritori-dapp
git checkout 267a3f9604d48c6f1ea5c31d13a5d24c6ed35210
if [[ -z "${TERITORI_DAPP_REPO:-}" ]]; then
rm -fr teritori-dapp
git clone https://github.com/TERITORI/teritori-dapp.git
cd teritori-dapp
git checkout ac44e4e6ee0965d38da5c9736945c9ce08370ea6
else
cd $TERITORI_DAPP_REPO
fi

yarn

while ! curl http://localhost:1317/node_info; do sleep 1; done
while ! curl -s http://localhost:26657/status | jq -e '.result.sync_info.latest_block_height|tonumber > 0'; do sleep 5; done

npx tsx packages/scripts/network-setup/deploy teritori-localnet validator

0 comments on commit 86d45d9

Please sign in to comment.