mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-02 04:58:38 +00:00
beacon/engine: add newlines
This commit is contained in:
parent
5edb154064
commit
144f7ef408
1 changed files with 5 additions and 0 deletions
|
|
@ -64,18 +64,23 @@ func (e ExecutionPayloadEnvelope) MarshalJSON() ([]byte, error) {
|
||||||
b.Object(func() {
|
b.Object(func() {
|
||||||
b.Key("executionPayload")
|
b.Key("executionPayload")
|
||||||
b.RawValue(payload)
|
b.RawValue(payload)
|
||||||
|
|
||||||
b.Key("blockValue")
|
b.Key("blockValue")
|
||||||
b.HexBigInt(e.BlockValue)
|
b.HexBigInt(e.BlockValue)
|
||||||
|
|
||||||
b.Key("blobsBundle")
|
b.Key("blobsBundle")
|
||||||
marshalBlobsBundle(&b, e.BlobsBundle)
|
marshalBlobsBundle(&b, e.BlobsBundle)
|
||||||
|
|
||||||
b.Key("executionRequests")
|
b.Key("executionRequests")
|
||||||
if e.Requests == nil {
|
if e.Requests == nil {
|
||||||
b.Null()
|
b.Null()
|
||||||
} else {
|
} else {
|
||||||
appendHexBytesArray(&b, e.Requests)
|
appendHexBytesArray(&b, e.Requests)
|
||||||
}
|
}
|
||||||
|
|
||||||
b.Key("shouldOverrideBuilder")
|
b.Key("shouldOverrideBuilder")
|
||||||
b.Bool(e.Override)
|
b.Bool(e.Override)
|
||||||
|
|
||||||
if e.Witness != nil {
|
if e.Witness != nil {
|
||||||
b.Key("witness")
|
b.Key("witness")
|
||||||
b.RawValue(witness)
|
b.RawValue(witness)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue