realbigsean
4a858b3f6b
Merge branch 'electra-epoch-proc' of https://github.com/sigp/lighthouse into electra-engine-api
2024-06-25 13:12:30 -07:00
realbigsean
51a8c80069
Merge branch 'block-processing-electra' of https://github.com/sigp/lighthouse into electra-epoch-proc
2024-06-25 13:12:07 -07:00
realbigsean
a8d84d69c5
Merge branch 'electra_attestation_changes' of https://github.com/realbigsean/lighthouse into block-processing-electra
2024-06-25 13:05:27 -07:00
realbigsean
cf030d0a8a
Merge pull request #5975 from michaelsproul/electra-slasher-no-migration
...
Avoid changing slasher schema for Electra
2024-06-21 11:25:01 -04:00
dapplion
8715589e40
Add electra lightclient types
2024-06-21 14:50:03 +02:00
Michael Sproul
b6913ae542
Avoid changing slasher schema for Electra
2024-06-21 14:21:36 +10:00
realbigsean
27ed90e4dc
Electra attestation changes sean review ( #5972 )
...
* instantiate empty bitlist in unreachable code
* clean up error conversion
* fork enabled bool cleanup
* remove a couple todos
* return bools instead of options in `aggregate` and use the result
* delete commented out code
* use map macros in simple transformations
* remove signers_disjoint_from
* get ef tests compiling
* get ef tests compiling
* update intentionally excluded files
2024-06-21 14:20:10 +10:00
realbigsean
c276af6061
Merge branch 'electra-epoch-proc' of https://github.com/sigp/lighthouse into electra-engine-api
2024-06-20 10:45:31 -04:00
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
realbigsean
efb8a01e91
Merge branch 'unstable' of https://github.com/sigp/lighthouse into electra_attestation_changes
2024-06-20 09:36:56 -04:00
realbigsean
381bbaba94
ensure aggregate and proof uses serde untagged on ref
2024-06-19 17:04:47 -04:00
dapplion
d67270f899
committees are sorted
2024-06-19 12:59:27 +02:00
dapplion
cbb7c5d8f4
Test spec invariant
2024-06-19 11:39:45 +02:00
dapplion
7fce143300
Resolve into_attestation_and_indices todo
2024-06-19 11:31:50 +02:00
dapplion
6f0b78426a
Dedup Attestation constructor code
2024-06-19 11:31:50 +02:00
dapplion
dec7cff9c7
Dedup attestation constructor logic in attester cache
2024-06-19 11:31:50 +02:00
Eitan Seri-Levi
7af3f2eb35
add electra fork enabled fn to ForkName impl ( #36 )
...
* add electra fork enabled fn to ForkName impl
* remove inadvertent file
2024-06-19 11:31:50 +02:00
realbigsean
9e84779522
Indexed att on disk ( #35 )
...
* indexed att on disk
* fix lints
* Update slasher/src/migrate.rs
Co-authored-by: ethDreamer <37123614+ethDreamer@users.noreply.github.com >
---------
Co-authored-by: Lion - dapplion <35266934+dapplion@users.noreply.github.com >
Co-authored-by: ethDreamer <37123614+ethDreamer@users.noreply.github.com >
2024-06-19 11:31:50 +02:00
dapplion
5070ab254d
Drop TestRandom impl
2024-06-19 11:31:50 +02:00
dapplion
f0492852f3
Remove IndexedAttestation faulty Decode impl
2024-06-19 11:31:50 +02:00
dapplion
4f08f6e0da
Remove TestRandom impl for IndexedAttestation
2024-06-19 11:31:50 +02:00
dapplion
5acc0523df
Make to_electra not fallible
2024-06-19 11:31:50 +02:00
dapplion
1d0e3f4d30
Use ForkName Ord in BeaconBlockBody
2024-06-19 11:31:50 +02:00
dapplion
dd0d5e2d93
Remove unwraps in Attestation construction
2024-06-19 11:31:50 +02:00
dapplion
d87541c045
De-dup attestation constructor logic
2024-06-19 11:31:50 +02:00
kevaundray
806c3ce9e9
chore: simplify method to generate a random valid blob ( #5946 )
...
* chore: simplify method to generate a random blob
* chore: remove now unused import
2024-06-19 05:02:29 +00:00
kevaundray
a87f19d801
chore: change impl Into<T> for U to impl From<U> for T ( #5948 )
...
* chore: Change Into trait impl for KzgProof to From trait impl
* chore: change `impl Into <T> for U` to `impl From<U> for T`
* chore: remove `from-over-into` clippy lint exception
2024-06-19 05:02:26 +00:00
realbigsean
9a01b6b363
Merge branch 'unstable' of https://github.com/sigp/lighthouse into electra_attestation_changes
2024-06-17 15:08:36 -04:00
Lion - dapplion
474c1b4486
Verify inclusion proof should not be fallible ( #5787 )
...
* Verify inclusion proof should not be fallible
* Add blob sidecar inclusion test (#33 )
* Add blob sidecar inclusion test.
* Fix lint
2024-06-17 15:05:24 +00:00
Michael Sproul
21f3a191c5
Remove extern crate ( #5922 )
...
* Remove extern crate
2024-06-17 15:05:21 +00:00
Michael Sproul
1eb8694a86
Remove some easy Electra TODOs ( #5928 )
...
* Remove some easy Electra TODOs
2024-06-17 13:32:39 +00: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
49db91b27e
Merge branch 'electra-epoch-proc' of https://github.com/sigp/lighthouse into electra-engine-api
2024-06-13 14:47:37 -04:00
realbigsean
772ab53811
Merge branch 'block-processing-electra' of https://github.com/sigp/lighthouse into electra-epoch-proc
2024-06-13 14:47:16 -04:00
realbigsean
f25531d4cc
Merge branch 'electra_attestation_changes' of https://github.com/sigp/lighthouse into block-processing-electra
2024-06-13 14:46:41 -04:00
ethDreamer
f9d354539a
Remove Duplicate KZG Commitment Merkle Proof Code ( #5874 )
...
* Remove Duplicate KZG Commitment Merkle Proof Code
* s/tree_lists/fields/
2024-06-01 12:51:00 -04:00
realbigsean
7d3a5dfab4
Merge branch 'electra-epoch-proc' of https://github.com/sigp/lighthouse into electra-engine-api
2024-05-31 08:52:37 -04: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
realbigsean
29ed1c5c26
add consolidations to merkle calc for inclusion proof
2024-05-31 08:49:35 -04:00
realbigsean
49de63f792
Merge branch 'unstable' of https://github.com/sigp/lighthouse into electra_attestation_changes
2024-05-31 08:49:04 -04:00
realbigsean
b61d244c0c
fix some todos ( #5817 )
2024-05-30 11:52:38 -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
Eitan Seri-Levi
df6e1c9add
Fix BitVectors TestRandom implementation ( #5854 )
...
* fix bitvector test random impl
2024-05-30 14:09:22 +00:00
realbigsean
1aa410cd8a
Merge branch 'electra-epoch-proc' of https://github.com/sigp/lighthouse into electra-engine-api
2024-05-24 10:58:28 -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
realbigsean
9440c36202
Merge branch 'electra_attestation_changes' of https://github.com/sigp/lighthouse into block-processing-electra
2024-05-24 10:57:47 -04:00