Make NodeTypes: Clone #14345
Labels
A-rpc
Related to the RPC implementation
A-sdk
Related to reth's use as a library
C-enhancement
New feature or request
D-good-first-issue
Nice and easy! A great choice to get started
Describe the feature
we use this type a lot when restricting trait bounds or using its associated types. We assume this will be stateless because only used to define types, hence we should make this Clone.
reth/crates/node/types/src/lib.rs
Lines 27 to 28 in 197d6ed
this will make it easier for derive(Clone) which would enforce a
T: Clone
TODO
Clone
to NodeTypesAdditional context
No response
The text was updated successfully, but these errors were encountered: