-
Notifications
You must be signed in to change notification settings - Fork 157
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
Address deserialization #2750
Address deserialization #2750
Conversation
1fbf81f
to
cd5c7d0
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.
The bulk of the review was done in a call, thanks for all the context @lehins. looks good to me!
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.
Just the hls thing!
32bb206
to
4d311a0
Compare
* Implement new more stringent deserialization for `Addr` and `RewardAcnt` * Add property tests for new decompacting method * Make Babbage `TxBody` use new deserialization, while keeping fromCBOR backwards compatible everywhere else * Update `cardano-base` and use newer `iohk-nix` sources * Add benchmarks for compacting/uncompacting of addresses * Add a benchmark that verifies lazy access to address fields
4d311a0
to
d020487
Compare
Addressed Nicks feedback. Do not need to wait for rereview. Permission got from Jared.
This PR improves performance of Address and RewardAcnt types, but most importantly it makes deserialization more stringent starting with Babbage. Fixes #2729
Requires IntersectMBO/cardano-base#274