Skip to content

Commit

Permalink
test: debug step - revert these changes
Browse files Browse the repository at this point in the history
  • Loading branch information
pcheremu committed Jul 9, 2024
1 parent c578193 commit 32b7668
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 9 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/integration-tests-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ jobs:
matrix:
node-version: ['lts/*'] # 18.17.1 or lts/*
test-pattern:
- accounts.test.ts
# - accounts.test.ts
- addresses.test.ts
- batches.test.ts
- blocks.test.ts
- contracts.test.ts
- logs.test.ts
- stats.test.ts
- tokens.test.ts
- transactions.test.ts
# - batches.test.ts
# - blocks.test.ts
# - contracts.test.ts
# - logs.test.ts
# - stats.test.ts
# - tokens.test.ts
# - transactions.test.ts
name: 'API test set: ${{ matrix.test-pattern}} / Node: ${{ matrix.node-version}}'
steps:
- name: Checkout with Submodule
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const withdrawERC20 = async function (tokenAddress: string, sum = "0.2")
amount: ethers.utils.parseEther(sum),
token: tokenAddress,
bridgeAddress: bridges.erc20L2,
// overrides: localConfig.gasLimit,
overrides: localConfig.gasLimit,
});

const txHash = withdrawL2.hash;
Expand Down
8 changes: 8 additions & 0 deletions packages/integration-tests/tests/api/addresses.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,14 @@ describe("Address", () => {

describe("/address/{address}", () => {
beforeAll(async () => {
const richWalletBalanceL2 = await helper.getBalanceETH(Wallets.richWalletAddress, "L2");
const richWalletBalanceL1 = await helper.getBalanceETH(Wallets.richWalletAddress, "L1");
const mainWalletBalanceL2 = await helper.getBalanceETH(Wallets.mainWalletAddress, "L2");
const mainWalletBalanceL1 = await helper.getBalanceETH(Wallets.mainWalletAddress, "L1");
console.log("richWalletBalanceL2 = ", richWalletBalanceL2);
console.log("richWalletBalanceL1 = ", richWalletBalanceL1);
console.log("mainWalletBalanceL2 = ", mainWalletBalanceL2);
console.log("mainWalletBalanceL1 = ", mainWalletBalanceL1);
await playbook.deployNFTtoL1();
await playbook.deployNFTtoL2();
await playbook.deployMultiCallContracts();
Expand Down

0 comments on commit 32b7668

Please sign in to comment.