File tree Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 3
3
## Next
4
4
* Added an optional feature to store CBOR serialized transactions in ` tx_cbor ` table [ #1723 ]
5
5
6
+ ## 13.2.0.2
7
+ * Support node 8.9.x
8
+ * Add a new db-sync config field ` EnableFutureGenesis ` . When false or missing, the conway genesis file is ignored
9
+
6
10
## 13.2.0.1
7
11
* Added a new table ` epoch_stake_progress ` which indicates when ` epoch_stake ` is completed
8
12
* Uses the cache for the computation of ` epoch ` table when following
Original file line number Diff line number Diff line change @@ -76,8 +76,13 @@ coalesceConfig pcfg ncfg adjustGenesisPath = do
76
76
, dncAlonzoGenesisFile = adjustGenesisFilePath adjustGenesisPath (ncAlonzoGenesisFile ncfg)
77
77
, dncAlonzoGenesisHash = ncAlonzoGenesisHash ncfg
78
78
, dncConwayGenesisFile =
79
- adjustGenesisFilePath adjustGenesisPath <$> ncConwayGenesisFile ncfg
80
- , dncConwayGenesisHash = ncConwayGenesisHash ncfg
79
+ if pcEnableFutureGenesis pcfg
80
+ then adjustGenesisFilePath adjustGenesisPath <$> ncConwayGenesisFile ncfg
81
+ else Nothing
82
+ , dncConwayGenesisHash =
83
+ if pcEnableFutureGenesis pcfg
84
+ then ncConwayGenesisHash ncfg
85
+ else Nothing
81
86
, dncByronProtocolVersion = ncByronProtocolVersion ncfg
82
87
, dncShelleyHardFork = ncShelleyHardFork ncfg
83
88
, dncAllegraHardFork = ncAllegraHardFork ncfg
Original file line number Diff line number Diff line change @@ -141,6 +141,7 @@ data SyncPreConfig = SyncPreConfig
141
141
{ pcNetworkName :: ! NetworkName
142
142
, pcLoggingConfig :: ! Logging. Representation
143
143
, pcNodeConfigFile :: ! NodeConfigFile
144
+ , pcEnableFutureGenesis :: ! Bool
144
145
, pcEnableLogging :: ! Bool
145
146
, pcEnableMetrics :: ! Bool
146
147
, pcPrometheusPort :: ! Int
@@ -366,6 +367,7 @@ parseGenSyncNodeConfig o =
366
367
<$> fmap NetworkName (o .: " NetworkName" )
367
368
<*> parseJSON (Object o)
368
369
<*> fmap NodeConfigFile (o .: " NodeConfigFile" )
370
+ <*> fmap (fromMaybe False ) (o .:? " EnableFutureGenesis" )
369
371
<*> o .: " EnableLogging"
370
372
<*> o .: " EnableLogMetrics"
371
373
<*> fmap (fromMaybe 8080 ) (o .:? " PrometheusPort" )
You can’t perform that action at this time.
0 commit comments