Skip to content

Conversation

vedhavyas
Copy link
Contributor

For EIP-1559 evm transactions, users can set priority fee apart from the base_fee. Per EVM spec, priority is fee is given to block author and base_fee is burned as expected.

For AutoEvm, we do not have a block author on EVM and as a result, the fee is deposited to Zero EVM account instead of burning the fees.

This PR handles the case when there is a Priority fee, we instead just burn it along with base_fee and give the fees to operators on consensus chain.

Code contributor checklist:

Copy link

🛡️ Immunefi PR Reviews

We noticed that your project isn't set up for automatic code reviews. If you'd like this PR reviewed by the Immunefi team, you can request it manually using the link below:

🔗 Send this PR in for review

Once submitted, we'll take care of assigning a reviewer and follow up here.

@vedhavyas vedhavyas enabled auto-merge August 27, 2025 05:59
@vedhavyas vedhavyas added audit-P1 High audit priority execution Subspace execution and removed audit-P1 High audit priority labels Aug 27, 2025
@vedhavyas vedhavyas self-assigned this Aug 27, 2025
Copy link
Member

@jfrank-summit jfrank-summit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vedhavyas vedhavyas added this pull request to the merge queue Aug 27, 2025
Merged via the queue into main with commit 0a86503 Aug 27, 2025
15 checks passed
@vedhavyas vedhavyas deleted the fix_test branch August 27, 2025 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
execution Subspace execution
Projects
Status: Backlog
Development

Successfully merging this pull request may close these issues.

2 participants