Closed holic closed 1 day ago
Latest commit: 7b83f030e597f965f0be40b46d132d65bcb5bc39
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
Hey Holic, thanks for your help!
The client
passed to createSmartAccountClient
should be a publicClient
, which means it should have public actions available. The publicClient
isn’t expected to have an account, and if it does, it’s not supposed to be a smart account. That's why we can't pass it forward.
I am providing a client to
createSmartAccountClient
that is already "bound" to an account, so it would be nice to fallback to this value.