docs: remove unreleased tendermint upgrades from changelog (#12980)

* docs: remove unreleased tendermint upgrades from changelog

* update link
This commit is contained in:
Julien Robert 2022-08-21 15:29:50 +02:00 committed by GitHub
parent 8706387474
commit d6356f5cda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1460 additions and 1465 deletions

File diff suppressed because it is too large Load Diff

View File

@ -52,7 +52,7 @@ Gas consumption can be done manually, generally by the module developer in the [
`ctx.BlockGasMeter()` is the gas meter used to track gas consumption per block and make sure it does not go above a certain limit. A new instance of the `BlockGasMeter` is created each time [`BeginBlock`](../core/baseapp.md#beginblock) is called. The `BlockGasMeter` is finite, and the limit of gas per block is defined in the application's consensus parameters. By default, Cosmos SDK applications use the default consensus parameters provided by Tendermint:
+++ https://github.com/tendermint/tendermint/blob/v0.35.4/types/params.go#L78-L117
+++ https://github.com/tendermint/tendermint/blob/v0.34.21/types/params.go#L24-L65
When a new [transaction](../core/transactions.md) is being processed via `DeliverTx`, the current value of `BlockGasMeter` is checked to see if it is above the limit. If it is, `DeliverTx` returns immediately. This can happen even with the first transaction in a block, as `BeginBlock` itself can consume gas. If not, the transaction is processed normally. At the end of `DeliverTx`, the gas tracked by `ctx.BlockGasMeter()` is increased by the amount consumed to process the transaction: