arnaucube
arnaucube/hermez-nodePublic Self-hosted repository
Fix coordinator pipeline forgeBatch call
arnaucube root@arnaucube.com
Thu, 17 Dec 2020 13:15:31 +0100
commit

d871ebc9d6661d824ccb729e00ac24b8845541ab

parent

d781b41fed742263cf77d9115e440b8ace38f5a0

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M coordinator/coordinator_test.go → coordinator/coordinator_test.go

@@ -603,12 +603,12 @@ require.Equal(t, modules.stateDB.MerkleTree().Root(),

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)) }