Skip to content

Add proof types endpoint#65

Merged
han0110 merged 3 commits into
eth-act:masterfrom
chetanyb:add-proof-types-endpoint
May 29, 2026
Merged

Add proof types endpoint#65
han0110 merged 3 commits into
eth-act:masterfrom
chetanyb:add-proof-types-endpoint

Conversation

@chetanyb
Copy link
Copy Markdown
Contributor

Summary

  • Add GET /v1/proof_types endpoint that returns configured proof types with their backend
    kind and capabilities (can_prove, can_verify)
  • Enables Assertoor and other tooling to discover server capabilities before running tests

Test plan

  • Unit tests for handler response and JSON field names
  • Unit tests for backend_capabilities() on Ere and Mock variants
  • Type serialization tests for BackendKind and ProofTypesResponse
  • cargo test --workspace passes
  • cargo +nightly fmt --check passes
  • cargo clippy passes

Written with Claude Code

@chetanyb chetanyb marked this pull request as ready for review May 28, 2026 19:41
Copy link
Copy Markdown
Collaborator

@han0110 han0110 left a comment

Choose a reason for hiding this comment

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

LGTM! btw I added the test_verifier_backend_capabilities with the dummy program vk so all are covered.

@han0110 han0110 merged commit 9be2085 into eth-act:master May 29, 2026
6 checks passed
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