Commit Graph

271 Commits

Author SHA1 Message Date
realbigsean
536c9f83b6 Merge branch 'block-processing-electra' of https://github.com/sigp/lighthouse into electra-epoch-proc 2024-06-20 10:43:35 -04:00
realbigsean
dd0aa8e2ec Merge branch 'electra_attestation_changes' of https://github.com/sigp/lighthouse into block-processing-electra 2024-06-20 10:41:17 -04:00
Eitan Seri-Levi
f85a124362 Electra attestation changes from Lions review (#5971)
* dedup/cleanup and remove unneeded hashset use

* remove irrelevant TODOs
2024-06-20 09:36:43 -04:00
realbigsean
3977b92c49 remove dup method get_indexed_attestation_from_committees 2024-06-19 13:45:47 -04:00
dapplion
d67270f899 committees are sorted 2024-06-19 12:59:27 +02:00
dapplion
a8d8989c05 Use ok_or instead of if let else 2024-06-19 12:50:41 +02:00
dapplion
9e6e76fb89 Remove get_indexed_attestation_from_signed_aggregate 2024-06-19 12:47:38 +02:00
dapplion
45d007a71f Add PendingAttestationInElectra 2024-06-19 11:31:50 +02:00
Michael Sproul
d5aa2d8dfe Merge remote-tracking branch 'origin/unstable' into electra_attestation_changes 2024-06-14 12:32:47 +10:00
realbigsean
a74098044a Rust 1.79 lints (#5927)
* max_value -> MAX

* remove unnecesary closures

* a couple more max_value -> MAX

* a couple more max_value -> MAX

* Revert "a couple more max_value -> MAX"

This reverts commit 807fe7cae9.

* unused spec field -> phantom data

* ignore some dead code warnings

* update kurtosis repo location
2024-06-13 23:04:30 +00:00
realbigsean
40139440c9 Merge branch 'block-processing-electra' of https://github.com/sigp/lighthouse into electra-epoch-proc 2024-05-31 08:51:55 -04:00
realbigsean
a647a3635f Merge branch 'electra_attestation_changes' of https://github.com/sigp/lighthouse into block-processing-electra 2024-05-31 08:51:36 -04:00
Eitan Seri-Levi
e340998241 Fix failing attestation tests and misc electra attestation cleanup (#5810)
* - get attestation related beacon chain tests to pass
- observed attestations are now keyed off of data + committee index
- rename op pool attestationref to compactattestationref
- remove unwraps in agg pool and use options instead
- cherry pick some changes from ef-tests-electra

* cargo fmt

* fix failing test

* Revert dockerfile changes

* make committee_index return option

* function args shouldnt be a ref to attestation ref

* fmt

* fix dup imports

---------

Co-authored-by: realbigsean <seananderson33@GMAIL.com>
2024-05-30 11:51:34 -04:00
ethDreamer
75432e1135 Electra attestation changes rm decode impl (#5856)
* Remove Crappy Decode impl for Attestation

* Remove Inefficient Attestation Decode impl

* Implement Schema Upgrade / Downgrade

* Update beacon_node/beacon_chain/src/schema_change/migration_schema_v20.rs

Co-authored-by: Michael Sproul <micsproul@gmail.com>

---------

Co-authored-by: Michael Sproul <micsproul@gmail.com>
2024-05-30 11:34:14 -04:00
realbigsean
57b6a9ab91 Merge branch 'block-processing-electra' of https://github.com/sigp/lighthouse into electra-epoch-proc 2024-05-24 10:58:05 -04:00
Mark Mackey
f9c50bca07 Fix Bug In Block Processing with 0x02 Credentials 2024-05-20 14:55:12 -04:00
realbigsean
c53d4ac459 Merge branches 'block-processing-electra' and 'electra-epoch-proc' of https://github.com/sigp/lighthouse into electra-epoch-proc 2024-05-12 15:54:33 -04:00
Mark Mackey
217fa9f805 Fix Consolidation Sigs & Withdrawals 2024-05-12 20:31:20 +03:00
ethDreamer
aaf8e503c6 Fix Electra Fork Choice Tests (#5764) 2024-05-12 12:43:59 +03:00
ethDreamer
af7ba6ff70 Fix Electra Fork Choice Tests (#5764) 2024-05-12 12:41:29 +03:00
ethDreamer
3b1fb0ad81 Fix Electra Fork Choice Tests (#5764) 2024-05-12 12:24:19 +03:00
realbigsean
75f22ee844 fix initiate exit for single pass 2024-05-11 10:23:59 -04:00
realbigsean
f4907ef971 drop initiate validator ordering optimization 2024-05-11 10:23:50 -04:00
realbigsean
a75257fb6e use correct max eb in epoch cache initialization 2024-05-11 10:23:41 -04:00
realbigsean
261551e3c6 Merge branch 'block-processing-electra' of https://github.com/sigp/lighthouse into electra-epoch-proc 2024-05-11 05:08:28 -04:00
realbigsean
a97e86c1a6 only increment the state deposit index on old deposit flow 2024-05-11 05:07:59 -04:00
realbigsean
40c4c00097 update committee offset 2024-05-10 21:18:00 -04:00
realbigsean
b819d2d0a6 Merge branch 'electra_attestation_changes' of https://github.com/sigp/lighthouse into block-processing-electra 2024-05-10 21:16:59 -04:00
realbigsean
e1dcfb6960 update committee offset 2024-05-10 21:15:21 -04:00
realbigsean
677a94d507 Merge branch 'block-processing-electra' of https://github.com/sigp/lighthouse into electra-epoch-proc 2024-05-10 12:10:34 -04:00
realbigsean
89e4de90d5 don't fail on empty consolidations 2024-05-10 12:09:39 -04:00
Michael Sproul
08e045875f Electra epoch processing 2024-05-10 17:11:46 +10:00
realbigsean
3ea3d226e1 Merge branch 'electra_attestation_changes' of https://github.com/sigp/lighthouse into block-processing-electra 2024-05-09 09:44:58 -04:00
realbigsean
e32dfcdcad fix get attesting indices (#5742)
* fix get attesting indices

* better errors

* fix compile

* only get committee index once
2024-05-09 09:34:56 -04:00
realbigsean
7abb7621d5 fix attestation verification 2024-05-08 14:11:22 -04:00
realbigsean
7c0a8f840e Merge branch 'electra_attestation_changes' of https://github.com/sigp/lighthouse into block-processing-electra 2024-05-08 12:48:09 -04:00
Eitan Seri-Levi
90179d4a88 EIP7549 get_attestation_indices (#5657)
* get attesting indices electra impl

* fmt

* get tests to pass

* fmt

* fix some beacon chain tests

* fmt

* fix slasher test

* fmt got me again

* fix more tests

* fix tests
2024-05-08 11:32:44 -05:00
realbigsean
8517236aed update slash_validator 2024-05-07 16:24:14 -04:00
realbigsean
5728f78032 clean up 2024-05-07 16:02:14 -04:00
realbigsean
75ab913a3a exit updates 2024-05-07 15:32:07 -04:00
realbigsean
31955c2e7f update process operations function 2024-05-07 14:52:16 -04:00
realbigsean
c40bec9319 add consolidation processing 2024-05-07 14:01:44 -04:00
realbigsean
32357d8f0a process deposit receipts 2024-05-07 11:07:12 -04:00
realbigsean
1d5f75582f add execution layer withdrawal request processing 2024-05-07 10:25:53 -04:00
realbigsean
3c688410cc add apply_deposit changes 2024-05-07 08:48:01 -04:00
realbigsean
f1f9f92dec update process_operations deposit length check 2024-05-06 21:56:50 -04:00
realbigsean
e0abede1d1 cleanup withdrawals processing 2024-05-06 21:25:47 -04:00
realbigsean
e2e82ff1b9 process withdrawals updates 2024-05-06 18:56:16 -04:00
realbigsean
9f6de8e5d7 Merge remote-tracking branch 'sigp/unstable' into electra_attestation_changes 2024-05-06 17:26:43 -04:00
ethDreamer
19a9479234 Superstruct AggregateAndProof (#5715)
* Upgrade `superstruct` to `0.8.0`

* superstruct `AggregateAndProof`
2024-05-06 10:09:22 -05:00