Update to latest substrate master (#853)

* try to update

* latest updates

* final fixes

* Fix claim w/ vesting logic

* Make claim tests a bit better

Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
This commit is contained in:
Nikolay Volf
2020-02-19 20:24:57 +03:00
committed by GitHub
parent bbb2fbc556
commit f7303348ff
31 changed files with 837 additions and 647 deletions
+7 -8
View File
@@ -274,7 +274,7 @@ decl_module! {
Self::update_routing(
&heads,
);
Self::dispatch_upward_messages(
MAX_QUEUE_COUNT,
WATERMARK_QUEUE_SIZE,
@@ -889,6 +889,9 @@ mod tests {
type AvailableBlockRatio = AvailableBlockRatio;
type Version = ();
type ModuleToIndex = ();
type AccountData = balances::AccountData<u128>;
type OnNewAccount = ();
type OnReapAccount = ();
}
parameter_types! {
@@ -945,18 +948,14 @@ mod tests {
parameter_types! {
pub const ExistentialDeposit: Balance = 1;
pub const CreationFee: Balance = 0;
}
impl balances::Trait for Test {
type Balance = Balance;
type OnReapAccount = System;
type OnNewAccount = ();
type Event = ();
type Balance = u128;
type DustRemoval = ();
type Event = ();
type ExistentialDeposit = ExistentialDeposit;
type TransferPayment = ();
type CreationFee = CreationFee;
type AccountStore = System;
}
pallet_staking_reward_curve::build! {