Enable EIP7594 merkle proof testgen

This commit is contained in:
Hsiao-Wei Wang 2024-04-27 15:32:05 +08:00
parent 3c96d41f4c
commit fbccef319b
No known key found for this signature in database
GPG Key ID: AE3D6B174F971DE4
1 changed files with 7 additions and 2 deletions

View File

@ -1,14 +1,19 @@
from eth2spec.test.helpers.constants import DENEB
from eth2spec.gen_helpers.gen_from_tests.gen import run_state_test_generators
from eth2spec.test.helpers.constants import DENEB, EIP7594
from eth2spec.gen_helpers.gen_from_tests.gen import run_state_test_generators, combine_mods
if __name__ == "__main__":
deneb_mods = {key: 'eth2spec.test.deneb.merkle_proof.test_' + key for key in [
'single_merkle_proof',
]}
_new_eip7594_mods = {key: 'eth2spec.test.eip7594.merkle_proof.test_' + key for key in [
'single_merkle_proof',
]}
eip_7594_mods = combine_mods(_new_eip7594_mods, deneb_mods)
all_mods = {
DENEB: deneb_mods,
EIP7594: eip_7594_mods,
}
run_state_test_generators(runner_name="merkle_proof", all_mods=all_mods)