Some minor cleanups (#1966)

* Some minor cleanups

* Small additions

* Cleanup ExtrinsicEra decoding

* Minor adjustments

* Remove support for metadata v0 parsing

* Adjust refCountDelay

* refCountDelay comments

* Adjust Metadata tests

* Metadata default creation

* Funky lines

* Cleanup as AccountIdAndIndex

* Some derive returns

* Try and cleanup info extraction
This commit is contained in:
Jaco Greeff
2020-02-27 15:01:20 +01:00
committed by GitHub
parent efd6c5331d
commit 4e756704ea
28 changed files with 194 additions and 247 deletions
@@ -14,7 +14,7 @@ describe('decodeResponse', (): void => {
it('expects a non-empty input object', (): void => {
expect(
(): any => coder.decodeResponse((undefined as any) as JsonRpcResponse)
(): any => coder.decodeResponse(undefined as unknown as JsonRpcResponse)
).toThrow(/Empty response/);
});