Skip to content

Commit fd04eef

Browse files
authored
Update implementations, fix deployment (#8356)
1 parent 4cc6831 commit fd04eef

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

.changeset/open-icons-start.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"thirdweb": patch
3+
---
4+
5+
Update implementations, fix deployment

packages/thirdweb/src/contract/deployment/zksync/implementations.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export const ZKSYNC_IMPLEMENTATIONS: Record<number, Record<string, string>> = {
22
232: {
3-
MarketplaceV3: "0xB7387cF425eC8Da1b04b8E34De86245cb32bCA6D",
3+
MarketplaceV3: "0x4e0C3577335961Ff800FFDA24981EB2F38D94483",
44
},
55
300: {
66
MarketplaceV3: "0x58e0F289C7dD2025eBd0696d913ECC0fdc1CC8bc",
@@ -18,7 +18,7 @@ export const ZKSYNC_IMPLEMENTATIONS: Record<number, Record<string, string>> = {
1818
MarketplaceV3: "0x2dA4Dd326A6482679547071be21f74685d730504",
1919
},
2020
37111: {
21-
MarketplaceV3: "0xF8fd1016420c2B7832714241d36Efe55D41df126",
21+
MarketplaceV3: "0x12A305cc7168fa3b7B172fE53c57b9a22716F667",
2222
},
2323
50104: {
2424
MarketplaceV3: "0x292c324920d4120F928dA6f04548442fa10B8B0f",

packages/thirdweb/src/extensions/prebuilts/deploy-published.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ import {
1616
fetchBytecodeFromCompilerMetadata,
1717
} from "../../utils/any-evm/deploy-metadata.js";
1818
import { encodeExtraDataWithUri } from "../../utils/any-evm/encode-extra-data-with-uri.js";
19+
import { isZkSyncChain } from "../../utils/any-evm/zksync/isZkSyncChain.js";
1920
import type { Hex } from "../../utils/encoding/hex.js";
2021
import type { Account } from "../../wallets/interfaces/wallet.js";
2122
import { getAllDefaultConstructorParamsForImplementation } from "./get-required-transactions.js";
@@ -213,7 +214,8 @@ export async function deployContractfromDeployMetadata(
213214

214215
if (
215216
deployMetadata.routerType === "dynamic" &&
216-
deployMetadata.defaultExtensions
217+
deployMetadata.defaultExtensions &&
218+
!isZkSyncChain(chain)
217219
) {
218220
for (const e of deployMetadata.defaultExtensions) {
219221
await getOrDeployInfraForPublishedContract({

0 commit comments

Comments
 (0)