Hsiao-Wei Wang
67279448be
Fix import
2023-12-15 01:03:35 +08:00
Hsiao-Wei Wang
70ce4f28c0
Remove extra tick
2023-11-14 12:06:33 +03:00
Hsiao-Wei Wang
d8440f8bb4
Merge branch 'dev' into pr3034
2023-10-26 23:51:35 +08:00
Michael Sproul
9ce8e3d6e9
Update test format. Add get_proposer_head
2023-10-26 23:50:46 +08:00
Hsiao-Wei Wang
24b4d46903
Add get_proposer_head
and should_override_forkchoice_update
tests
2023-10-25 01:30:45 +08:00
Hsiao-Wei Wang
8878a316c4
Fix test_process_voluntary_exit.py
2023-09-13 19:05:01 +08:00
Hsiao-Wei Wang
417b95c3e6
Add basic activation churn limit tests
2023-09-13 17:14:26 +08:00
Hsiao-Wei Wang
1904b47e3e
Add test_proposer_boost_is_first_block
test case
2023-08-04 21:41:57 +08:00
Dmitrii Shmatko
36d9ea6cd1
Fix dimension of nodeId and remove outdated comment ( #3445 )
...
* Fix dimension of nodeId and remove incorrect comment
* Remove debugging
2023-08-04 00:12:07 +08:00
Hsiao-Wei Wang
2210cea734
Add deneb fc tests and update test format
2023-07-25 22:29:12 +08:00
Hsiao-Wei Wang
aeca477398
Merge branch 'dev' into att-slot-range
2023-06-01 18:20:24 +08:00
Hsiao-Wei Wang
6b5513b43a
Merge branch 'dev' into engine-versioned-hashes
2023-05-24 11:19:56 +08:00
Hsiao-Wei Wang
f87e1436bf
Add networking configs to config files
2023-05-19 22:39:18 +08:00
djrtwo
ee32e2a31f
make tests generic across forks
2023-05-17 11:53:25 -06:00
djrtwo
5889668403
lint
2023-05-15 12:13:20 -06:00
djrtwo
3e2d9a755a
disable some attestation tests for attslotrange
2023-05-15 11:57:13 -06:00
Hsiao-Wei Wang
058137327a
Use new engine_newPayloadV3
2023-05-16 00:28:49 +08:00
Danny Ryan
363209d650
Merge pull request #3312 from AgeManning/attnets-revamp
...
Attnet revamp: Subnet backbone structure based on beacon nodes
2023-05-10 08:22:02 -06:00
Hsiao-Wei Wang
5cb2733ed5
Add custom types NodeID
and SubnetID
and constant NODE_ID_BITS
2023-05-04 18:50:13 +08:00
Hsiao-Wei Wang
745d529598
Add compute_subscribed_subnets
unittests and fix typing errors
2023-04-25 12:57:49 +08:00
Roberto Saltini
313439a04b
Fix lint erorrs
2023-04-18 13:54:31 +10:00
Roberto Saltini
b5bd90dd5f
Applied changes to tests
2023-04-18 13:51:13 +10:00
Hsiao-Wei Wang
0dd8db76cd
Make linter happy. Add SUBNET_DURATION_IN_EPOCHS
definition.
2023-03-30 14:51:41 +08:00
Aditya Asgaonkar
5a217607b0
shift all f.c. tests to altair & later
2023-03-15 16:32:57 -07:00
Aditya Asgaonkar
e9551715d5
large fork choice upgrade
2023-03-13 11:52:43 -07:00
Ben Edgington
7637158a2f
Change get_latest_attesting_balances() to get_weight()
2023-02-15 11:39:33 +00:00
Hsiao-Wei Wang
dba75eece9
Enable Capella feature in eip4844 fork
...
Fix lint
2023-01-04 01:40:46 +08:00
Hsiao-Wei Wang
1cfabcbe54
Rename HistoricalBatchSummary
-> HistoricalSummary
and historical_batches
-> historical_summaries
2023-01-02 23:07:00 +08:00
Hsiao-Wei Wang
84592f101b
Add tests for process_historical_batches_update
2022-12-16 01:01:00 +08:00
Hsiao-Wei Wang
da3f5af919
Test case naming clean up ( #3143 )
...
* Add @description decorator
* Unify test case naming style
* more clean ups
* Altair tests cleanup
* Clean up Altair and Bellatrix `process_deposit` tests
* Clean up Bellatrix tests
* Clean up Capella tests
* PR feedback from @ralexstokes
* Add comments on the deposit fork version tests
* Remove `test_incorrect_sig_other_version` since it is duplicate to `test_ineffective_deposit_with_bad_fork_version`
* Add `test_ineffective_deposit_with_current_fork_version`
2022-12-13 15:13:44 +08:00
Hsiao-Wei Wang
fbb13f0cf0
Apply naming suggestion from @djrtwo
2022-11-19 00:03:29 +08:00
Hsiao-Wei Wang
b78bd1fae0
Add other double-operations (attestations, deposits) tests
2022-11-18 23:14:57 +08:00
terence tsao
bbc3ec02ff
Fix typos
2022-11-12 23:36:34 -08:00
Etan Kissling
76157f91d7
Rename phases.py
to forks.py
; add ValueError
check
...
Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
2022-11-10 13:26:00 +01:00
Etan Kissling
332ad4cb57
Move is_post_xxx
functions to new module
...
Moving the `is_post_xxx` functions to a separate module allows `genesis`
to also use them (cyclic import from `context` prevented this before).
This allows removing `FORKS_BEFORE_ALTAIR` and `FORKS_BEFORE_BELLATRIX`
constants and adding a more general `is_post_fork` function that needs
less maintenance. This then allows definition of `with_all_phases_from`
to streamline the implementation of the `with_xxx_and_later` decorators.
2022-10-30 12:50:56 +01:00
Hsiao-Wei Wang
6181035d5d
Fix typo ( #3039 )
2022-10-15 12:40:17 +08:00
Danny Ryan
70f90c5296
rmove withdrawn_epoch
2022-09-19 11:39:46 -06:00
Hsiao-Wei Wang
4d2cfff2d6
Add test_key_validate_invalid_decompression
2022-09-12 22:59:29 +08:00
Hsiao-Wei Wang
e4407c64e3
Add test_process_deposit::test_key_validate_invalid
2022-09-12 22:31:49 +08:00
Hsiao-Wei Wang
b3ef9b2b3e
Add invalid fork version tests
2022-08-18 22:49:02 +08:00
Hsiao-Wei Wang
0f31fcdee4
[Refactor] remove useless spec
param from compute_committee_indices
2022-07-19 22:17:35 +08:00
Hsiao-Wei Wang
ec7c7c8589
Remove leftover print
2022-07-16 01:41:56 +08:00
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 e2cbdb2b672e1b7a74a94e60e3218c7b79743e88.
2022-05-10 10:48:59 -05:00
Justin Traglia
5868a53cf1
Revert "Fix linter warnings again"
...
This reverts commit ac7267c93873cca968aa7b6811fb53fb8b0407e9.
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