Upgrade Kusama types to 1.5.0 (#6139)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user