Skip to content

Commit

Permalink
engineapi: fix req root mismatch upon newPayload (#13516)
Browse files Browse the repository at this point in the history
Fix issues like header hash mismatch in hive tests for pectra-devnet-5
`RequestData` refers to the raw output from the various different
requests contract, in the rest of the code
  • Loading branch information
somnathb1 authored Jan 21, 2025
1 parent 112ff65 commit 71b1945
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ define run_suite
echo -e "\n\n============================================================"; \
echo "Running test: $1-$2"; \
echo -e "\n"; \
./hive --sim ethereum/$1 --sim.limit=$2 --client erigon $3 2>&1 | tee output.log; \
./hive --sim ethereum/$1 --sim.limit=$2 --sim.parallelism=8 --client erigon $3 2>&1 | tee output.log; \
if [ $$? -gt 0 ]; then \
echo "Exitcode gt 0"; \
fi; \
Expand Down
2 changes: 1 addition & 1 deletion turbo/engineapi/engine_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ func (s *EngineServer) newPayload(ctx context.Context, req *engine_types.Executi
if len(r) <= 1 {
return nil, &rpc.InvalidParamsError{Message: fmt.Sprintf("Invalid Request at index %d", i)}
}
requests = append(requests, types.FlatRequest{Type: r[0], RequestData: r})
requests = append(requests, types.FlatRequest{Type: r[0], RequestData: r[1:]})
}
rh := requests.Hash()
header.RequestsHash = rh
Expand Down

0 comments on commit 71b1945

Please sign in to comment.