File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
packages/types/src/metadata/PortableRegistry Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ Contributed:
88
99Changes:
1010
11+ - Extract metadata v14 ` BTreeSet ` types into correct type
1112- Adjust ` tx.paymentInfo ` signing process
1213- Add Kusama 9190 upgrade block
1314- Add Westend 9200 upgrade block
Original file line number Diff line number Diff line change @@ -557,6 +557,11 @@ export class PortableRegistry extends Struct implements ILookup {
557557 info : TypeDefInfo . BTreeMap ,
558558 sub : params . map ( ( { type } ) => this . #createSiDef( type . unwrap ( ) ) )
559559 } ) ;
560+ } else if ( path . length === 1 && pathFirst === 'BTreeSet' ) {
561+ return withTypeString ( this . registry , {
562+ info : TypeDefInfo . BTreeSet ,
563+ sub : this . #createSiDef( params [ 0 ] . type . unwrap ( ) )
564+ } ) ;
560565 } else if ( [ 'Range' , 'RangeInclusive' ] . includes ( pathFirst ) ) {
561566 return withTypeString ( this . registry , {
562567 info : pathFirst === 'Range'
You can’t perform that action at this time.
0 commit comments