-
Notifications
You must be signed in to change notification settings - Fork 5
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
Feat/scroll rpc #136
Feat/scroll rpc #136
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.
Please remove the #[allow(clippy::missing_const_for_fn)]
where possible and replace with const
. Just a couple of nits otherwise
Co-authored-by: greg <[email protected]>
Co-authored-by: greg <[email protected]>
yeah. I all add const tested for every |
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.
Looks good! I left some additional comments inline.
* feat: scroll primitives Signed-off-by: Gregory Edison <[email protected]> * feat: add missing traits implementations Signed-off-by: Gregory Edison <[email protected]> * feat: add `ScrollTransactionReceipt` Signed-off-by: Gregory Edison <[email protected]> * fix: lint + tests Signed-off-by: Gregory Edison <[email protected]> * fix: lint Signed-off-by: Gregory Edison <[email protected]> * fix: answer comments Signed-off-by: Gregory Edison <[email protected]> * fix: codespell Signed-off-by: Gregory Edison <[email protected]> --------- Signed-off-by: Gregory Edison <[email protected]>
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.
lgtm! will leave @frisitano to merge
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.
Thanks, looks good! LGTM
Description
Because the scroll l2geth adds extra fields (l1Fee, queueIndex) to
Transaction
,Receipt
, and also imports a new transaction typeTxL1Message
to deal with the deposit message, so scroll-reth also needs to implement scroll-based api like l2geth.Some affected APIs contain:
ScrollEthApi is defined here
the scroll-based apis mainly live in: