Commit Graph

6295 Commits

Author SHA1 Message Date
Age Manning
f69ccc3b70 Ensure all handler events are covered (#5945)
* Ensure handler events are covered
2024-06-19 05:02:37 +00:00
João Oliveira
1503f7d652 report failed requests from RPC after being clear from rate limiter but not yet sent. (#5942)
* report failed rpc requests from RPC
2024-06-19 05:02:34 +00:00
Michael Sproul
adb3f865ef Lower tolerance of stale blobs on gossip (#5935)
* Lower tolerance of stale blobs on gossip

* Drop to debug
2024-06-19 05:02:31 +00: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
Jimmy Chen
9f8aa963b1 Update CI nethermind and LLVM versions (#5933)
* Update nethermind and llvm versions.

* Fix nethermind binary path
2024-06-19 05:02:24 +00:00
Jimmy Chen
d06e3894de Fix cargo audit: update curve25519-dalek (#5959)
* Patch curve25519-dalek.
2024-06-19 05:02:22 +00:00
chonghe
ab7db7ca9c Update local testnet documentation (#5896)
* Update local testnet doc

* Update doc

* Minor revision

* Fix directory path

* Update scripts/local_testnet/README.md

Co-authored-by: Pawan Dhananjay <pawandhananjay@gmail.com>

* Add kurtosis web

* Add save logs command

* Log of a service

* Update scripts/local_testnet/README.md

Co-authored-by: Jimmy Chen <jchen.tc@gmail.com>

* Update scripts/local_testnet/README.md

Co-authored-by: Jimmy Chen <jchen.tc@gmail.com>

* Minor revision

* Merge branch 'local-testnet-doc' of https://github.com/chong-he/lighthouse into local-testnet-doc
2024-06-18 05:53:09 +00:00
Akihito Nakano
c2838ba2bd Fix SelfRateLimiter breaks the sequence of delayed_requests. (#5903)
* Add test for next_peer_request_ready

* Use push_front to requeue
2024-06-18 04:49:45 +00: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
Paul Hauner
44c03d5d17 Add FUNDING.json for DRIPS (#5932)
* Add FUNDING.json
2024-06-17 15:05:18 +00:00
Jimmy Chen
bc044ed275 Fix CommandLineTest port conflicts on CI (#5908)
* Fix port conflicts on CI.
2024-06-17 15:05:15 +00:00
Michael Sproul
1eb8694a86 Remove some easy Electra TODOs (#5928)
* Remove some easy Electra TODOs
2024-06-17 13:32:39 +00: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
Akihito Nakano
5789db042d Fix panic on startup in debug build (#5917)
* Fix panic in debug build

* make cli-local to update the book
2024-06-13 05:22:07 +00:00
Jimmy Chen
1bcd1f15b1 Fix skip-ci on stable (#5909)
* Fix skip-ci on `stable`.
2024-06-13 02:38:31 +00:00
realbigsean
c24b2f39b3 Beta compiler fixes (#5916)
* remove or update unused cfg
2024-06-13 01:32:05 +00:00
Michael Sproul
f1d88ba4b1 Release v5.2.0 (#5664)
* Bump version to v5.2.0
v5.2.0
2024-06-10 13:28:11 +00:00
Michael Sproul
947e2e8db1 Undo some CLI flag breakages (#5902)
* Undo some CLI breakages

* Update CLI book docs
2024-06-07 12:40:40 +00:00
Age Manning
22fe0a6622 Allow all RPC messages on disconnect (#5876)
* Permit rpc messages on disconnect

* Use or instead of and
2024-06-07 00:56:40 +00:00
Age Manning
7b48b0b4a7 Errors for all RPC Requests (#5867)
* Return and error if peer has disconnected

* Report errors for rate limited requests

* Code improvement

* Bump rust version to 1.78

* Downgrade to 1.77

* Update beacon_node/lighthouse_network/src/service/mod.rs

Co-authored-by: João Oliveira <hello@jxs.pt>

* fix fmt

* Merge branch 'unstable' of https://github.com/sigp/lighthouse into rpc-peer-disconnect-error

* update lockfile
2024-06-07 00:12:45 +00:00
Michael Sproul
7a7fc82cbd Update criterion (#5886)
* Start updating criterion

* Update consensus benches
2024-06-04 15:12:56 +00:00
Michael Sproul
2c72bb8fc6 Fix getClientVersionV1 for Geth 1.13 (#5884)
* Fix getClientVersionV1 for Geth 1.13
2024-06-04 04:29:12 +00:00
Armağan Yıldırak
8a247eb7ed Investigate UnknownTargetRoot slasher errors (#5006)
* Fix the UnknownTargetRoot
2024-06-04 04:29:08 +00:00
Jimmy Chen
5fc01454dc Replace local testnet script with Kurtosis (#5865)
* Kurtosis local testnet.

* Remove unused `lcli` subcommands

* Migrate doppelganger_protection test to kurtosis and further cleanup.

* Fix lint

* Add missing download image step and remove unused `lcli` dependencies.

* doppelganger success case working

* Run tests on hosted runner and improve error handling.

* Start the dp vc only after epoch 1

* Add more logging to test results.

* Fix exit code and speed up docker build.

* Fix incorrect exit codes and split doppelganger tests on CI.

* Missing the escape for double quotes 😫

* Remove unnecessary vc params in kurtosis config.
2024-06-04 03:03:26 +00:00
Michael Sproul
1b7c4a4523 Increase slog buffer size (#5882)
* Increase slog buffer size
2024-06-04 03:03:22 +00:00
Lion - dapplion
cb328072c1 Keep PendingComponents in da_checker during import_block (#5845)
* Ensure lookup sync checks caches correctly

* Simplify BlockProcessStatus

* Keep PendingComponents in da_checker during import_block

* Merge branch 'unstable' of https://github.com/sigp/lighthouse into time_in_da_checker

* Fix tests with DA checker new eviction policy (#34)
2024-06-03 20:37:53 +00:00
Lion - dapplion
2c971fa9a1 Make beacon processor queue sizes dynamic (#5573)
* Make beacon processor queue sizes dynamic

* Update tests

* lint

* Review PR
2024-06-03 07:17:11 +00: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
Eitan Seri-Levi
df6e1c9add Fix BitVectors TestRandom implementation (#5854)
* fix bitvector test random impl
2024-05-30 14:09:22 +00: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
Pawan Dhananjay
6daeec31e2 Rename deploy_block in network config (#5850)
* Rename deploy_block.txt to deposit_contract_block.txt

* fmt

* Merge branch 'unstable' of https://github.com/sigp/lighthouse into rename-deply-block
2024-05-29 18:56:11 +00:00
Jimmy Chen
48789c7c16 Always build lcli on CI (#5860)
* Always build `lcli` on CI.
2024-05-29 15:47:32 +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
chonghe
3070cb7c39 Markdown linter (#5494)
* linter

* Add markdown linter

* add env

* only check markdown

* Add token

* Update .github/workflows/test-suite.yml

* Markdown linter

* Exit code

* Update script

* rename

* mdlint

* Add an empty line after end of file

* Testing disable

* add text

* update mdlint.sh

* ori validator inclusion

* Add config yml file

* Remove MD041 and fix advanced-datadir file

* FIx validator inclusion file conflict

* Merge branch 'unstable' into markdown-linter

* change files

* Merge branch 'markdown-linter' of https://github.com/chong-he/lighthouse into markdown-linter

* mdlint

* Remove MD025

* Remove MD036

* Remove MD045

* Removr MD001

* Set MD028 to false

* Remove MD024

* Remove MD055

* Remove MD029

* Remove MD040

* Set MD040 to false

* Set MD033 to false

* Set MD013 to false

* Rearrange yml file

* Update mdlint.sh and test

* Test remove fix

* Test with fix

* Test with space

* Fix summary indentation

* Test mdlint.sh

* Update mdlint.sh

* Test

* Update

* Test fix

* Test again

* Fix

* merge into check-code

* Update scripts/mdlint.sh

Co-authored-by: Mac L <mjladson@pm.me>

* Update scripts/mdlint.sh

Co-authored-by: Mac L <mjladson@pm.me>

* Remove set -e

* Add comment

* Merge pull request #7 from chong-he/unstable

Merge unstable to markdown branch

* mdlint

* Merge branch 'unstable' into markdown-linter

* mdlint
2024-05-24 02:45:19 +00:00
Lion - dapplion
7073242ccc Suppress RPC Error disconnect log (#5802)
* Suppress RPC Error disconnect log
2024-05-23 14:34:49 +00:00
Eitan Seri-Levi
61b29fa361 Update default target peers documentation (#5727)
* the default target peers is 100
2024-05-23 12:46:08 +00:00