From 6f78e6a3eeb87276133e87e6e9d21bb0c47518d9 Mon Sep 17 00:00:00 2001 From: Mikhail Kalinin Date: Thu, 16 Sep 2021 11:28:04 +0600 Subject: [PATCH] Remove randao_reveal from validator.md --- specs/merge/validator.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/specs/merge/validator.md b/specs/merge/validator.md index e71ee74a8..b7a2860fd 100644 --- a/specs/merge/validator.md +++ b/specs/merge/validator.md @@ -77,7 +77,6 @@ def get_pow_block_at_total_difficulty(total_difficulty: uint256, pow_chain: Sequ def produce_execution_payload(state: BeaconState, parent_hash: Hash32, - randao_reveal: BLSSignature, execution_engine: ExecutionEngine) -> ExecutionPayload: timestamp = compute_timestamp_at_slot(state, state.slot) randao_mix = get_randao_mix(state, get_current_epoch(state)) @@ -86,7 +85,6 @@ def produce_execution_payload(state: BeaconState, def get_execution_payload(state: BeaconState, transition_store: TransitionStore, - randao_reveal: BLSSignature, execution_engine: ExecutionEngine, pow_chain: Sequence[PowBlock]) -> ExecutionPayload: if not is_merge_complete(state): @@ -96,9 +94,9 @@ def get_execution_payload(state: BeaconState, return ExecutionPayload() else: # Signify merge via producing on top of the last PoW block - return produce_execution_payload(state, terminal_pow_block.block_hash, randao_reveal, execution_engine) + return produce_execution_payload(state, terminal_pow_block.block_hash, execution_engine) # Post-merge, normal payload parent_hash = state.latest_execution_payload_header.block_hash - return produce_execution_payload(state, parent_hash, randao_reveal, execution_engine) + return produce_execution_payload(state, parent_hash, execution_engine) ```