From 2446ddec2ec53449f1a70a05dd9255161323ab12 Mon Sep 17 00:00:00 2001 From: Cal Bera Date: Tue, 9 Sep 2025 12:23:19 -0700 Subject: [PATCH] chore(pol): Set the gas tip cap to zero when marshalling pol tx (#84) --- core/types/transaction_marshalling.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/types/transaction_marshalling.go b/core/types/transaction_marshalling.go index 9167d3cab8..8663942b77 100644 --- a/core/types/transaction_marshalling.go +++ b/core/types/transaction_marshalling.go @@ -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()