antondlr
0f49951363
Skip CI's test-suite when the skip-ci label is present ( #5790 )
...
* skip `test-suite` if `skip-ci` label present
2024-05-16 08:33:32 +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
e1dcfb6960
update committee offset
2024-05-10 21:15:21 -04: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
realbigsean
c30f70906b
fix ssz ( #5755 )
2024-05-09 17:49:12 -04: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
07229b76ed
Ef test fixes ( #5753 )
...
* attestation related ef test fixes
* delete commented out stuff
2024-05-09 13:40:52 -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
43c3f63e30
cargo fmt ( #5740 )
2024-05-08 11:53:08 -05:00
ethDreamer
f30246b9d4
Some small changes ( #5739 )
2024-05-08 11:40:08 -05: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
Jimmy Chen
6d792b4280
Revise contributors guide ( #5720 )
...
* Revise contributors guide.
2024-05-07 00:36:32 +00:00
realbigsean
2c2e44c4ed
Merge pull request #5726 from realbigsean/electra_attestation_changes
...
Merge unstable into Electra attestation changes
2024-05-06 18:04:59 -04:00
realbigsean
38382a3ca1
cargo fmt
2024-05-06 17:32:25 -04:00
realbigsean
9f6de8e5d7
Merge remote-tracking branch 'sigp/unstable' into electra_attestation_changes
2024-05-06 17:26:43 -04:00
Lion - dapplion
5135a77e38
Move sync lookup trait function to its caller ( #5704 )
...
* Move sync lookup trait function to its caller
* lint
2024-05-06 17:55:12 +00:00
Lion - dapplion
b87c36ac0e
Report RPC Errors to the application on peer disconnections ( #5680 )
...
* Report RPC Errors to the application on peer disconnections
Co-authored-by: Age Manning <Age@AgeManning.com >
* Expect RPCError::Disconnect to fail ongoing requests
* Drop lookups after peer disconnect and not awaiting events
* Allow RPCError disconnect through network service
* Update beacon_node/lighthouse_network/src/service/mod.rs
Co-authored-by: Age Manning <Age@AgeManning.com >
* Merge branch 'unstable' into rpc-error-on-disconnect
2024-05-06 17:18:47 +00:00
Lion - dapplion
436d54e4bf
Consistent logging of full root in lookup debug logs ( #5700 )
...
* Consistent logging of full root in lookup debug logs
* Tag sync log with service
* More logs
* Log when new peers are added
* Don't shortcircuit add_peer
2024-05-06 15:41:38 +00:00
ethDreamer
19a9479234
Superstruct AggregateAndProof ( #5715 )
...
* Upgrade `superstruct` to `0.8.0`
* superstruct `AggregateAndProof`
2024-05-06 10:09:22 -05:00
Lukas Rusak
da9d38698d
web3Signer: set header "Accept: application/json" as we expect json in the response ( #5692 )
...
* web3Signer: set header "Accept: application/json" as we expect json in the response
The web3signer handler in lighthouse requires a json response.
Setting the header "Accept: application/json" indicates to the web3signer that json is an acceptable response.
Signed-off-by: Lukas Rusak <lorusak@gmail.com >
* fixup! web3Signer: set header "Accept: application/json" as we expect json in the response
2024-05-06 03:02:47 +00:00
Michael Sproul
fe20ef955b
One less listen address race ( #5718 )
...
* One less listen address race
2024-05-06 01:59:47 +00:00
ethDreamer
7c6526d978
Finish EF Test Fork Agnostic ( #5714 )
2024-05-03 14:09:49 -05:00
ethDreamer
9b98f4e297
Make EF Tests Fork-Agnostic ( #5713 )
2024-05-03 13:57:01 -05:00
Pawan Dhananjay
1af3f0f9d8
Make modified helpers in electra fork aware ( #5698 )
...
* Make modified helpers in electra fork aware
* Make more functions fork aware
* formatting fixes only.
2024-05-03 09:54:01 +00:00
Michael Sproul
d3d429ff5c
Improve logging and metrics for block publication ( #5699 )
...
* Improve logging and metrics for block publication
* Add better buckets
* Bump SQL connection timeout for tests.
2024-05-03 08:24:49 +00:00
Mark Mackey
3a41e137d1
Merge remote-tracking branch 'upstream/unstable' into electra_attestation_changes
2024-05-02 18:23:32 -05:00
ethDreamer
e6c7f145dd
superstruct the AttesterSlashing (#5636 )
...
* `superstruct` Attester Fork Variants
* Push a little further
* Deal with Encode / Decode of AttesterSlashing
* not so sure about this..
* Stop Encode/Decode Bounds from Propagating Out
* Tons of Changes..
* More Conversions to AttestationRef
* Add AsReference trait (#15 )
* Add AsReference trait
* Fix some snafus
* Got it Compiling! :D
* Got Tests Building
* Get beacon chain tests compiling
---------
Co-authored-by: Michael Sproul <micsproul@gmail.com >
2024-05-02 18:00:21 -05:00
Michael Sproul
ee974db0ba
Add metric for current epoch total balance ( #5688 )
...
* Add metric for current epoch total balance
2024-05-02 04:50:30 +00:00
João Oliveira
6725837dd7
Update Cargo.lock ( #5670 )
...
* update rust-yamux
* update Cargo.lock
* Merge branch 'unstable' of github.com:jxs/lighthouse into update-cargo
* Merge branch 'unstable' of github.com:sigp/lighthouse into update-cargo
* update to new libp2p versions
2024-05-02 03:32:00 +00:00
Lion - dapplion
01e4e3527e
Check da_checker before doing a block lookup request ( #5681 )
...
* Check da_checker before doing a block lookup request
* Ensure consistent handling of lookup result
* use req resp pre import cache rather than da checker
2024-05-01 14:45:36 +00:00
Age Manning
59753f5fed
Improve ENR updates ( #5483 )
...
* Improve ENR updates
* forever fmt
* Appease my old friend clippy
* Merge network unstable
2024-05-01 08:40:19 +00:00
realbigsean
b9655b658e
Ensure block only range requests don't fail on download ( #5675 )
...
* ensure pruned blobs don't fail on download
* Typo
2024-05-01 06:10:15 +00:00