Skip to content

Commit

Permalink
fix test by fixing request object creation
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Lehrner <[email protected]>
  • Loading branch information
daniellehrner committed Jan 13, 2025
1 parent 1ec2403 commit 61ea63a
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,10 @@ protected JsonRpcResponse resp(final EnginePayloadParameter payload) {
final List<String> requestsWithoutRequestId =
VALID_REQUESTS.stream()
.sorted(Comparator.comparing(Request::getType))
.map(r -> r.getData().toHexString())
.map(r -> Bytes.concatenate(
Bytes.of(r.getType().getSerializedType()),
r.getData()
).toHexString())
.toList();
Object[] params =
maybeParentBeaconBlockRoot
Expand Down

0 comments on commit 61ea63a

Please sign in to comment.