Allow aliasses for para (#3894)

* Allow aliasses for para

* Adjust indexes
This commit is contained in:
Jaco
2021-08-23 22:08:53 +02:00
committed by GitHub
parent 363c502ae8
commit a8775fd69d
2 changed files with 11 additions and 2 deletions
+9
View File
@@ -48,6 +48,15 @@ const typesModules: Record<string, OverrideModuleType> = {
inclusion: {
ValidatorIndex: 'ParaValidatorIndex'
},
paraInclusion: {
ValidatorIndex: 'ParaValidatorIndex'
},
paraScheduler: {
ValidatorIndex: 'ParaValidatorIndex'
},
paraShared: {
ValidatorIndex: 'ParaValidatorIndex'
},
parachains: {
Id: 'ParaId'
},
@@ -13544,7 +13544,7 @@
"type": {
"map": {
"hasher": "Twox64Concat",
"key": "ValidatorIndex",
"key": "ParaValidatorIndex",
"value": "AvailabilityBitfieldRecord",
"linked": false
}
@@ -13846,7 +13846,7 @@
"name": "ValidatorGroups",
"modifier": "Default",
"type": {
"plain": "Vec<Vec<ValidatorIndex>>"
"plain": "Vec<Vec<ParaValidatorIndex>>"
},
"fallback": "0x00",
"docs": [