-
-
Notifications
You must be signed in to change notification settings - Fork 586
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Multicall3 contract to Base Sepolia Chain definition #1684
Conversation
🦋 Changeset detectedLatest commit: 06a983c 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 |
@Yuripetusko is attempting to deploy a commit to the wagmi Team on Vercel. A member of the Team first needs to authorize it. |
Fixes this error ``` Error [ERR_REQUIRE_ESM]: require() of ES Module /Users/yuri/Sites/polkadot/viem/node_modules/is-plain-obj/index.js from /Users/yuri/Sites/polkadot/viem/node_modules/minimist-options/index.js not supported. Instead change the require of /Users/yuri/Sites/polkadot/viem/node_modules/is-plain-obj/index.js in /Users/yuri/Sites/polkadot/viem/node_modules/minimist-options/index.js to a dynamic import() which is available in all CommonJS modules. at Object.<anonymous> (/Users/yuri/Sites/polkadot/viem/node_modules/minimist-options/index.js:3:23) at Object.<anonymous> (/Users/yuri/Sites/polkadot/viem/node_modules/meow/index.js:3:28) at Object.<anonymous> (/Users/yuri/Sites/polkadot/viem/node_modules/@changesets/cli/dist/cli.cjs.dev.js:3:12) at Object.<anonymous> (/Users/yuri/Sites/polkadot/viem/node_modules/@changesets/cli/dist/cli.cjs.js:6:20) at Object.<anonymous> (/Users/yuri/Sites/polkadot/viem/node_modules/@changesets/cli/bin.js:4:1) { code: 'ERR_REQUIRE_ESM' } ```
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a patch changeset with bun changeset
, then should be good to go.
any chance this can get patched into v1? not sure i can upgrade to v2 just yet, but would love to get base sepolia added to my app (and i need multicall) |
@mihoward21 – you can just spread it directly onto the chain object for now until you chose migrate. // TODO: Remove this once I upgrade to Viem v2.
const chain = {
...baseSepolia,
contracts: {
...baseSepolia.contracts,
multicall3: {
address: '0xca11bde05977b3631167028862be2a173976ca11',
blockCreated: 1059647,
},
}
} as const |
Multicall3 on Base Sepolia - https://base-sepolia.blockscout.com/address/0xcA11bde05977b3631167028862bE2a173976CA11?tab=contract
I checked and Bytecode matches
PR-Codex overview
This PR focuses on adding Multicall3 config to the Base Sepolia chain definition.
Detailed summary