Skip to content

docs(fromHex): fix hexToNumber @example calling hexToBigInt#4810

Merged
jxom merged 1 commit into
wevm:mainfrom
Kropiunig:docs-hextonumber-example
Jul 6, 2026
Merged

docs(fromHex): fix hexToNumber @example calling hexToBigInt#4810
jxom merged 1 commit into
wevm:mainfrom
Kropiunig:docs-hextonumber-example

Conversation

@Kropiunig

Copy link
Copy Markdown
Contributor

The second @example on hexToNumber imports hexToNumber but calls hexToBigInt. The // 420 result comment (not 420n) confirms the example should call hexToNumber.

This is an example-only documentation fix, a copy-paste slip from the hexToBigInt block directly above. The function body is unchanged.

@vercel

vercel Bot commented Jul 6, 2026

Copy link
Copy Markdown

@Kropiunig 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 Jul 6, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 94c0fe5

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

@pkg-pr-new

pkg-pr-new Bot commented Jul 6, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/viem@4810

commit: 94c0fe5

@jxom jxom merged commit 8cebc26 into wevm:main Jul 6, 2026
19 of 26 checks passed
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