Skip to content

Commit

Permalink
fix: setup fee juice for e2e tests (#9094)
Browse files Browse the repository at this point in the history
  • Loading branch information
LeilaWang authored Oct 8, 2024
1 parent 9b72a69 commit a8ec91a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ describe('benchmarks/proving', () => {
minTxsPerBlock: 1,
},
{},
true,
);

schnorrWalletSalt = Fr.random();
Expand Down Expand Up @@ -153,7 +154,6 @@ describe('benchmarks/proving', () => {
await pxe.registerContract(initialTokenContract);
await pxe.registerContract(initialTestContract);
await pxe.registerContract(initialFpContract);
await pxe.registerContract(initialGasContract);

await pxe.registerRecipient(recipient);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ describe('benchmarks/tx_size_fees', () => {

// setup the environment
beforeAll(async () => {
ctx = await setup(3, {}, {});
ctx = await setup(3, {}, {}, true);

aliceWallet = ctx.wallets[0];
bobAddress = ctx.wallets[1].getAddress();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async function clearDestDir() {
if (err.code === 'ENOENT') {
// If the directory does not exist, do nothing.
} else {
throw err;
log(`Error removing dest directory: ${err}`);
}
}
await fs.mkdir(destArtifactsDir, { recursive: true });
Expand Down

0 comments on commit a8ec91a

Please sign in to comment.