Skip to content

Conversation

@Soupstraw
Copy link
Contributor

@Soupstraw Soupstraw commented Oct 28, 2025

Description

close #4566 once this test is passing

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.
    NOTE: 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.
    NOTE: If bounds change 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).
  • CDDL files are up to date (use scripts/gen-cddl.sh)
  • hie.yaml updated (use scripts/gen-hie.sh).
  • Self-reviewed the diff.

@Soupstraw Soupstraw force-pushed the jj/fail-on-duplicate-certs branch 3 times, most recently from 70bd106 to 4f1eb3f Compare October 30, 2025 15:56
@Soupstraw Soupstraw marked this pull request as ready for review October 30, 2025 15:56
@Soupstraw Soupstraw requested a review from a team as a code owner October 30, 2025 15:56
@Soupstraw Soupstraw force-pushed the jj/fail-on-duplicate-certs branch 2 times, most recently from 1bf8e74 to da08be6 Compare October 31, 2025 15:02
@Soupstraw Soupstraw force-pushed the jj/fail-on-duplicate-certs branch from da08be6 to 218e543 Compare November 3, 2025 13:56
Copy link
Collaborator

@lehins lehins left a comment

Choose a reason for hiding this comment

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

This looks great. Only made a suggestion which would take this test to a whole another level.

(DeserialiseFailure 0 "List encoding of redeemers not supported starting with PV 12")
)

duplicateCertsTx :: forall era. DijkstraEraTest era => Version -> Enc
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think it would be an awesome addition if we moved this example to shelley era and added it as a positive test, where:

  • In Shelley till Babbage we successfully decode such transaction, but only one certificate is preserved
  • In Conway only one certificate is preserved

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.

Fail on duplicate certificates

3 participants