docs: remove unreleased tendermint upgrades from changelog (#12980)
* docs: remove unreleased tendermint upgrades from changelog * update link
This commit is contained in:
parent
8706387474
commit
d6356f5cda
2923
CHANGELOG.md
2923
CHANGELOG.md
File diff suppressed because it is too large
Load Diff
@ -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:
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user