Open tclemos opened 3 years ago
Remove field L1Batch from BatchData struct once Batch.ForgeL1TxsNum is a pointer
https://github.com/hermeznetwork/hermez-node/blob/3fc5b4c531394e9d6a9975e2fa798bbd5029e6a4/common/batch.go#L80
Look into the code the use of this field and understand how to remove it from this structure without breaking the current rules.
Rationale
Remove field L1Batch from BatchData struct once Batch.ForgeL1TxsNum is a pointer
https://github.com/hermeznetwork/hermez-node/blob/3fc5b4c531394e9d6a9975e2fa798bbd5029e6a4/common/batch.go#L80
Implementation
Look into the code the use of this field and understand how to remove it from this structure without breaking the current rules.