George Kadianakis
567a25f883
EIP-4844: Make the spec executable
...
- Implement all the required glue code to make things executable
- Implement a dummy KZG trusted setup
Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
2022-07-13 13:14:05 +03:00
Hsiao-Wei Wang
c165d31ccb
Remove `@disable_process_reveal_deadlines`
2022-06-06 16:24:44 +08:00
Danny Ryan
1d82d33774
Merge pull request #2887 from jtraglia/add-invalid-withdrawable-epoch-test
...
Add invalid large withdrawable epoch test
2022-05-16 08:07:21 -06:00
Justin Traglia
02090d94ab
Remove pytest import
2022-05-10 11:00:16 -05:00
Justin Traglia
d1f0187076
Revert "Move test case to new location"
...
This reverts commit e2cbdb2b67
.
2022-05-10 10:48:59 -05:00
Justin Traglia
5868a53cf1
Revert "Fix linter warnings again"
...
This reverts commit ac7267c938
.
2022-05-10 10:48:51 -05:00
Justin Traglia
ac7267c938
Fix linter warnings again
2022-05-09 16:50:43 -05:00
Justin Traglia
e2cbdb2b67
Move test case to new location
2022-05-09 16:47:19 -05:00
Justin Traglia
90c1825637
Convert participation_fn from lambda to def
...
I felt that the the lambda was a little too complicated.
2022-05-09 15:53:36 -05:00
Justin Traglia
9dcb2eecbc
Fix linter warnings
2022-05-09 14:28:54 -05:00
Justin Traglia
a7bda480fe
Convert sets to sorted lists prior to sampling
...
This is because sampling of sets has been deprecated in Python 3.9. I used
sorted() instead of list() so that things are deterministic.
2022-05-09 14:09:27 -05:00
Justin Traglia
3c7544af3d
Add invalid large withdrawable epoch test
2022-05-06 13:56:40 -05:00
Dmitrii Shmatko
b9cb294650
Yield attestation in equivocating indices test
2022-04-25 23:23:44 +03:00
Danny Ryan
c10d219664
Merge branch 'dev' into withdrawals-push
2022-03-22 08:11:09 -06:00
Hsiao-Wei Wang
95c712598a
Fix `test_discard_equivocations` test vectors
2022-03-09 10:16:37 +08:00
Aditya Asgaonkar
7f31c80b8f
Fix lint & CI
2022-03-01 11:47:45 -08:00
Aditya Asgaonkar
4fbe162655
Add on_attester_slashing() and related test
2022-03-01 11:42:49 -08:00
Hsiao-Wei Wang
171a9ccc81
Resolve conflicts
2021-12-27 18:30:12 +08:00
Hsiao-Wei Wang
ba690852d6
Merge pull request #2774 from ethereum/bellatrix
...
Rename "Merge" -> "Bellatrix"
2021-12-24 01:46:55 +08:00
Hsiao-Wei Wang
a7df9a39cc
Set RNG seed
2021-12-23 21:33:23 +08:00
Hsiao-Wei Wang
8facc0a095
Merge -> Bellatrix
2021-12-23 14:25:43 +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
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
Danny Ryan
59d48210a1
fix forkchoice tests
2021-12-02 12:10:46 -07: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
d7f6a42729
[WIP] Add ex-ante fork choice test cases
2021-12-01 02:37:22 +08:00
Danny Ryan
975931b5cf
pr feedback
2021-11-23 11:19:22 -07: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
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
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
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
78040ac3ae
update penalty params for Merge
2021-10-29 12:41:38 -06:00