Fix generation of well-known keys (#3452)

* Fix generation of well-known keys

* CHANGELOG

* Linting, unfiy decorate params

* Adjust
This commit is contained in:
Jaco
2021-04-27 14:05:59 +02:00
committed by GitHub
parent debecde50f
commit 30c98ef857
14 changed files with 53 additions and 28 deletions
+1 -1
View File
@@ -195,7 +195,7 @@ function addConstants (metadata: MetadataLatest): string {
/** @internal */
function addStorage (metadata: MetadataLatest): string {
const { substrate } = getSubstrateStorage(metadata.registry, 12);
const { substrate } = getSubstrateStorage(metadata.registry);
const moduleSections = metadata.modules
.sort(sortByName)
.filter((moduleMetadata) => !moduleMetadata.storage.isNone)