Skip to content

Commit 3a82d15

Browse files
authored
use pxe1
1 parent 2d24b15 commit 3a82d15

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

scripts/multiple_pxe.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ async function main() {
6666

6767
let secretKey = Fr.random();
6868
let salt = Fr.random();
69-
let schnorrAccount = await getSchnorrAccount(pxe2, secretKey, deriveSigningKey(secretKey), salt);
69+
let schnorrAccount = await getSchnorrAccount(pxe1, secretKey, deriveSigningKey(secretKey), salt);
7070
let tx = await schnorrAccount.deploy({ fee: { paymentMethod } }).wait();
7171
let ownerWallet = await schnorrAccount.getWallet();
7272
let ownerAddress = await ownerWallet.getAddress();
@@ -96,7 +96,8 @@ async function main() {
9696

9797
const l2TokenContractInstance = await getL2TokenContractInstance(ownerAddress, ownerAddress)
9898
await wallet2.registerContract({
99-
instance: l2TokenContractInstance
99+
instance: l2TokenContractInstance,
100+
artifact: TokenContract.artifact
100101
})
101102

102103
const l2TokenContract = await TokenContract.at(

0 commit comments

Comments
 (0)