Add a hash alias for engine CreatedBlock (#4950)

This commit is contained in:
Jaco
2022-06-18 12:03:27 +03:00
committed by GitHub
parent 34a1e0cbe2
commit 98b3b10bd9
2 changed files with 5 additions and 2 deletions
@@ -45,7 +45,10 @@ export default {
},
types: {
CreatedBlock: {
hash: 'BlockHash',
_alias: {
blockHash: 'hash'
},
blockHash: 'BlockHash',
aux: 'ImportedAux'
},
ImportedAux: {
@@ -6,7 +6,7 @@ import type { BlockHash } from '@polkadot/types/interfaces/chain';
/** @name CreatedBlock */
export interface CreatedBlock extends Struct {
readonly hash: BlockHash;
readonly blockHash: BlockHash;
readonly aux: ImportedAux;
}