Repository navigation
fix(chains): correct Multicall3 blockCreated for Core Dao, BOB, Shape, Soneium, Celo Sepolia and XDC Apothem - #5581
Merged
Merged
Conversation
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]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🦋 Changeset detectedLatest commit: c591119 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Contributor
|
Published pnpm add viem@pr-5581
pnpm add [email protected] |
Merged
This branch had an error being deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Supersedes #5518 by @gomesalexandre, keeping their commits.
Corrects Multicall3
blockCreatedfor 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 (noaggregate3/aggregate, and calls revert), so an earlierblockCreatedwould route more batched reads to it.