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

Document writing/clear_prefix behavior w.r.t. child tries #575

Open
tomaka opened this issue Nov 2, 2022 · 0 comments · May be fixed by #580
Open

Document writing/clear_prefix behavior w.r.t. child tries #575

tomaka opened this issue Nov 2, 2022 · 0 comments · May be fixed by #580
Assignees

Comments

@tomaka
Copy link
Collaborator

tomaka commented Nov 2, 2022

It should be documented that:

  • Any call to ext_storage_set_version_1 with a key that starts with :child_storage: is silently ignored.
  • Any call to ext_storage_clear_prefix (I guess both versions?) with a key that "clashes" with :child_storage: is silently ignored.

"Clashes" means that for example clear_prefix(":"), clear_prefix(":child_sto"), or clear_prefix(":child_storage:foobar") are all silently ignored, but clear_prefix(":foo") is not ignored.

References:

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 a pull request may close this issue.

2 participants