This repository was archived by the owner on Aug 18, 2020. It is now read-only.
Commit c69ba4e
committed
[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.1 parent ab3f412 commit c69ba4e
1 file changed
Lines changed: 40 additions & 31 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
14775 | 14775 | | |
14776 | 14776 | | |
14777 | 14777 | | |
14778 | | - | |
14779 | 14778 | | |
14780 | 14779 | | |
14781 | 14780 | | |
| |||
14815 | 14814 | | |
14816 | 14815 | | |
14817 | 14816 | | |
14818 | | - | |
| 14817 | + | |
| 14818 | + | |
14819 | 14819 | | |
14820 | | - | |
| 14820 | + | |
14821 | 14821 | | |
| 14822 | + | |
| 14823 | + | |
| 14824 | + | |
| 14825 | + | |
| 14826 | + | |
| 14827 | + | |
| 14828 | + | |
| 14829 | + | |
| 14830 | + | |
| 14831 | + | |
| 14832 | + | |
| 14833 | + | |
| 14834 | + | |
| 14835 | + | |
| 14836 | + | |
| 14837 | + | |
| 14838 | + | |
| 14839 | + | |
| 14840 | + | |
| 14841 | + | |
| 14842 | + | |
| 14843 | + | |
| 14844 | + | |
| 14845 | + | |
| 14846 | + | |
| 14847 | + | |
| 14848 | + | |
| 14849 | + | |
| 14850 | + | |
| 14851 | + | |
| 14852 | + | |
| 14853 | + | |
| 14854 | + | |
| 14855 | + | |
14822 | 14856 | | |
| 14857 | + | |
14823 | 14858 | | |
14824 | 14859 | | |
14825 | 14860 | | |
| |||
14860 | 14895 | | |
14861 | 14896 | | |
14862 | 14897 | | |
14863 | | - | |
14864 | | - | |
14865 | | - | |
14866 | | - | |
14867 | | - | |
14868 | | - | |
14869 | | - | |
14870 | | - | |
14871 | | - | |
14872 | | - | |
14873 | | - | |
14874 | | - | |
14875 | | - | |
14876 | | - | |
14877 | | - | |
14878 | | - | |
14879 | | - | |
14880 | | - | |
14881 | | - | |
14882 | | - | |
14883 | | - | |
14884 | | - | |
14885 | | - | |
14886 | | - | |
14887 | | - | |
14888 | | - | |
14889 | 14898 | | |
14890 | 14899 | | |
14891 | 14900 | | |
| |||
14901 | 14910 | | |
14902 | 14911 | | |
14903 | 14912 | | |
14904 | | - | |
14905 | 14913 | | |
14906 | 14914 | | |
14907 | 14915 | | |
| |||
15026 | 15034 | | |
15027 | 15035 | | |
15028 | 15036 | | |
| 15037 | + | |
15029 | 15038 | | |
15030 | 15039 | | |
15031 | 15040 | | |
| |||
0 commit comments