From 83cb494e31829ea42523fda7e025e9b954c30570 Mon Sep 17 00:00:00 2001 From: Justin Traglia Date: Mon, 10 Jun 2024 11:28:54 -0500 Subject: [PATCH] Rename receipt to request --- tests/core/pyspec/eth2spec/test/helpers/execution_payload.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/core/pyspec/eth2spec/test/helpers/execution_payload.py b/tests/core/pyspec/eth2spec/test/helpers/execution_payload.py index 73dfe99fd..dbfd29e67 100644 --- a/tests/core/pyspec/eth2spec/test/helpers/execution_payload.py +++ b/tests/core/pyspec/eth2spec/test/helpers/execution_payload.py @@ -197,7 +197,7 @@ def compute_el_block_hash(spec, payload): withdrawals_trie_root = compute_trie_root_from_indexed_data(withdrawals_encoded) if is_post_electra(spec): requests_encoded = [] - requests_encoded += [get_deposit_request_rlp_bytes(receipt) for receipt in payload.deposit_requests] + requests_encoded += [get_deposit_request_rlp_bytes(request) for request in payload.deposit_requests] requests_encoded += [get_withdrawal_request_rlp_bytes(request) for request in payload.withdrawal_requests] requests_encoded += [get_consolidation_request_rlp_bytes(request) for request in payload.consolidation_requests]