Add batchbuilder applyCreateLeaf, applyDeposit, applyTransfer

This commit is contained in:
arnaucube
2020-08-04 18:42:20 +02:00
parent 37cefb0057
commit bcd9f96e1b
4 changed files with 245 additions and 33 deletions

View File

@@ -8,8 +8,19 @@ import (
"github.com/stretchr/testify/assert"
)
func TestBatchBuilder(t *testing.T) {
// func genTxs(n int) common.Tx {
// return common.Tx{}
// }
// func genL1Txs(n int) []common.L1Tx {
//
// return nil
// }
// func genL2Txs(n int) []common.L2Tx {
//
// return nil
// }
func TestBatchBuilder(t *testing.T) {
stateDB := memory.NewMemoryStorage()
bb, err := NewBatchBuilder(stateDB, nil, 0, 0, 32)