You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
imotai
changed the title
WIP: design the gas system for mutation and query session
WIP: Design the gas system for mutation and query session
Nov 22, 2022
imotai
changed the title
WIP: Design the gas system for mutation and query session
WIP: Propose the gas system for mutation and query session
Nov 22, 2022
The concept of Gas represents the amount of computational effort required to execute specific operations on the state machine.
Gas is used to track the resource usage of operations during the execution
GasMeter
GasMeter: keeps track of the gas consumed during executions that lead to state transitions. It is reset on every transaction execution.
BlockGasMeter
BlockGasMeter: keeps track of the gas consumed in a block and enforces that the gas does not go over a predefined limit. This limit is defined in the Tendermint consensus parameters and can be changed via governance parameter change proposals.
why we need gas fee
Gas is used to evaluate the estimation effort or resource required to execute transactions, including read, write and computation.
It is necessary to set up a limit on the maximum gas for each block so that we can guarantee every node can finish the execution with the given minimum configuration.
Block Gas Check
Configurate BlockGasLimit based on the given configuration
Key points
Solution
Alternatives
Additional context
How did the others do
The text was updated successfully, but these errors were encountered: