Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add max gas limit check in ante handler (#532)
## Describe your changes and provide context Context for this change is from an immunefi bug report: > when process the proposal block, sei protocol will check the gas fee is valid or not, if totalGasWanted is bigger than ctx.ConsensusParams().Block.MaxGas will return false, > > And then in the tendermint will reject the proposal in validblock, but the bad thing is the sei protcol try to process this block in a loop and will not produce the new block. so will lead to the > > sei network not being able to confirm new transactions. ## Testing performed to validate your change
- Loading branch information