paritytech / paritytech/polkadot-cli
Show connected RPC endpoint in `inspect` output
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 10
- Forks
- 2
- Avg merge
- 12h 35m
- Merged PRs (30d)
- 4
Description
Problem
inspect shows "Pallets on polkadot" but doesn't show which RPC endpoint it connected to or where the metadata came from. When metadata resolution is wrong (see #161), there's no way to tell from the output alone.
Suggested Improvement
Include the RPC endpoint in the inspect header:
Pallets on preview-asset-hub (67) [wss://previewnet.substrate.dev/asset-hub]
This is a trivial change — inspect.ts already has access to the chain config with the RPC URL. It provides diagnostic value especially when debugging metadata issues.
Key Files
src/commands/inspect.tssrc/commands/focused-inspect.ts
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in src/commands/inspect.ts, where the chain config and RPC URL are already available, then check src/commands/focused-inspect.ts for matching output. Update the inspect header to include the connected endpoint and verify that the output identifies both the chain and RPC URL.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 85/100