Skip to content

feat: web3 deps update#1281

Draft
rin-st wants to merge 4 commits into
mainfrom
deps-update-web3
Draft

feat: web3 deps update#1281
rin-st wants to merge 4 commits into
mainfrom
deps-update-web3

Conversation

@rin-st
Copy link
Copy Markdown
Member

@rin-st rin-st commented May 4, 2026

Summary

Part 2 of #1279

Updates web3 dependencies in packages/nextjs:

  • viem 2.39.0 → 2.48.4
  • @rainbow-me/rainbowkit 2.2.9 → 2.2.10
  • wagmi stays on 2.19.5

Why wagmi stays on v2

Wagmi v3 is out, but RainbowKit doesn't support it yet — it still pins wagmi v2. Bumping wagmi alone breaks the connector types.

Note: ConnectKit and Reown AppKit (ex-Web3Modal) also haven't shipped wagmi v3 support, so swapping the kit wouldn't unblock the upgrade.

Code changes from the viem bump

  • publicClient.getBytecode(...)publicClient.getCode(...) (renamed in viem) in ContractTabs.tsx and useDeployedContractInfo.ts
  • Enabled @typescript-eslint/no-deprecated in eslint.config.mjs to catch future viem/wagmi deprecations early
  • Fixed stale JSDoc useContractReaduseReadContract in useScaffoldReadContract.ts

Test plan

  • yarn next:check-types clean
  • yarn next:lint clean
  • yarn start + connect via MetaMask, WalletConnect, burner — read/write contract works
  • Block explorer detects EOA vs contract correctly (verifies getCode swap)

Waits for

@rin-st rin-st requested a review from technophile-04 May 4, 2026 14:08
@rin-st rin-st changed the base branch from main to deps-update-next-part-1 May 5, 2026 07:49
Base automatically changed from deps-update-next-part-1 to main May 15, 2026 10:25
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.

1 participant