Skip to content

Conversation

@levin-p
Copy link

@levin-p levin-p commented Nov 17, 2025

Summary

  • Add WithRemovedLog config option to callTracerConfig
  • Add Removed field to callLog struct
  • Modify clearFailedLogs to mark logs as removed instead of deleting them when WithRemovedLog is true

Motivation

When analyzing failed transactions, reverted logs can provide valuable information for debugging and understanding transaction behavior.

Test plan

  • Test callTracer with WithRemovedLog: true on failed transactions
  • Verify logs are marked as removed rather than deleted
  • Ensure backward compatibility when WithRemovedLog: false (default)

@levin-p levin-p requested a review from s1na as a code owner November 17, 2025 05:16
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