Skip to content

[Tutorial] When Proofs Fail: Debugging Proof Server Errors & ZK Generation Failures (Bounty #319)#521

Open
a918124259a wants to merge 1 commit into
midnightntwrk:mainfrom
a918124259a:tutorial/319-proof-errors
Open

[Tutorial] When Proofs Fail: Debugging Proof Server Errors & ZK Generation Failures (Bounty #319)#521
a918124259a wants to merge 1 commit into
midnightntwrk:mainfrom
a918124259a:tutorial/319-proof-errors

Conversation

@a918124259a
Copy link
Copy Markdown

Summary

This tutorial covers the four most common proof server failures that Midnight dApp developers encounter:

  1. Proof server not respondingdocker logs diagnostics for the midnight-proof-server container
  2. Proof timeout on first call — the ~30MB ZK parameter download and cold start workaround
  3. Wire format mismatch — protocol buffer incompatibility between SDK and proof server
  4. Version mismatch — proof server Docker tag vs ledger version compatibility

Deliverables

  • TUTORIAL.md (2,000+ words) — complete debugging guide with diagnosis and fix steps
  • contracts/version-mismatch-demo.compact — sample Compact contract for testing proof server connectivity
  • src/proof-server-check.ts — comprehensive health check script (reachability, version, proof generation)

Related

Closes #319

Covers: proof server not responding (docker logs), proof timeout
(~30MB ZK params), wire format mismatch, version mismatch between
proof server Docker tag and ledger version, and a comprehensive
health check script.
@a918124259a a918124259a requested a review from a team as a code owner May 21, 2026 14:37
@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

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.

[Tutorial] When Proofs Fail: Debugging Proof Server Errors & ZK Generation Failures

2 participants