-
Notifications
You must be signed in to change notification settings - Fork 996
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3732 from ethereum/enable-eip7594-merkle-proof-te…
…stgen Enable EIP7594 merkle proof testgen
- Loading branch information
Showing
3 changed files
with
9 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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) |