Skip to content

Commit

Permalink
Merge pull request #554 from w3f/storage-ignore-child-keys
Browse files Browse the repository at this point in the history
Add note to storage API section about :child_storage:default:
  • Loading branch information
lamafab authored Oct 17, 2022
2 parents d7b3da0 + b440827 commit 16cf626
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ab_host-api/storage.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@

Interface for accessing the storage from within the runtime.

IMPORTANT: As of now, the storage API should silently ignore any keys that start
with the `:child_storage:default:` prefix. This applies to reading and writing.
If the function expects a return value, then _None_ (<<defn-option-type>>)
should be returned. See
https://github.com/paritytech/substrate/issues/12461[substrate issue #12461].

[#defn-state-version]
.<<defn-state-version, State Version>>
====
Expand Down

0 comments on commit 16cf626

Please sign in to comment.