Skip to content

Restore TEE registry contract reads#11

Merged
adambalogh merged 1 commit into
OpenGradient:mainfrom
0xadvait:codex/fix-tee-registry-query-scope
May 20, 2026
Merged

Restore TEE registry contract reads#11
adambalogh merged 1 commit into
OpenGradient:mainfrom
0xadvait:codex/fix-tee-registry-query-scope

Conversation

@0xadvait
Copy link
Copy Markdown

Summary

  • remove the extra TEE registry API route and client fetch wrapper added in Load TEE registry through API route #10
  • restore the existing contract module as the single source for TEE registry reads, types, address, and query key
  • point TEE UI imports back to the contract module and keep disabled/raw registry counts out of the visible copy
  • cap the homepage live-operator preview to three active operators so the home layout stays stable
  • update affected home/hero Playwright screenshots to the branded explorer baseline

Verification

  • yarn eslint lib/opengradient/contracts/teeRegistry.ts ui/home/HeroBanner.tsx ui/home/TrustedExecution.tsx ui/opengradient/teeRegistry/TEENodeDetailDrawer.tsx ui/opengradient/teeRegistry/TEENodesTable.tsx ui/opengradient/teeRegistry/TEETypeCard.tsx ui/opengradient/teeRegistry/placeholders.ts ui/pages/opengradient/TEERegistry.tsx
  • yarn tsc -p ./tsconfig.json --noEmit
  • browser check: http://localhost:3010/tee-registry shows LLMProxy, 3 active/enabled records, no Loading/No data, and no /80-style count
  • yarn test:pw --project=default ui/home/HeroBanner.pw.tsx ui/pages/Home.pw.tsx
  • yarn test:pw --project=dark-color-mode ui/home/HeroBanner.pw.tsx ui/pages/Home.pw.tsx

@adambalogh adambalogh merged commit 99aa38a into OpenGradient:main May 20, 2026
7 of 9 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