57 Commits

Author SHA1 Message Date
Mikhail Kalinin
d71d9dda9e Fix lint 2024-09-18 13:33:18 +04:00
Mikhail Kalinin
b29a1d36d1 Isolate switch to compounding flow 2024-09-18 13:27:03 +04:00
Mikhail Kalinin
1bf8ca5777
Apply suggestions by @ralexstokes
Co-authored-by: Alex Stokes <r.alex.stokes@gmail.com>
2024-09-18 09:20:42 +04:00
Mikhail Kalinin
0eda70cfcb Switch to compounding when consolidating with source==target 2024-09-12 20:02:39 +06:00
Hsiao-Wei Wang
daf1002720
Merge pull request #3892 from ensi321/dev
Randomize validator index in partial withdrawal test
2024-08-29 17:37:52 +08:00
Justin Traglia
725f96349b
Add blank lines to fix linter 2024-08-26 17:02:42 -05:00
NC
8e90dd06c3 address comment 2024-08-22 18:35:35 +08:00
NC
4c9be8978f Randomize validator index in partial withdrawal test 2024-08-22 00:19:02 +08:00
Mikhail Kalinin
23a669dc29 Get rid of compute_state_by_epoch_processing_to 2024-08-09 15:51:05 +06:00
Mikhail Kalinin
024ee04373 Fix lint 2024-08-07 16:03:39 +06:00
Mikhail Kalinin
5e06787db8
Apply suggestions by @fradamt
Co-authored-by: fradamt <104826920+fradamt@users.noreply.github.com>
2024-08-07 15:54:50 +06:00
Mikhail Kalinin
b665698350 Fix off-by-one in process_pending_balance_deposits 2024-08-06 17:29:13 +06:00
Mikhail Kalinin
fcca2b5c71 Fix off-by-one in process_pending_consolidations 2024-08-06 17:17:26 +06:00
Etan Kissling
b4f44caef3
Fix EL block hash computation for Deneb
The parent beacon block hash was incorrectly set to zero in #3778.
Passing the state to the computation function allows correct hash
computation.
2024-07-02 16:26:04 +02:00
Alex Stokes
090d349faf
Merge pull request #3764 from ethereum/electra-fork-tests
Add more Electra fork tests
2024-07-01 13:32:45 -06:00
Hsiao-Wei Wang
f30a3a3b05
Update test_incorrect_not_enough_consolidation_churn_available and add assertions to test cases 2024-06-24 23:38:01 +08:00
Hsiao-Wei Wang
99dfc9ab5b
Update file names 2024-06-07 23:41:05 +08:00
Preston Van Loon
5910aeed4d Rename ExecutionLayerConsolidationRequest->ConsolidationRequest 2024-06-05 15:12:56 -05:00
Preston Van Loon
2e6c59393f Rename ExecutionLayerWithdrawalRequest->WithdrawalRequest 2024-06-05 15:12:56 -05:00
Hsiao-Wei Wang
3644f360b8
Merge pull request #3757 from mkalinin/receipt-to-request
Rename DepositReceipt to DepositRequest
2024-06-05 14:41:01 +08:00
Hsiao-Wei Wang
12d95da0da
Merge branch 'dev' into pr3757 2024-06-05 00:42:37 +08:00
Hsiao-Wei Wang
4223bc0ae6
Merge branch 'dev' into pr3776 2024-06-05 00:34:22 +08:00
Hsiao-Wei Wang
79d67ba8e2
minor refactor 2024-05-31 21:47:50 +08:00
Hsiao-Wei Wang
ffebf88de5
Fix testgen and test format 2024-05-31 19:50:59 +08:00
fradamt
69ee35d4e3 handle top-ups to exiting/exited validators 2024-05-22 12:31:22 +02:00
fradamt
6a731e9115 fix lint 2024-05-22 10:03:03 +02:00
fradamt
f0ef76ada1 minor fixes 2024-05-21 23:03:34 +02:00
fradamt
6b6936836a Revert "minor fixes, doctoc"
This reverts commit dc2a2bd85ae1e8c7c2e426faba3167069ef548a5.
2024-05-21 22:54:25 +02:00
fradamt
c17f22fedc add missing decorators 2024-05-21 22:46:44 +02:00
fradamt
dc2a2bd85a minor fixes, doctoc 2024-05-21 22:30:14 +02:00
fradamt
17c51488eb add tests for remaining failure cases 2024-05-21 22:29:30 +02:00
fradamt
c492d6198a adjust consolidations tests for EL consolidations 2024-05-21 22:27:06 +02:00
Hsiao-Wei Wang
8b264704aa
Add test_fork_pre_activation test case 2024-05-13 15:37:32 +03:00
Hsiao-Wei Wang
01a2c7ba07
Add test_fork_has_compounding_withdrawal_credential test case 2024-05-13 15:27:52 +03:00
Mikhail Kalinin
d8c486bcc5 Rename DepositReceipt to DepositRequest 2024-05-07 23:34:03 +06:00
Hsiao-Wei Wang
871c772e3f
Merge pull request #3743 from fradamt/dev
Add .copy() where needed in tests
2024-05-06 15:49:57 +08:00
Hsiao-Wei Wang
bbb506ec75
Merge pull request #3741 from ethereum/fix-test_process_consolidation
Add decorator to all "invalid" test cases
2024-05-06 15:48:48 +08:00
fradamt
4487fb88c7
Merge branch 'ethereum:dev' into dev 2024-05-06 09:04:35 +02:00
fradamt
b237414910 add .copy() where needed in tests 2024-05-03 09:43:12 +02:00
Hsiao-Wei Wang
beea123b0f
Add decorator to all "invalid" test cases 2024-05-02 17:01:25 +08:00
Hsiao-Wei Wang
e733388623
Remove since they are not valid test vectors 2024-04-30 21:55:45 +08:00
Hsiao-Wei Wang
a4e04ebf64
Misc fix 2024-04-27 12:11:29 +08:00
Hsiao-Wei Wang
ef9af0d85e
Fix consolidation test_invalid_*_signature tests 2024-04-26 20:51:11 +08:00
Hsiao-Wei Wang
7819e7f558
Fix and move test_multiple_consolidations_* tests to sanity block tests 2024-04-25 23:30:40 +08:00
Hsiao-Wei Wang
e793fe2698
Add Electra fork tests 2024-04-24 20:08:56 +08:00
Hsiao-Wei Wang
313ed1a962
Fix tests 2024-04-18 17:15:43 +08:00
Alex Stokes
815485b48d
Merge pull request #3690 from fradamt/dev
Fix broken exit tests due to change in the churn computation
2024-04-17 18:09:29 -06:00
fradamt
715e754ba3 Fix off-by-one error in exit tests due to change in the churn computation 2024-04-17 23:47:34 +02:00
Alex Stokes
82133085a1
clarify pending partial withdrawals handling 2024-04-17 14:17:07 -06:00
Hsiao-Wei Wang
947767f3a9
Merge pull request #3678 from ralexstokes/7251-in-electra-cleanups
Electra: remove duplicate deposit processing tests
2024-04-17 14:24:41 +09:00