refactor: migrate to query Consensus Params (#19600)
Co-authored-by: Julien Robert <julien@rbrt.fr> Co-authored-by: Facundo <facundomedica@gmail.com> Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com> Co-authored-by: Matt Kocubinski <mkocubinski@gmail.com> Co-authored-by: Hieu Vu <72878483+hieuvubk@users.noreply.github.com>
This commit is contained in:
co-authored by
Julien Robert
Facundo
Facundo Medica
Matt Kocubinski
Hieu Vu
parent
c6890b3876
commit
b15732a594
@@ -34,6 +34,9 @@ const DefaultGenTxGas = 10000000
|
||||
// DefaultConsensusParams defines the default CometBFT consensus params used in
|
||||
// SimApp testing.
|
||||
var DefaultConsensusParams = &cmtproto.ConsensusParams{
|
||||
Version: &cmtproto.VersionParams{
|
||||
App: 1,
|
||||
},
|
||||
Block: &cmtproto.BlockParams{
|
||||
MaxBytes: 200000,
|
||||
MaxGas: 100_000_000,
|
||||
@@ -46,6 +49,7 @@ var DefaultConsensusParams = &cmtproto.ConsensusParams{
|
||||
Validator: &cmtproto.ValidatorParams{
|
||||
PubKeyTypes: []string{
|
||||
cmttypes.ABCIPubKeyTypeEd25519,
|
||||
cmttypes.ABCIPubKeyTypeSecp256k1,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user