Merge pull request #10223 from filecoin-project/feat/ethtx-fixes

fix: ethrpc: Add missing fields to EthTx
This commit is contained in:
Jiaying Wang
2023-02-09 13:13:26 -05:00
committed by GitHub
6 changed files with 19 additions and 13 deletions
+1
View File
@@ -1762,6 +1762,7 @@ func ethTxFromNativeMessage(ctx context.Context, msg *types.Message, sa StateAPI
Gas: ethtypes.EthUint64(msg.GasLimit),
MaxFeePerGas: ethtypes.EthBigInt(msg.GasFeeCap),
MaxPriorityFeePerGas: ethtypes.EthBigInt(msg.GasPremium),
AccessList: []ethtypes.EthHash{},
}
}