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 16, 2024
2 parents e18db74 + c0c5d98 commit 80d1318
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 57 deletions.
4 changes: 2 additions & 2 deletions node/src/chain_spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,8 @@ pub fn test_config() -> Result<ChainSpec, String> {
WASM_BINARY.ok_or_else(|| "Development wasm not available".to_string())?,
None,
)
.with_name("logion Testnet")
.with_id("logion_test_testnet")
.with_name("Logion Testnet")
.with_id("logion_test")
.with_chain_type(ChainType::Live)
.with_genesis_config_patch(logion_genesis(
// Initial PoA authorities
Expand Down
8 changes: 0 additions & 8 deletions node/src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,14 +136,6 @@ fn compatibility_mode(config: &Configuration) -> CompatibilityMode<NumberFor<Blo
// (see https://github.com/paritytech/substrate/blob/master/client/consensus/aura/src/lib.rs#L94-L101).
until: 3262757
}
} else if config.chain_spec.id().contains("test") {
CompatibilityMode::UseInitializeBlock {
// On test chain, the latest verification failing because of new Aura validation mode
// is in block 0x2543517cded27b02c39ee84be1b5f6798ac86acaabcdd7cce96efd353e7301d8
// which has number 2391583. So `until` must be set to 2391583 + 1
// (see https://github.com/paritytech/substrate/blob/master/client/consensus/aura/src/lib.rs#L94-L101).
until: 2391584
}
} else {
CompatibilityMode::None
}
Expand Down
101 changes: 54 additions & 47 deletions res/test-raw.json

Large diffs are not rendered by default.

0 comments on commit 80d1318

Please sign in to comment.