Browse Source

Fix coordinator pipeline forgeBatch call

feature/sql-semaphore1
arnaucube 4 years ago
parent
commit
d871ebc9d6
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      coordinator/coordinator_test.go

+ 2
- 2
coordinator/coordinator_test.go

@ -603,12 +603,12 @@ PoolTransfer(0) User2-User3: 300 (126)
pipeline.batchBuilder.LocalStateDB().MerkleTree().Root())
batchNum++
batchInfo, err := pipeline.forgeSendServerProof(ctx, batchNum)
batchInfo, err := pipeline.forgeBatch(ctx, batchNum)
require.NoError(t, err)
assert.Equal(t, 3, len(batchInfo.L2Txs))
batchNum++
batchInfo, err = pipeline.forgeSendServerProof(ctx, batchNum)
batchInfo, err = pipeline.forgeBatch(ctx, batchNum)
require.NoError(t, err)
assert.Equal(t, 0, len(batchInfo.L2Txs))
}

Loading…
Cancel
Save