Skip to content

feat(evm): add gas fee distribution mechanism#1

Open
metauserdao6 wants to merge 2 commits intodevelopfrom
feat/gas-distribution
Open

feat(evm): add gas fee distribution mechanism#1
metauserdao6 wants to merge 2 commits intodevelopfrom
feat/gas-distribution

Conversation

@metauserdao6
Copy link
Contributor

Implement gas fee distribution for EVM transactions:

  • 40% sent to burn address (mud1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq4sx9vz)
  • 40% to validators (kept in FeeCollector)
  • 20% to core team (mud1d58wfeq0re6awm7t3qynu6dz5cwk787phgl0f9)

Features:

  • Add gas fee distribution logic in state_transition.go
  • Add cumulative statistics for burned, validator and core team fees
  • Add gRPC query endpoint for gas fee statistics
  • Add precompiled contract method gasFeeStatistics() in IDistribution
  • Add unit tests for distribution and statistics

Implement gas fee distribution for EVM transactions:
- 40% sent to burn address (mud1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq4sx9vz)
- 40% to validators (kept in FeeCollector)
- 20% to core team (mud1d58wfeq0re6awm7t3qynu6dz5cwk787phgl0f9)

Features:
- Add gas fee distribution logic in state_transition.go
- Add cumulative statistics for burned, validator and core team fees
- Add gRPC query endpoint for gas fee statistics
- Add precompiled contract method gasFeeStatistics() in IDistribution
- Add unit tests for distribution and statistics
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant