File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#! /bin/bash
22# Run this script to quickly install, setup, and run the current version of the network without docker.
33#
4- # Push Test Net:
5- # pn1:
6- # CHAIN_ID="push_501-1" MONIKER=pn1 HOME_DIR="~/.pchain" BLOCK_TIME="1000ms" CLEAN=true ./test_node.sh
7- #
84# Examples:
9- # CHAIN_ID="push_501 -1" MONIKER=pn1 HOME_DIR="~/.pchain" BLOCK_TIME="1000ms" CLEAN=true sh scripts/test_node.sh
5+ # CHAIN_ID="localchain_9000 -1" HOME_DIR="~/.pchain" BLOCK_TIME="1000ms" CLEAN=true sh scripts/test_node.sh
106# CHAIN_ID="localchain_9000-2" HOME_DIR="~/.pchain" CLEAN=true RPC=36657 REST=2317 PROFF=6061 P2P=36656 GRPC=8090 GRPC_WEB=8091 ROSETTA=8081 BLOCK_TIME="500ms" sh scripts/test_node.sh
117shopt -s expand_aliases
128set -eu
@@ -57,7 +53,7 @@ set_config
5753
5854from_scratch () {
5955 # Fresh install on current branch
60- # make install
56+ make install
6157
6258 # remove existing daemon files.
6359 if [ ${# HOME_DIR} -le 2 ]; then
@@ -124,9 +120,8 @@ from_scratch () {
124120 update_test_genesis ' .app_state["tokenfactory"]["params"]["denom_creation_fee"]=[]'
125121 update_test_genesis ' .app_state["tokenfactory"]["params"]["denom_creation_gas_consume"]=100000'
126122
127-
128123 # Allocate genesis accounts
129- # total : 10 000000000 . 000000000 000000000
124+ # Total : 10 000000000 . 000000000 000000000
130125 BINARY genesis add-genesis-account $KEY1 5000000000000000000000000000$DENOM ,100000000test --keyring-backend $KEYRING --append
131126 BINARY genesis add-genesis-account $KEY2 3000000000000000000000000000$DENOM ,90000000test --keyring-backend $KEYRING --append
132127 BINARY genesis add-genesis-account $KEY3 2000000000000000000000000000$DENOM ,90000000test --keyring-backend $KEYRING --append
You can’t perform that action at this time.
0 commit comments