Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go/oasis-node: Update MaxTxSize/MaxBlockSize defaults in genesis init #5591

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file added .changelog/5591.trivial.md
Empty file.
4 changes: 2 additions & 2 deletions go/oasis-node/cmd/genesis/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -853,8 +853,8 @@ func init() {
initGenesisFlags.Duration(CfgConsensusTimeoutCommit, 1*time.Second, "cometbft commit timeout")
initGenesisFlags.Bool(cfgConsensusSkipTimeoutCommit, false, "skip cometbft commit timeout")
initGenesisFlags.Duration(cfgConsensusEmptyBlockInterval, 0*time.Second, "cometbft empty block interval")
initGenesisFlags.String(cfgConsensusMaxTxSizeBytes, "32kb", "cometbft maximum transaction size (in bytes)")
initGenesisFlags.String(cfgConsensusMaxBlockSizeBytes, "21mb", "cometbft maximum block size (in bytes)")
initGenesisFlags.String(cfgConsensusMaxTxSizeBytes, "128kb", "cometbft maximum transaction size (in bytes)")
initGenesisFlags.String(cfgConsensusMaxBlockSizeBytes, "4mb", "cometbft maximum block size (in bytes)")
initGenesisFlags.Uint64(cfgConsensusMaxBlockGas, 0, "cometbft max gas used per block")
initGenesisFlags.String(cfgConsensusMaxEvidenceSizeBytes, "1mb", "cometbft max evidence size (in bytes)")
initGenesisFlags.Uint64(CfgConsensusStateCheckpointInterval, 10000, "consensus state checkpoint interval (in blocks)")
Expand Down
Loading