-
Notifications
You must be signed in to change notification settings - Fork 80
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/devx 362 abstract required bundler #341
Feat/devx 362 abstract required bundler #341
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.
Need to fix merge conflicts, other than that LGTM
can you please resolve the conflicts |
@@ -89,6 +88,14 @@ type ConditionalValidationProps = RequireAtLeastOne< | |||
"defaultValidationModule" | "signer" | |||
>; | |||
|
|||
type ConditionalBundlerProps = RequireAtLeastOne< |
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 see you already have conditional props. would there be a case when bundler is not used at all?
if someone is using only paymaster service for estimations and just building userops.
@AmanRaj1608
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.
As we discussed yesterday, I believe bundler should be required as you cannot do much without it and it will also help us to abstract things like chain id in the future. Clients that currently create smart accounts without bundler will need to update the codebase.
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.
we should mention this in the docs after release
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.
resolve conflicts and check comments
…into feat/DEVX-362-Abstract-Required-Bundler
Summary
Abstracted the need for the client to create an instance of Bundler and assign it to the smart account.
Added a light way of assigning a Bundler by just providing a "bundlerUrl" param.
Change Type
Checklist