Skip to content
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

chore(cast): add 4byte-calldata alias #9927

Merged
merged 4 commits into from
Feb 20, 2025

Conversation

zerosnacks
Copy link
Member

@zerosnacks zerosnacks commented Feb 20, 2025

Motivation

Related: #9926 (comment)

Solution

Change 4byte-decode to 4byte-calldata (4c, 4bc) in non breaking way in line with 4byte-event. 4byte-decode and its shorthands (4d, 4bd) are hidden aliases

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

Manually tested + updated test to cover hidden alias
Related book PR: foundry-rs/book#1456

@zerosnacks zerosnacks marked this pull request as ready for review February 20, 2025 17:22
@zerosnacks zerosnacks self-assigned this Feb 20, 2025
@zerosnacks zerosnacks added C-cast Command: cast T-chore Type: chore labels Feb 20, 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.

👍

@zerosnacks zerosnacks merged commit c609884 into master Feb 20, 2025
22 checks passed
@zerosnacks zerosnacks deleted the zerosnacks/chore-add-4byte-calldata-alias branch February 20, 2025 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-cast Command: cast T-chore Type: chore
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

2 participants