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

Remove usage of ink_prelude::String #101

Closed
xgreenx opened this issue Apr 14, 2022 · 1 comment
Closed

Remove usage of ink_prelude::String #101

xgreenx opened this issue Apr 14, 2022 · 1 comment
Assignees

Comments

@xgreenx
Copy link
Contributor

xgreenx commented Apr 14, 2022

ink_prelude::String has a more complex code than Vec<u8>, but has the same encoding and decoding. For cross-contract communication is simpler to use a vector and if someone wants to use strings, he can wrap the vector into a string.

@o-tsaruk o-tsaruk self-assigned this Jul 5, 2022
@xgreenx
Copy link
Contributor Author

xgreenx commented Sep 7, 2022

Done in #168

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

No branches or pull requests

2 participants