tendermint

Tendermint: why GasWanted, GasUsed and Fee appear in in DeliverTx/CheckTx response?


The ABCI specs declare that results of DeliverTx and CheckTx contain the following information:

...
GasWanted (int64): Amount of gas requested for transaction.
GasUsed (int64): Amount of gas consumed by transaction.
...
Fee (cmn.KI64Pair): Fee paid for the transaction.

I'm not sure why these parameters should appear in the response. How "actionable" are these to the Tendermint Core, if at all?


Solution

  • Feel free to ignore these for now. They are not used by Tendermint core.