mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-26 05:35:03 +00:00
* Add SignedMaxRefunds
* Update Cargo.lock
* update lockfile for {"substrate"}
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
Co-authored-by: parity-processbot <>
This commit is contained in:
authored and
1 parent
e460465515
commit
efe74e4336
4 files changed
+172
-166
No files matched your search
Generated
+166
-166
File diff suppressed because it is too large.
Load diff
@@ -403,6 +403,7 @@ parameter_types! {
|
||||
|
||||
// signed config
|
||||
pub const SignedMaxSubmissions: u32 = 16;
|
||||
pub const SignedMaxRefunds: u32 = 16 / 4;
|
||||
pub const SignedDepositBase: Balance = deposit(2, 0);
|
||||
pub const SignedDepositByte: Balance = deposit(0, 10) / 1024;
|
||||
// Each good submission will get 1/10 KSM as reward
|
||||
@@ -443,6 +444,7 @@ impl pallet_election_provider_multi_phase::Config for Runtime {
|
||||
type EstimateCallFee = TransactionPayment;
|
||||
type UnsignedPhase = UnsignedPhase;
|
||||
type SignedMaxSubmissions = SignedMaxSubmissions;
|
||||
type SignedMaxRefunds = SignedMaxRefunds;
|
||||
type SignedRewardBase = SignedRewardBase;
|
||||
type SignedDepositBase = SignedDepositBase;
|
||||
type SignedDepositByte = SignedDepositByte;
|
||||
|
||||
@@ -442,6 +442,7 @@ parameter_types! {
|
||||
|
||||
// signed config
|
||||
pub const SignedMaxSubmissions: u32 = 16;
|
||||
pub const SignedMaxRefunds: u32 = 16 / 4;
|
||||
// 40 DOTs fixed deposit..
|
||||
pub const SignedDepositBase: Balance = deposit(2, 0);
|
||||
// 0.01 DOT per KB of solution data.
|
||||
@@ -485,6 +486,7 @@ impl pallet_election_provider_multi_phase::Config for Runtime {
|
||||
type SignedPhase = SignedPhase;
|
||||
type UnsignedPhase = UnsignedPhase;
|
||||
type SignedMaxSubmissions = SignedMaxSubmissions;
|
||||
type SignedMaxRefunds = SignedMaxRefunds;
|
||||
type SignedRewardBase = SignedRewardBase;
|
||||
type SignedDepositBase = SignedDepositBase;
|
||||
type SignedDepositByte = SignedDepositByte;
|
||||
|
||||
@@ -346,6 +346,7 @@ parameter_types! {
|
||||
|
||||
// signed config
|
||||
pub const SignedMaxSubmissions: u32 = 128;
|
||||
pub const SignedMaxRefunds: u32 = 128 / 4;
|
||||
pub const SignedDepositBase: Balance = deposit(2, 0);
|
||||
pub const SignedDepositByte: Balance = deposit(0, 10) / 1024;
|
||||
// Each good submission will get 1 WND as reward
|
||||
@@ -387,6 +388,7 @@ impl pallet_election_provider_multi_phase::Config for Runtime {
|
||||
type SignedPhase = SignedPhase;
|
||||
type UnsignedPhase = UnsignedPhase;
|
||||
type SignedMaxSubmissions = SignedMaxSubmissions;
|
||||
type SignedMaxRefunds = SignedMaxRefunds;
|
||||
type SignedRewardBase = SignedRewardBase;
|
||||
type SignedDepositBase = SignedDepositBase;
|
||||
type SignedDepositByte = SignedDepositByte;
|
||||
|
||||
Reference in new issue
Block a user