Skip to content

Commit

Permalink
Add MaxTipAmount to pallet_tips
Browse files Browse the repository at this point in the history
  • Loading branch information
HCastano committed Jan 19, 2024
1 parent e0813cd commit 2b3bbfd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -981,6 +981,7 @@ parameter_types! {
pub const TipCountdown: BlockNumber = DAYS;
pub const TipFindersFee: Percent = Percent::from_percent(20);
pub const TipReportDepositBase: Balance = DOLLARS;
pub const MaxTipAmount: Balance = 500 * DOLLARS;
pub const DataDepositPerByte: Balance = CENTS;
pub const BountyDepositBase: Balance = DOLLARS;
pub const BountyDepositPayoutDelay: BlockNumber = DAYS;
Expand Down Expand Up @@ -1038,6 +1039,7 @@ impl pallet_bounties::Config for Runtime {
impl pallet_tips::Config for Runtime {
type DataDepositPerByte = DataDepositPerByte;
type MaximumReasonLength = MaximumReasonLength;
type MaxTipAmount = MaxTipAmount;
type RuntimeEvent = RuntimeEvent;
type TipCountdown = TipCountdown;
type TipFindersFee = TipFindersFee;
Expand Down

0 comments on commit 2b3bbfd

Please sign in to comment.