-
Notifications
You must be signed in to change notification settings - Fork 39
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
Optimism RPC Types #2
Conversation
…eipt.rs accordingly.
… methods in receipt.rs
…te's transaction and alloy's header.
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.
good direction, left a few more suggestions
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.
the entire PR needs to re-export RPC types where needed, and extend them everywhere else, the requirement is "there must not be any duplicate types between the 2 crates"
i would start from the lower level crate whether it's consensus or rpc types from your POV and do that first, and you can do the other in separate PR
but def don't copy paste big structs around, find the extension fields and add them there
overall good start!
PR for making structs in the main alloy crate take generics: alloy-rs/alloy#573 |
Relevant issue: #5 |
keeping this open because we still need receipt types, but to make incremental progress I've extracted the things we definitely need to #6 can't push here because main branch |
Motivation
Updating the repository with Optimism RPC types.
Solution
Implement the needed OP specific RPC types and re-export whenever feasible.
PR Checklist