From b8e16c1610e4af03b38baf6ad98a956aa8317a08 Mon Sep 17 00:00:00 2001 From: Mikhail Kalinin Date: Wed, 17 Mar 2021 15:32:24 +0600 Subject: [PATCH] Remove min(..., ...) in get_evm_beacon_block_roots --- specs/merge/beacon-chain.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specs/merge/beacon-chain.md b/specs/merge/beacon-chain.md index 1ae96886e..364cc4377 100644 --- a/specs/merge/beacon-chain.md +++ b/specs/merge/beacon-chain.md @@ -183,8 +183,8 @@ def get_recent_beacon_block_roots(state: BeaconState, qty: uint64) -> Sequence[B ```python def get_evm_beacon_block_roots(state: BeaconState) -> Sequence[Bytes32]: - num_block_roots = min(EVM_BLOCK_ROOTS_SIZE, SLOTS_PER_HISTORICAL_ROOT) - return get_recent_beacon_block_roots(state, num_block_roots) + # EVM_BLOCK_ROOTS_SIZE must be less or equal to SLOTS_PER_HISTORICAL_ROOT + return get_recent_beacon_block_roots(state, EVM_BLOCK_ROOTS_SIZE) ``` ### Block processing