Add StateDB ZKInputs generation for L1 & L2 Txs

This commit is contained in:
arnaucube
2020-09-09 14:40:55 +02:00
parent a7fe80f150
commit aa0bde61d2
7 changed files with 251 additions and 26 deletions

View File

@@ -221,8 +221,7 @@ func (c *Coordinator) forgeSequence() error {
configBatch := &batchbuilder.ConfigBatch{
ForgerAddress: c.config.ForgerAddress,
}
l2Txs := common.PoolL2TxsToL2Txs(poolL2Txs)
zkInputs, err := c.batchBuilder.BuildBatch(configBatch, l1UserTxsExtra, l1OperatorTxs, l2Txs, nil) // TODO []common.TokenID --> feesInfo
zkInputs, err := c.batchBuilder.BuildBatch(configBatch, l1UserTxsExtra, l1OperatorTxs, poolL2Txs, nil) // TODO []common.TokenID --> feesInfo
if err != nil {
return err
}