Set EffectiveAmount and EffectiveLoadAmount of forged L1UserTxs

This commit is contained in:
Eduard S
2020-11-30 15:51:31 +01:00
parent a8c9b7a604
commit 665e0829ec
6 changed files with 155 additions and 9 deletions

View File

@@ -53,9 +53,9 @@ func BatchNumFromBytes(b []byte) (BatchNum, error) {
// BatchData contains the information of a Batch
type BatchData struct {
// L1UserTxs that were forged in the batch
L1Batch bool // TODO: Remove once Batch.ForgeL1TxsNum is a pointer
// L1UserTxs []common.L1Tx
// L1UserTxs that were forged in the batch
L1UserTxs []L1Tx
L1CoordinatorTxs []L1Tx
L2Txs []L2Tx
CreatedAccounts []Account

View File

@@ -86,6 +86,4 @@ type BlockData struct {
Rollup RollupData
Auction AuctionData
WDelayer WDelayerData
// TODO: enable when common.WithdrawalDelayerVars is Merged from Synchronizer PR
// WithdrawalDelayerVars *common.WithdrawalDelayerVars
}