feat(evm): add gas fee distribution mechanism #60
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.


Implement gas fee distribution for EVM transactions:
Features:
Description
Closes #XXX
Note
High Risk
Changes the core EVM transaction accounting flow by moving collected fees to fixed addresses and persisting new state, which can impact chain economics and tx execution if misconfigured or buggy.
Overview
Implements a gas fee distribution mechanism for EVM transactions: on successful execution, gas fees are split 40% burned, 20% sent to a hardcoded core-team address, and 40% left in
FeeCollectorfor validator distribution, emitting agas_fee_distributionevent.Adds persistent tracking of cumulative totals (burned/core team/validator) under new EVM store key prefixes, initializes these counters via a new
v2.0.0upgrade handler, and exposes the stats via a new EVM gRPC/REST queryGET /evmos/evm/v1/gas_fee_statisticsand a newgasFeeStatistics()method on the distribution precompile/IDistributioninterface.Includes unit tests covering fee splitting behavior and statistics getters/setters.
Written by Cursor Bugbot for commit 56abc39. This will update automatically on new commits. Configure here.