mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-07 03:16:45 +01:00
Add batchbuilder applyCreateLeaf, applyDeposit, applyTransfer
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user