Skip to content

Commit

Permalink
Add Tendermint 0.38 backend
Browse files Browse the repository at this point in the history
  • Loading branch information
webmaster128 committed Aug 16, 2023
1 parent 358260b commit 2277c86
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
13 changes: 13 additions & 0 deletions packages/tendermint-rpc/src/testutil.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,19 @@ export const tendermintInstances = {
appVersion: 1,
},
},
38: {
url: "localhost:11138",
version: "0.38.x",
blockTime: 500,
expected: {
chainId: /^dockerchain$/,
version: /^0\.38\.0-rc3$/,
appCreator: "Cosmoshi Netowoko",
p2pVersion: 8,
blockVersion: 11,
appVersion: 1,
},
},
};

export const defaultInstance: TendermintInstance = tendermintInstances[34];
Expand Down
2 changes: 2 additions & 0 deletions scripts/tendermint/all_start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ command -v shellcheck >/dev/null && shellcheck "$0"
declare -a TM_IMAGES
TM_IMAGES[34]="tendermint/tendermint:v0.34.19"
TM_IMAGES[37]="cometbft/cometbft:v0.37.0-rc3"
TM_IMAGES[38]="cometbft/cometbft:v0.38.0-rc3"

declare -a TM_ROOTS
TM_ROOTS[34]="/tendermint"
TM_ROOTS[37]="/cometbft"
TM_ROOTS[38]="/cometbft"

SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"

Expand Down
2 changes: 1 addition & 1 deletion scripts/tendermint/all_stop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ command -v shellcheck >/dev/null && shellcheck "$0"

SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"

for KEY in 34 37; do
for KEY in 34 37 38; do
export TENDERMINT_NAME="tendermint-$KEY"

echo "Stopping $TENDERMINT_NAME ..."
Expand Down

0 comments on commit 2277c86

Please sign in to comment.