diff --git a/pallets/ocex/src/validator.rs b/pallets/ocex/src/validator.rs index 5e3f031d8..4f9e3962a 100644 --- a/pallets/ocex/src/validator.rs +++ b/pallets/ocex/src/validator.rs @@ -658,7 +658,9 @@ impl Pallet { return Err("Invalid egress message for withdraw trading fees"); } }, - IngressMessages::NewLMPEpoch(epoch) => Self::start_new_lmp_epoch(state, epoch)?, + IngressMessages::NewLMPEpoch(_epoch) => { + // Self::start_new_lmp_epoch(state, epoch)? + }, _ => {}, } } @@ -666,6 +668,7 @@ impl Pallet { Ok(verified_egress_messages) } + #[allow(dead_code)] /// Reset the offchain state's LMP index and set the epoch fn start_new_lmp_epoch(state: &mut OffchainState, epoch: u16) -> Result<(), &'static str> { let mut config = if epoch > 1 { diff --git a/runtimes/mainnet/src/lib.rs b/runtimes/mainnet/src/lib.rs index 1f1fa930c..3c032444f 100644 --- a/runtimes/mainnet/src/lib.rs +++ b/runtimes/mainnet/src/lib.rs @@ -122,7 +122,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { // and set impl_version to 0. If only runtime // implementation changes and behavior does not, then leave spec_version as // is and increment impl_version. - spec_version: 369, + spec_version: 370, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 2,