Skip to content

console, api: drop the removed bootnode authorizedNodes references - #1006

Open
hyunsooda wants to merge 2 commits into
kaiachain:devfrom
hyunsooda:chore/remove-dead-bootnode-console-methods
Open

console, api: drop the removed bootnode authorizedNodes references#1006
hyunsooda wants to merge 2 commits into
kaiachain:devfrom
hyunsooda:chore/remove-dead-bootnode-console-methods

Conversation

@hyunsooda

@hyunsooda hyunsooda commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Proposed changes

The bootnode authorizedNodes handlers were removed in 4879302d5, but the console still advertises bootnode_{get,put,delete}AuthorizedNodes and api/README.md still lists them under two cmd/kbn files that no longer exist. Drops both, and replaces the README section with DiscoveryAPI's five actual methods.

Types of changes

  • 🐛 Bug fix
  • ✨ Non-hardfork changes (node upgrade not required)
  • 💥 Hardfork / consensus-breaking changes
  • 🧪 Test improvements
  • 🧰 CI / build tool
  • ♻️ Chore / Refactor / Non-functional changes

Checklist

  • 📖 I have read the CONTRIBUTING GUIDELINES doc
  • 📝 I have signed in the PR comment I have read the CLA Document and I hereby sign the CLA in first time contribute after having read CLA
  • 🟢 Lint and unit tests pass locally with my changes ($ make test)

Related issues

Further comments

hyunsooda and others added 2 commits August 4, 2026 11:21
The backing DiscoveryAPI handlers were deleted in 4879302 so that a BN
accepts discovery pings from any node type with no allowlist, but the
console kept advertising getAuthorizedNodes/putAuthorizedNodes/
deleteAuthorizedNodes, which now fail as unknown RPC methods.

Confidence: high
Scope-risk: narrow

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The listed BootnodeAPI/BootnodeRegistryAPI files no longer exist; the
namespace is served by DiscoveryAPI, which exposes five table methods.

Confidence: high
Scope-risk: narrow

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@hyunsooda hyunsooda self-assigned this Aug 4, 2026
@hyunsooda hyunsooda changed the title Chore/remove dead bootnode console methods console, api: drop the removed bootnode authorizedNodes references Aug 4, 2026
@hyunsooda hyunsooda added the do not merge Do not merge just yet label Aug 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do not merge Do not merge just yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant