This PR adds the eth_tx_hash and l1_fee to the tx table. This alllows to store and return in transactions-history endpoints the l1 tx hash and the fee that the user spent in the l1 tx.
L1_fee is null if the tx is an L1Coordinator. In this case we can not give the real value of the fee. Also, the eth_tx_hash is the same of the batch where this l1Coordinator tx where included.
How to test?
go run test
Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
Closes #831
What does this PR does?
This PR adds the eth_tx_hash and l1_fee to the tx table. This alllows to store and return in transactions-history endpoints the l1 tx hash and the fee that the user spent in the l1 tx.
L1_fee is null if the tx is an L1Coordinator. In this case we can not give the real value of the fee. Also, the eth_tx_hash is the same of the batch where this l1Coordinator tx where included.
How to test?
go run test
Checklist
These are the criteria that every PR should meet, please check them off as you review them: