Skip to content

Commit fce916b

Browse files
committed
remove compilerType
1 parent b7c0e4a commit fce916b

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

apps/dashboard/src/components/contract-components/contract-deploy-form/custom-contract.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -386,10 +386,6 @@ export const CustomContractForm: React.FC<CustomContractFormProps> = ({
386386
throw new Error("no chain");
387387
}
388388

389-
const compilerType = (await isZkSyncChain(walletChain))
390-
? "zksolc"
391-
: "solc";
392-
393389
let _contractURI = "";
394390

395391
if (hasContractURI && params.contractMetadata) {
@@ -454,7 +450,6 @@ export const CustomContractForm: React.FC<CustomContractFormProps> = ({
454450
deployMetadata: m,
455451
initializeParams: params.moduleData[m.name],
456452
})),
457-
compilerType,
458453
});
459454
},
460455
});

0 commit comments

Comments
 (0)