Add a hash alias for engine CreatedBlock (#4950)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user