Add initial structure of BatchBuilder

This commit is contained in:
arnaucube
2020-08-03 18:24:51 +02:00
parent dd1901709c
commit f3cfba1bbe
5 changed files with 193 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
package batchbuilder
import (
"fmt"
"testing"
"github.com/iden3/go-merkletree/db/memory"
"github.com/stretchr/testify/assert"
)
func TestBatchBuilder(t *testing.T) {
stateDB := memory.NewMemoryStorage()
bb, err := NewBatchBuilder(stateDB, nil, 0, 0, 32)
assert.Nil(t, err)
fmt.Println(bb)
}