Decouple contract from balances (#2081)

* decouple contract from balance

* update impls and builds

* set fees in contract module

* builds
This commit is contained in:
thiolliere
2019-03-28 13:46:30 +01:00
committed by Gav Wood
parent ff4523cbec
commit 29001cb469
13 changed files with 91 additions and 67 deletions
+2 -1
View File
@@ -59,7 +59,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
impl_name: create_runtime_str!("substrate-node"),
authoring_version: 10,
spec_version: 46,
impl_version: 46,
impl_version: 47,
apis: RUNTIME_API_VERSIONS,
};
@@ -167,6 +167,7 @@ impl treasury::Trait for Runtime {
}
impl contract::Trait for Runtime {
type Currency = balances::Module<Runtime>;
type Call = Call;
type Event = Event;
type Gas = u64;