Skip to content

Commit 842c4d9

Browse files
committed
make ref deployments always deterministic
1 parent 08fe542 commit 842c4d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/thirdweb/src/extensions/prebuilts/process-ref-deployments.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export async function processRefDeployments(
4242
const salt =
4343
contracts[0]?.salt && contracts[0]?.salt.length > 0
4444
? contracts[0]?.salt
45-
: undefined;
45+
: "thirdweb";
4646

4747
const addr = await deployPublishedContract({
4848
client,
@@ -64,7 +64,7 @@ export async function processRefDeployments(
6464
const addressArray = [];
6565

6666
for (const c of contracts) {
67-
const salt = c?.salt && c?.salt.length > 0 ? c?.salt : undefined;
67+
const salt = c?.salt && c?.salt.length > 0 ? c?.salt : "thirdweb";
6868

6969
addressArray.push(
7070
await deployPublishedContract({

0 commit comments

Comments
 (0)