Bump metadata (#3996)

* Bump metadata

* Ensure WrapperOquaque is applied

* Use field for mapping

* Handle WrapperOpaque

* Adjust
This commit is contained in:
Jaco
2021-09-27 13:02:18 +02:00
committed by GitHub
parent eb96371e59
commit 04058fe95e
23 changed files with 16184 additions and 5017 deletions
+4
View File
@@ -41,6 +41,10 @@ function entrySignature (lookup: PortableRegistry, allDefs: Record<string, Modul
const keyTypes = similarTypes.map((t) => t.join(' | '));
const defValue = lookup.getTypeDef(value);
if (value.toNumber() === 416) {
console.log(JSON.stringify(defValue));
}
setImports(allDefs, imports, [
...similarTypes.reduce<string[]>((all, t) => all.concat(t), []),
storageEntry.modifier.isOptional