thehubbleproject / hubble-contracts

Hubble optimistic rollup
https://thehubbleproject.github.io/docs/
MIT License
133 stars 29 forks source link

Make mass migration tx type consistent with batch type #674

Closed duckception closed 2 years ago

duckception commented 3 years ago

Transfer and Create2Transfer transaction types are consistent with their corresponding bach types (1 for Transfer and 3 for Create2Transfer) while MassMigration types are inconsistent i.e., the transaction type is set to 5 while the batch type is set to 2.

This PR modifies the MassMigration transaction type so it corresponds to its batch type.

jacque006 commented 2 years ago

This looks like a valid correction to me, but want to wait on confirmation from @ChihChengLiang