update eip7002 operation tests to testgen

This commit is contained in:
Hsiao-Wei Wang
2024-03-06 14:26:59 +08:00
committed by Alex Stokes
parent 55c81e7fa1
commit 07ed5176ae
2 changed files with 2 additions and 0 deletions

View File

@@ -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.

View File

@@ -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)