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

@ivanlele ivanlele force-pushed the feature/sail-jet-from-not-object-safe-supertraits branch from fa8df6c to 701e61b Compare April 13, 2026 11:27
@ivanlele ivanlele force-pushed the feature/sail-jet-from-not-object-safe-supertraits branch from 701e61b to 4d89a8f Compare April 13, 2026 11:49
@apoelstra
Copy link
Copy Markdown
Collaborator

utACK 4d89a8f -- looking forward to getting the Simplicity PR in (I fixed my pinning so hopefully I can merge it today)

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