Skip to content
This repository has been archived by the owner on Feb 3, 2024. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jiguantong committed Sep 30, 2022
1 parent 44532aa commit d91bced
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 19 deletions.
38 changes: 19 additions & 19 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions runtime/crab-parachain/src/pallets/fee_market.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ frame_support::parameter_types! {
pub const DutyRelayersRewardRatio: Permill = Permill::from_percent(60);
pub const MessageRelayersRewardRatio: Permill = Permill::from_percent(80);
pub const ConfirmRelayersRewardRatio: Permill = Permill::from_percent(20);
pub const AssignedRelayerSlashRatio: Permill = Permill::from_percent(20);
}

impl Config<WithCrabFeeMarket> for Runtime {
Expand All @@ -47,4 +48,5 @@ impl Config<WithCrabFeeMarket> for Runtime {
type Slot = Slot;
type TreasuryPalletId = TreasuryPalletId;
type WeightInfo = ();
type AssignedRelayerSlashRatio = AssignedRelayerSlashRatio;
}
2 changes: 2 additions & 0 deletions runtime/pangolin-parachain/src/pallets/fee_market.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ frame_support::parameter_types! {
pub const DutyRelayersRewardRatio: Permill = Permill::from_percent(60);
pub const MessageRelayersRewardRatio: Permill = Permill::from_percent(80);
pub const ConfirmRelayersRewardRatio: Permill = Permill::from_percent(20);
pub const AssignedRelayerSlashRatio: Permill = Permill::from_percent(20);
}

impl Config<WithPangolinFeeMarket> for Runtime {
Expand All @@ -51,4 +52,5 @@ impl Config<WithPangolinFeeMarket> for Runtime {
type Slot = Slot;
type TreasuryPalletId = TreasuryPalletId;
type WeightInfo = WeightInfo<Runtime>;
type AssignedRelayerSlashRatio = AssignedRelayerSlashRatio;
}

0 comments on commit d91bced

Please sign in to comment.