Skip to content

Commit 037c98d

Browse files
committed
cleanup
1 parent 12f6683 commit 037c98d

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

packages/thirdweb/src/contract/deployment/deploy-with-abi.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,6 @@ export async function deployContract(
152152
}),
153153
);
154154
if (isDeployed) {
155-
// throw new Error(`Contract already deployed at address: ${address}`);
156155
return address;
157156
}
158157
await sendAndConfirmTransaction({

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ async function processRefDeployments(
182182
contracts[0]?.salt && contracts[0]?.salt.length > 0
183183
? contracts[0]?.salt
184184
: undefined;
185-
// Call the fetchAndDeployContract function with the ref data
185+
186186
const addr = await deployPublishedContract({
187187
client,
188188
chain,
@@ -219,7 +219,6 @@ async function processRefDeployments(
219219
}
220220

221221
if (dynamicValue.type === "bytes") {
222-
console.log("process bytes 1");
223222
const decodedBytes = dynamicValue.decodedBytes[0];
224223

225224
if (decodedBytes) {
@@ -254,7 +253,6 @@ async function processRefDeployments(
254253
}
255254

256255
if (dynamicValue.type === "bytes[]") {
257-
console.log("process bytes[] 1");
258256
const bytesArray = [];
259257
const decodedBytesArray = dynamicValue.decodedBytes;
260258

0 commit comments

Comments
 (0)