File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed
src/unstable-consensus-testlib/Test/Util
test/consensus-test/Test/Consensus/MiniProtocol/BlockFetch Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -624,14 +624,12 @@ singleNodeTestConfigWith codecConfig storageConfig k genesisWindow = TopLevelCon
624624
625625 ledgerCfgParams :: TestBlockLedgerConfig
626626 ledgerCfgParams = TestBlockLedgerConfig {
627- tblcHardForkParams = HardFork. defaultEraParams k slotLength,
627+ tblcHardForkParams = (HardFork. defaultEraParams k slotLength) {
628+ HardFork. eraGenesisWin = genesisWindow
629+ },
628630 tblcForecastRange = SNothing
629631 }
630632
631- _eraParams :: HardFork. EraParams
632- _eraParams = (HardFork. defaultEraParams k slotLength) {HardFork. eraGenesisWin = genesisWindow}
633-
634-
635633{- ------------------------------------------------------------------------------
636634 Test blocks without payload
637635-------------------------------------------------------------------------------}
Original file line number Diff line number Diff line change @@ -244,7 +244,6 @@ runBlockFetchTest BlockFetchClientTestSetup{..} = withRegistry \registry -> do
244244 , mcdbRegistry = registry
245245 , mcdbNodeDBs = nodeDBs
246246 }
247- -- TODO: Test with more interesting behaviour for cdbCheckInFuture
248247 pure $ ChainDB. updateTracer cdbTracer args
249248 (_, (chainDB, ChainDBImpl. Internal {intAddBlockRunner})) <-
250249 allocate
You can’t perform that action at this time.
0 commit comments