Skip to content

fix: pass chainId to Tempo webAuthn key authorization#5023

Closed
arjunblj wants to merge 1 commit intowevm:mainfrom
arjunblj:fix/tempo-webauthn-chain-id
Closed

fix: pass chainId to Tempo webAuthn key authorization#5023
arjunblj wants to merge 1 commit intowevm:mainfrom
arjunblj:fix/tempo-webauthn-chain-id

Conversation

@arjunblj
Copy link
Copy Markdown
Contributor

@arjunblj arjunblj commented Mar 18, 2026

This is a wagmi/viem compatibility issue in the Tempo webAuthn connector.

We hit it in production on wagmi@3.5.0 with viem@2.47.5: Tempo WebAuthn sign-up with grantAccessKey enabled called signKeyAuthorization() without forwarding chainId, and newer viem Tempo runtimes then threw Cannot convert undefined to a BigInt.

This passes chainId through during access-key provisioning and adds a focused regression test.

The webAuthn connector was not forwarding chainId when provisioning access keys, which breaks newer viem Tempo runtimes. Add a focused regression test for the sign-up provisioning path.
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 18, 2026

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

A member of the Team first needs to authorize it.

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Mar 18, 2026

⚠️ No Changeset found

Latest commit: 0ede189

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

@tmm
Copy link
Copy Markdown
Member

tmm commented Mar 18, 2026

Closing in favor of #5024 Added you as co-author so you still get commit credit

@tmm tmm closed this Mar 18, 2026
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.

2 participants