New substrate signing API, srml -> paint rename (#33)

* Update jsonrpc to align with substrate

* Update to new substrate signing

* Default to MultiSignature

* Add missing event type sizes

* Rename TakeFees check to ChargeTransactionPayment

* Fix extrinsic Signature

* Ignore AuthorityList type size

* Rename srml to paint (#32)
This commit is contained in:
Andrew Jones
2019-11-15 15:04:06 +00:00
committed by GitHub
parent 32ce13c599
commit b39ff1771a
10 changed files with 136 additions and 94 deletions
+3 -3
View File
@@ -21,7 +21,7 @@ use crate::{
RuntimeEvent,
},
metadata::Metadata,
srml::{
paint::{
balances::Balances,
system::System,
},
@@ -161,9 +161,9 @@ use txpool::watcher::Status;
use crate::{
events::RawEvent,
srml::system::SystemEvent,
paint::system::SystemEvent,
};
use srml_system::Phase;
use paint_system::Phase;
type MapClosure<T> = Box<dyn Fn(T) -> T + Send>;
pub type MapStream<T> = stream::Map<TypedSubscriptionStream<T>, MapClosure<T>>;