Browse Source

Merge pull request #370 from hermeznetwork/fix/pipeline-call

Fix coordinator pipeline forgeBatch call
feature/sql-semaphore1
Eduard S 4 years ago
committed by GitHub
parent
commit
a3d0765644
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
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