Refactor: extract functions and types for creating extrinsics (#138)

* Extract extrinsic

* Extract extrinsic types to own module

* Fix compiler errors

* Fix warnings

* Fmt

* Pin wabt-sys to 0.7.1, it fails (on my machine) with 0.7.2

* Fix up tests

* Fmt

* Reexport RuntimeVersion
This commit is contained in:
Andrew Jones
2020-07-20 09:17:19 +01:00
committed by GitHub
parent 015a819759
commit cd6b8f43f1
8 changed files with 130 additions and 132 deletions
+1 -1
View File
@@ -115,7 +115,7 @@ mod tests {
RuntimeError,
},
events::EventsDecoder,
signer::{
extrinsic::{
PairSigner,
Signer,
},
+1 -1
View File
@@ -44,8 +44,8 @@ mod tests {
use super::*;
use crate::{
error::Error,
extrinsic::PairSigner,
frame::balances::TransferCall,
signer::PairSigner,
tests::{
test_client,
TestRuntime,