Skip to content

feat: implement Clone for TransactionContextBuilder#2979

Merged
PhilippGackstatter merged 2 commits into
nextfrom
pgackst-clone-for-tx-context-builder
May 27, 2026
Merged

feat: implement Clone for TransactionContextBuilder#2979
PhilippGackstatter merged 2 commits into
nextfrom
pgackst-clone-for-tx-context-builder

Conversation

@PhilippGackstatter

Copy link
Copy Markdown
Contributor

Implements Clone for TransactionContextBuilder so we can simplify multisig test code that rebuilds transaction contexts twice: once to get the tx summary, once to execute.

Also adds a helper for unwrapping a TransactionExecutorError::Unauthorized variant.

Motivated by reducing line count in general but in particular for #2973.

@PhilippGackstatter PhilippGackstatter added no changelog This PR does not require an entry in the `CHANGELOG.md` file pr-from-maintainers PRs that come from internal contributors or integration partners. They should be given priority labels May 26, 2026
@PhilippGackstatter PhilippGackstatter force-pushed the pgackst-clone-for-tx-context-builder branch from 3f5b81b to c8e701f Compare May 26, 2026 09:07
@PhilippGackstatter PhilippGackstatter marked this pull request as ready for review May 26, 2026 09:29

@partylikeits1983 partylikeits1983 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@PhilippGackstatter PhilippGackstatter added this pull request to the merge queue May 27, 2026
Merged via the queue into next with commit 85caa18 May 27, 2026
20 checks passed
@PhilippGackstatter PhilippGackstatter deleted the pgackst-clone-for-tx-context-builder branch May 27, 2026 08:14
mmagician pushed a commit that referenced this pull request May 29, 2026
* feat: implement Clone for TransactionContextBuilder

* chore: add unwrap_unauthorized_err
partylikeits1983 added a commit that referenced this pull request Jun 5, 2026
Brings the v0.15.x line on main into next via a full merge (supersedes the selective backport on this PR). Includes the network-account tx-script allowlist (#3028, #3049), circular note-dependency rejection (#2993), agglayer GER/B2AGG fixes (#2983, #2988/#3005), BURN note id uniqueness (#2987), TransactionContextBuilder Clone (#2979), and version bumps.

Conflicts resolved in favor of next: Cargo.toml/Cargo.lock keep 0.16.0; batch/mod.rs keeps the kernel/output modules; proposed_batch.rs tests keep the 4-arg new_unverified API; kernel_tests/batch/mod.rs keeps batch_verifier; test_active_note.rs keeps the get_metadata test; bridge_out.rs keeps the MintPolicy import.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no changelog This PR does not require an entry in the `CHANGELOG.md` file pr-from-maintainers PRs that come from internal contributors or integration partners. They should be given priority

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants