Skip to content

Commit

Permalink
cardano-testnet-test: adapt to previous change (need to indicate when…
Browse files Browse the repository at this point in the history
… a genesis file is provided by user)
  • Loading branch information
smelc committed Feb 28, 2025
1 parent 9052506 commit 516e566
Showing 1 changed file with 4 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,14 +104,8 @@ hprop_gov_no_confidence = integrationWorkspace "no-confidence" $ \tempAbsBasePat
committeeThreshold = unsafeBoundedRational 0.5
committee = L.Committee (Map.fromList [(comKeyCred1, EpochNo 100)]) committeeThreshold

alonzoGenesis <- getDefaultAlonzoGenesis sbe
shelleyGenesis' <-
getDefaultShelleyGenesis
asbe
(cardanoMaxSupply fastTestnetOptions)
shelleyOptions
let conwayGenesisWithCommittee =
defaultConwayGenesis { L.cgCommittee = committee }
GenesisBatch(shelleyGenesis', alonzoGenesis, conwayGenesis, _) <- getDefaultGenesisBatch fastTestnetOptions shelleyOptions
let conwayGenesisWithCommittee = conwayGenesis { L.cgCommittee = committee }

TestnetRuntime
{ testnetMagic
Expand All @@ -120,8 +114,8 @@ hprop_gov_no_confidence = integrationWorkspace "no-confidence" $ \tempAbsBasePat
, configurationFile
} <- cardanoTestnet
fastTestnetOptions
conf UserNodeConfigNotSubmitted shelleyGenesis'
alonzoGenesis conwayGenesisWithCommittee
conf UserNodeConfigNotSubmitted
(GenesisBatch (shelleyGenesis', alonzoGenesis, conwayGenesisWithCommittee, UserProvidedOrigin))

poolNode1 <- H.headM testnetNodes
poolSprocket1 <- H.noteShow $ nodeSprocket poolNode1
Expand Down

0 comments on commit 516e566

Please sign in to comment.