Skip to content
This repository has been archived by the owner on Feb 21, 2022. It is now read-only.

Commit

Permalink
Add Fork ID to genesis config
Browse files Browse the repository at this point in the history
  • Loading branch information
HCastano committed Jan 8, 2022
1 parent f901d00 commit f333671
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions node/src/chain_spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ pub fn development_config() -> ChainSpec {
None,
None,
None,
None,
Extensions {
relay_chain: "rococo-local".into(), // You MUST set this to the correct network!
para_id: PARA_ID,
Expand Down Expand Up @@ -182,6 +183,8 @@ pub fn local_testnet_config() -> ChainSpec {
None,
// Protocol ID
Some("canvas-local"),
// Fork ID
None,
// Properties
Some(properties),
// Extensions
Expand Down Expand Up @@ -275,6 +278,8 @@ pub fn rococo_testnet_config() -> ChainSpec {
None,
// Protocol ID
Some("canvas-rococo"),
// Fork ID
None,
// Properties
Some(properties),
// Extensions
Expand Down

0 comments on commit f333671

Please sign in to comment.