Skip to content

feat(cast): add flag to disable alias #10924

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jul 7, 2025

Conversation

varun-doshi
Copy link
Contributor

Motivation

Fixes #10848

Solution

  • Add optional cli flag to CallArgs that is bound to trace
  • modify CallTraceDecoderBuilder and CallTraceDecoder to handle the flag
  • Add test

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

Copy link
Member

@zerosnacks zerosnacks left a comment

Choose a reason for hiding this comment

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

Thanks for the PR, some suggestions

@varun-doshi varun-doshi requested a review from zerosnacks July 4, 2025 09:41
@varun-doshi varun-doshi requested a review from DaniPopes July 4, 2025 14:55
Copy link
Contributor

@0xrusowsky 0xrusowsky left a comment

Choose a reason for hiding this comment

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

small nit, the rest lgtm

Copy link
Contributor

@0xrusowsky 0xrusowsky left a comment

Choose a reason for hiding this comment

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

small nit, the rest lgtm

@0xrusowsky
Copy link
Contributor

@varun-doshi you also need to run cargo fmt

@varun-doshi varun-doshi requested a review from 0xrusowsky July 7, 2025 10:39
@grandizzy grandizzy changed the title feat: add flag to disable alias feat(cast): add flag to disable alias Jul 7, 2025
Copy link
Collaborator

@grandizzy grandizzy left a comment

Choose a reason for hiding this comment

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

thank you, lgtm!

@grandizzy grandizzy enabled auto-merge (squash) July 7, 2025 11:03
@grandizzy grandizzy merged commit e01b956 into foundry-rs:master Jul 7, 2025
22 checks passed
@github-project-automation github-project-automation bot moved this to Done in Foundry Jul 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Add a flag to disable contract alias on transaction traces
5 participants