Skip to content
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

Made MEMPOOL call LEDGER #4880

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Made MEMPOOL call LEDGER #4880

wants to merge 2 commits into from

Conversation

Soupstraw
Copy link
Contributor

Description

closes #4864

Checklist

  • Commits in meaningful sequence and with useful messages
  • Tests added or updated when needed
  • CHANGELOG.md files updated for packages with externally visible changes

    New section is never added with the code changes. (See RELEASING.md)
  • Versions updated in .cabal and CHANGELOG.md files when necessary, according to the
    versioning process.
  • Version bounds in .cabal files updated when necessary

    If you change the bounds in a cabal file, that package itself must have a version increase. (See RELEASING.md)
  • Code formatted (use scripts/fourmolize.sh)
  • Cabal files formatted (use scripts/cabal-format.sh)
  • hie.yaml updated (use scripts/gen-hie.sh)
  • Self-reviewed the diff

@Soupstraw Soupstraw marked this pull request as ready for review February 10, 2025 14:27
@Soupstraw Soupstraw requested a review from a team as a code owner February 10, 2025 14:27
@@ -84,7 +84,6 @@ instance RuleListEra ConwayEra where
, "GOV"
, "LEDGER"
, "LEDGERS"
, "MEMPOOL"
Copy link
Contributor Author

@Soupstraw Soupstraw Feb 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I leave this here, I get a compiler error that says that it can't find an EraRuleFailure instance for the MEMPOOL predicate failures. However I can't add EraRuleFailure type instance for MEMPOOL because that violates type injectivity since MEMPOOL shares the predicate failure with LEDGER.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Invert calling of MEMPOOL rule
1 participant