Skip to content

feat(indexer): localnet support via devstack - #76

Open
ioannischtz wants to merge 2 commits into
sew-1004-chat-appdevstack-full-local-walrus-recovery-e2e-local-walrusfrom
sew-1004-walrus-discovery-indexer-localnet
Open

ioannischtz wants to merge 2 commits into
sew-1004-chat-appdevstack-full-local-walrus-recovery-e2e-local-walrusfrom
sew-1004-walrus-discovery-indexer-localnet

Conversation

@ioannischtz

Copy link
Copy Markdown
Collaborator

Stacked on #75. Runs the walrus-discovery-indexer against the fully-local devstack stack (SEW-1004 tier 2b).

  • NETWORK=localnet + SUI_GRPC_URL / WALRUS_PACKAGE_ID / WALRUS_AGGREGATOR_URL (localnet has no built-in Walrus config or gRPC map entry)
  • blob inspection via the aggregator HTTP API behind a BlobInspector seam — a local cluster's committee hostnames (dryrun-node-<i>) only resolve inside its Docker network, so the @mysten/walrus SDK read path can't reach the storage nodes from a host process; testnet/mainnet keep the SDK path unchanged
  • chat-app/scripts/local-indexer.sh extracts the env from the running stack (same pattern as local-relayer.sh); runbook gains a Terminal 3 block
  • unit tests for the aggregator inspector; no wire-protocol changes (reader-side, additive)

Validated live: e2e message → relayer quilt to local publisher → BlobCertified on localnet → aggregator inspection → REST discovery (/v1/patches, /v1/groups/:id/patches).

Remaining for recovery e2e: SDK RecoveryTransport wiring in the chat-app (tier 2c).

🤖 Generated with Claude Code

- NETWORK=localnet with SUI_GRPC_URL / WALRUS_PACKAGE_ID /
  WALRUS_AGGREGATOR_URL (no auto-derive or built-in config on localnet)
- blob inspection through the aggregator HTTP API behind a BlobInspector
  seam: a local cluster's committee hostnames only resolve inside Docker,
  so the SDK read path can't reach the storage nodes from a host process;
  testnet/mainnet keep the SDK path unchanged
- chat-app/scripts/local-indexer.sh extracts the env from a running stack

Validated live: e2e message -> relayer quilt -> BlobCertified ->
aggregator inspection -> REST discovery.

Co-Authored-By: Claude Fable 5 <[email protected]>
@vercel

vercel Bot commented Jul 7, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
groups-sdk Ready Ready Preview, Comment Jul 7, 2026 9:15am

Request Review

The SDK's RecoveryTransport calls the indexer from the browser; without
Access-Control-Allow-Origin every cross-origin fetch fails. Open CORS on
a read-only discovery surface, same posture as Walrus aggregators.

Co-Authored-By: Claude Fable 5 <[email protected]>

This branch was successfully deployed

1 active deployment
Preview — 32d210ad Deployed Jul 7, 2026 by vercel[bot]
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.

1 participant