Skip to content

Commit 8d4d161

Browse files
committed
cardano-testnet: disable ExperimentalHardForksEnabled in default config
After ProtVer 12 became the experimental-gated version, Conway-era testnets forged blocks with PV 12 in the header, which the Conway BBody rule rejects (max PV = 11). Dropping the unconditional flag from hardforkViaConfig makes the node fall back to ProtVer 11, which Conway accepts, so the testnet chain progresses.
1 parent 857aa7a commit 8d4d161

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

cardano-testnet/src/Testnet/Defaults.hs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,7 @@ defaultYamlHardforkViaConfig sbe =
219219
hardforkViaConfig :: ShelleyBasedEra era -> Aeson.KeyMap Aeson.Value
220220
hardforkViaConfig sbe' =
221221
Aeson.fromList $
222-
[ ("ExperimentalHardForksEnabled", Aeson.Bool True)
223-
, ("ExperimentalProtocolsEnabled", Aeson.Bool True) ]
222+
[ ("ExperimentalProtocolsEnabled", Aeson.Bool True) ]
224223
++ (case sbe' of
225224
ShelleyBasedEraShelley ->
226225
[ ("TestShelleyHardForkAtEpoch", Aeson.Number 0) ]

cardano-testnet/test/cardano-testnet-golden/files/golden/node_default_config.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
"DijkstraGenesisFile": "dijkstra-genesis.json",
66
"EnableLogMetrics": false,
77
"EnableLogging": true,
8-
"ExperimentalHardForksEnabled": true,
98
"ExperimentalProtocolsEnabled": true,
109
"LastKnownBlockVersion-Alt": 0,
1110
"LastKnownBlockVersion-Major": 9,

0 commit comments

Comments
 (0)