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
Lion - dapplion
7509cf6d3b
Update per_block_processing.rs
2024-06-21 09:55:23 +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
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
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
381bbaba94
ensure aggregate and proof uses serde untagged on ref
2024-06-19 17:04:47 -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
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
45d007a71f
Add PendingAttestationInElectra
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
f25531d4cc
Merge branch 'electra_attestation_changes' of https://github.com/sigp/lighthouse into block-processing-electra
2024-06-13 14:46:41 -04:00
realbigsean
77c630bc2e
Merge branch 'unstable' of https://github.com/sigp/lighthouse into electra_attestation_changes
2024-06-13 14:45:49 -04:00
Michael Sproul
7a7fc82cbd
Update criterion ( #5886 )
...
* Start updating criterion
* Update consensus benches
2024-06-04 15:12:56 +00: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
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
Akihito Nakano
6f05863007
Remove unused dependencies ( #5812 )
...
* Remove unused dependencies from lighthouse_network
* Remove unused dependencies from gossipsub
* Remove unused dependencies from network
* Remove unused dependencies from consensus/types
* Remove unused dependencies from account_manager
* Remove unused dependencies from boot_node
* Remove unused dependencies from database_manager
* Remove unused dependencies from validator_manager
* Remove unused dependencies from testing/ef_tests
* Remove unused dependencies from testing/simulator
* Remove unused dependencies from testing/execution_engine_integration
* Remove unused dependencies from common/system_health
* Remove unused dependencies from common/eth2
* Remove unused dependencies from common/lighthouse_metrics
* Remove unused dependencies from common/eth2_network_config
* Remove unused dependencies from common/logging
* Remove unused dependencies from watch
* Remove unused dependencies from slasher
* Remove unused dependencies from lighthouse
* Remove unused dependencies from lcli
* Remove unused dependencies from beacon_node
* Remove unused dependencies from beacon_node/builder_client
* Remove unused dependencies from beacon_node/beacon_processor
* Remove unused dependencies from beacon_node/execution_layer
* Remove unused dependencies from beacon_node/eth1
* Remove unused dependencies from beacon_node/client
* Remove unused dependencies from beacon_node/store
* Fix missing deps which is used only for testing
2024-05-27 07:59:07 +00: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
realbigsean
3e10e68c1d
Merge pull request #5816 from realbigsean/electra-attestation-slashing-handling
...
Electra slashing handling
2024-05-24 10:53:26 -04:00