File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -205,15 +205,15 @@ describe('Gas test', () => {
205
205
it ( 'should withdraw from L2, checking for L1 balance (only with time-jump client)' , async function ( ) {
206
206
const nodeInfo = await web3Client . getInfo ( ) ;
207
207
if ( nodeInfo . includes ( 'TestRPC' ) ) {
208
- waitForTimeout ( 5000 ) ;
209
208
const startBalance = await web3Client . getBalance ( nf3Users [ 0 ] . ethereumAddress ) ;
210
209
const withdrawal = await nf3Users [ 0 ] . getLatestWithdrawHash ( ) ;
210
+ console . log ( 'Withdrawal Hash' , withdrawal ) ;
211
211
await emptyL2 ( nf3Users [ 0 ] ) ;
212
212
await web3Client . timeJump ( 3600 * 24 * 10 ) ; // jump in time by 10 days
213
213
const commitments = await nf3Users [ 0 ] . getPendingWithdraws ( ) ;
214
214
console . log ( 'Withdraw Commitments' , commitments ) ;
215
215
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 ( ) ) ) ;
217
217
expect (
218
218
commitments [ nf3Users [ 0 ] . zkpKeys . compressedZkpPublicKey ] [ erc20Address ] . length ,
219
219
) . to . be . greaterThan ( 0 ) ;
You can’t perform that action at this time.
0 commit comments