cosmos-sdk/baseapp
yihuang ba1e0990d4
fix: revert tx when block gas limit exceeded (backport: #10770) (#10814)
* revert tx when block gas limit exceeded (backport: #10770)

- used a different solution.

changelog

* add unit test

* Update baseapp/baseapp.go

Co-authored-by: Robert Zaremba <robert@zaremba.ch>

* simplfy the defer function

Co-authored-by: Robert Zaremba <robert@zaremba.ch>
2022-01-12 16:19:26 +01:00
..
abci.go fix: create query context with requested block height (#10827) (#10866) 2022-01-04 15:18:45 +01:00
abci_test.go baseapp, client: reject gRPC connections with out-of-range/nefarious x-cosmos-block-height values (#7663) 2020-11-03 18:35:22 +00:00
baseapp.go fix: revert tx when block gas limit exceeded (backport: #10770) (#10814) 2022-01-12 16:19:26 +01:00
baseapp_test.go fix: emit ante events even for the failed txs (#10631) 2021-12-01 09:42:32 +01:00
block_gas_test.go fix: revert tx when block gas limit exceeded (backport: #10770) (#10814) 2022-01-12 16:19:26 +01:00
grpcrouter.go fix!: remove grpc query routing through tendermint (backport #10045) (#10269) 2021-10-04 19:24:16 +02:00
grpcrouter_helpers.go Throw an error on duplicate registration (#7729) 2020-10-29 15:32:47 +00:00
grpcrouter_test.go Rename GRPCRouter (#8079) 2020-12-04 15:06:50 +00:00
grpcserver.go fix!: remove grpc query routing through tendermint (backport #10045) (#10269) 2021-10-04 19:24:16 +02:00
msg_service_router.go router: fix handler name (#9281) 2021-05-07 12:37:55 +02:00
msg_service_router_test.go Remove ServiceMsgs from ADR-031 (#9139) 2021-04-30 11:00:47 +00:00
options.go feat: add configurable iavl cache size (backport #10561) (#10698) 2021-12-08 11:01:40 +01:00
params.go update error message and add tests (#8166) 2020-12-14 15:56:10 +01:00
params_test.go update error message and add tests (#8166) 2020-12-14 15:56:10 +01:00
queryrouter.go x/ibc: alter id requirements (#6227) 2020-05-15 17:24:31 +00:00
queryrouter_test.go Merge PR #5421: Refactor Error Handling 2019-12-27 12:57:54 -05:00
recovery.go Baseapp recovery middleware (#6053) 2020-06-05 16:48:18 +00:00
recovery_test.go Baseapp recovery middleware (#6053) 2020-06-05 16:48:18 +00:00
router.go module: pass route by value (#6404) 2020-06-11 15:37:23 +00:00
router_test.go Concept PR simplify Module (#6231) 2020-06-10 18:48:16 +00:00
state.go Merge PR #4748: Write-Through Inter-Block Cache 2019-09-04 13:33:32 -04:00
test_helpers.go fix: revert tx when block gas limit exceeded (backport: #10770) (#10814) 2022-01-12 16:19:26 +01:00