realbigsean
49de63f792
Merge branch 'unstable' of https://github.com/sigp/lighthouse into electra_attestation_changes
2024-05-31 08:49:04 -04:00
Pawan Dhananjay
fb790decd6
Fix attestations not getting added to the aggregation pool ( #5863 )
...
* Remove from delay_map 2 slots after duty
* Cleanup
2024-05-31 04:08:43 +00:00
Eitan Seri-Levi
fbc230e118
Add builder header timeout flag ( #5857 )
...
* fix bitvector test random impl
* add a new flag that allows for configuring the timeout for get builder header api calls
* make cli
* add upper limit check, changes based on feedback
* update cli
* capitalization
* cli fix
2024-05-31 03:35:57 +00:00
João Oliveira
bbe9242811
replace instant with web-time ( #5800 )
...
* replace instant with web_time
* Merge branch 'unstable' into replace-instant-gossipsub
# Conflicts:
# Cargo.lock
# beacon_node/lighthouse_network/Cargo.toml
2024-05-30 19:18:35 +00:00
Lion - dapplion
17dc978760
Add peers to parent lookups ( #5858 )
...
* Add peers to parent lookups
* Add test
* lint
* Do not attempt to continue
* add_peers_to_lookup_and_ancestors can't drop
2024-05-30 17:07:32 +00: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
chonghe
ffe29c087d
Add bls_to_execution_change topic to eth1/v1/events ( #5823 )
...
* Add bls event
* Update events and types
* Add bls in event
* Event bls
* tests..rs
* change order
* another tests.rs
* Signed BLS
* Revert "another tests.rs"
This reverts commit 7f54e9c1ce .
* Revert "Signed BLS"
This reverts commit 1146bc734b .
* withdrawal_keyparis
* Fix genesis
2024-05-30 05:48:29 +00:00
Eitan Seri-Levi
df983a83e1
upgrade clap to v4.5 ( #5273 )
...
* upgrade clap to v4.5
* cli fixes
* Merge branch 'unstable' of https://github.com/sigp/lighthouse into upgrade-clap-cli
* value parser for mnemonic
* Merge branch 'unstable' of https://github.com/sigp/lighthouse into upgrade-clap-cli
* merge unstable
* default --format val
* fix eth sim
* fix eth sim
* merge conflicts
* resolve beta compiler issue
* add num args, version
* add custom flag parser, make rate limiter flags clap friendly
* remove unneeded check
* fmt
* update
* alphabetic order
* resolve merge conflict
* fix test
* resolve conflicts
* fix test
* revert removed if statement
* fmt got me again
* fix broken flag
* make cli
* make cli
* update
* remove -e files
* update
* cli help updates
* Merge branch 'unstable' of https://github.com/sigp/lighthouse into upgrade-clap-cli
* cli help updates
* md files
* merge conflict
* merge conflicts
* md
* help text, text width, and a few flag fixes
* fmt
* merge
* revert
* revert
* resolve merge conflicts
* merge conflicts
* revert simulator changes
* require at least one arg
* fix eth sim cli
* resolve merge conflicts
* book changes
* md changes
* cli check
* cli check
* retry cli check
* retry cli check
* Merge branch 'unstable' of https://github.com/sigp/lighthouse into upgrade-clap-cli
* cli
* Merge remote-tracking branch 'origin/unstable' into upgrade-clap-cli
* Update CLI docs for Goerli removal
* Fix cargo lock
2024-05-28 05:46:39 +00:00
Lion - dapplion
6a7305a487
Add more info about why lookup is in AwaitingDownload ( #5838 )
...
* Add more info about why lookup is in AwaitingDownload
* Review comments
* Merge branch 'unstable' into awaiting-download-context
* Merge branch 'unstable' of https://github.com/sigp/lighthouse into awaiting-download-context
* cargo fmt
2024-05-28 02:48:37 +00:00
Michael Sproul
7f8b600f2a
Remove Goerli support ( #5770 )
...
* Delete Goerli
* Generate validator manager test vectors
* Fix newlines in CLI docs
* Fix deposit-cli tests
* Run web3signer tests for Holesky from Bellatrix
* Fix mainnet bellatrix web3signer test
* Merge remote-tracking branch 'origin/unstable' into rm-goerli
* Fix snafu
2024-05-27 07:59:10 +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
393c5bcb8a
don't block mev boost till genesis finalization ( #5834 )
...
* don't block mev boost till genesis finalization
2024-05-27 07:31:44 +00:00
Lion - dapplion
e4984217a6
Ensure lookup sync checks caches correctly ( #5840 )
...
* Ensure lookup sync checks caches correctly
* fix tests and remove unused method
* Simplify BlockProcessStatus
2024-05-25 14:56:51 +00:00
Lion - dapplion
f187ad8bb4
Do not drop lookups without peers while awaiting events ( #5839 )
...
* Do not drop lookups without peers while awaiting events
2024-05-24 21:28:37 +00:00
Lion - dapplion
7fda18bf49
Report sync of block import via blob import ( #5836 )
...
* Report sync of block import via blob import
2024-05-24 19:45:04 +00:00
Lion - dapplion
f1f1250784
Do not double log uknown lookup ( #5837 )
...
* Do not double log uknown lookup
* Fix log text, not necessarily a child lookup
2024-05-24 19:45:01 +00:00
Lion - dapplion
a1271bc839
Debounce UnknownBlockHashFromAttestation events ( #5706 )
...
* Debounce UnknownBlockHashFromAttestation events
* Merge branch 'unstable' into debounce-sync-block-unknown
* Re-add dropped comment
2024-05-24 19:17:22 +00:00
Mark Mackey
987abe07f9
Merge remote-tracking branch 'upstream/unstable'
2024-05-24 13:24:37 +02:00
Lion - dapplion
7073242ccc
Suppress RPC Error disconnect log ( #5802 )
...
* Suppress RPC Error disconnect log
2024-05-23 14:34:49 +00:00
Lion - dapplion
17d9086df3
Drop stuck lookups ( #5824 )
...
* Drop stuck lookups
2024-05-23 12:46:05 +00:00
Michael Sproul
8762d82adf
Fix hot state disk leak ( #5768 )
...
* Fix hot state leak
* Don't delete the genesis state when split is 0x0!
2024-05-23 00:17:53 +00:00
Lion - dapplion
2a87016d94
Fix lookup disconnect peer ( #5815 )
...
* Test lookup peer disconnect modes
* Fix lookup peer disconnected return early
2024-05-20 18:27:57 +00:00
chonghe
b5de925d8f
Use JSON header by default for /eth/v1/beacon/deposit_snapshot ( #5813 )
...
* Fix with or
* Flip case
2024-05-20 02:17:43 +00:00
Lion - dapplion
8006418d80
Type sync network context send errors ( #5808 )
...
* Type sync network context send errors
* Consisntent naming
2024-05-17 11:34:21 +00:00
Lion - dapplion
319b4a2467
Skip creating child lookup if parent is never created ( #5803 )
...
* Skip creating child lookup if parent is never created
2024-05-17 10:58:27 +00:00
realbigsean
1d6160549d
use electra feature in notifier completeness check ( #5786 )
...
* use electra feature in notifier completeness check
* update capella and denab readiness chacks to use fork name rather than random fields
2024-05-15 10:37:59 +00:00
Eitan Seri-Levi
6636167503
Log block import source ( #5738 )
...
* the default target peers is 100
* add some comments
* Merge branch 'unstable' of https://github.com/sigp/lighthouse into track-block-import-source
* add block import source
* revert
* update logging text
* fix tests
* lint
* use % instaed of to_string
2024-05-15 09:17:06 +00:00
realbigsean
a8088f1bfa
cargo fmt
2024-05-15 03:00:12 -04:00
Eitan Seri-Levi
79a5f2556f
Subscribe to the correct subnets for electra attestations ( #5782 )
...
* subscribe to the correct att subnets for electra
* subscribe to the correct att subnets for electra
2024-05-15 03:00:09 -04:00
Lion - dapplion
6f45ad4534
Log stuck lookups ( #5778 )
...
* Log stuck lookups every interval
* Implement debug manually
* Add comment
* Do not print peers twice
* Add SYNC_LOOKUPS_STUCK metric
* Skip logging request root
* use derivative
* Merge branch 'unstable' of https://github.com/sigp/lighthouse into log-stuck-lookups
* add req id to debug
* Merge remote-tracking branch 'sigp/unstable' into log-stuck-lookups
* Fix conflict with unstable
2024-05-14 17:34:26 +00:00
Lion - dapplion
683d9df63b
Don't request block components until having block ( #5774 )
...
* Don't request block components until having block
* Update tests
* Resolve todo comment
* Merge branch 'unstable' into request-blocks-first
2024-05-14 14:50:38 +00:00
Lion - dapplion
ce66ab374e
Enforce sync lookup receives a single result ( #5777 )
...
* Enforce sync lookup receives a single result
2024-05-14 10:12:48 +00:00
Lion - dapplion
f37ffe4b8d
Do not request current child lookup peers ( #5724 )
...
* Do not request current child lookup peers
* Update tests
2024-05-13 15:13:32 +00:00
Lion - dapplion
93e0649abc
Notify lookup sync of gossip processing results ( #5722 )
...
* Notify lookup sync of gossip processing results
* Add tests
* Add GossipBlockProcessResult event
* Re-add dropped comments
* Update beacon_node/network/src/network_beacon_processor/sync_methods.rs
* update test_lookup_disconnection_peer_left
2024-05-13 11:41:29 +00:00
ethDreamer
3b1fb0ad81
Fix Electra Fork Choice Tests ( #5764 )
2024-05-12 12:24:19 +03:00
realbigsean
7926afeb18
Merge pull request #5749 from sigp/electra_op_pool
...
Optimise Electra op pool aggregation
2024-05-10 12:08:34 -04:00
Michael Sproul
72548cb54e
Fix assert
2024-05-10 12:49:15 +10:00
Michael Sproul
16265ef455
Add comment to max cover optimisation
2024-05-10 12:44:18 +10:00
Michael Sproul
437e8516cd
Fix bugs in cross-committee aggregation
2024-05-10 12:29:57 +10:00
realbigsean
e4485570f2
update the naive agg pool interface ( #5760 )
2024-05-09 21:29:31 -04:00
Eitan Seri-Levi
411fcee2ac
Compute on chain aggregate impl ( #5752 )
...
* add compute_on_chain_agg impl to op pool changes
* fmt
* get op pool tests to pass
2024-05-10 10:56:20 +10:00
realbigsean
b807d39bad
Merge branch 'electra_attestation_changes' of https://github.com/sigp/lighthouse into electra_op_pool
2024-05-09 18:18:01 -04:00
ethDreamer
ca0967119b
Revert "Get electra_op_pool up to date ( #5756 )" ( #5757 )
...
This reverts commit ab9e58aa3d .
2024-05-09 17:10:04 -05:00
ethDreamer
ab9e58aa3d
Get electra_op_pool up to date ( #5756 )
...
* fix get attesting indices (#5742 )
* fix get attesting indices
* better errors
* fix compile
* only get committee index once
* Ef test fixes (#5753 )
* attestation related ef test fixes
* delete commented out stuff
* Fix Aggregation Pool for Electra (#5754 )
* Fix Aggregation Pool for Electra
* Remove Outdated Interface
* fix ssz (#5755 )
---------
Co-authored-by: realbigsean <sean@sigmaprime.io >
2024-05-09 16:59:39 -05:00
ethDreamer
cb8c8f59cf
Fix Aggregation Pool for Electra ( #5754 )
...
* Fix Aggregation Pool for Electra
* Remove Outdated Interface
2024-05-09 15:50:11 -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
Michael Sproul
7cb7653d36
Sketch op pool changes
2024-05-09 17:45:52 +10:00
ethDreamer
f30246b9d4
Some small changes ( #5739 )
2024-05-08 11:40:08 -05:00