mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-07 03:16:45 +01:00
Add initial structure of BatchBuilder
This commit is contained in:
18
batchbuilder/batchbuilder_test.go
Normal file
18
batchbuilder/batchbuilder_test.go
Normal 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)
|
||||
}
|
||||
Reference in New Issue
Block a user