Skip to content

Add function to reward with full priority fee and burnt transaction fee#566

Merged
tao-stones merged 2 commits intomasterfrom
simd0096-distribute-fee-details
Apr 4, 2024
Merged

Add function to reward with full priority fee and burnt transaction fee#566
tao-stones merged 2 commits intomasterfrom
simd0096-distribute-fee-details

Conversation

@tao-stones
Copy link
Copy Markdown

Problem

follow up of #178: reward full CollectorFeeDetails.priority_fee, and distribute CollectorFeeDetails.transaction_fee based on burn rate.

Summary of Changes

  • refactor sharable code into its own function, update tests
  • add new function distribute_transaction_fee_details(), and tests
    • new function is currently dead_code, will be enabled in next PR with feature gate.

Fixes #

@tao-stones tao-stones merged commit bc81153 into master Apr 4, 2024
@tao-stones tao-stones deleted the simd0096-distribute-fee-details branch April 4, 2024 19:06
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.

2 participants