Skip to content

feat: include fee transfer logs for reverting transactions#729

Merged
klkvr merged 4 commits intomainfrom
klkvr/revert-fee-logs
Nov 5, 2025
Merged

feat: include fee transfer logs for reverting transactions#729
klkvr merged 4 commits intomainfrom
klkvr/revert-fee-logs

Conversation

@klkvr
Copy link
Copy Markdown
Member

@klkvr klkvr commented Nov 5, 2025

This PR ensures that logs for fee token transfer are always included into the transaction receipt, even if transaction reverted.

This work arounds the fact that revm ExecutionResult does not contain logs for Revert/Halt variants. We should remove this once it's supported

This also contains a fix for a bug when no Transfer log is emitted for cases when there's no fee token refund happening

@klkvr klkvr merged commit d6dd543 into main Nov 5, 2025
16 checks passed
@klkvr klkvr deleted the klkvr/revert-fee-logs branch November 5, 2025 23:10
unbalancedparentheses pushed a commit to unbalancedparentheses/tempo that referenced this pull request Feb 23, 2026
)

This PR ensures that logs for fee token transfer are always included
into the transaction receipt, even if transaction reverted.

This work arounds the fact that revm `ExecutionResult` does not contain
`logs` for `Revert`/`Halt` variants. We should remove this once it's
supported

This also contains a fix for a bug when no `Transfer` log is emitted for
cases when there's no fee token refund happening
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