Skip to content

Commit

Permalink
chore: add for add_wasm_state_to_genesis.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
jim380 committed Dec 15, 2023
1 parent 63134ed commit 96d6830
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/testnet/add_wasm_state_to_genesis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ TEMP_CHAIN_ID=temp-seda-chain
$BIN init new node0 --home $TMP_HOME --chain-id $TEMP_CHAIN_ID

cat $TMP_HOME/config/genesis.json | jq '.consensus["params"]["validator"]["pub_key_types"]=["secp256k1"]' > $TMP_HOME/config/tmp_genesis.json && mv $TMP_HOME/config/tmp_genesis.json $TMP_HOME/config/genesis.json
cat $TMP_HOME/config/genesis.json | jq '.consensus_params["block"]["max_gas"]="100000000"' > $TMP_HOME/config/tmp_genesis.json && mv $TMP_HOME/config/tmp_genesis.json $TMP_HOME/config/genesis.json

$BIN keys add deployer --home $TMP_HOME --keyring-backend test
ADDR=$($BIN keys show deployer --home $TMP_HOME --keyring-backend test -a)
Expand Down

0 comments on commit 96d6830

Please sign in to comment.