Skip to content

ethrpc: remove unused jwtToken field - #224

Merged
VojtechVitek merged 1 commit into
masterfrom
remove-unused-jwt-token
Nov 3, 2026
Merged

VojtechVitek merged 1 commit into
masterfrom
remove-unused-jwt-token

Conversation

@VojtechVitek

Copy link
Copy Markdown
Contributor

ethrpc: remove unused jwtToken field

Provider.jwtToken is never set. Its last setter, WithJWTAuthorization, was removed in 83b5ab7 (#161). Since then the Authorization: BEARER branch in Do() has been dead code.

The field is unexported, so nothing outside ethrpc can set it. No API change.

Follow-up: a separate PR adds ethrpc.WithHTTPAuth(rpc.HTTPAuth), mirroring go-ethereum's rpc.WithHTTPAuth. It applies auth to both HTTP requests and the WebSocket handshake.

🤖 This message was generated by Claude using Opus 5.5 on behalf of Vojtech.

Nothing sets it, so the Authorization header branch never ran.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
@VojtechVitek
VojtechVitek requested a review from a team November 3, 2026 13:09
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-03T13:10:42.574093Z db95ddf PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@VojtechVitek
VojtechVitek merged commit 64faa05 into master Nov 3, 2026
14 checks passed
@VojtechVitek
VojtechVitek deleted the remove-unused-jwt-token branch November 3, 2026 13:29
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.

2 participants