Hsiao-Wei Wang
|
2fa396f67d
|
Merge pull request #2746 from ethereum/vbuterin-patch-12
Simplify sync protocol and update to calculate optimistic heads
|
2021-12-16 00:12:36 +08:00 |
Hsiao-Wei Wang
|
257c2413a5
|
Update test_sync_protocol.py per the new optimistic_header and data structure
|
2021-12-14 22:06:25 +08:00 |
Hsiao-Wei Wang
|
6edf840992
|
fix lint
|
2021-12-11 09:06:56 +08:00 |
Hsiao-Wei Wang
|
4cea972cc0
|
Apply suggestions from code review
Co-authored-by: Caspar Schwarz-Schilling <31305984+casparschwa@users.noreply.github.com>
|
2021-12-11 09:01:16 +08:00 |
Hsiao-Wei Wang
|
11a42f8d06
|
Remove `*_without_boost` tests
|
2021-12-09 17:58:31 +08:00 |
Hsiao-Wei Wang
|
addc03cb7c
|
Enable ex-ante tests in testgen and minor fixes
|
2021-12-09 17:47:20 +08:00 |
Caspar Schwarz-Schilling
|
9f614fca83
|
Fix linting
|
2021-12-08 18:31:14 +01:00 |
Caspar Schwarz-Schilling
|
79e1d5e021
|
Fix head view comparison
|
2021-12-08 18:14:46 +01:00 |
Caspar Schwarz-Schilling
|
dc9db78a67
|
Add sandwich test scenarios
|
2021-12-08 17:05:44 +01:00 |
Alex Stokes
|
db2be42baa
|
use a specific `spec` rather than the pre-defined phases
|
2021-12-07 18:50:00 +01:00 |
Alex Stokes
|
55c9c03f08
|
simply module import and fix config adjustment
|
2021-12-07 18:22:10 +01:00 |
Alex Stokes
|
733f37715e
|
use `importlib` to perform an actual spec copy
|
2021-12-07 17:55:17 +01:00 |
Alex Stokes
|
57be9d064f
|
update per-test config to be unique per-test
|
2021-12-07 17:13:26 +01:00 |
Hsiao-Wei Wang
|
200ed58dd9
|
Merge branch 'dev' into ex-ante-tests
|
2021-12-07 18:29:48 +08:00 |
Hsiao-Wei Wang
|
9dc1b7af7e
|
Test with strict `proposer_boost + 1` attestation participants
|
2021-12-07 00:25:26 +08:00 |
Hsiao-Wei Wang
|
6308cee7a6
|
Fix typo
|
2021-12-03 02:17:57 +08:00 |
Hsiao-Wei Wang
|
a399d953d3
|
Add assertion to `test_shorter_chain_but_heavier_weight`
|
2021-12-02 17:21:42 +08:00 |
Hsiao-Wei Wang
|
dc52b35145
|
Add `PROPOSER_SCORE_BOOST` to meta.yaml and fix comments
|
2021-12-02 01:37:01 +08:00 |
Hsiao-Wei Wang
|
bb8168fd95
|
Make config dict compatible with yaml.dump
|
2021-12-02 01:34:35 +08:00 |
Hsiao-Wei Wang
|
d7f6a42729
|
[WIP] Add ex-ante fork choice test cases
|
2021-12-01 02:37:22 +08:00 |
Danny Ryan
|
69e7f586ac
|
Merge pull request #2738 from ethereum/fix-names
is_merge -> is_merge_transition
|
2021-11-23 14:52:05 -07:00 |
Danny Ryan
|
a0d008bb86
|
is_merge -> is_merge_transition
|
2021-11-23 14:45:03 -07:00 |
Danny Ryan
|
32e8ca26a0
|
Merge pull request #2737 from ethereum/test_prepare_execution_payload
Fix spec typo and add `test_prepare_execution_payload` unit tests
|
2021-11-23 14:25:48 -07:00 |
Hsiao-Wei Wang
|
8050de384e
|
Fix spec typo and add `test_prepare_execution_payload` unit tests
|
2021-11-24 02:23:24 +08:00 |
Danny Ryan
|
975931b5cf
|
pr feedback
|
2021-11-23 11:19:22 -07:00 |
Hsiao-Wei Wang
|
2ba0586c3d
|
Add `proposer_boost_root` field to test vector "checks" step
|
2021-11-24 00:09:48 +08:00 |
Aditya Asgaonkar
|
6f95637637
|
Merging local branch to remote latest
|
2021-11-23 07:32:56 -08:00 |
Aditya Asgaonkar
|
ecbe9190b9
|
Apply HWW code's review - properly update test steps
|
2021-11-23 07:20:54 -08:00 |
Hsiao-Wei Wang
|
bdd7b0782e
|
Add configuration value checks
|
2021-11-23 16:44:12 +08:00 |
Aditya Asgaonkar
|
d85d4399cb
|
Rename test
|
2021-11-22 14:45:20 -08:00 |
Aditya Asgaonkar
|
1d835c5198
|
Apply Danny's code review & suggestions
|
2021-11-22 14:44:52 -08:00 |
Danny Ryan
|
ea09df50db
|
toc
|
2021-11-22 11:39:08 -07:00 |
Aditya Asgaonkar
|
2d161b4244
|
Add proposer score boosting & related tests
|
2021-11-22 11:12:24 -07:00 |
Danny Ryan
|
bbdb0d8fba
|
Merge pull request #2727 from ethereum/fc-dev-validate_target_epoch_scope-patch
always atomically update justified and finalized
|
2021-11-22 09:42:20 -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 |