Skip to content

Use resource reads for worker config#168

Merged
zjma merged 1 commit into
mainfrom
codex/worker-config-resource-reads
Jul 13, 2026
Merged

Use resource reads for worker config#168
zjma merged 1 commit into
mainfrom
codex/worker-config-resource-reads

Conversation

@zjma

@zjma zjma commented Jul 13, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • fetch worker ClientEndpoint via account resource reads instead of worker_config::get_client_endpoint view calls
  • fetch worker PkeEncryptionKey via account resource reads instead of worker_config::get_pke_enc_key_bcs view calls
  • centralize worker endpoint + PKE key lookup for IBE and tVRF SDK paths

Closes #155

Tests

  • npm run typecheck in ts-sdk
  • npm test -- --run in ts-sdk
  • pnpm --dir scenarios test-ibe-aptos-basic

@zjma
zjma force-pushed the codex/worker-config-resource-reads branch from 4f88c52 to a484d06 Compare July 13, 2026 06:27
@zjma zjma changed the title Use resource reads for worker endpoints Use resource reads for worker config Jul 13, 2026
@zjma
zjma force-pushed the codex/worker-config-resource-reads branch from a484d06 to 08c053b Compare July 13, 2026 06:43
@zjma
zjma force-pushed the codex/worker-config-resource-reads branch from 08c053b to 5fa116d Compare July 13, 2026 07:03
@zjma
zjma merged commit 82837bf into main Jul 13, 2026
18 checks passed
@zjma
zjma deleted the codex/worker-config-resource-reads branch July 13, 2026 07:15
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.

SDK: replace per-worker view calls with resource API / batch reads for worker_config

1 participant