From 507bab6d8a9cb6b76abf74fceb87a31cced88dcb Mon Sep 17 00:00:00 2001 From: Hsiao-Wei Wang Date: Wed, 6 Mar 2024 14:26:59 +0800 Subject: [PATCH] update eip7002 operation tests to testgen --- tests/formats/operations/README.md | 1 + tests/generators/operations/main.py | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/formats/operations/README.md b/tests/formats/operations/README.md index 8e9841618..b020b5fd0 100644 --- a/tests/formats/operations/README.md +++ b/tests/formats/operations/README.md @@ -46,6 +46,7 @@ Operations: | `withdrawals` | `ExecutionPayload` | `execution_payload` | `process_withdrawals(state, execution_payload)` (new in Capella) | | `bls_to_execution_change` | `SignedBLSToExecutionChange` | `address_change` | `process_bls_to_execution_change(state, address_change)` (new in Capella) | | `deposit_receipt` | `DepositReceipt` | `deposit_receipt` | `process_deposit_receipt(state, deposit_receipt)` (new in Electra) | +| `exits` | `ExecutionLayerExit` | `execution_layer_exit` | `process_execution_layer_exit(state, execution_layer_exit)` (new in Electra) | Note that `block_header` is not strictly an operation (and is a full `Block`), but processed in the same manner, and hence included here. diff --git a/tests/generators/operations/main.py b/tests/generators/operations/main.py index c31a72285..0413eb2b2 100644 --- a/tests/generators/operations/main.py +++ b/tests/generators/operations/main.py @@ -45,6 +45,7 @@ if __name__ == "__main__": _new_electra_mods = {key: 'eth2spec.test.electra.block_processing.test_process_' + key for key in [ 'deposit_receipt', + 'execution_layer_exit', ]} electra_mods = combine_mods(_new_electra_mods, deneb_mods)