mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-01 04:28:37 +00:00
beacon/engine: use HexBigInt
This commit is contained in:
parent
727816ce00
commit
5edb154064
1 changed files with 1 additions and 2 deletions
|
|
@ -20,7 +20,6 @@ import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"errors"
|
"errors"
|
||||||
|
|
||||||
"github.com/ethereum/go-ethereum/common/hexutil"
|
|
||||||
jsonw "github.com/fjl/jsonw"
|
jsonw "github.com/fjl/jsonw"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
@ -66,7 +65,7 @@ func (e ExecutionPayloadEnvelope) MarshalJSON() ([]byte, error) {
|
||||||
b.Key("executionPayload")
|
b.Key("executionPayload")
|
||||||
b.RawValue(payload)
|
b.RawValue(payload)
|
||||||
b.Key("blockValue")
|
b.Key("blockValue")
|
||||||
b.MustValue((*hexutil.Big)(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")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue