Skip to content

Commit

Permalink
make blob tx and sidecar fields optional
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 fc489cc commit dd5f9f5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions core/types/block_export.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ type TransactionExportRLP struct {
Recipient *common.Address `json:"to" rlp:"nil"` // nil means contract creation
Amount *big.Int `json:"value"`
Payload []byte `json:"input"`
BlobFeeCap *big.Int `json:"blobFeeCap"`
BlobHashes []common.Hash `json:"blobHashes"`
BlobGas uint64 `json:"blobGas"`
BlobTxSidecar *BlobTxSidecar `json:"blobTxSideCar"`
BlobFeeCap *big.Int `json:"blobFeeCap" rlp:"optional"`
BlobHashes []common.Hash `json:"blobHashes" rlp:"optional"`
BlobGas uint64 `json:"blobGas" rlp:"optional"`
BlobTxSidecar *BlobTxSidecar `json:"blobTxSidecar" rlp:"optional"`
V *big.Int `json:"v" rlp:"nil"`
R *big.Int `json:"r" rlp:"nil"`
S *big.Int `json:"s" rlp:"nil"`
Expand Down

0 comments on commit dd5f9f5

Please sign in to comment.