From 94535a6a58172266f1c7ed5063427bbd6be5955a Mon Sep 17 00:00:00 2001 From: Hsiao-Wei Wang Date: Mon, 13 May 2024 14:35:28 +0300 Subject: [PATCH] Add Electra merkle proof test vectors --- tests/generators/merkle_proof/main.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/generators/merkle_proof/main.py b/tests/generators/merkle_proof/main.py index b7d30fe9e4..69500137ab 100644 --- a/tests/generators/merkle_proof/main.py +++ b/tests/generators/merkle_proof/main.py @@ -1,4 +1,4 @@ -from eth2spec.test.helpers.constants import DENEB, EIP7594 +from eth2spec.test.helpers.constants import DENEB, ELECTRA, EIP7594 from eth2spec.gen_helpers.gen_from_tests.gen import run_state_test_generators, combine_mods @@ -9,10 +9,12 @@ _new_eip7594_mods = {key: 'eth2spec.test.eip7594.merkle_proof.test_' + key for key in [ 'single_merkle_proof', ]} + electra_mods = deneb_mods eip_7594_mods = combine_mods(_new_eip7594_mods, deneb_mods) all_mods = { DENEB: deneb_mods, + ELECTRA: electra_mods, EIP7594: eip_7594_mods, }