diff --git a/packages/types/src/interfaces/runtime/definitions.ts b/packages/types/src/interfaces/runtime/definitions.ts index 58d7ee29d1..882fccf5dc 100644 --- a/packages/types/src/interfaces/runtime/definitions.ts +++ b/packages/types/src/interfaces/runtime/definitions.ts @@ -79,7 +79,9 @@ export default { }, IndicesLookupSource: 'GenericLookupSource', Index: 'u32', - Justification: 'Bytes', + Justification: '(ConsensusEngineId, EncodedJustification)', + EncodedJustification: 'Bytes', + Justifications: 'Vec', KeyValue: '(StorageKey, StorageData)', KeyTypeId: 'u32', LockIdentifier: '[u8; 8]', @@ -121,9 +123,14 @@ export default { read: 'Weight', write: 'Weight' }, - SignedBlock: { + SignedBlock: 'SignedBlockWithJustifications', + SignedBlockWithJustification: { block: 'Block', - justification: 'Justification' + justification: 'Option' + }, + SignedBlockWithJustifications: { + block: 'Block', + justifications: 'Option' }, Slot: 'u64', StorageData: 'Bytes',