mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-24 14:45:42 +00:00
refactor contracts to use Time trait (#3717)
* refactor contracts to use Time trait * bump version
This commit is contained in:
committed by
Sergei Pepyakin
parent
667ee95f5d
commit
d4650c4739
@@ -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>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user