Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Merge branch 'prod'
Browse files Browse the repository at this point in the history
  • Loading branch information
gdethier committed Jan 12, 2024
2 parents 0dd9681 + 86d80f5 commit 80b6a00
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions node/src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,11 @@ pub fn new_partial(
fn compatibility_mode(config: &Configuration) -> CompatibilityMode<NumberFor<Block>> {
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
Expand Down

0 comments on commit 80b6a00

Please sign in to comment.