Add tx L1&L2 test generation & keys for TestingFramework

Add test-lang Fee & ForceExit option
This commit is contained in:
arnaucube
2020-08-19 16:59:08 +02:00
parent e2d4599690
commit 8eb42c011c
7 changed files with 264 additions and 122 deletions

View File

@@ -133,7 +133,7 @@ func (c *Coordinator) forgeSequence() error {
batchInfo.SetTxsInfo(l1UserTxsExtra, l1OperatorTxs, l2Txs) // TODO feesInfo
// 4. Call BatchBuilder with TxSelector output
configBatch := batchbuilder.ConfigBatch{
configBatch := &batchbuilder.ConfigBatch{
ForgerAddress: c.config.ForgerAddress,
}
zkInputs, err := c.batchBuilder.BuildBatch(configBatch, l1UserTxsExtra, l1OperatorTxs, l2Txs, nil) // TODO []common.TokenID --> feesInfo