StateBackend::storage calls return None
when the StorageKey
is empty.
If OnEmpty
was set, one can decode and parse the RuntimeMetadata
to access the default value and fall back to it.
- Is there any alternative method to get a storage default value from the client?
- In other words, are
OnEmpty
values persisted exclusively on theRuntimeMetadata
?