Skip to content

Commit

Permalink
Add missing hex conversion to IL communication with EL
Browse files Browse the repository at this point in the history
  • Loading branch information
jihoonsong committed Feb 8, 2025
1 parent ec28ad1 commit e7aed64
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions beacon-chain/execution/engine_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,10 @@ func (s *Service) NewPayload(
if err != nil {
return nil, errors.Wrap(err, "failed to encode execution requests")
}
hexIlTxs := make([]hexutil.Bytes, len(ilTxs))
for i, tx := range ilTxs {
hexIlTxs[i] = tx
}
err = s.rpcClient.CallContext(ctx, result, NewPayloadMethodV5, payloadPb, versionedHashes, parentBlockRoot, flattenedRequests, ilTxs)
if err != nil {
return nil, handleRPCError(err)
Expand Down

0 comments on commit e7aed64

Please sign in to comment.