Skip to content

Nested witness signature path injection#45

Draft
topologoanatom wants to merge 4 commits intoBlockstreamResearch:devfrom
topologoanatom:nested-sig-path
Draft

Nested witness signature path injection#45
topologoanatom wants to merge 4 commits intoBlockstreamResearch:devfrom
topologoanatom:nested-sig-path

Conversation

@topologoanatom
Copy link
Copy Markdown

Changes

Added functionality to inject signature value from RequiredSignature into nested match blocks.

@topologoanatom topologoanatom marked this pull request as ready for review April 8, 2026 08:29
@topologoanatom topologoanatom requested a review from Arvolear as a code owner April 8, 2026 08:29
Comment on lines +66 to +68
let witness = NestedSigWitness {
inherit_or_not: simplex::either::Either::Left(DUMMY_SIGNATURE),
};
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.

Is it possible to implement a "Default" trait for these autogenerated objects?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Maybe, but that struct is an artifact generated by a macro. Should I implement the trait inside the test suite?

@topologoanatom topologoanatom marked this pull request as draft April 9, 2026 12:35
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