-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: rm crate reth-rpc-types #11341
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd like to approach this differently, because this error type is also used as a library error so what you could do instead is move the ToRpcError to reth-rpc-types and retire the rpc-types crate
Actually ToRpcError is in crate reth-rpc-types. reth/crates/rpc/rpc-types/src/eth/error.rs Lines 4 to 8 in c2cabca
so we don't need to move the ToRpcError to reth-rpc-types. and ToRpcError trait only use in reth/crates/rpc/rpc-eth-types/src/simulate.rs Lines 50 to 54 in c2cabca
do you mean move the ToRpcError to crate reth-rpc-eth-types? Is there an error in my understanding? |
yes I did -.- let's move the trait there and we can finally remove the rpc-types crate |
e1f6646
to
cd3af30
Compare
f72c0fd
to
a94a3a7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great!
rm crate reth-rpc-types
do we still need trait ToRpcError, @mattsse
reth/crates/rpc/rpc-types/src/eth/error.rs
Lines 4 to 15 in c2cabca