diff --git a/CHANGELOG.md b/CHANGELOG.md index ef810395c5..9c4369f52c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - [[#711](https://github.com/polkadot-fellows/runtimes/pull/711)] Pallet-broker: add extrinsic to remove a lease ([SDK stable2503 #7026](https://github.com/paritytech/polkadot-sdk/pull/7026)). - [[#711](https://github.com/polkadot-fellows/runtimes/pull/711)] Pallet-broker: add extrinsic to remove an assignment ([SDK stable2503 #7080](https://github.com/paritytech/polkadot-sdk/pull/7080)). - [[#711](https://github.com/polkadot-fellows/runtimes/pull/711)] Pallet-broker: add extrinsic to reserve a system core without having to wait two sale boundaries ([SDK stable2503 #4273](https://github.com/paritytech/polkadot-sdk/pull/4273)). + - [[#754](https://github.com/polkadot-fellows/runtimes/pull/754) Change to minimum price controller and configure minimum price of 10 DOT and 1 KSM for Coretime sales. Existing renewals will also be adjusted accordingly and are now no longer completely decoupled from the market. For details on this, please checkout [RFC-149](https://polkadot-fellows.github.io/RFCs/new/0149-rfc-1-renewal-adjustment.html). ### Changed diff --git a/system-parachains/coretime/coretime-kusama/src/coretime.rs b/system-parachains/coretime/coretime-kusama/src/coretime.rs index da097338f8..e80ed1da06 100644 --- a/system-parachains/coretime/coretime-kusama/src/coretime.rs +++ b/system-parachains/coretime/coretime-kusama/src/coretime.rs @@ -322,6 +322,8 @@ impl CoretimeInterface for CoretimeAllocator { parameter_types! { pub const BrokerPalletId: PalletId = PalletId(*b"py/broke"); pub const MinimumCreditPurchase: Balance = UNITS / 10; + + pub const MinimumEndPrice: Balance = UNITS; } pub struct SovereignAccountOf; @@ -347,6 +349,6 @@ impl pallet_broker::Config for Runtime { type AdminOrigin = EnsureRoot; type SovereignAccountOf = SovereignAccountOf; type MaxAutoRenewals = ConstU32<100>; - type PriceAdapter = pallet_broker::CenterTargetPrice; + type PriceAdapter = pallet_broker::MinimumPrice; type MinimumCreditPurchase = MinimumCreditPurchase; } diff --git a/system-parachains/coretime/coretime-polkadot/src/coretime.rs b/system-parachains/coretime/coretime-polkadot/src/coretime.rs index 6040449223..0263ae6430 100644 --- a/system-parachains/coretime/coretime-polkadot/src/coretime.rs +++ b/system-parachains/coretime/coretime-polkadot/src/coretime.rs @@ -319,6 +319,7 @@ impl CoretimeInterface for CoretimeAllocator { parameter_types! { pub const BrokerPalletId: PalletId = PalletId(*b"py/broke"); pub const MinimumCreditPurchase: Balance = UNITS / 10; + pub const MinimumEndPrice: Balance = 10 * UNITS; } pub struct SovereignAccountOf; @@ -344,6 +345,6 @@ impl pallet_broker::Config for Runtime { type AdminOrigin = EnsureRoot; type SovereignAccountOf = SovereignAccountOf; type MaxAutoRenewals = ConstU32<100>; - type PriceAdapter = pallet_broker::CenterTargetPrice; + type PriceAdapter = pallet_broker::MinimumPrice; type MinimumCreditPurchase = MinimumCreditPurchase; }