-
Notifications
You must be signed in to change notification settings - Fork 23
Defensive mempool #1327
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
base: master
Are you sure you want to change the base?
Defensive mempool #1327
Conversation
| DebugNodeConfigNoConwayFileCmdError fp -> | ||
| "Conway genesis file not specified in " | ||
| <> pretty fp | ||
| <> ". Please add a \"ConwayGenesisFile\" key to the file at " |
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.
DebugNodeConfigNoConwayHashCmdError is not needed anymore. Also, I've bumped cardano-cli to latest api's master here: https://github.com/IntersectMBO/cardano-cli/pull/1326/files
| checkHashIfPresent shelleyGenFile actualShelleyHash mExpectedShelleyHash | ||
| checkHashIfPresent conwayGenFile actualConwayHash mExpectedConwayHash | ||
| where | ||
| ifJustAndDifferent :: Eq a => a -> (a -> CIO e ()) -> Maybe a -> CIO e () |
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.
This function is too complicated tbh. It would be better to just use for_ instead of it
Stanzas must be removed before merging!
Changelog
Context
This PR updates cardano-api to use the latest version of ouroboros-consensus that includes this patch: IntersectMBO/ouroboros-consensus#1836
Related PRs:
How to trust this PR
Changes are small, but worth checking they make sense if you have good context about them.
Checklist