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

Move flat en/de from aiken to pallas #303

Merged
merged 1 commit into from
Oct 4, 2023
Merged

Move flat en/de from aiken to pallas #303

merged 1 commit into from
Oct 4, 2023

Conversation

rvcas
Copy link
Member

@rvcas rvcas commented Oct 4, 2023

Nothing new is going on within the code itself. I simply popped the crate into pallas_codec as a submodule pallas_codec::flat. I also moved over the tests that we had in the crate. In general this is in solid shape and hasn't had any changes for months. That said there could be some things that require love like dealing with BigInt.

relates to #218

A Rust port of the Haskell reference implementation.

Although it originally seemed interesting to have this as a separate crate on crates.io, I decided that this doesn't make sense because changes to this module are extremely sensitive. Backwards compatibility is an absolute must and so this library needs to be very Cardano specific to always enforce this. So at that point it may as well live somewhere in pallas and prior discussion lead me to believe that pallas_codec was the place to park it.

Nothing new is going on within the code itself.
I simply popped the crate into pallas_codec
as a submodule `pallas_codec::flat`. I also moved
over the tests that we had in the crate. In general
this is in solid shape and hasn't had any changes for
months. That said there could be some things that require love
like dealing with BigInt.

Co-authored-by: Kasey White <kwhitemsg@gmail.com>
@rvcas rvcas requested a review from scarmuega October 4, 2023 20:55
@rvcas rvcas merged commit 7fada70 into main Oct 4, 2023
4 of 5 checks passed
@rvcas rvcas deleted the flat_encoding branch October 4, 2023 23:08
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