Skip to content

Conversation

@fgimenez
Copy link
Member

Closes #1439

Implements immediate fee swaps during transaction execution, replacing the batched end-of-block approach.

  • collectFeePreTx now executes swaps immediately via executeFeeSwap and accumulates fees directly
  • Removes collectFeePostTx call (no refunds - users pay max fee upfront)
  • Skips fee manager executeBlock system transaction
  • Adds distributeFees(validator) for validators to claim accumulated fees on-demand
  • Pre-hardfork behavior is preserved for backward compatibility

@vercel
Copy link

vercel bot commented Dec 11, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
tempo-docs Ready Ready Preview, Comment Dec 15, 2025 10:35pm

@github-actions github-actions bot added A-evm Related to the EVM A-precompile Related to precompiles C-enhancement New feature or request F-allegro-moderato labels Dec 11, 2025
@fgimenez fgimenez force-pushed the fgimenez/remove-feeamm-system-tx branch from 6dc9846 to 3021702 Compare December 11, 2025 14:15
@fgimenez fgimenez requested a review from danrobinson December 11, 2025 14:19
@fgimenez fgimenez force-pushed the fgimenez/remove-feeamm-system-tx branch from 0e8f7b6 to 48d7cf3 Compare December 12, 2025 17:42
@0xKitsune
Copy link
Collaborator

Closing with preference for #1537, most of the changes are carried over with small fixes/changes.

@0xKitsune 0xKitsune closed this Dec 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-evm Related to the EVM A-precompile Related to precompiles C-enhancement New feature or request F-allegro-moderato

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Swap immediately and remove system transaction

3 participants