DispatchError.error as [u8; 4] (#4570)

* DispatchError.error as [u8; 4]

* Adjust Error.is

* Adjust

* Adjust

* U8a applies to error only

* CHANGELOG
This commit is contained in:
Jaco
2022-03-30 17:57:41 +03:00
committed by GitHub
parent 29d5460cdd
commit 84abaff414
9 changed files with 44 additions and 14 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ export interface Registry {
createdAtHash?: IU8a;
findMetaCall (callIndex: Uint8Array): CallFunction;
findMetaError (errorIndex: Uint8Array | { error: BN, index: BN }): RegistryError;
findMetaError (errorIndex: Uint8Array | { error: BN, index: BN } | { error: BN | Uint8Array, index: BN }): RegistryError;
findMetaEvent (eventIndex: Uint8Array): CodecClass<any>;
isLookupType (value: string): boolean;