diff --git a/runtime/astar/src/lib.rs b/runtime/astar/src/lib.rs index 41f42adf04..a2883f07c8 100644 --- a/runtime/astar/src/lib.rs +++ b/runtime/astar/src/lib.rs @@ -1170,38 +1170,10 @@ pub type Executive = frame_executive::Executive< Migrations, >; -parameter_types! { - pub const StaticPriceProviderName: &'static str = "StaticPriceProvider"; - // 0.18 $ - pub const InitPrice: CurrencyAmount = CurrencyAmount::from_rational(18, 100); -} - /// All migrations that will run on the next runtime upgrade. /// /// Once done, migrations should be removed from the tuple. -pub type Migrations = ( - frame_support::migrations::RemovePallet< - StaticPriceProviderName, - ::DbWeight, - >, - OracleIntegrationLogic, - pallet_price_aggregator::PriceAggregatorInitializer, -); - -use frame_support::traits::OnRuntimeUpgrade; -pub struct OracleIntegrationLogic; -impl OnRuntimeUpgrade for OracleIntegrationLogic { - fn on_runtime_upgrade() -> Weight { - // 1. Set initial storage versions for the membership pallet - use frame_support::traits::StorageVersion; - StorageVersion::new(4) - .put::>(); - - // No storage version for the `orml_oracle` pallet, it's essentially 0 - - ::DbWeight::get().writes(1) - } -} +pub type Migrations = (); type EventRecord = frame_system::EventRecord< ::RuntimeEvent,