Skip to content

Commit f91cb59

Browse files
committed
Introduce BurnHandler
1 parent 7c79bd3 commit f91cb59

File tree

54 files changed

+485
-359
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+485
-359
lines changed

cumulus/parachains/runtimes/assets/asset-hub-rococo/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ impl pallet_balances::Config for Runtime {
228228
type FreezeIdentifier = RuntimeFreezeReason;
229229
type MaxFreezes = ConstU32<50>;
230230
type DoneSlashHandler = ();
231-
type BurnDestination = pallet_balances::DirectBurn<Balances, AccountId>;
231+
type BurnHandler = pallet_balances::DirectBurn<Balances>;
232232
}
233233

234234
parameter_types! {

cumulus/parachains/runtimes/assets/asset-hub-westend/src/governance/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ impl pallet_treasury::Config for Runtime {
139139
type RuntimeEvent = RuntimeEvent;
140140
type SpendPeriod = SpendPeriod;
141141
type Burn = ();
142-
type BurnDestination = ();
142+
type BurnHandler = ();
143143
type MaxApprovals = MaxApprovals;
144144
type WeightInfo = weights::pallet_treasury::WeightInfo<Runtime>;
145145
type SpendFunds = ();

cumulus/parachains/runtimes/assets/asset-hub-westend/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ impl pallet_balances::Config for Runtime {
245245
type FreezeIdentifier = RuntimeFreezeReason;
246246
type MaxFreezes = frame_support::traits::VariantCountOf<RuntimeFreezeReason>;
247247
type DoneSlashHandler = ();
248-
type BurnDestination = Dap;
248+
type BurnHandler = Dap;
249249
}
250250

251251
parameter_types! {

cumulus/parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ impl pallet_balances::Config for Runtime {
364364
type FreezeIdentifier = ();
365365
type MaxFreezes = ConstU32<0>;
366366
type DoneSlashHandler = ();
367-
type BurnDestination = pallet_balances::DirectBurn<Balances, AccountId>;
367+
type BurnHandler = pallet_balances::DirectBurn<Balances>;
368368
}
369369

370370
parameter_types! {

cumulus/parachains/runtimes/bridge-hubs/bridge-hub-westend/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ impl pallet_balances::Config for Runtime {
357357
type FreezeIdentifier = ();
358358
type MaxFreezes = ConstU32<0>;
359359
type DoneSlashHandler = ();
360-
type BurnDestination = DapSatellite;
360+
type BurnHandler = DapSatellite;
361361
}
362362

363363
parameter_types! {

cumulus/parachains/runtimes/collectives/collectives-westend/src/fellowship/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ impl pallet_treasury::Config<FellowshipTreasuryInstance> for Runtime {
296296
type RuntimeEvent = RuntimeEvent;
297297
type SpendPeriod = ConstU32<{ 7 * DAYS }>;
298298
type Burn = Burn;
299-
type BurnDestination = ();
299+
type BurnHandler = ();
300300
type SpendFunds = ();
301301
type MaxApprovals = ConstU32<100>;
302302
type SpendOrigin = EitherOf<

cumulus/parachains/runtimes/collectives/collectives-westend/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ impl pallet_balances::Config for Runtime {
234234
type FreezeIdentifier = ();
235235
type MaxFreezes = ConstU32<0>;
236236
type DoneSlashHandler = ();
237-
type BurnDestination = DapSatellite;
237+
type BurnHandler = DapSatellite;
238238
}
239239

240240
parameter_types! {

cumulus/parachains/runtimes/contracts/contracts-rococo/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ impl pallet_balances::Config for Runtime {
235235
type FreezeIdentifier = ();
236236
type MaxFreezes = ConstU32<0>;
237237
type DoneSlashHandler = ();
238-
type BurnDestination = pallet_balances::DirectBurn<Balances, AccountId>;
238+
type BurnHandler = pallet_balances::DirectBurn<Balances>;
239239
}
240240

241241
parameter_types! {

cumulus/parachains/runtimes/coretime/coretime-westend/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ impl pallet_balances::Config for Runtime {
269269
type FreezeIdentifier = ();
270270
type MaxFreezes = ConstU32<0>;
271271
type DoneSlashHandler = ();
272-
type BurnDestination = DapSatellite;
272+
type BurnHandler = DapSatellite;
273273
}
274274

275275
parameter_types! {

cumulus/parachains/runtimes/people/people-westend/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ impl pallet_balances::Config for Runtime {
245245
type FreezeIdentifier = ();
246246
type MaxFreezes = ConstU32<0>;
247247
type DoneSlashHandler = ();
248-
type BurnDestination = DapSatellite;
248+
type BurnHandler = DapSatellite;
249249
}
250250

251251
parameter_types! {

0 commit comments

Comments
 (0)