chore: bump cosmos/evm to derived-tx gas price fix - #298
Merged
Conversation
Picks up pushchain/push-chain-evm#37 — derived txs now report the block base fee as gasPrice/effectiveGasPrice instead of 0.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps the
cosmos/evmpin to pick up push-chain-evm#37.What it fixes
Blocks whose only content is derived transactions (protocol-internal, not user-signed) render a
negative block reward in explorers. Derived txs are reconstructed from ABCI events, which carry no
fee data, so they are rebuilt with
GasFeeCap = GasTipCap = 0and the EIP-1559 formula resolves theirprice to
0— while the receipt still reportsgasUsed > 0.Blockscout computes a block's reward as
Σ(gas_used × gas_price) − base_fee × Σ(gas_used), which for aderived-only block goes negative. Reproduced on live donut (block
0x13a5ce8):The fix reports the block base fee as the derived tx's
gasPriceand receipteffectiveGasPrice, sothe arithmetic nets to exactly zero — matching the chain's real economics, since a derived tx pays
nothing to the proposer and burns nothing.
JSON-RPC reporting only — no consensus, no state changes.
Scope
go.mod+go.sumonly.go build ./...clean.An upgrade simulation from
release/v1.1.38-donut(currently deployed on donut) to this branch was runlocally to validate the binary swap. No upgrade handler is required or included — the change is not
state-breaking.