Skip to content

Comments

chore: remove jsonrpsee dependencies#3690

Merged
mattsse merged 4 commits intomainfrom
mattsse/remove-jsonrpsee-deps
Feb 14, 2026
Merged

chore: remove jsonrpsee dependencies#3690
mattsse merged 4 commits intomainfrom
mattsse/remove-jsonrpsee-deps

Conversation

@gakonst
Copy link
Member

@gakonst gakonst commented Feb 14, 2026

Summary

Remove all jsonrpsee and jsonrpsee-types dependencies from the workspace.

Changes

  • Remove jsonrpsee and jsonrpsee-types from workspace deps
  • Remove FilterId <-> jsonrpsee_types::SubscriptionId conversions in rpc-types-eth
  • Remove ForkchoiceUpdateError -> jsonrpsee_types::ErrorObject conversion in rpc-types-engine
  • Remove jsonrpsee-types feature from rpc-types, rpc-types-eth, rpc-types-engine
  • Remove rpc-types-json feature from alloy meta-crate
  • Rewrite test_subscription_race_condition to use a tokio-tungstenite mock WS server instead of jsonrpsee::server
  • Rewrite serde_json_header test with local structs instead of jsonrpsee_types::SubscriptionResponse

Testing

cargo check --workspace --all-features passes. cargo tree -i jsonrpsee confirms zero references.

Prompted by: matthias

- Remove jsonrpsee and jsonrpsee-types workspace deps
- Remove FilterId <-> jsonrpsee SubscriptionId conversions (rpc-types-eth)
- Remove ForkchoiceUpdateError -> jsonrpsee ErrorObject conversion (rpc-types-engine)
- Remove jsonrpsee-types feature from rpc-types, rpc-types-eth, rpc-types-engine
- Remove rpc-types-json feature from alloy meta-crate
- Rewrite test_subscription_race_condition to use tokio-tungstenite mock server
- Rewrite serde_json_header test to use local deserialization structs

Amp-Thread-ID: https://ampcode.com/threads/T-019c5c46-90c3-7619-9be3-555766617985
Co-authored-by: Amp <[email protected]>
@github-project-automation github-project-automation bot moved this to Reviewed in Alloy Feb 14, 2026
@gakonst gakonst force-pushed the mattsse/remove-jsonrpsee-deps branch from 94f0efe to 0a0eecc Compare February 14, 2026 13:51
@mattsse mattsse enabled auto-merge (squash) February 14, 2026 14:02
@mattsse mattsse disabled auto-merge February 14, 2026 15:45
@mattsse mattsse merged commit af47f73 into main Feb 14, 2026
28 of 30 checks passed
@github-project-automation github-project-automation bot moved this from Reviewed to Done in Alloy Feb 14, 2026
@mattsse mattsse deleted the mattsse/remove-jsonrpsee-deps branch February 14, 2026 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants