hermeznetwork / hermez-node

Hermez node Go implementation
GNU Affero General Public License v3.0
58 stars 33 forks source link

TODO: BatchData structure improvements #1079

Open tclemos opened 3 years ago

tclemos commented 3 years ago

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.