Bump metadata (#5586)

* Bump metadata

* TransactionPaymentApi/4
This commit is contained in:
Jaco
2023-04-09 11:46:12 +03:00
committed by GitHub
parent 3d5b69d6e6
commit 71273dbce3
38 changed files with 10161 additions and 6461 deletions
@@ -140,14 +140,13 @@ const encoders: Record<TypeDefInfo, (registry: Registry, typeDef: TypeDef) => st
throw new Error('Unable to encode Struct type');
}
return encodeSubTypes(registry, sub, false,
alias
? {
_alias: [...alias.entries()].reduce<Record<string, string>>((all, [k, v]) =>
objectSpread(all, { [k]: v }), {}
)
}
: {}
return encodeSubTypes(registry, sub, false, alias
? {
_alias: [...alias.entries()].reduce<Record<string, string>>((all, [k, v]) =>
objectSpread(all, { [k]: v }), {}
)
}
: {}
);
},