Skip to content

Commit

Permalink
update config
Browse files Browse the repository at this point in the history
  • Loading branch information
wangjj9219 committed Apr 18, 2024
1 parent 4bf22d4 commit f13b1c3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions runtime/acala/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1558,10 +1558,10 @@ impl module_homa::Config for Runtime {
}

parameter_types! {
pub MinBondAmount: Balance = 10 * dollar(LDOT);
pub const ValidatorBackingBondingDuration: BlockNumber = 28 * DAYS;
pub ValidatorInsuranceThreshold: Balance = 100_000 * dollar(LDOT);
pub const MaxNominations: u32 = 24;
pub MinBondAmount: Balance = 1_000 * dollar(LDOT);
pub const ValidatorBackingBondingDuration: BlockNumber = 28 * 24 * 60 * 10; // 28 days on relaychain
pub ValidatorInsuranceThreshold: Balance = 10_000 * dollar(LDOT);
pub const MaxNominations: u32 = 16;
}

impl module_homa_validator_list::Config for Runtime {
Expand Down
2 changes: 1 addition & 1 deletion runtime/karura/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1584,7 +1584,7 @@ impl module_homa::Config for Runtime {

parameter_types! {
pub MinBondAmount: Balance = 10 * dollar(LKSM);
pub const ValidatorBackingBondingDuration: BlockNumber = 7 * DAYS;
pub const ValidatorBackingBondingDuration: BlockNumber = 7 * 24 * 60 * 10; // 7 days on RelayChain
pub ValidatorInsuranceThreshold: Balance = 10_000 * dollar(LKSM);
pub const MaxNominations: u32 = 24;
}
Expand Down
6 changes: 3 additions & 3 deletions runtime/mandala/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1421,9 +1421,9 @@ impl module_homa::Config for Runtime {
}

parameter_types! {
pub MinBondAmount: Balance = 10 * dollar(LDOT);
pub const ValidatorBackingBondingDuration: BlockNumber = 28 * DAYS;
pub ValidatorInsuranceThreshold: Balance = 100_000 * dollar(LDOT);
pub MinBondAmount: Balance = 1_000 * dollar(LDOT);
pub const ValidatorBackingBondingDuration: BlockNumber = 28 * 24 * 60 * 10; // 28 days on relaychain
pub ValidatorInsuranceThreshold: Balance = 10_000 * dollar(LDOT);
pub const MaxNominations: u32 = 24;
}

Expand Down

0 comments on commit f13b1c3

Please sign in to comment.