From 9449fc009a97c0a3b19dd689a1b7df605bdface3 Mon Sep 17 00:00:00 2001 From: lamafab <42901763+lamafab@users.noreply.github.com> Date: Mon, 10 Oct 2022 15:34:30 +0000 Subject: [PATCH 1/3] add note about :child_storage:default: --- ab_host-api/storage.adoc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ab_host-api/storage.adoc b/ab_host-api/storage.adoc index fa403bb63..a40bb0518 100644 --- a/ab_host-api/storage.adoc +++ b/ab_host-api/storage.adoc @@ -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_ (<>) +should be returend. See +https://github.com/paritytech/substrate/issues/12461[issue #12461]. + [#defn-state-version] .<> ==== From 4935fe92470deb9617a78358b894c8e2848d21b3 Mon Sep 17 00:00:00 2001 From: lamafab <42901763+lamafab@users.noreply.github.com> Date: Mon, 10 Oct 2022 15:37:49 +0000 Subject: [PATCH 2/3] rename hyperlink --- ab_host-api/storage.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ab_host-api/storage.adoc b/ab_host-api/storage.adoc index a40bb0518..a03c3c805 100644 --- a/ab_host-api/storage.adoc +++ b/ab_host-api/storage.adoc @@ -7,7 +7,7 @@ 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_ (<>) should be returend. See -https://github.com/paritytech/substrate/issues/12461[issue #12461]. +https://github.com/paritytech/substrate/issues/12461[substrate issue #12461]. [#defn-state-version] .<> From b440827515e40df231befd22b405cb52cb87e98a Mon Sep 17 00:00:00 2001 From: lamafab <42901763+lamafab@users.noreply.github.com> Date: Mon, 10 Oct 2022 15:40:08 +0000 Subject: [PATCH 3/3] fix typo --- ab_host-api/storage.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ab_host-api/storage.adoc b/ab_host-api/storage.adoc index a03c3c805..2f2ccf09c 100644 --- a/ab_host-api/storage.adoc +++ b/ab_host-api/storage.adoc @@ -6,7 +6,7 @@ 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_ (<>) -should be returend. See +should be returned. See https://github.com/paritytech/substrate/issues/12461[substrate issue #12461]. [#defn-state-version]