refactor(internal-explorer): read bundle and rejected views from audit RPC only - #176
Merged
Merged
Conversation
…t RPC only Drop the S3 archive fallback and the S3 block cache (CHAIN-5418). Bundle, rejected, block, and txn views now read only the Postgres-backed audit RPC and the execution RPC. Removes @aws-sdk/client-s3 and TIPS_<CHAIN>_S3_* env.
Collaborator
✅ Heimdall Review Status
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
wlawt
approved these changes
Sep 29, 2026
This branch was successfully deployed
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.
Summary
Part of CHAIN-5418: stop reading the
base-bundle-history-*S3 buckets from Internal Explorer so they can be deleted.PutObject).archivesource: the lookup no longer readstransactions/by_hashorbundles/, the response no longer hasarchive/coverage.archive, and the page no longer shows the Archive badge or archive wording.app/api/internal-explorer/s3.ts, the S3 client/config inconfig.ts, theTIPS_<CHAIN>_S3_*entries in.env.example, and the@aws-sdk/client-s3dependency.After merge, protocols-ui will bump its
base/uipin and remove theui_tips_s3IAM policies andTIPS_*_S3_*chart env.Screenshots
Transaction page (
/internal-explorer/txn/[hash], mainnet tx, audit not configured locally): the Archive provenance badge is gone and the copy now says Audit.Internal Explorer home (unchanged layout, for reference):
Test plan
npm test: 55 files, 408 tests pass (transaction-lookup tests updated for the audit-only lookup).npx eslint app/api/internal-explorer app/internal-explorer: no new findings.npm run build:internalsucceeds.tsc --noEmithas one error, a missing PNG type declaration inapp/vibenet/demos/200/BlockRunner.tsx, which this PR does not touch.Generated with Toshi
type=routine
risk=low
impact=sev5