Skip to content

Commit

Permalink
Adapt cardano-testnet-test accordingly
Browse files Browse the repository at this point in the history
  • Loading branch information
smelc committed Mar 11, 2025
1 parent 02f1563 commit 72ea5dc
Showing 1 changed file with 6 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ hprop_gov_no_confidence = integrationWorkspace "no-confidence" $ \tempAbsBasePat
era = toCardanoEra sbe
cEra = AnyCardanoEra era
fastTestnetOptions = def { cardanoNodeEra = asbe }
shelleyOptions = def { genesisEpochLength = 200 }
genesisOptions = def { genesisEpochLength = 200 }

execConfigOffline <- H.mkExecConfigOffline tempBaseAbsPath

Expand Down Expand Up @@ -104,14 +104,7 @@ 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 }
let conwayGenesisWithCommittee = defaultConwayGenesis { L.cgCommittee = committee }

TestnetRuntime
{ testnetMagic
Expand All @@ -120,7 +113,10 @@ hprop_gov_no_confidence = integrationWorkspace "no-confidence" $ \tempAbsBasePat
, configurationFile
} <- cardanoTestnet
fastTestnetOptions
conf UserNodeConfigNotSubmitted (shelleyGenesis', DefaultedOrigin)
genesisOptions
conf
NoUserProvidedData NoUserProvidedData NoUserProvidedData
(UserProvidedData conwayGenesisWithCommittee)

poolNode1 <- H.headM testnetNodes
poolSprocket1 <- H.noteShow $ nodeSprocket poolNode1
Expand Down Expand Up @@ -267,4 +263,3 @@ committeeIsPresent committeeExists (AnyNewEpochState sbe newEpochState, _, _) =
else Nothing
)
sbe

0 comments on commit 72ea5dc

Please sign in to comment.