From 2b3bbfdb3e904799f3881f96f1a36e4c68ff913f Mon Sep 17 00:00:00 2001 From: Hernando Castano Date: Thu, 18 Jan 2024 19:29:46 -0700 Subject: [PATCH] Add `MaxTipAmount` to `pallet_tips` Introduced in https://github.com/paritytech/polkadot-sdk/pull/1709 --- runtime/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 483ec7dd1..9a9e83209 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -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; @@ -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;