mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-08 03:46:52 +01:00
Add StateDB ZKInputs generation for L1 & L2 Txs
This commit is contained in:
@@ -43,6 +43,8 @@ type StateDB struct {
|
||||
mt *merkletree.MerkleTree
|
||||
// idx holds the current Idx that the BatchBuilder is using
|
||||
idx common.Idx
|
||||
zki *common.ZKInputs
|
||||
i int // i is used for zki
|
||||
}
|
||||
|
||||
// NewStateDB creates a new StateDB, allowing to use an in-memory or in-disk
|
||||
|
||||
Reference in New Issue
Block a user