Skip to content

Conversation

@qj0r9j0vc2
Copy link
Member

Fixes #75

Replaces std::sync::RwLock with parking_lot::RwLock in the RPC crate to prevent cascading panics from lock poisoning.

Changes

  • Added parking_lot = "0.12" to RPC crate dependencies
  • Updated middleware.rs (IpRateLimiter)
  • Updated adapters.rs (ProviderBasedRpcStorage)

All 58 tests pass.

@qj0r9j0vc2 qj0r9j0vc2 self-assigned this Jan 19, 2026
@qj0r9j0vc2 qj0r9j0vc2 merged commit dd6232f into main Jan 20, 2026
9 checks passed
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.

Lock poisoning causes cascading panics in ValidatorSetManager

2 participants