Skip to content

Move the Jet codec and parser towards the object-safaty#358

Draft
ivanlele wants to merge 2 commits intoBlockstreamResearch:masterfrom
ivanlele:feature/sail-jet-from-not-object-safe-supertraits
Draft

Move the Jet codec and parser towards the object-safaty#358
ivanlele wants to merge 2 commits intoBlockstreamResearch:masterfrom
ivanlele:feature/sail-jet-from-not-object-safe-supertraits

Conversation

@ivanlele
Copy link
Copy Markdown
Contributor

@ivanlele ivanlele commented Apr 9, 2026

This PR moves the Jet::decode method to JetEnvironment::decode_jet, introduces a parse method for jets within that environment, and updates Jet::encode to comply with object safety. See #349 for details.

@ivanlele
Copy link
Copy Markdown
Contributor Author

ivanlele commented Apr 9, 2026

@apoelstra. Looks big at first glance, but it's mostly from moving the decoding tree into autogenerated files, once I revert those, it'll be tiny. Also the updated generation: BlockstreamResearch/simplicity#335

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.

1 participant