Spawn validation requests as blocking #12504
Labels
A-rpc
Related to the RPC implementation
C-enhancement
New feature or request
D-good-first-issue
Nice and easy! A great choice to get started
Describe the feature
reth/crates/rpc/rpc/src/validation.rs
Line 371 in c1c64eb
and
reth/crates/rpc/rpc/src/validation.rs
Line 402 in c1c64eb
are blocking and should be spawned as such, for example:
reth/crates/rpc/rpc-eth-api/src/helpers/call.rs
Lines 699 to 703 in c1c64eb
this means that the API type needs a spawner
Box<dyn TaskSpawner>
reth/crates/rpc/rpc/src/eth/core.rs
Lines 240 to 241 in c1c64eb
Additional context
No response
The text was updated successfully, but these errors were encountered: