Skip to content

Commit

Permalink
add parent beacon block root arg to new_payload_v3 call
Browse files Browse the repository at this point in the history
  • Loading branch information
Rjected committed Aug 21, 2023
1 parent c64c49a commit 0d2fec4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/rpc/rpc-engine-api/src/engine_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ where
)?;

// TODO: validate versioned hashes and figure out what to do with parent_beacon_block_root
Ok(self.inner.beacon_consensus.new_payload(payload).await?)
Ok(self.inner.beacon_consensus.new_payload(payload, Some(parent_beacon_block_root)).await?)
}

/// Sends a message to the beacon consensus engine to update the fork choice _without_
Expand Down

0 comments on commit 0d2fec4

Please sign in to comment.