Add collectedFees in TxProcessor, update sync test

- In Synchronizer test, test all tx types
This commit is contained in:
Eduard S
2020-10-28 10:29:08 +01:00
parent decc4996ee
commit 4eb2972b1b
5 changed files with 83 additions and 45 deletions

View File

@@ -257,6 +257,7 @@ func (tc *Context) GenerateBlocks(set string) ([]common.BlockData, error) {
}
tx := common.L2Tx{
ToIdx: common.Idx(1), // as is an Exit
Fee: common.FeeSelector(inst.fee),
Amount: big.NewInt(int64(inst.amount)),
Type: common.TxTypeExit,
EthBlockNum: tc.blockNum,