Add runtime decoration defaults (#4993)

* Add runtime decoration defaults

* Default exports

* Additional

* hash + version
This commit is contained in:
Jaco
2022-06-30 10:23:00 +03:00
committed by GitHub
parent 354c4b8fd4
commit abdbd37215
36 changed files with 352 additions and 41 deletions
+2 -1
View File
@@ -3,6 +3,7 @@
import type { Observable } from 'rxjs';
import type { AnyFunction, Codec, DefinitionCall } from '@polkadot/types/types';
import type { HexString } from '@polkadot/util/types';
import type { ApiTypes, ReturnCodec } from './base';
// eslint-disable-next-line @typescript-eslint/no-unused-vars,@typescript-eslint/no-empty-interface
@@ -32,6 +33,6 @@ export interface DefinitionCallNamed extends DefinitionCall {
method: string;
name: string;
section: string;
sectionHash: Uint8Array;
sectionHash: HexString;
version: number;
}