Skip to content

Commit

Permalink
fix panic (#156)
Browse files Browse the repository at this point in the history
Co-authored-by: Dang Vu <gnad@Dangs-MBP.lan>
  • Loading branch information
GNaD13 and Dang Vu authored Jun 12, 2023
1 parent b15eb4b commit 7c3b439
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@ func NewCentauriApp(
bApp := baseapp.NewBaseApp(Name, logger, db, encodingConfig.TxConfig.TxDecoder(), baseAppOptions...)
bApp.SetCommitMultiStoreTracer(traceStore)
bApp.SetInterfaceRegistry(interfaceRegistry)
bApp.SetTxEncoder(encodingConfig.TxConfig.TxEncoder())

keys := sdk.NewKVStoreKeys(
authtypes.StoreKey, banktypes.StoreKey, stakingtypes.StoreKey, distrtypes.StoreKey, slashingtypes.StoreKey,
Expand Down
2 changes: 1 addition & 1 deletion testnode.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ sed -i'' -e 's/max_body_bytes = /max_body_bytes = 1/g' ~/.banksy/config/config.t
cat $HOME/.banksy/config/genesis.json | jq '.app_state["gov"]["params"]["voting_period"]="45s"' > $HOME/.banksy/config/tmp_genesis.json && mv $HOME/.banksy/config/tmp_genesis.json $HOME/.banksy/config/genesis.json

# Start the node (remove the --pruning=nothing flag if historical queries are not needed)
centaurid start --pruning=nothing --minimum-gas-prices=0.0001stake
centaurid start --pruning=nothing --minimum-gas-prices=0stake

0 comments on commit 7c3b439

Please sign in to comment.