-
Notifications
You must be signed in to change notification settings - Fork 751
UTxO-HD targeting main #6068
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UTxO-HD targeting main #6068
Conversation
ea5ecaa to
af2e523
Compare
| npcTestAlonzoHardForkAtEpoch, | ||
| npcTestAlonzoHardForkAtVersion, | ||
| npcTestBabbageHardForkAtEpoch, | ||
| npcTestBabbageHardForkAtVersion, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice 👍
| Nothing -> Consensus.TriggerHardForkAtVersion | ||
| (maybe 4 fromIntegral npcTestMaryHardForkAtVersion) | ||
| Just epochNo -> Consensus.TriggerHardForkAtEpoch epochNo | ||
| Nothing -> Consensus.CardanoTriggerHardForkAtDefaultVersion |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can abstract this out as a function but this is not a blocker.
| "Praos" | ||
| -> pure $ NodeConsensusMode PraosMode | ||
| _ -> fail "Parsing NodeConsensusMode failed: can be either 'Genesis' or 'Praos'" | ||
| parseJSON _ = fail "Parsing NodeConsensusMode failed" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Returning the unexpected JSON will help with debugging.
| -> m (Map TxIn (TxOut CtxUTxO era)) | ||
| findAllUtxos epochStateView sbe = withFrozenCallStack $ do | ||
| AnyNewEpochState sbe' newEpochState <- getEpochState epochStateView | ||
| AnyNewEpochState sbe' _ tbs <- getEpochState epochStateView |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/Cli/Query.hs
Show resolved
Hide resolved
fcd6d20 to
f99dd7f
Compare
4f66f3a to
6844b37
Compare
6844b37 to
0074be1
Compare
d4dcec0 to
2e916c7
Compare
2e916c7 to
1d5598d
Compare
5c8fc00 to
1fb0777
Compare
1fb0777 to
fecc023
Compare
fecc023 to
ede3302
Compare
|
This PR is stale because it has been open 45 days with no activity. |
Description
Implements the changes required for UTxO-HD Consensus feature. See the documentation for an extensive explanation on what changed and the implications.
Checklist
See Runnings tests for more details
CHANGELOG.mdfor affected package.cabalfiles are updatedhlint. See.github/workflows/check-hlint.ymlto get thehlintversionstylish-haskell. See.github/workflows/stylish-haskell.ymlto get thestylish-haskellversionghc-8.10.7andghc-9.2.7