diff --git a/runtime/bifrost-polkadot/src/migration.rs b/runtime/bifrost-polkadot/src/migration.rs index 6463ab3588..f6b3651df3 100644 --- a/runtime/bifrost-polkadot/src/migration.rs +++ b/runtime/bifrost-polkadot/src/migration.rs @@ -409,11 +409,6 @@ pub mod genesis_evm_storage { pub struct GenesisEVMStorage; impl OnRuntimeUpgrade for GenesisEVMStorage { - #[cfg(feature = "try-runtime")] - fn pre_upgrade() -> Result, &'static str> { - Ok(vec![]) - } - fn on_runtime_upgrade() -> Weight { let evm_id: u64 = 996u64; let min_gas_fee: U256 = U256::from(560174200u64); @@ -421,10 +416,5 @@ pub mod genesis_evm_storage { MinGasPrice::::put(min_gas_fee); ::DbWeight::get().reads_writes(0, 2) } - - #[cfg(feature = "try-runtime")] - fn post_upgrade(_state: Vec) -> Result<(), &'static str> { - Ok(()) - } } }