Skip to content

fix(chains): correct Multicall3 blockCreated for Core Dao, BOB, Shape, Soneium, Celo Sepolia and XDC Apothem - #5581

Merged
jxom merged 5 commits into
mainfrom
fix-multicall3-block-created
Nov 18, 2026
Merged

jxom merged 5 commits into
mainfrom
fix-multicall3-block-created

Conversation

@jxom

@jxom jxom commented Nov 18, 2026

Copy link
Copy Markdown
Member

Supersedes #5518 by @gomesalexandre, keeping their commits.

Corrects Multicall3 blockCreated for Core Dao, BOB, Shape, Shape Sepolia, Soneium, Soneium Minato, Celo Sepolia and XDC Apothem.

The Atleta Olympia change was dropped: the configured address (0x1472…7115) isn't Multicall3 (no aggregate3/aggregate, and calls revert), so an earlier blockCreated would route more batched reads to it.

gomesalexandre and others added 3 commits November 15, 2026 17:12
Core Dao had Avalanche's 11907934 copied in. Multicall3 actually landed at
6988931 (keyless deployer tx 0x07471adf...84ed1). eth_getCode on
core.drpc.org and rpc.ankr.com/core is 0x at 6988930 and the bytecode at
6988931, and aggregate3 eth_call at 7000000 works on ankr. So multicall()
was refusing about 4.9M blocks where the contract exists.

Atleta Olympia's testnet was re-genesised after it was added. The declared
contract 0x1472...7115 was created at 70742 by tx 0xba6d0d30...2b73
(default RPC receipt, plus blockscout.testnet-v2.atleta.network).
eth_getCode is 0x at 70741 and code at 70742.

BOB (23131), Shape, Shape Sepolia, Soneium and Soneium Minato (all 1) get
Multicall3 as an OP Stack genesis preinstall. eth_getCode at 0x0 returns the
bytecode on each default RPC and on drpc/alchemy, those providers serve real
genesis state (fee vault 0x42..11 balance 0x0 at block 0, non-zero latest),
and the keyless deployer nonce is 0. So 0, same as unichain/ink/katana.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
… apothem

Celo Sepolia ships Multicall3 as a genesis preinstall, so blockCreated is 0.
On XDC Apothem the keyless deploy at 58910314 reverted, and the bytecode first
appears at block 84333000.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The contract at 0x1472…7115 on Atleta Olympia is not Multicall3, so moving
its blockCreated earlier would route more batched reads to a contract that
reverts on aggregate3.

Amp-Thread-ID: https://ampcode.com/threads/T-01a1f04d-9bf0-74fd-8417-f9b7a040e62e
Co-authored-by: jxom <[email protected]>
@vercel

vercel Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
viem Error Error Nov 18, 2026 8:43pm UTC

Request Review

@changeset-bot

changeset-bot Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: c591119

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

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-18T20:41:37.570245Z c591119 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

github-actions Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Published [email protected] under the pr-5581 dist-tag, which follows this pull request until it closes.

pnpm add viem@pr-5581
pnpm add [email protected]

@jxom
jxom merged commit 612cea0 into main Nov 18, 2026
39 of 40 checks passed
@jxom
jxom deleted the fix-multicall3-block-created branch November 18, 2026 21:15
@github-actions github-actions Bot mentioned this pull request Nov 18, 2026

This branch had an error being deployed

1 failed deployment
Preview — c5911193 Deployed Nov 18, 2026 by vercel[bot]
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.

3 participants