Skip to content

Commit

Permalink
fix: increase test ETH per account due to large gas price test and re…
Browse files Browse the repository at this point in the history
…move transfer
  • Loading branch information
cytadela8 committed Aug 1, 2024
1 parent c388d09 commit 838b8a2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion core/tests/ts-integration/src/context-owner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { RetryProvider } from './retry-provider';
export const L1_DEFAULT_ETH_PER_ACCOUNT = ethers.parseEther('0.08');
// Stress tests for L1->L2 transactions on localhost require a lot of upfront payment, but these are skipped during tests on normal environments
export const L1_EXTENDED_TESTS_ETH_PER_ACCOUNT = ethers.parseEther('0.5');
export const L2_DEFAULT_ETH_PER_ACCOUNT = ethers.parseEther('0.5');
export const L2_DEFAULT_ETH_PER_ACCOUNT = ethers.parseEther('5');

// Stress tests on local host may require a lot of additiomal funds, but these are skipped during tests on normal environments
export const L2_EXTENDED_TESTS_ETH_PER_ACCOUNT = ethers.parseEther('50');
Expand Down
13 changes: 7 additions & 6 deletions core/tests/ts-integration/tests/fees.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,15 @@ testFees('Test fees', () => {
alice._providerL2(),
alice._providerL1()
);
console.log(`Main wallet balance: ${await mainWallet.getBalance()}`);

console.log(`Alice address ${alice.address}. Main wallet address: ${mainWallet.address}`);
await sendTransfers(
zksync.utils.ETH_ADDRESS,
mainWallet,
{ alice: alice.privateKey },
ethers.parseEther('100')
);
// await sendTransfers(
// zksync.utils.ETH_ADDRESS,
// mainWallet,
// { alice: alice.privateKey },
// ethers.parseEther('100')
// );
});

afterAll(async () => {
Expand Down

0 comments on commit 838b8a2

Please sign in to comment.