Skip to content

Commit

Permalink
simulators/ethereum/engine: don't populate empty fields
Browse files Browse the repository at this point in the history
  • Loading branch information
marioevz committed Jul 28, 2023
1 parent ef8ac7a commit c97317b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions simulators/ethereum/engine/types/gen_ed.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions simulators/ethereum/engine/types/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,9 @@ type ExecutableData struct {
BlockHash common.Hash `json:"blockHash" gencodec:"required"`
Transactions [][]byte `json:"transactions" gencodec:"required"`
Withdrawals []*types.Withdrawal `json:"withdrawals"`
BlobGasUsed *uint64 `json:"blobGasUsed"`
ExcessBlobGas *uint64 `json:"excessBlobGas"`
ParentBeaconBlockRoot *common.Hash `json:"parentBeaconBlockRoot"`
BlobGasUsed *uint64 `json:"blobGasUsed,omitempty"`
ExcessBlobGas *uint64 `json:"excessBlobGas,omitempty"`
ParentBeaconBlockRoot *common.Hash `json:"parentBeaconBlockRoot,omitempty"`
}

// JSON type overrides for executableData.
Expand Down

0 comments on commit c97317b

Please sign in to comment.