This repository has been archived by the owner on Aug 18, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 631
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DEVOPS-398] configuration.yaml: rearrange testnet sections
- mainnet_base - in the genesis spec protocolMagic requiresNetworkMagic is omitted and therefore gets the default setting NMMustBeJust. - mainnet_full - genesis data remains the same. - testnet_launch - do not inherit protocolConstants from mainnet_base_spec. Copy across these parameters. In this genesis spec, requiresNetworkMagic is explicitly stated as NMMustBeJust, even though that would be the default value. - testnet_full - new genesis data will be generated from testnet_launch and updated after starting the blockchain. - devnet, other "leaf configurations" have requiresNetworkMagic: NMMustBeNothing which overrides the mainnet_base setting. This is so that the address format of the devnets matches mainnet_full. For testnet, the YAML "inheritance" direction is now: mainnet_base -> testnet_launch -> testnet_full This ensures that testnet_full gets all the genesis spec attributes -- requiresNetworkMagic in particular.
- Loading branch information
Showing
1 changed file
with
40 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters