Aditya Asgaonkar
2d161b4244
Add proposer score boosting & related tests
2021-11-22 11:12:24 -07:00
Danny Ryan
97e6d5c6d6
Merge branch 'fc-dev-validate_target_epoch_scope-patch' into dev
2021-11-22 08:32:32 -07:00
Hsiao-Wei Wang
29beba6ab5
Merge pull request #2706 from ethereum/transition-reuse
2021-11-20 08:21:22 +08:00
Danny Ryan
3c25da8218
Merge pull request #2726 from ethereum/get_pow_block_at_ttd-tests
...
Fix `get_pow_block_at_terminal_total_difficulty` and add unit tests
2021-11-19 09:37:11 -07:00
Danny Ryan
e7df64b0a4
Merge pull request #2723 from ethereum/add-test_is_execution_enabled_false
...
Add a test to cover the case of `is_execution_enabled` result is false
2021-11-19 09:33:34 -07:00
Danny Ryan
dc14b79a52
Merge pull request #2720 from paulhauner/patch-34
...
Remove `difficulty` from `PowBlock`
2021-11-18 15:49:27 -07:00
Mikhail Kalinin
58968f9286
Rename coinbase to fee_recipient
2021-11-18 19:23:52 +06:00
Hsiao-Wei Wang
2c865e3627
Resolve the commented out code in `test_new_finalized_slot_is_not_justified_checkpoint_ancestor`
2021-11-18 11:02:12 +08:00
Danny Ryan
3d4ece44df
port phase0 forkchocie changes to merge
2021-11-17 18:37:45 -07:00
Danny Ryan
eb00f8f735
cleanup forkchoice tests
2021-11-17 18:24:47 -07:00
Hsiao-Wei Wang
e56bbb8c44
Fix `get_pow_block_at_terminal_total_difficulty` and add unit tests
2021-11-17 18:00:35 +08:00
Hsiao-Wei Wang
79f1f16adf
Clean `PowBlock.difficulty` leftover
2021-11-16 22:08:00 +08:00
Hsiao-Wei Wang
2b9692a22c
Add a test to cover the case of `is_execution_enabled` result is false
2021-11-16 21:56:55 +08:00
Hsiao-Wei Wang
63c9e5ea56
Minor refactoring and add comments
2021-11-16 00:32:29 +08:00
Hsiao-Wei Wang
f0bb032eb1
Fix `test_transition_with_one_fourth_exiting_validators_exit_at_fork` assertions
2021-11-15 23:46:40 +08:00
Hsiao-Wei Wang
f643554aa5
Fix issue around on_attestation validation by skipping epoch scope
...
validation if attestation is from a block message
2021-11-13 18:28:05 +08:00
Danny Ryan
cd3d2ce692
working through test issues
2021-11-12 12:43:54 -07:00
Hsiao-Wei Wang
49d96f92ef
Add a sample altair-to-merge-only transition
2021-11-12 17:06:10 +08:00
Hsiao-Wei Wang
e70da78377
Merge branch 'dev' into transition-reuse
2021-11-12 15:57:27 +08:00
Danny Ryan
342171f441
version.txt bump to v1.1.5
2021-11-08 07:50:54 -07:00
Mikhail Kalinin
f463c32879
Apply feedback from the review of test_validate_merge_block
2021-11-06 10:21:56 +06:00
Mikhail Kalinin
56bb393eb5
Refine validate_merge_block unit tests
2021-11-05 19:56:53 +06:00
Danny Ryan
1361078a75
bump VERSION.txt to 1.1.4
2021-11-02 09:38:49 -06:00
Hsiao-Wei Wang
0641d1c184
`ALL_FORKS` sounds like a list of fork names. Rename it to `ALL_FORK_UPGRADES`
2021-11-02 19:01:32 +08:00
Hsiao-Wei Wang
fa4dc0c168
Apply suggestions from code review
...
Co-authored-by: Alex Stokes <r.alex.stokes@gmail.com>
2021-11-02 18:38:24 +08:00
Hsiao-Wei Wang
0b0fe15c75
Make altair transition tests support merge forks
2021-11-02 14:47:24 +08:00
Danny Ryan
7a5eec3c5f
Merge pull request #2704 from ethereum/disable-too-slow-fork-choice-tests
...
Disable some too-slow mainnet preset fork choice tests
2021-11-01 12:23:23 -06:00
Danny Ryan
7e3ccb706d
remove block_number validation from CL
2021-11-01 07:57:49 -06:00
Danny Ryan
52a97ab494
remove gas validations from CL
2021-11-01 07:39:13 -06:00
Danny Ryan
78040ac3ae
update penalty params for Merge
2021-10-29 12:41:38 -06:00
Alex Stokes
0eff6e0a93
Merge pull request #2677 from ethereum/ralexstokes-patch-1
...
Update `ssz_generic` test format README
2021-10-28 02:33:56 -06:00
Alex Stokes
43a659a51b
Update tests/formats/ssz_generic/README.md
2021-10-27 05:55:53 -06:00
Hsiao-Wei Wang
314840117d
Add `test_invalid_previous_source_root` and fix `test_invalid_current_source_root`
2021-10-26 16:04:52 +08:00
Hsiao-Wei Wang
405f2e2c2f
Update tests/core/pyspec/eth2spec/test/conftest.py
...
Co-authored-by: Danny Ryan <dannyjryan@gmail.com>
2021-10-21 23:21:56 +08:00
Hsiao-Wei Wang
cb513aa82d
--fork cli option: fix the case of unset directory path + validate fork name
2021-10-21 12:26:11 +08:00
Hsiao-Wei Wang
4f3637851c
Disable some too-slow mainnet preset fork choice tests
2021-10-19 00:54:29 +08:00
Hsiao-Wei Wang
afb62eebf0
Add pytest CLI option `--fork` so that we can just run with specific phase (fork)
2021-10-18 17:59:55 +08:00
Alex Stokes
ec516a7625
Update `ssz_generic` test format README
...
The existing README has a reference to an alias type `Bytes[N]` that has been removed from the repo so it is not clear what it exactly refers to.
This PR updates the type to the equivalent `List[T, N]` using more recent SSZ typing syntax.
2021-10-18 02:34:52 -07:00
Danny Ryan
c5b169bd62
fix issue with mutation in test generation
2021-10-15 16:15:37 -06:00
Alex Stokes
aa91788dfb
Yield the `pre` state for this test type before making blocks
2021-10-15 19:46:46 +01:00
Danny Ryan
a05a78246f
bump version.txt to 1.1.3
2021-10-15 09:47:24 -06:00
Alex Stokes
bf01e11cae
Merge pull request #2664 from ethereum/new-transition-test-cases
...
Add new Altair transition tests
2021-10-15 09:38:24 -06:00
Hsiao-Wei Wang
e70ef11b4d
Fix SSZ underflow
2021-10-15 22:49:43 +08:00
Hsiao-Wei Wang
7480fad8cd
Add `test_transition_with_activation_at_fork_epoch`
2021-10-15 22:46:16 +08:00
Hsiao-Wei Wang
b0b3733243
Fix `randomize_state` default params
2021-10-15 22:18:13 +08:00
Hsiao-Wei Wang
40869d6e39
PR feedback on `exit_random_validators` helper
2021-10-15 22:14:30 +08:00
Hsiao-Wei Wang
be6d2017bb
fix typo
2021-10-15 22:05:07 +08:00
Hsiao-Wei Wang
162711ea56
PR feedback. Rework `transition_to_next_epoch_and_append_blocks` a bit
2021-10-15 22:00:48 +08:00
Hsiao-Wei Wang
a4e5d50660
Fix/ignore mainnet preset cases
2021-10-15 11:57:10 +08:00
Hsiao-Wei Wang
52235a9e40
minor: Use pre spec for running `prepare_state_and_deposit`
2021-10-15 00:44:11 +08:00