Fix circuit hash export causing debug page crash#27
Merged
Steake merged 2 commits intoclaude/setup-e-011CUmBq91aTRqdLyS7cMipEfrom Nov 3, 2025
Merged
Fix circuit hash export causing debug page crash#27Steake merged 2 commits intoclaude/setup-e-011CUmBq91aTRqdLyS7cMipEfrom
Steake merged 2 commits intoclaude/setup-e-011CUmBq91aTRqdLyS7cMipEfrom
Conversation
- Fixed CIRCUIT_HASHES export in src/lib/zkml/index.ts (was incorrectly re-exporting from circuit-manager.ts instead of circuit-hashes.ts) - Added comprehensive E2E testing report with screenshots - Validated all major features: homepage, debug page, claim page, explore page - Tested wallet mock controller with multiple user scenarios - Verified ZKML prover component functionality - All pages now load successfully without errors Co-authored-by: Steake <530040+Steake@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add mock circuit artifacts and refactor circuit hash management
Fix circuit hash export causing debug page crash
Nov 3, 2025
Steake
approved these changes
Nov 3, 2025
There was a problem hiding this comment.
Pull Request Overview
This PR applies automated code formatting across the entire codebase using Prettier, standardizing code style for improved maintainability and consistency. The changes affect TypeScript/JavaScript files, JSON configuration files, and Markdown documentation.
Key Changes:
- Reformatted all TypeScript/JavaScript files to use 2-space indentation and consistent formatting
- Standardized JSON files (removed trailing commas, consistent spacing)
- Updated Markdown files with consistent spacing and formatting
- Changed quote style from single to double quotes in test files and scripts
Reviewed Changes
Copilot reviewed 23 out of 33 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| tests/unit/mock-api-consistency.test.ts | Quote style standardization (single → double) |
| static/circuits/ebsl_*/settings.json | Compact array formatting for model scales |
| src/routes/+layout.svelte | Removed extra blank line |
| src/lib/zkml/index.ts | Import statement formatting and organization |
| src/lib/web3/onboard.ts | Multi-line import and expression formatting |
| src/lib/proof/*.js | Consistent 2-space indentation throughout |
| src/lib/proof/*.d.ts | TypeScript declaration formatting |
| src/lib/ebsl/core.js | Function parameter and expression formatting |
| scripts/generate-mock-circuits.cjs | Quote style and formatting consistency |
| documentation/*.md | Added blank lines for better readability |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The debug page was failing with a module import error:
circuit-manager.tsdoes not exportCIRCUIT_HASHES. This constant lives incircuit-hashes.tsbut was being incorrectly re-exported throughcircuit-manager.ts.Changes
Fixed module export in
src/lib/zkml/index.ts:Testing Report
Added comprehensive E2E validation report (
E2E_TESTING_REPORT_SESSION.md) covering:Screenshots
Debug page now loads correctly:

Wallet mock controller operational:

Connected state with high reputation user:

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.