feat: implement Clone for TransactionContextBuilder#2979
Merged
Conversation
3f5b81b to
c8e701f
Compare
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements
CloneforTransactionContextBuilderso 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::Unauthorizedvariant.Motivated by reducing line count in general but in particular for #2973.