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

Document integrity hash in the case of no redeemer #2606

Merged
merged 1 commit into from
Jan 19, 2022

Conversation

JaredCorduan
Copy link
Contributor

@JaredCorduan JaredCorduan commented Jan 6, 2022

This PR documents an unfortunate mistake. Harmless, but ugly.

When we added the ability to supply auxiliary datums (but only in the case of datums in newly created transaction outputs) we introduced this wart which arbitrarily prepends 80 to the data and appends A0, corresponding to the CBOR empty list and empty map.

discovered by #2604

@JaredCorduan JaredCorduan force-pushed the jc/document-integrity-hash-when-no-redeemers branch from 6a0adc1 to 81a309f Compare January 6, 2022 21:12
@JaredCorduan JaredCorduan force-pushed the jc/document-integrity-hash-when-no-redeemers branch from 81a309f to b3ed63c Compare January 7, 2022 19:58
@JaredCorduan JaredCorduan merged commit 3a5c2bc into master Jan 19, 2022
@iohk-bors iohk-bors bot deleted the jc/document-integrity-hash-when-no-redeemers branch January 19, 2022 17:16
rooooooooob added a commit to Emurgo/cardano-serialization-lib that referenced this pull request Feb 1, 2022
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