Skip to content

eip8025: update ProofEvent to match zkboost v0.3.0 API#25

Open
frisitano wants to merge 4 commits intoeth-act:feat/eip8025from
frisitano:feat/update-zkboost-proof-event-api
Open

eip8025: update ProofEvent to match zkboost v0.3.0 API#25
frisitano wants to merge 4 commits intoeth-act:feat/eip8025from
frisitano:feat/update-zkboost-proof-event-api

Conversation

@frisitano
Copy link
Copy Markdown
Collaborator

Summary

  • Remove WitnessTimeout and ProofTimeout variants from ProofEvent — these were eliminated in zkboost PR Remove dead code sigp/lighthouse#40 (c10219b)
  • Remove ProofEventInfo struct (no longer needed)
  • Add FailureReason enum (WitnessTimeout, ProvingTimeout, ProvingError) matching the upstream zkboost type
  • Add reason: FailureReason field to ProofFailure to carry the structured failure reason
  • Update SseEventParts TryFrom to only handle proof_complete / proof_failure event names
  • Update proof_service to log reason and drop the now-removed timeout match arm

Test plan

  • cargo check -p execution_layer -p validator_services passes
  • All 7 proof_engine_zkboost integration tests pass against the real zkboost server (master branch, post-PR Remove dead code sigp/lighthouse#40)

🤖 Generated with Claude Code

frisitano and others added 4 commits April 2, 2026 02:55
zkboost simplified ProofEvent in sigp#40 (c10219b): the WitnessTimeout and
ProofTimeout variants were removed and folded into ProofFailure via a
new structured `reason: FailureReason` field (WitnessTimeout,
ProvingTimeout, ProvingError).

- Remove WitnessTimeout and ProofTimeout variants from ProofEvent
- Remove ProofEventInfo struct
- Add FailureReason enum to types.rs
- Add `reason` field to ProofFailure
- Update SseEventParts TryFrom to drop the now-gone event names
- Update proof_service to log `reason` and drop the timeout match arm

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.

1 participant