Skip to content

feat(proto): add PROGRAM_TOO_LARGE proof request error - #246

Merged
bergkvist merged 1 commit into
mainfrom
tobias/proto-program-too-large
Nov 3, 2026
Merged

bergkvist merged 1 commit into
mainfrom
tobias/proto-program-too-large

Conversation

@bergkvist

Copy link
Copy Markdown
Contributor

Summary

Add PROGRAM_TOO_LARGE = 7 to ProofRequestError in proto/types.proto, and regenerate crates/types/network/src/types.rs.

Motivation

The prover network can now fail a proof request because its program artifact is larger than the size limit. It reports this with error value 7. With this change, spn-network-types users can decode and match on that value, and the enum stays the same as the one in the SP1 SDK (succinctlabs/sp1#3034).

@bergkvist
bergkvist merged commit 5406987 into main Nov 3, 2026
5 checks passed
@bergkvist
bergkvist deleted the tobias/proto-program-too-large branch November 3, 2026 21:49
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