From a6341afa816b6cb2dc7ec22367eb7ee5f17f656a Mon Sep 17 00:00:00 2001 From: Hsiao-Wei Wang Date: Fri, 7 Jun 2024 21:53:01 +0800 Subject: [PATCH] Update file names --- ...idation_request.py => test_process_consolidation_request.py} | 0 ...withdrawal_request.py => test_process_withdrawal_request.py} | 1 + ...cution_layer_withdrawal_request.py => withdrawal_request.py} | 0 tests/generators/operations/main.py | 2 +- 4 files changed, 2 insertions(+), 1 deletion(-) rename tests/core/pyspec/eth2spec/test/electra/block_processing/{test_process_execution_layer_consolidation_request.py => test_process_consolidation_request.py} (100%) rename tests/core/pyspec/eth2spec/test/electra/block_processing/{test_process_execution_layer_withdrawal_request.py => test_process_withdrawal_request.py} (99%) rename tests/core/pyspec/eth2spec/test/helpers/{execution_layer_withdrawal_request.py => withdrawal_request.py} (100%) diff --git a/tests/core/pyspec/eth2spec/test/electra/block_processing/test_process_execution_layer_consolidation_request.py b/tests/core/pyspec/eth2spec/test/electra/block_processing/test_process_consolidation_request.py similarity index 100% rename from tests/core/pyspec/eth2spec/test/electra/block_processing/test_process_execution_layer_consolidation_request.py rename to tests/core/pyspec/eth2spec/test/electra/block_processing/test_process_consolidation_request.py diff --git a/tests/core/pyspec/eth2spec/test/electra/block_processing/test_process_execution_layer_withdrawal_request.py b/tests/core/pyspec/eth2spec/test/electra/block_processing/test_process_withdrawal_request.py similarity index 99% rename from tests/core/pyspec/eth2spec/test/electra/block_processing/test_process_execution_layer_withdrawal_request.py rename to tests/core/pyspec/eth2spec/test/electra/block_processing/test_process_withdrawal_request.py index 53460347ad..16bc080602 100644 --- a/tests/core/pyspec/eth2spec/test/electra/block_processing/test_process_execution_layer_withdrawal_request.py +++ b/tests/core/pyspec/eth2spec/test/electra/block_processing/test_process_withdrawal_request.py @@ -12,6 +12,7 @@ set_eth1_withdrawal_credential_with_balance, set_compounding_withdrawal_credential, ) +from eth2spec.test.helpers.withdrawal_request import run_withdrawal_request_processing # Modified tests from 7002. Just testing EL-triggered exits, not partial withdrawals diff --git a/tests/core/pyspec/eth2spec/test/helpers/execution_layer_withdrawal_request.py b/tests/core/pyspec/eth2spec/test/helpers/withdrawal_request.py similarity index 100% rename from tests/core/pyspec/eth2spec/test/helpers/execution_layer_withdrawal_request.py rename to tests/core/pyspec/eth2spec/test/helpers/withdrawal_request.py diff --git a/tests/generators/operations/main.py b/tests/generators/operations/main.py index 06b65b8b3b..204f5023a4 100644 --- a/tests/generators/operations/main.py +++ b/tests/generators/operations/main.py @@ -47,8 +47,8 @@ 'attestation', 'consolidation_request', 'deposit_request', - 'withdrawal_request', 'voluntary_exit' + 'withdrawal_request', ]} electra_mods = combine_mods(_new_electra_mods, deneb_mods)