mirror of
https://github.com/scroll-tech/scroll.git
synced 2026-04-23 03:00:50 -04:00
fix: make L1 message field complete
This commit is contained in:
@@ -18,6 +18,7 @@ type TransactionData struct {
|
||||
Nonce uint64 `json:"nonce"`
|
||||
Gas uint64 `json:"gas"`
|
||||
GasPrice *hexutil.Big `json:"gasPrice"`
|
||||
From common.Address `json:"from"`
|
||||
To *common.Address `json:"to"`
|
||||
Value *hexutil.Big `json:"value"`
|
||||
Data string `json:"data"`
|
||||
@@ -92,6 +93,7 @@ func convertTxDataToTxs(txData []*TransactionData) ([]*types.Transaction, error)
|
||||
Gas: oldTx.Gas,
|
||||
Data: data,
|
||||
QueueIndex: oldTx.Nonce,
|
||||
Sender: oldTx.From,
|
||||
})
|
||||
txs = append(txs, newTx)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user