Skip to content

Commit

Permalink
omit empty blob sidecars
Browse files Browse the repository at this point in the history
Signed-off-by: Pranay Valson <[email protected]>
  • Loading branch information
noslav committed Mar 26, 2024
1 parent f7b54dc commit fd979a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/types/eth.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ type Transaction struct {
BlobFeeCap *BigInt `json:"blobFeeCap" rlp:"optional"`
BlobHashes []common.Hash `json:"blobHashes" rlp:"optional"`
BlobGas uint64 `json:"blobGas" rlp:"optional"`
BlobTxSidecar *BlobTxSidecar `json:"blobTxSidecar" rlp:"optional"`
BlobTxSidecar *BlobTxSidecar `json:"blobTxSidecar,omitempty"`
}

// AccessList is an EIP-2930 access list.
Expand Down

0 comments on commit fd979a4

Please sign in to comment.