Small fixes in operation (#200)
* Small fixes in operation * Move length encoding to Extrinsic
This commit is contained in:
@@ -52,7 +52,7 @@ export default class ApiBase {
|
||||
try {
|
||||
const meta = await this._api.state.getMetadata().toPromise();
|
||||
|
||||
this._genesisHash = await this._api.state.getBlockHash(0).toPromise();
|
||||
this._genesisHash = await this._api.chain.getBlockHash(0).toPromise();
|
||||
ApiBase.extrinsics = extrinsicsFromMeta(meta);
|
||||
ApiBase.storage = storageFromMeta(meta);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user