-
Notifications
You must be signed in to change notification settings - Fork 196
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
docs(guides/adding-delegation): change to account for API changes 🏎 #2837
Conversation
|
@@ -429,7 +430,7 @@ const publicClient = createPublicClient({ | |||
// client - a wallet client that uses a random account |
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're not returning this anymore, so I don't think we need this comment?
and that said, should we just return the getContract
result rather than { world: getContract(...) }
?
nevermind, I see references in code below that still use client
so maybe we should restore the returned client
as client: walletClient
?
Specifically, change
App.tsx
to account for the factgetContract
now wants a structure with the two clients.