-
Notifications
You must be signed in to change notification settings - Fork 12
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
Remove serde dependency #251
Remove serde dependency #251
Conversation
2a2e7fb
to
9ff40ba
Compare
Looks like the lockfiles need to be updated. |
9ff40ba
to
505e219
Compare
Lockfiles are updated. CI seems to be happy |
I apparently can't test this until we update to ghc 9.8, because my script can't verify that the generated files are correct. |
@uncomputable can you open a new PR which updates libsimplicity? |
I am on it. I was thinking of pushing to this PR. |
I updated the Merkle roots, but for some reason C and Rust still don't agree on them. It is getting late, so I will take this up again tomorrow. Drafting the PR. |
@uncomputable I patched this up locally to create a test transaction. There are two changes you need to make:
|
Update name of elementsJets.c. Update Merkle root IVs based on change from `Simplicity-Draft` to `Simplicity`. Add tooling to upgrade Merkle roots faster in the future. Update Merkle roots in unit tests.
rust-elements has the default feature "json-contract" which depends on serde_json. We don't need this feature in rust-simplicity.
0c10f52
to
905bf9b
Compare
@apoelstra Thanks for pointing to |
utack c85c6f1 except that we should leave the names of the Tmr IVs alone, and keep exporting them as |
I can add getters to the |
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.
ACK 905bf9b successfully ran local tests
Remove the
serde_json
dependency when theserde
feature is disabled. Update libsimplicity.