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

Add missing cbor round trip tests #4869

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

teodanciu
Copy link
Contributor

@teodanciu teodanciu commented Feb 3, 2025

Description

Adding some missing roundtrip tests for: Block, TxDats, Remeemers and huddle checks for types in cardano-protocol-tpraos.

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

@teodanciu teodanciu requested a review from a team as a code owner February 3, 2025 17:38
@teodanciu teodanciu changed the title Add cbor RoundTrip tests for blocks for each era Add cbor round trip tests for Block` for each era Feb 3, 2025
@teodanciu teodanciu force-pushed the td/add-missing-block-roundtrip-tests branch from 23d176c to af18f12 Compare February 3, 2025 17:41
@lehins lehins changed the title Add cbor round trip tests for Block` for each era Add cbor round trip tests for Block for each era Feb 6, 2025
@teodanciu teodanciu marked this pull request as draft February 24, 2025 19:11
@teodanciu teodanciu force-pushed the td/add-missing-block-roundtrip-tests branch from af18f12 to 474ae05 Compare February 25, 2025 19:19
@teodanciu teodanciu changed the title Add cbor round trip tests for Block for each era Add missing cbor round trip tests Feb 25, 2025
@teodanciu teodanciu marked this pull request as ready for review February 25, 2025 19:21
huddleRoundTripAnnCborSpec @(BHeader StandardCrypto) v "header"
huddleRoundTripCborSpec @(BHeader StandardCrypto) v "header"
huddleRoundTripCborSpec @(BHBody StandardCrypto) v "header_body"
xdescribe "[ operational_cert ] doesn't roundtrip with huddle" $
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Is this a known issue? It does ring a bell, but couldn't find a github issue. If there isn't one, I will create one.

Copy link
Collaborator

Choose a reason for hiding this comment

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

There was a relevant ticket, but I thought it was fixed: #3559

Feel free to create a new one and figure it out what is going on with it.

@teodanciu teodanciu force-pushed the td/add-missing-block-roundtrip-tests branch from 474ae05 to e14f21f Compare February 26, 2025 08:23
@teodanciu teodanciu marked this pull request as draft March 4, 2025 16:58
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.

2 participants