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: method parameter to string from bytes for promise and receipts #521

Merged
merged 3 commits into from
Aug 11, 2021

Conversation

austinabell
Copy link
Contributor

Switches remaining method name parameters to be a string instead of bytes. This does not affect any contracts except for the public API, to disallow non-utf8 bytes with this correct signature.

Should have noticed with #515, but I missed it. This should come in soon to avoid asymmetry of functions

Copy link
Contributor

@matklad matklad left a comment

Choose a reason for hiding this comment

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

Confirmed that utf8 is required by the wasm spec

@austinabell austinabell merged commit a2565e1 into master Aug 11, 2021
@austinabell austinabell deleted the austin/fix/method_str branch August 11, 2021 17:33
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.

3 participants