From 7f23fd1683f593731d5d184cdb7f1858a0c510bc Mon Sep 17 00:00:00 2001 From: Yash Date: Tue, 4 Nov 2025 22:34:12 +0530 Subject: [PATCH 1/3] update implementations --- .../src/contract/deployment/zksync/implementations.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/thirdweb/src/contract/deployment/zksync/implementations.ts b/packages/thirdweb/src/contract/deployment/zksync/implementations.ts index 65b594eed8f..51b765a53f3 100644 --- a/packages/thirdweb/src/contract/deployment/zksync/implementations.ts +++ b/packages/thirdweb/src/contract/deployment/zksync/implementations.ts @@ -1,6 +1,6 @@ export const ZKSYNC_IMPLEMENTATIONS: Record> = { 232: { - MarketplaceV3: "0xB7387cF425eC8Da1b04b8E34De86245cb32bCA6D", + MarketplaceV3: "0x4e0C3577335961Ff800FFDA24981EB2F38D94483", }, 300: { MarketplaceV3: "0x58e0F289C7dD2025eBd0696d913ECC0fdc1CC8bc", @@ -18,7 +18,7 @@ export const ZKSYNC_IMPLEMENTATIONS: Record> = { MarketplaceV3: "0x2dA4Dd326A6482679547071be21f74685d730504", }, 37111: { - MarketplaceV3: "0xF8fd1016420c2B7832714241d36Efe55D41df126", + MarketplaceV3: "0x12A305cc7168fa3b7B172fE53c57b9a22716F667", }, 50104: { MarketplaceV3: "0x292c324920d4120F928dA6f04548442fa10B8B0f", From 4073440eda91fb5de8240323ee9f5b2b3288c5d9 Mon Sep 17 00:00:00 2001 From: Yash Date: Tue, 4 Nov 2025 22:35:19 +0530 Subject: [PATCH 2/3] fix deployment for zk --- .../thirdweb/src/extensions/prebuilts/deploy-published.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/thirdweb/src/extensions/prebuilts/deploy-published.ts b/packages/thirdweb/src/extensions/prebuilts/deploy-published.ts index ccadb0756ab..5e4584ad566 100644 --- a/packages/thirdweb/src/extensions/prebuilts/deploy-published.ts +++ b/packages/thirdweb/src/extensions/prebuilts/deploy-published.ts @@ -16,6 +16,7 @@ import { fetchBytecodeFromCompilerMetadata, } from "../../utils/any-evm/deploy-metadata.js"; import { encodeExtraDataWithUri } from "../../utils/any-evm/encode-extra-data-with-uri.js"; +import { isZkSyncChain } from "../../utils/any-evm/zksync/isZkSyncChain.js"; import type { Hex } from "../../utils/encoding/hex.js"; import type { Account } from "../../wallets/interfaces/wallet.js"; import { getAllDefaultConstructorParamsForImplementation } from "./get-required-transactions.js"; @@ -213,7 +214,8 @@ export async function deployContractfromDeployMetadata( if ( deployMetadata.routerType === "dynamic" && - deployMetadata.defaultExtensions + deployMetadata.defaultExtensions && + !isZkSyncChain(chain) ) { for (const e of deployMetadata.defaultExtensions) { await getOrDeployInfraForPublishedContract({ From 1ad7f983584a74817e6193572d3bd95d6bad065e Mon Sep 17 00:00:00 2001 From: Yash Date: Tue, 4 Nov 2025 22:37:02 +0530 Subject: [PATCH 3/3] changeset --- .changeset/open-icons-start.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/open-icons-start.md diff --git a/.changeset/open-icons-start.md b/.changeset/open-icons-start.md new file mode 100644 index 00000000000..937838e57f6 --- /dev/null +++ b/.changeset/open-icons-start.md @@ -0,0 +1,5 @@ +--- +"thirdweb": patch +--- + +Update implementations, fix deployment