-
Notifications
You must be signed in to change notification settings - Fork 214
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
Manually tweak e2e fixtures to be valid in Conway #4752
Manually tweak e2e fixtures to be valid in Conway #4752
Conversation
b1bd20e
to
83b01b9
Compare
Doh, classic editing the wrong file 😅 |
11cc375
to
0cf78dd
Compare
@paolino e2e test pass (albeit with one pending). Ruby linter fails, but it doesn't look related to the one line I added. Please review and merge if you see fit. |
0cf78dd
to
ff7f9ee
Compare
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.
Thank you! 😊
I have assuaged Rubocop. I'm going to merge this without running the optional E2E tests, as Johannes has already indicated that they are working.
When reproducing in a unit test I got the following two failures: - DecoderErrorDeserialiseFailure "Shelley Tx" (DeserialiseFailure 117 "TxBody: 'Required Signer Hashes' must be non-empty when supplied") - DecoderErrorDeserialiseFailure "Shelley Tx" (DeserialiseFailure 42 "TxBody: 'Collateral Inputs' must be non-empty when supplied") These correspond to the tags 13 and 14 in the Conway binary spec: https://github.com/IntersectMBO/cardano-ledger/blob/8d7d261dfb6282ab86cad32ec3f1be71db9a3080/eras/conway/impl/cddl-files/conway.cddl#L431-L432 Using cbor.me we can confirm the presence of in the binaries from the errors: ``` 0D # unsigned(13) 80 # array(0) ``` So we manaully delete - `0d80` - `0e80` with this meaning (some matches of 0e80 were part of bytestrings, so we don't delete them) And then adjust the preceding TxBody length: ``` 84 # array(4) A5 # map(5) ``` E.g. `s/A5/A3`.
e90f8f2
to
c24f835
Compare
Comments
When reproducing in a unit test I got the following two failures:
These correspond to the tags 13 and 14 in the Conway binary spec:
https://github.com/IntersectMBO/cardano-ledger/blob/8d7d261dfb6282ab86cad32ec3f1be71db9a3080/eras/conway/impl/cddl-files/conway.cddl#L431-L432
Using cbor.me we can confirm the presence of in the binaries from the
errors:
So we manaully delete
0d80
0e80
with this meaning (some matches of 0e80 were part of bytestrings, so we
don't delete them)
And then adjust the preceding TxBody length:
E.g.
s/A5/A3
.Issue Number
ADP-3413