Skip to content

feat(proto): add INVALID_PROGRAM proof request error - #247

Merged
bergkvist merged 1 commit into
mainfrom
tobias/proto-invalid-program
Nov 4, 2026
Merged

bergkvist merged 1 commit into
mainfrom
tobias/proto-invalid-program

Conversation

@bergkvist

@bergkvist bergkvist commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Add INVALID_PROGRAM = 8 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 cannot be decoded. It reports this with error value 8. 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#3036). It follows #246, which added PROGRAM_TOO_LARGE = 7 the same way.

@bergkvist
bergkvist merged commit fcb2b52 into main Nov 4, 2026
6 checks passed
@bergkvist
bergkvist deleted the tobias/proto-invalid-program branch November 4, 2026 22:58
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