Skip to content

Commit 2a1df12

Browse files
committed
fix: log failing test
1 parent 44bbe8b commit 2a1df12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎test/e2e/gas.test.mjs

+2-2
Original file line numberDiff line numberDiff line change
@@ -205,15 +205,15 @@ describe('Gas test', () => {
205205
it('should withdraw from L2, checking for L1 balance (only with time-jump client)', async function () {
206206
const nodeInfo = await web3Client.getInfo();
207207
if (nodeInfo.includes('TestRPC')) {
208-
waitForTimeout(5000);
209208
const startBalance = await web3Client.getBalance(nf3Users[0].ethereumAddress);
210209
const withdrawal = await nf3Users[0].getLatestWithdrawHash();
210+
console.log('Withdrawal Hash', withdrawal);
211211
await emptyL2(nf3Users[0]);
212212
await web3Client.timeJump(3600 * 24 * 10); // jump in time by 10 days
213213
const commitments = await nf3Users[0].getPendingWithdraws();
214214
console.log('Withdraw Commitments', commitments);
215215
console.log('CompressedZKP', commitments[nf3Users[0].zkpKeys.compressedZkpPublicKey]);
216-
console.log('L2 Commitments', await nf3Users[0].getLayer2Commitments());
216+
console.log('L2 Commitments', JSON.stringify(await nf3Users[0].getLayer2Commitments()));
217217
expect(
218218
commitments[nf3Users[0].zkpKeys.compressedZkpPublicKey][erc20Address].length,
219219
).to.be.greaterThan(0);

0 commit comments

Comments
 (0)