Return sorted names for api.registry.lookup.names (#4726)
This commit is contained in:
@@ -10,6 +10,7 @@ Contributed:
|
||||
Changes:
|
||||
|
||||
- Add basic `derive.bagsList` support
|
||||
- Return sorted names for `api.registry.lookup.names`
|
||||
- Optimize JSONRPC requests/response handling
|
||||
- Add latest Polkadot 9180 upgrade block
|
||||
|
||||
|
||||
@@ -373,7 +373,7 @@ export class PortableRegistry extends Struct implements ILookup {
|
||||
}
|
||||
|
||||
public get names (): string[] {
|
||||
return Object.values(this.#names);
|
||||
return Object.values(this.#names).sort();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user