Repository navigation
Conversation
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
lifi-action-bot
marked this pull request as draft
October 15, 2026 12:39
Contributor
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
gvladika
marked this pull request as ready for review
October 15, 2026 13:10
gvladika
enabled auto-merge (squash)
October 15, 2026 13:17
melianessa
approved these changes
Oct 15, 2026
gvladika
deleted the
feature/exsc-1216-clean-up-dead-slow-and-misconfigured-rpc-endpoints-in
branch
October 15, 2026 13:46
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.
Which Linear task belongs to this PR?
Ref EXSC-1216
Why did I implement it this way?
Adds
bun remove-network-rpc --network <name> --host <host> [--environment <env>] [--apply], the counterpart toadd-network-rpc. The endpoint is named by host (asaudit-rpc-prioritiesprints it) so a keyed URL never has to be pasted into a terminal. It is a dry run unless--applyis passed, it refuses a host that matches more than one stored endpoint on the chain, and it refuses to remove a chain's last endpoint for the environment. A production removal also matches records that predate theenvironmentfield, and never touches the same URL stored under another environment. The matching lives infindEndpointsByHostinrpcEndpoints.tswith unit tests; it never matches an unparsable stored URL by its placeholder host. The script was used to remove 31 dead or misconfiguredRpcEndpointsentries (dead Pokt gateways, DNS-dead and 401/403 hosts, and a Chiado testnet endpoint in the gnosis mainnet list); the probe of the regenerated.envwent from 39 endpoints failing both rounds to 5. EXSC-1216 stays open for the follow-ups.Checklist before requesting a review
Checklist for reviewer (DO NOT DEPLOY and contracts BEFORE CHECKING THIS!!!)
🤖 Generated with Claude Code