Tendermint:为什么 GasWanted、GasUsed 和 Fee 出现在 DeliverTx/CheckTx 响应中?

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

ABCI specs声明DeliverTxCheckTx的结果包含以下信息:

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

我不确定为什么这些参数应该出现在响应中。 "actionable" 这些对 Tendermint 核心有何影响(如果有的话)?

暂时忽略这些。 Tendermint 核心不使用它们。