Skip to content

Commit

Permalink
cardano-testnet: remove rewrite that became obsolete
Browse files Browse the repository at this point in the history
  • Loading branch information
smelc committed Mar 29, 2024
1 parent 55f7946 commit ac539a9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions cardano-testnet/src/Testnet/Components/Configuration.hs
Original file line number Diff line number Diff line change
Expand Up @@ -115,14 +115,10 @@ createSPOGenesisAndFiles (NumPools numPoolNodes) era shelleyGenesis alonzoGenesi
numStakeDelegators = 3 :: Int
startTime = sgSystemStart shelleyGenesis

-- TODO: Remove this rewrite.
-- TODO: Remove this rewrite.
-- 50 second epochs
-- Epoch length should be "10 * k / f" where "k = securityParam, f = activeSlotsCoeff"
H.rewriteJsonFile @Value inputGenesisShelleyFp $ \o -> o
-- TODO: remove rho and tau adjustment after https://github.com/IntersectMBO/cardano-api/pull/425 gets
-- integrated with newer cardano-api into node
& L.key "protocolParams" . L.key "rho" . L._Number .~ 0.1
& L.key "protocolParams" . L.key "tau" . L._Number .~ 0.1
& L.key "securityParam" . L._Integer .~ 5
& L.key "updateQuorum" . L._Integer .~ 2

Expand Down

0 comments on commit ac539a9

Please sign in to comment.