Add debug info in batch debug file

- Debug Batch File
    - Add details about why a batch is scheduled to be L1Batch or regular
    - Add timestamps in time and blockNumber of important events
    - Use a different naming for the files (batchNum + timestamp)
- Coordinator:
    - To make decisions and store debug info, always use the current block that
      is being mined, instead of the last mined block
This commit is contained in:
Eduard S
2021-01-07 18:00:30 +01:00
parent 423b67b707
commit 97908447b9
5 changed files with 89 additions and 39 deletions

View File

@@ -313,7 +313,7 @@ func NewClientSetupExample() *ClientSetup {
}
rollupVariables := &common.RollupVariables{
FeeAddToken: big.NewInt(11),
ForgeL1L2BatchTimeout: 9,
ForgeL1L2BatchTimeout: 10,
WithdrawalDelay: 80,
Buckets: buckets,
}