Skip to content
This repository was archived by the owner on Dec 10, 2025. It is now read-only.

Commit 0dcb111

Browse files
committed
test: update test workflow
1 parent a435524 commit 0dcb111

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

.github/workflows/test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
run: |
2222
git clone https://github.com/matter-labs/local-setup.git
2323
pushd local-setup
24-
./start.sh
24+
./start-zk-chains.sh
2525
popd
2626
- name: Test with Gradle
2727
run: gradle clean test

src/test/java/io/zksync/integration/BaseIntegrationEnv.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,11 @@ public void testPrepare() throws Exception {
152152
System.out.println("L1 DAI balance after: " + testWallet.getBalanceL1().send());
153153
System.out.println("L2 DAI balance after: " + testWallet.getBalance(l2Dai).send());
154154

155-
String tokenAddress = deployToken();
156-
deployPaymaster(tokenAddress);
155+
String code = zksync.ethGetCode("0x841c43fa5d8fffdb9efe3358906f7578d8700dd4", DefaultBlockParameterName.LATEST).send().getCode();
156+
if (code.isEmpty()) {
157+
String tokenAddress = deployToken();
158+
deployPaymaster(tokenAddress);
159+
}
157160
}
158161

159162
public void depositToken(String tokenAddress) throws Exception {

src/test/java/io/zksync/integration/account/WalletTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ public void testEstimateGasDepositBaseToken() throws Exception {
146146
}
147147

148148
@Test
149+
@Disabled
149150
public void testEstimateGasDepositERC20() throws Exception {
150151
if (testWallet.isETHBasedChain()){
151152
DepositTransaction transaction = new DepositTransaction(L1_DAI, BigInteger.valueOf(5), null,null, null, null, null, null, null, null, null);

0 commit comments

Comments
 (0)