Skip to content

fix: fuzz test, increase fuzz runs #6

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 3 commits into from
Feb 24, 2025
Merged

fix: fuzz test, increase fuzz runs #6

merged 3 commits into from
Feb 24, 2025

Conversation

snreynolds
Copy link
Member

No description provided.

@snreynolds snreynolds requested a review from zhongeric February 24, 2025 21:23
@@ -7,15 +7,12 @@ library ModeDecoder {
// Mode layout adhering to ERC-7579
// 1 byte | 1 byte | 4 bytes | 4 bytes | 22 bytes
// CALL_TYPE | EXEC_TYPE | UNUSED | MODE_SELECTOR | MODE_PAYLOAD

Copy link
Collaborator

Choose a reason for hiding this comment

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

why remove the mask?

Copy link
Member Author

Choose a reason for hiding this comment

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

I think that we want the function to revert if the EXACT mode is not specified. So the only mode we support rn is batched calls. In the old code if the call type is batched calls but the unused bytes are dirtied it would just set it to be a batched call but I think thats actually incorrect behaviour. it should have to be the exact mode

@snreynolds snreynolds merged commit 13e1cc2 into main Feb 24, 2025
2 checks passed
zhongeric added a commit that referenced this pull request Apr 21, 2025
* fix comment

* rewrite
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