chore(pol): Set the gas tip cap to zero when marshalling pol tx (#84)

This commit is contained in:
Cal Bera 2025-09-09 12:23:19 -07:00 committed by GitHub
parent 97a81753b8
commit 2446ddec2e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -178,7 +178,7 @@ func (tx *Transaction) MarshalJSON() ([]byte, error) {
enc.Nonce = (*hexutil.Uint64)(&itx.Nonce)
enc.Gas = (*hexutil.Uint64)(&itx.GasLimit)
enc.MaxFeePerGas = (*hexutil.Big)(itx.GasPrice)
enc.MaxPriorityFeePerGas = (*hexutil.Big)(itx.GasPrice)
enc.MaxPriorityFeePerGas = (*hexutil.Big)(common.Big0)
enc.GasPrice = (*hexutil.Big)(itx.GasPrice)
enc.Input = (*hexutil.Bytes)(&itx.Data)
v, r, s := itx.rawSignatureValues()