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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user