Expose whenReady and extrinsics/storage (#199)

* Expose whenReady and extrinsics/storage

* Load genesisHash, expose

* Fix import

* whenReady -> Observable<boolean>

* Check isConnected before making call

* Fix import order
This commit is contained in:
Jaco Greeff
2018-10-04 11:16:45 +02:00
committed by GitHub
parent 507377e2e2
commit 02aba14e7e
16 changed files with 68 additions and 24 deletions
+1 -1
View File
@@ -10,8 +10,8 @@ import { ProviderInterface$Emitted } from '../types';
import { MockState, MockState$Db, MockState$Subscriptions } from './types';
import BN from 'bn.js';
import storage from '@polkadot/storage/static';
import Header from '@polkadot/types/Header';
import storage from '@polkadot/storage/testing';
import bnToU8a from '@polkadot/util/bn/toU8a';
import u8aToHex from '@polkadot/util/u8a/toHex';
import randomAsU8a from '@polkadot/util-crypto/random/asU8a';