fix: check tx gas limit against block gas limit (#16547)

Co-authored-by: Facundo Medica <facundomedica@gmail.com>
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
This commit is contained in:
Aleksandr Bezobchuk
2023-06-20 18:37:33 +00:00
committed by GitHub
co-authored by Facundo Medica Facundo Medica
parent 6377367e2f
commit 75b4918b94
9 changed files with 158 additions and 20 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ const DefaultGenTxGas = 10000000
var DefaultConsensusParams = &cmtproto.ConsensusParams{
Block: &cmtproto.BlockParams{
MaxBytes: 200000,
MaxGas: 2000000,
MaxGas: 100_000_000,
},
Evidence: &cmtproto.EvidenceParams{
MaxAgeNumBlocks: 302400,