6af70e2f80
In Nim 2.0, the `test_fixture_operations` files fail to compile with: ``` Error: 'result' is of type <Result[system.void, system.cstring]> which cannot be captured as it would violate memory safety, declared here: /nimbus-eth2/tests/consensus_spec/bellatrix/test_fixture_operations.nim(130, 5); using '-d:nimNoLentIterators' helps in some cases. Consider using a <ref Result[system.void, system.cstring]> which can be captured. ``` Wrapping the `applyExecutionPayload` in a factory that takes `path` avoids this problem. |
||
---|---|---|
.. | ||
altair | ||
bellatrix | ||
capella | ||
deneb | ||
phase0 | ||
README.md | ||
all_tests.nim | ||
consensus_spec_tests_preset.nim | ||
fixtures_utils.nim | ||
os_ops.nim | ||
test_fixture_fork.nim | ||
test_fixture_fork_choice.nim | ||
test_fixture_light_client_single_merkle_proof.nim | ||
test_fixture_light_client_sync.nim | ||
test_fixture_light_client_update_ranking.nim | ||
test_fixture_sanity_blocks.nim | ||
test_fixture_sanity_slots.nim | ||
test_fixture_ssz_generic_types.nim | ||
test_fixture_transition.nim |
README.md
Tests based on scenarios generated from the consensus spec.