Skip to content

Commit

Permalink
correct response type for GetBlobsV1Response (#194)
Browse files Browse the repository at this point in the history
* correct response type

* remove object marshalling serde code
  • Loading branch information
agnxsh authored Feb 13, 2025
1 parent 5443261 commit e9640d6
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions tests/test_json_marshalling.nim
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,6 @@ suite "JSON-RPC Quantity":
checkRandomObject(GetPayloadV2Response)
checkRandomObject(GetPayloadV2ResponseExact)
checkRandomObject(GetPayloadV3Response)
checkRandomObject(GetBlobsV1Response)

checkRandomObject(ExecutionPayload)
checkRandomObject(PayloadAttributes)
checkRandomObject(GetPayloadResponse)
Expand Down
1 change: 0 additions & 1 deletion web3/conversions.nim
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ GetPayloadV2Response.useDefaultSerializationIn JrpcConv
GetPayloadV2ResponseExact.useDefaultSerializationIn JrpcConv
GetPayloadV3Response.useDefaultSerializationIn JrpcConv
GetPayloadV4Response.useDefaultSerializationIn JrpcConv
GetBlobsV1Response.useDefaultSerializationIn JrpcConv
ClientVersionV1.useDefaultSerializationIn JrpcConv

#------------------------------------------------------------------------------
Expand Down
3 changes: 1 addition & 2 deletions web3/engine_api_types.nim
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,7 @@ type
shouldOverrideBuilder*: bool
executionRequests*: seq[seq[byte]]

GetBlobsV1Response* = object
blobsAndProofs*: seq[BlobAndProofV1]
GetBlobsV1Response* = seq[BlobAndProofV1]

SomeGetPayloadResponse* =
ExecutionPayloadV1 |
Expand Down

0 comments on commit e9640d6

Please sign in to comment.