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

issue 6319: copy raw sliced value as tail in new value to be converted #7194

Merged
merged 2 commits into from
Feb 21, 2024

Conversation

grandizzy
Copy link
Collaborator

Motivation

additional fix for #6319
tested with #6319 (comment) not sure though how to add a unit test for it, please advise

Solution

  • the sliced storage value should be used as tail when returning the value of the storage slot.

Copy link
Member

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

this looks correct to me,

can we convert the command referenced in the issue into a casttest! ?

@grandizzy
Copy link
Collaborator Author

this looks correct to me,

can we convert the command referenced in the issue into a casttest! ?

yeah, was thinking to do this but command requires an etherscan key and I don't think is OK to use the provided one?

@mattsse
Copy link
Member

mattsse commented Feb 20, 2024

can use this one JQNGFHINKS1W7Y5FRXU4SPBYF43J3NYK46

@grandizzy
Copy link
Collaborator Author

can use this one JQNGFHINKS1W7Y5FRXU4SPBYF43J3NYK46

great, added with 649f5d9

@mattsse mattsse merged commit 9b73e06 into foundry-rs:master Feb 21, 2024
20 checks passed
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