Skip to content

feat(chains): add multicall3 to hyperEvm#4541

Merged
jxom merged 2 commits intowevm:mainfrom
PaulRBerg:feat/add-multicall3-hyperevm
May 4, 2026
Merged

feat(chains): add multicall3 to hyperEvm#4541
jxom merged 2 commits intowevm:mainfrom
PaulRBerg:feat/add-multicall3-hyperevm

Conversation

@PaulRBerg
Copy link
Copy Markdown
Contributor

Multicall3 is deployed at the canonical address 0xcA11bde05977b3631167028862bE2a173976CA11 on HyperEVM (verified on hyperevmscan.io) at block 13051.

Without this entry, automatic eth_call batching via multicall (and wagmi's read batching) silently no-ops for HyperEVM users, causing N separate eth_call RPCs instead of one aggregate3.

Verified bytecode is present at that address on HyperEVM mainnet:

$ cast code 0xcA11bde05977b3631167028862bE2a173976CA11 --rpc-url https://rpc.hyperliquid.xyz/evm
0x608060405260043610...

Supersedes #4476 (closed without explanation; this PR additionally provides blockCreated for getContractEvents/log-scanning use cases).

- Canonical Multicall3 at 0xcA11bde05977b3631167028862bE2a173976CA11 is deployed on HyperEVM
- Enables automatic eth_call batching via multicall and wagmi's read batching
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 22, 2026

@PaulRBerg 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 Apr 22, 2026

🦋 Changeset detected

Latest commit: 172f80e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
viem Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Apr 22, 2026

Open in StackBlitz

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

commit: 4d60261

@PaulRBerg
Copy link
Copy Markdown
Contributor Author

The failing Verify / Test Local (transport: http, multicall: *) checks are unrelated to this PR and pre-existing on main.

Evidence:

  • The failing tests are src/utils/abi/parseEventLogs.test.ts and src/utils/abi/encodeAbiParameters.test.ts — pure ABI utilities with no reference to hyperEvm or any chain definition.
  • The error is an Anvil-side HTTP 400 on evm_setIntervalMining:
    HttpRequestError: HTTP request failed.
    Status: 400
    URL: http://127.0.0.1:8545/<port>
    Request body: {"method":"evm_setIntervalMining","params":[0]}
    
  • chore: bump ox  #4540 (merged earlier today) has the identical Verify / Test Local (transport: http, multicall: true, 1/3) failure in its status rollup, and every recent verify.yml run on main is red.

Happy to rebase if a fresh run would help, otherwise the diff itself (src/chains/definitions/hyperEvm.ts + changeset) is ready for review.

@jxom jxom merged commit 1ab557e into wevm:main May 4, 2026
18 of 25 checks passed
@github-actions github-actions Bot mentioned this pull request May 4, 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