Upgrade Kusama types to 1.5.0 (#6139)

This commit is contained in:
Valentin Fernandez
2025-05-09 12:39:57 -03:00
committed by GitHub
parent decffcbf17
commit 01c3615cc0
14 changed files with 10914 additions and 8293 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ function tsEnum (registry: Registry, definitions: Record<string, ModuleTypes>, {
// type as the parent we can take the lookupName from the sub.
// This is specific to `StagingXcmV4Junction`.
// see: https://github.com/polkadot-js/api/pull/5812
if (sub && !Array.isArray(sub) && type.includes(`${sub.type};`) && sub.lookupName === 'StagingXcmV4Junction') {
if (sub && !Array.isArray(sub) && type.includes(`${sub.type};`) && (sub.lookupName === 'StagingXcmV4Junction' || sub.lookupName === 'StagingXcmV5Junction')) {
extractedLookupName = sub.lookupName;
}