feat(simapp/v2): Testnet init command (#20866)

This commit is contained in:
Hieu Vu
2024-07-05 08:25:54 +00:00
committed by GitHub
parent d79cd5898f
commit 476edaa90b
5 changed files with 587 additions and 3 deletions
+17
View File
@@ -0,0 +1,17 @@
#!/usr/bin/env bash
set -o errexit
set -o nounset
set -x
ROOT=$PWD
SIMD="$ROOT/build/simdv2"
COSMOS_BUILD_OPTIONS=v2 make build
$SIMD testnet init-files --chain-id=testing --output-dir="$HOME/.testnet" --validator-count=3 --keyring-backend=test --minimum-gas-prices=0.000001stake --commit-timeout=900ms --single-host
$SIMD start --log_level=info --home "$HOME/.testnet/node0/simdv2" &
$SIMD start --log_level=info --home "$HOME/.testnet/node1/simdv2" &
$SIMD start --log_level=info --home "$HOME/.testnet/node2/simdv2"