Skip to content

Commit 9c86b9b

Browse files
authored
fix: Polymesh chain spec names + add controllers (#1655)
* fix: update polymesh mapping to use correct chain spec names * feat: add additional supported controllers to Polymesh controllers
1 parent fa64739 commit 9c86b9b

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

src/chains-config/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ import { westendControllers } from './westendControllers';
5353
export const specToControllerMap: { [x: string]: ControllerConfig } = {
5454
westend: westendControllers,
5555
polkadot: polkadotControllers,
56-
polymesh: polymeshControllers,
56+
polymesh_mainnet: polymeshControllers,
57+
polymesh_testnet: polymeshControllers,
5758
kusama: kusamaControllers,
5859
kulupu: kulupuControllers,
5960
kilt: kiltControllers,

src/chains-config/polymeshControllers.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,25 @@ import { initLRUCache, QueryFeeDetailsCache } from './cache';
2222
*/
2323
export const polymeshControllers: ControllerConfig = {
2424
controllers: [
25-
'AccountsStakingPayouts',
25+
'AccountsBalanceInfo',
26+
'AccountsCompare',
27+
'AccountsConvert',
2628
'AccountsStakingInfo',
29+
'AccountsStakingPayouts',
2730
'AccountsValidate',
2831
'Blocks',
2932
'BlocksExtrinsics',
3033
'BlocksRawExtrinsics',
34+
'BlocksTrace',
3135
'NodeNetwork',
3236
'NodeTransactionPool',
3337
'NodeVersion',
38+
'PalletsConsts',
39+
'PalletsDispatchables',
40+
'PalletsErrors',
41+
'PalletsEvents',
3442
'PalletsStakingProgress',
43+
'PalletsStakingValidators',
3544
'PalletsStorage',
3645
'RuntimeCode',
3746
'RuntimeMetadata',

0 commit comments

Comments
 (0)