Use compact* from util for encoding (#409)

* Use compact* from util for encoding

* Remove @polkadot/extrinsics from types imports

* Cleanup manual length concat

* Add missing @polkadot/types dependencies
This commit is contained in:
Jaco Greeff
2018-11-21 17:21:44 +01:00
committed by GitHub
parent 44ad29021b
commit d0ff8937a4
26 changed files with 103 additions and 163 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import { Extrinsics } from '@polkadot/extrinsics/types';
import { Extrinsics } from '@polkadot/types/Method';
import { RpcMethod } from '@polkadot/jsonrpc/types';
import { RpcRxInterface, RpcRxInterface$Method, RpcRxInterface$Section } from '@polkadot/rpc-rx/types';
import { Storage } from '@polkadot/storage/types';