Skip to content

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

Merged
LesterEvSe merged 3 commits into
masterfrom
feat/typed-witness-boundary
Jul 20, 2026
Merged

feat(witness): resolve file values against program-declared types#371
LesterEvSe merged 3 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

@KyrylR
KyrylR force-pushed the feat/typed-witness-boundary branch from 80c3f02 to 3fe6c4a Compare July 17, 2026 16:21
@apoelstra

Copy link
Copy Markdown
Contributor

39719e4 needs rebase

@KyrylR
KyrylR marked this pull request as draft July 18, 2026 10:31
@KyrylR
KyrylR force-pushed the feat/typed-witness-boundary branch from 39719e4 to 3fe6c4a Compare July 18, 2026 11:28
@KyrylR
KyrylR marked this pull request as ready for review July 18, 2026 11:28
@KyrylR
KyrylR force-pushed the feat/typed-witness-boundary branch from 3fe6c4a to 0e1da07 Compare July 18, 2026 11:30
@KyrylR

KyrylR commented Jul 18, 2026

Copy link
Copy Markdown
Collaborator Author

In 538d17a fixed a doc comment to avoid rustdoc link to a private element

@KyrylR
KyrylR force-pushed the feat/typed-witness-boundary branch 2 times, most recently from c337076 to afafbd5 Compare July 18, 2026 12:16
@KyrylR
KyrylR force-pushed the feat/typed-witness-boundary branch from afafbd5 to 004260f Compare July 18, 2026 12:18
@KyrylR

KyrylR commented Jul 18, 2026

Copy link
Copy Markdown
Collaborator Author

In last commits did rebase and CI fixes

@KyrylR
KyrylR force-pushed the feat/typed-witness-boundary branch from 9422aba to 00c75ca Compare July 18, 2026 12:56
@LesterEvSe

Copy link
Copy Markdown
Collaborator

utACK 00c75ca

@LesterEvSe
LesterEvSe merged commit bf2fd43 into master Jul 20, 2026
22 of 23 checks passed
@LesterEvSe
LesterEvSe deleted the feat/typed-witness-boundary branch July 20, 2026 14:41
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.

3 participants