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

fix: incorrect typecast to zero bytes #129

Merged
merged 3 commits into from
Jul 24, 2023
Merged

Conversation

auryn-macmillan
Copy link
Member

@auryn-macmillan auryn-macmillan commented Jul 17, 2023

fix: incorrect typecast to zero bytes

Implementation

This PR fixes a bug where empty bytes was incorrectly typecast as bytes("0x"), rather than bytes("")`

Additional Context

It's worth noting that the error is non impactful, other than a slight increase in the gas costs for exec... calls, since this data is presumably unused by the guards attached to modules.

cristovaoth
cristovaoth previously approved these changes Jul 18, 2023
cristovaoth
cristovaoth previously approved these changes Jul 19, 2023
@auryn-macmillan auryn-macmillan merged commit 7ce690e into master Jul 24, 2023
2 checks passed
@auryn-macmillan auryn-macmillan deleted the fix-zero-bytes branch July 24, 2023 03:12
@github-actions github-actions bot locked and limited conversation to collaborators Jul 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants