-
Notifications
You must be signed in to change notification settings - Fork 45
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(traits): update use of ethers Provider and contract binding of entrypoint to use traits #326
Conversation
a544483
to
c6b56b7
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.
Looks great! A few comments inline.
903a098
to
1f133cd
Compare
aggregator_address: Address, | ||
user_op: UserOperation, | ||
gas_cap: u64, | ||
) -> anyhow::Result<AggregatorOut>; |
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.
Lets move the AggregatorOut
definition to this file, since its part of this interface now.
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.
Unless its used in other places where ProviderLike
isn't used, in that case we should move it a level above this.
1e0296a
to
e146839
Compare
[Closes] #267
Proposed Changes
EntrypointLike
to get around the compiler but could most likely remove memory cloning however I don't think that will much memory overhead in this case