Skip to content

Commit 01e8446

Browse files
jacogrwoss
authored andcommitted
Update parachain types (polkadot-js#3041)
1 parent e27fb42 commit 01e8446

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

packages/types/src/interfaces/parachains/definitions.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,14 @@ export default {
244244
ParachainDispatchOrigin: {
245245
_enum: ['Signed', 'Parachain', 'Root']
246246
},
247+
ParachainProposal: {
248+
proposer: 'AccountId',
249+
validationCode: 'ValidationCode',
250+
genesisHead: 'HeadData',
251+
validators: 'Vec<ValidatorId>',
252+
name: 'Bytes',
253+
balance: 'Balance'
254+
},
247255
ParaGenesisArgs: {
248256
genesisHead: 'Bytes',
249257
validationCode: 'Bytes',
@@ -276,6 +284,10 @@ export default {
276284
dmqMqcHead: 'Hash',
277285
maxPovSize: 'u32'
278286
},
287+
RegisteredParachainInfo: {
288+
validators: 'Vec<ValidatorId>',
289+
proposer: 'AccountId'
290+
},
279291
RelayChainBlockNumber: 'BlockNumber',
280292
QueuedParathread: {
281293
claim: 'ParathreadEntry',

packages/types/src/interfaces/runtime/definitions.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export default {
8686
LookupTarget: 'AccountId',
8787
ModuleId: 'LockIdentifier',
8888
MultiAddress: 'GenericMultiAddress',
89-
Moment: 'u64',
89+
Moment: 'UInt<64, Moment>',
9090
OpaqueCall: 'Bytes',
9191
Origin: 'DoNotConstruct<Origin>',
9292
OriginCaller: {
@@ -120,6 +120,7 @@ export default {
120120
StorageData: 'Bytes',
121121
TransactionPriority: 'u64',
122122
ValidatorId: 'AccountId',
123+
ValidatorIdOf: 'ValidatorId',
123124
Weight: 'u64',
124125
WeightMultiplier: 'Fixed64',
125126

0 commit comments

Comments
 (0)