Skip to content

fix(core): accept multi-chain getClient in viem actions#5071

Open
euyua9 wants to merge 1 commit into
wevm:mainfrom
euyua9:fix/getclient-multichain-viem-actions
Open

fix(core): accept multi-chain getClient in viem actions#5071
euyua9 wants to merge 1 commit into
wevm:mainfrom
euyua9:fix/getclient-multichain-viem-actions

Conversation

@euyua9

@euyua9 euyua9 commented Apr 22, 2026

Copy link
Copy Markdown

Summary

  • stop GetClientReturnType from distributing over multi-chain resolvedChainId unions
  • add a type regression for passing getClient(config) from a two-chain config into viem/actions waitForTransactionReceipt

Validation

  • ran a minimal TypeScript reproduction that failed with the old distributive return type and passes with this change

Closes #3635

@vercel

vercel Bot commented Apr 22, 2026

Copy link
Copy Markdown

@euyua9 is attempting to deploy a commit to the Wevm Team on Vercel.

A member of the Team first needs to authorize it.

@changeset-bot

changeset-bot Bot commented Apr 22, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: b2c6492

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.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: waitForTransactionReceipt doesn't accept client with multiple possible chains

1 participant