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

Update namespaces / constructors to accept &str #170

Closed
maurolacy opened this issue Dec 11, 2020 · 0 comments · Fixed by #173
Closed

Update namespaces / constructors to accept &str #170

maurolacy opened this issue Dec 11, 2020 · 0 comments · Fixed by #173
Assignees

Comments

@maurolacy
Copy link
Contributor

Update all the namespaces in all the constructors in storage-plus to accept &str.

We can still store &[u8] internally (maybe change that later), but at least the constructor is simpler.
As &str.as_bytes() is a const fn, we can do this in a const constructor.

@maurolacy maurolacy self-assigned this Dec 11, 2020
@ethanfrey ethanfrey moved this from To do to In progress in Contract development Dec 11, 2020
Contract development automation moved this from In progress to Done Dec 11, 2020
ethanfrey added a commit that referenced this issue Dec 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

1 participant