-
Notifications
You must be signed in to change notification settings - Fork 156
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
base: master
Are you sure you want to change the base?
Conversation
RoundTrip
tests for blocks for each era tests for
Block` for each era
23d176c
to
af18f12
Compare
libs/cardano-protocol-tpraos/test/Test/Cardano/Protocol/Binary/RoundTrip.hs
Outdated
Show resolved
Hide resolved
libs/cardano-protocol-tpraos/test/Test/Cardano/Protocol/Binary/RoundTrip.hs
Outdated
Show resolved
Hide resolved
tests for
Block` for each eraBlock
for each era
af18f12
to
474ae05
Compare
Block
for each erahuddleRoundTripAnnCborSpec @(BHeader StandardCrypto) v "header" | ||
huddleRoundTripCborSpec @(BHeader StandardCrypto) v "header" | ||
huddleRoundTripCborSpec @(BHBody StandardCrypto) v "header_body" | ||
xdescribe "[ operational_cert ] doesn't roundtrip with huddle" $ |
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.
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.
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.
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.
474ae05
to
e14f21f
Compare
Description
Adding some missing roundtrip tests for: Block, TxDats, Remeemers and huddle checks for types in cardano-protocol-tpraos.
Checklist
CHANGELOG.md
files updated for packages with externally visible changesNew section is never added with the code changes. (See RELEASING.md)
.cabal
andCHANGELOG.md
files when necessary, according to theversioning process.
.cabal
files updated when necessaryIf you change the bounds in a cabal file, that package itself must have a version increase. (See RELEASING.md)
scripts/fourmolize.sh
)scripts/cabal-format.sh
)hie.yaml
updated (usescripts/gen-hie.sh
)