From d8df97bd215e79307d5b970d116601411abef083 Mon Sep 17 00:00:00 2001 From: raina Date: Mon, 5 Feb 2024 16:44:15 +0800 Subject: [PATCH] fix: remove omitempty in bid --- core/types/bid.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/types/bid.go b/core/types/bid.go index ce20b2a99a..8341d0f078 100644 --- a/core/types/bid.go +++ b/core/types/bid.go @@ -19,7 +19,7 @@ type BidArgs struct { Signature hexutil.Bytes `json:"signature"` // PayBidTx pays to builder - PayBidTx hexutil.Bytes `json:"payBidTx,omitempty"` + PayBidTx hexutil.Bytes `json:"payBidTx"` PayBidTxGasUsed uint64 `json:"payBidTxGasUsed"` } @@ -27,7 +27,7 @@ type BidArgs struct { type RawBid struct { BlockNumber uint64 `json:"blockNumber"` ParentHash common.Hash `json:"parentHash"` - Txs []hexutil.Bytes `json:"txs,omitempty"` + Txs []hexutil.Bytes `json:"txs"` GasUsed uint64 `json:"gasUsed"` GasFee *big.Int `json:"gasFee"` BuilderFee *big.Int `json:"builderFee"`