Skip to content

feat(proto): add STDIN_TOO_LARGE proof request error - #250

Open
bergkvist wants to merge 6 commits into
mainfrom
tobias/proto-stdin-too-large
Open

bergkvist wants to merge 6 commits into
mainfrom
tobias/proto-stdin-too-large

Conversation

@bergkvist

@bergkvist bergkvist commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Add STDIN_TOO_LARGE = 9 to ProofRequestError in proto/types.proto, and add the same value to crates/types/network/src/types.rs.

Motivation

The prover network will fail a proof request when its stdin artifact is larger than 16 GiB. It reports this with error value 9. With this change, spn-network-types users can decode and match on that value. The enum stays the same as the one in the SP1 SDK (succinctlabs/sp1#3040) and in network-services.

This follows #246, which added PROGRAM_TOO_LARGE for the program size limit.

Caveats

This PR is stacked on #251. The cluster fulfiller needs both changes from one commit of this repository. The two changes do not depend on each other in code, so this PR can also go to main first.

@bergkvist
bergkvist changed the base branch from main to tobias/cap-artifact-download-size November 17, 2026 00:19
Base automatically changed from tobias/cap-artifact-download-size to main November 20, 2026 15:49
…o-large

# Conflicts:
#	crates/network/artifacts/src/lib.rs

This branch has not been deployed

No deployments
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