refactor contracts to use Time trait (#3717)

* refactor contracts to use Time trait

* bump version
This commit is contained in:
Xiliang Chen
2019-09-29 06:07:21 +13:00
committed by Sergei Pepyakin
parent 667ee95f5d
commit d4650c4739
5 changed files with 13 additions and 12 deletions
+2
View File
@@ -161,6 +161,7 @@ parameter_types! {
}
impl Trait for Test {
type Currency = Balances;
type Time = Timestamp;
type Call = Call;
type DetermineContractAddress = DummyContractAddressFor;
type Event = MetaEvent;
@@ -186,6 +187,7 @@ impl Trait for Test {
}
type Balances = balances::Module<Test>;
type Timestamp = timestamp::Module<Test>;
type Contract = Module<Test>;
type System = system::Module<Test>;