2024-04-27 07:32:05 +00:00
|
|
|
from eth2spec.test.helpers.constants import DENEB, EIP7594
|
|
|
|
from eth2spec.gen_helpers.gen_from_tests.gen import run_state_test_generators, combine_mods
|
2023-10-30 16:53:53 +00:00
|
|
|
|
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
|
deneb_mods = {key: 'eth2spec.test.deneb.merkle_proof.test_' + key for key in [
|
|
|
|
'single_merkle_proof',
|
|
|
|
]}
|
2024-04-27 07:32:05 +00:00
|
|
|
_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)
|
2023-10-30 16:53:53 +00:00
|
|
|
|
|
|
|
all_mods = {
|
|
|
|
DENEB: deneb_mods,
|
2024-04-27 07:32:05 +00:00
|
|
|
EIP7594: eip_7594_mods,
|
2023-10-30 16:53:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
run_state_test_generators(runner_name="merkle_proof", all_mods=all_mods)
|