Skip to content

fix(desktop): bind local FISCO BCOS trust config - #627

Merged
ryan-wong-coder merged 2 commits into
wowtrust:mainfrom
ryan-wong-coder:agent/fisco-bcos-desktop-binding
Aug 3, 2026
Merged

fix(desktop): bind local FISCO BCOS trust config#627
ryan-wong-coder merged 2 commits into
wowtrust:mainfrom
ryan-wong-coder:agent/fisco-bcos-desktop-binding

Conversation

@ryan-wong-coder

Copy link
Copy Markdown
Collaborator

Fixes #626

Summary

  • Adds a persisted fisco_bcos_trust_config_file setting for TrustDB Desktop.
  • Loads only canonical FISCO BCOS TrustConfig CBOR and fails closed on invalid input.
  • Injects the local TrustConfig into the SDK offline verifier so FISCO BCOS receipt inclusion, PBFT finality, and exact anchor binding can promote valid proofs to L5.
  • Adds Settings and per-run Verify UI inputs with clear offline-only guidance.

Root cause

The desktop verifier had no verifier-local FISCO BCOS trust configuration input. As a result, proofs with a FISCO BCOS anchor stopped at verifier-local FISCO BCOS trust config is required even though all other evidence stages passed.

Validation

  • cd clients/desktop/frontend && npm run build
  • cd clients/desktop && go test ./...
  • go test ./...

Verification remains disconnected: the configured TrustConfig is read locally and no FISCO BCOS endpoint, DNS, provider, or blockchain RPC is contacted.

@ryan-wong-coder
ryan-wong-coder force-pushed the agent/fisco-bcos-desktop-binding branch from 9320dd6 to 5ae142e Compare August 2, 2026 13:21
@ryan-wong-coder
ryan-wong-coder enabled auto-merge (squash) August 3, 2026 04:36
@ryan-wong-coder
ryan-wong-coder merged commit 3313c68 into wowtrust:main Aug 3, 2026
17 checks passed
@ryan-wong-coder
ryan-wong-coder deleted the agent/fisco-bcos-desktop-binding branch August 3, 2026 04:43
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.

Desktop verifier: add local FISCO BCOS TrustConfig binding

1 participant