Skip to content

Commit

Permalink
Two tiny cleanups (#1328)
Browse files Browse the repository at this point in the history
Noticed while doing other stuff, see the commit descriptions
  • Loading branch information
amesgen authored Nov 25, 2024
2 parents 244ea9f + 3f01af4 commit f196bfc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -624,14 +624,12 @@ singleNodeTestConfigWith codecConfig storageConfig k genesisWindow = TopLevelCon

ledgerCfgParams :: TestBlockLedgerConfig
ledgerCfgParams = TestBlockLedgerConfig {
tblcHardForkParams = HardFork.defaultEraParams k slotLength,
tblcHardForkParams = (HardFork.defaultEraParams k slotLength) {
HardFork.eraGenesisWin = genesisWindow
},
tblcForecastRange = SNothing
}

_eraParams :: HardFork.EraParams
_eraParams = (HardFork.defaultEraParams k slotLength) {HardFork.eraGenesisWin = genesisWindow}


{-------------------------------------------------------------------------------
Test blocks without payload
-------------------------------------------------------------------------------}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,6 @@ runBlockFetchTest BlockFetchClientTestSetup{..} = withRegistry \registry -> do
, mcdbRegistry = registry
, mcdbNodeDBs = nodeDBs
}
-- TODO: Test with more interesting behaviour for cdbCheckInFuture
pure $ ChainDB.updateTracer cdbTracer args
(_, (chainDB, ChainDBImpl.Internal{intAddBlockRunner})) <-
allocate
Expand Down

0 comments on commit f196bfc

Please sign in to comment.