Skip to content

Commit 41c9bac

Browse files
committed
sort: testnet config template json keys
1 parent 311fc5e commit 41c9bac

File tree

2 files changed

+38
-22
lines changed

2 files changed

+38
-22
lines changed

cardano-lib/testnet-template/config-legacy.json

Lines changed: 30 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
{
2-
"ByronGenesisFile": "byron-genesis.json",
3-
"ShelleyGenesisFile": "shelley-genesis.json",
42
"AlonzoGenesisFile": "alonzo-genesis.json",
5-
"ConwayGenesisFile": "conway-genesis.json",
63
"ApplicationName": "cardano-sl",
74
"ApplicationVersion": 0,
5+
"ByronGenesisFile": "byron-genesis.json",
6+
"ConwayGenesisFile": "conway-genesis.json",
7+
"EnableP2P": true,
8+
"ExperimentalHardForksEnabled": true,
9+
"ExperimentalProtocolsEnabled": true,
810
"LastKnownBlockVersion-Alt": 0,
911
"LastKnownBlockVersion-Major": 3,
1012
"LastKnownBlockVersion-Minor": 1,
@@ -19,13 +21,11 @@
1921
"PBftSignatureThreshold": 1.1,
2022
"Protocol": "Cardano",
2123
"RequiresNetworkMagic": "RequiresMagic",
22-
"TestShelleyHardForkAtEpoch": 0,
24+
"ShelleyGenesisFile": "shelley-genesis.json",
2325
"TestAllegraHardForkAtEpoch": 0,
24-
"TestMaryHardForkAtEpoch": 0,
2526
"TestAlonzoHardForkAtEpoch": 0,
26-
"EnableP2P": true,
27-
"ExperimentalProtocolsEnabled": true,
28-
"ExperimentalHardForksEnabled": true,
27+
"TestMaryHardForkAtEpoch": 0,
28+
"TestShelleyHardForkAtEpoch": 0,
2929
"TraceAcceptPolicy": true,
3030
"TraceBlockFetchClient": false,
3131
"TraceBlockFetchDecisions": false,
@@ -65,15 +65,29 @@
6565
"TracingVerbosity": "NormalVerbosity",
6666
"TurnOnLogMetrics": true,
6767
"TurnOnLogging": true,
68-
"defaultBackends": ["KatipBK"],
69-
"defaultScribes": [["StdoutSK", "cardano"]],
68+
"defaultBackends": [
69+
"KatipBK"
70+
],
71+
"defaultScribes": [
72+
[
73+
"StdoutSK",
74+
"cardano"
75+
]
76+
],
7077
"hasEKG": 12788,
71-
"hasPrometheus": ["0.0.0.0", 12798],
78+
"hasPrometheus": [
79+
"0.0.0.0",
80+
12798
81+
],
7282
"minSeverity": "Debug",
7383
"options": {
7484
"mapBackends": {
75-
"cardano.node.metrics": ["EKGViewBK"],
76-
"cardano.node.resources": ["EKGViewBK"]
85+
"cardano.node.metrics": [
86+
"EKGViewBK"
87+
],
88+
"cardano.node.resources": [
89+
"EKGViewBK"
90+
]
7791
},
7892
"mapSubtrace": {
7993
"cardano.node.metrics": {
@@ -86,7 +100,9 @@
86100
"rpLogLimitBytes": 5000000,
87101
"rpMaxAgeHours": 24
88102
},
89-
"setupBackends": ["KatipBK"],
103+
"setupBackends": [
104+
"KatipBK"
105+
],
90106
"setupScribes": [
91107
{
92108
"scFormat": "ScText",

cardano-lib/testnet-template/config.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
{
2-
"ByronGenesisFile": "byron-genesis.json",
3-
"ShelleyGenesisFile": "shelley-genesis.json",
42
"AlonzoGenesisFile": "alonzo-genesis.json",
5-
"ConwayGenesisFile": "conway-genesis.json",
63
"ApplicationName": "cardano-sl",
74
"ApplicationVersion": 0,
5+
"ByronGenesisFile": "byron-genesis.json",
86
"ConsensusMode": "PraosMode",
7+
"ConwayGenesisFile": "conway-genesis.json",
8+
"EnableP2P": true,
9+
"ExperimentalHardForksEnabled": true,
10+
"ExperimentalProtocolsEnabled": true,
911
"LastKnownBlockVersion-Alt": 0,
1012
"LastKnownBlockVersion-Major": 3,
1113
"LastKnownBlockVersion-Minor": 1,
@@ -20,13 +22,11 @@
2022
"PBftSignatureThreshold": 1.1,
2123
"Protocol": "Cardano",
2224
"RequiresNetworkMagic": "RequiresMagic",
23-
"TestShelleyHardForkAtEpoch": 0,
25+
"ShelleyGenesisFile": "shelley-genesis.json",
2426
"TestAllegraHardForkAtEpoch": 0,
25-
"TestMaryHardForkAtEpoch": 0,
2627
"TestAlonzoHardForkAtEpoch": 0,
27-
"EnableP2P": true,
28-
"ExperimentalProtocolsEnabled": true,
29-
"ExperimentalHardForksEnabled": true,
28+
"TestMaryHardForkAtEpoch": 0,
29+
"TestShelleyHardForkAtEpoch": 0,
3030
"TraceOptionForwarder": {
3131
"connQueueSize": 64,
3232
"disconnQueueSize": 128,

0 commit comments

Comments
 (0)