api.at(blockHash).{consts, errors, events, query} (#3710)

* api.at(blockHash).{consts, errors, events, query}

* Manual tests for apiAt

* Adjust helpers... not perfect, but best for now

* Expand decorated return

* Re-add compable injectMetadata

* CHANGELOG

* Bump jest global timeout
This commit is contained in:
Jaco
2021-07-02 09:30:25 +02:00
committed by GitHub
parent e4795182ca
commit 32f704459f
10 changed files with 217 additions and 33 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ export function createApiWithAugmentations (): ApiPromise {
const api = new ApiPromise({ provider: new WsProvider('ws://', false), registry });
api.injectMetadata(metadata, true);
api.injectMetadata(metadata, true, registry);
return api;
}