Skip to content

Add test showcasing external signing for multiple requests for a single transaction#1330

Draft
vicsn wants to merge 6 commits into
testnetfrom
add_nested_signing_test
Draft

Add test showcasing external signing for multiple requests for a single transaction#1330
vicsn wants to merge 6 commits into
testnetfrom
add_nested_signing_test

Conversation

@vicsn

@vicsn vicsn commented May 28, 2026

Copy link
Copy Markdown
Collaborator

Motivation

The high level workflow:

  1. sampleAuthorization samples inputs for the full call graph
  2. computeExternalSigningInputs is called for every request
  3. Signing and gamma computation in MPC can happen. This is left out of the test.
  4. fromExternallySignedDataWithViewKey is called for every request
  5. buildProvingRequestFromExecutionRequest prepares a submission to the delegated prover.

Base automatically changed from testnet-v4.7.0 to mainnet June 1, 2026 22:08
@iamalwaysuncomfortable iamalwaysuncomfortable changed the base branch from mainnet to test/canary-v4.5.4-compat June 9, 2026 22:13
@iamalwaysuncomfortable iamalwaysuncomfortable changed the base branch from test/canary-v4.5.4-compat to mainnet June 9, 2026 22:13

@iamalwaysuncomfortable iamalwaysuncomfortable left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This deserves a discussion before this lands. There's a lot of open questions about the pipeline of sampling to --> consuming requests into a proof.

I assume some of those questions might be answered by examining the SnarkVM rev in this PR?

Widen ProvingRequestOptions.executionRequest to ExecutionRequest |
ExecutionRequest[] (renamed from the plural executionRequests) and normalize
to an array inside provingRequest() so callers can pass one request or many.
Update the test to pass a single request.
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