Skip to content

feat(witness): resolve file values against program-declared types#371

Open
KyrylR wants to merge 2 commits into
masterfrom
feat/typed-witness-boundary
Open

feat(witness): resolve file values against program-declared types#371
KyrylR wants to merge 2 commits into
masterfrom
feat/typed-witness-boundary

Conversation

@KyrylR

@KyrylR KyrylR commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator

When I started implementing enums like in Rust (nominative) I struggled a lot with the fact types are in the .args and .wit files

Because we have access to the program and actual compiler instead of providing types twice we can just rely on the program itself

apoelstra if there was a security reason pls let me know

@KyrylR KyrylR requested a review from delta1 as a code owner July 14, 2026 10:59
@KyrylR KyrylR requested review from LesterEvSe and apoelstra July 14, 2026 11:00

@LesterEvSe LesterEvSe left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 3fe6c4a; tested locally with just check and just check_fuzz

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