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

near_sdk::env::log has wrong signature #362

Closed
matklad opened this issue Apr 13, 2021 · 0 comments · Fixed by #366
Closed

near_sdk::env::log has wrong signature #362

matklad opened this issue Apr 13, 2021 · 0 comments · Fixed by #366

Comments

@matklad
Copy link
Contributor

matklad commented Apr 13, 2021

image

If that's utf-8, it should be &str rather than u8. Looking at our API, we indeed requier utf8 here:

https://github.com/matklad/nearcore/blob/3733a54d5cf255e0993f386de25930a1bf867efc/runtime/near-vm-logic/src/logic.rs#L1932-L1947

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants