From 86d80f5bcc61eeaf48439efd8b46e307ffca9a14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9rard=20Dethier?= Date: Fri, 12 Jan 2024 07:19:25 +0100 Subject: [PATCH] fix: extend compatibility mode period. --- node/src/service.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/node/src/service.rs b/node/src/service.rs index 4eb74b1..b3e3132 100644 --- a/node/src/service.rs +++ b/node/src/service.rs @@ -130,10 +130,11 @@ pub fn new_partial( fn compatibility_mode(config: &Configuration) -> CompatibilityMode> { if config.chain_spec.id().contains("mvp") { CompatibilityMode::UseInitializeBlock { - // On MVP chain, verification fails on block 0x2b4e96021b427ac071238e530dd1a10993c6e22bea6d61f106358d31ed0c3212 - // which has number 1053452. So until must be set to 1053452 + 1 + // On MVP chain, the latest verification failing because of new Aura validation mode + // is in block 0x7bb5932376cfa566ce055a26d030cecbc97e6f38a292c6e0e4571539f9e8811e + // which has number 3262756. So `until` must be set to 3262756 + 1 // (see https://github.com/paritytech/substrate/blob/master/client/consensus/aura/src/lib.rs#L94-L101). - until: 1053453 + until: 3262757 } } else { CompatibilityMode::None