Skip to content

Commit a3ca046

Browse files
committed
don't include msg sender in salt
1 parent c58a9bd commit a3ca046

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/cross-chain/data-table.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ export function DataTable({
201201
const chain = defineChain(chainId);
202202
const client = getThirdwebClient();
203203
const salt =
204-
inputSalt || concatHex(["0x07", padHex("0x", { size: 31 })]).toString();
204+
inputSalt || concatHex(["0x03", padHex("0x", { size: 31 })]).toString();
205205

206206
await switchChain(chain);
207207

packages/thirdweb/src/contract/deployment/deploy-via-autofactory.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export function prepareAutoFactoryDeployTransaction(
4141
? args.salt.startsWith("0x") && args.salt.length === 66
4242
? (args.salt as `0x${string}`)
4343
: keccakId(args.salt)
44-
: (`0x07${toHex(blockNumber, {
44+
: (`0x03${toHex(blockNumber, {
4545
size: 31,
4646
}).replace(/^0x/, "")}` as `0x${string}`);
4747

0 commit comments

Comments
 (0)