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

Ensure Babbage TxOut decoder can't fail due to malformed Ptr #2897

Merged
merged 1 commit into from
Jul 6, 2022

Conversation

lehins
Copy link
Collaborator

@lehins lehins commented Jul 6, 2022

It was only intended for TxBody to be causing a deserialization error
on malformed Ptr, not the TxOut in the LedgerState or TxBody in eras prior
to Babbage.

It was only intended for TxBody to be causing a deserialization error
on malformed Ptr, not the TxOut in the LedgerState or TxBody in eras prior
to Babbage.
Copy link
Contributor

@JaredCorduan JaredCorduan left a comment

Choose a reason for hiding this comment

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

ah yes, great catch!

@JaredCorduan JaredCorduan merged commit 59504c5 into master Jul 6, 2022
@iohk-bors iohk-bors bot deleted the lehins/fix-txout-deserialization branch July 6, 2022 18:35
iohk-bors bot added a commit to IntersectMBO/cardano-node that referenced this pull request Jul 7, 2022
4146: Update ledger to tip of release/1.0.0 r=Jimbo4350 a=JaredCorduan

This fixes a bug whereby nodes always re-sync from the start when the last ledger snapshot was in the Babbage era.

See IntersectMBO/cardano-ledger#2897 (`release/1.0.0` was branched off of `ce3057e0863304ccb3f79d78c77136219dc786c6` and cherry-picked the commit from the ledger PR 2897).

Co-authored-by: Jared Corduan <jared.corduan@iohk.io>
jbgi pushed a commit to IntersectMBO/cardano-world that referenced this pull request Jul 11, 2022
4146: Update ledger to tip of release/1.0.0 r=Jimbo4350 a=JaredCorduan

This fixes a bug whereby nodes always re-sync from the start when the last ledger snapshot was in the Babbage era.

See IntersectMBO/cardano-ledger#2897 (`release/1.0.0` was branched off of `ce3057e0863304ccb3f79d78c77136219dc786c6` and cherry-picked the commit from the ledger PR 2897).

Co-authored-by: Jared Corduan <jared.corduan@iohk.io>
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