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
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
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
Lion - dapplion
ce66582c16
Merge parent and current sync lookups ( #5655 )
...
* Drop lookup type trait for a simple arg
* Drop reconstructed for processing
* Send parent blocks one by one
* Merge current and parent lookups
* Merge current and parent lookups clean up todos
* Merge current and parent lookups tests
* Merge remote-tracking branch 'origin/unstable' into sync-merged-lookup
* Merge branch 'unstable' of https://github.com/sigp/lighthouse into sync-merged-lookup
* fix compile after merge
* #5655 pr review (#26 )
* fix compile after merge
* remove todos, fix typos etc
* fix compile
* stable rng
* delete TODO and unfilled out test
* make download result a struct
* enums instead of bools as params
* fix comment
* Various fixes
* Track ignored child components
* Track dropped lookup reason as metric
* fix test
* add comment describing behavior of avail check error
* update ordering
2024-04-30 20:12:15 +00:00
Eitan Seri-Levi
d3bf9a8956
Proposer and attester slashing sse events ( #5327 )
...
* default vc to block v3 endpoint and deprecate block-v3 flag
* Merge branch 'unstable' of https://github.com/sigp/lighthouse into unstable
* add proposer and attester event variants
* add TOOOs
* add tests, event triggers
* Merge branch 'unstable' of https://github.com/sigp/lighthouse into proposer-and-attester-slashing-sse-events
* revert
* revert
* remove double event tracking
* Merge branch 'unstable' into proposer-and-attester-slashing-sse-events
* remove todo, fix test
* resolve merge conflicts
* Merge branch 'proposer-and-attester-slashing-sse-events' of https://github.com/eserilev/lighthouse into proposer-and-attester-slashing-sse-events
* leftover debugging
* Merge branch 'unstable' of https://github.com/sigp/lighthouse into proposer-and-attester-slashing-sse-events
* Merge branch 'unstable' of https://github.com/sigp/lighthouse into proposer-and-attester-slashing-sse-events
2024-04-30 08:56:45 +00:00
realbigsean
c33edc82eb
Beta compiler fix ( #5659 )
...
* fix beta compiler compilation
* remove unused import
* Revert "remove unused import"
This reverts commit 0bef36b05b .
* Revert "fix beta compiler compilation"
This reverts commit 23152cf4cc .
* rename ununsed fields
* allow dead code on some error variants
* remove unused blob download queue
* add back debug to backfill error
* more allow dead code on errors
2024-04-29 20:45:54 +00:00
Mac L
13f94ef0f3
Rename Merge to Bellatrix ( #5601 )
...
* Rename Merge to Bellatrix
* Remove tree-hash-cache which got readded from the rebase
2024-04-25 20:19:41 +00:00
ethDreamer
4a48d7b546
Encode Execution Engine Client Version In Graffiti ( #5290 )
...
* Add `engine_clientVersionV1` structs
* Implement `engine_clientVersionV1`
* Update to latest spec changes
* Implement GraffitiCalculator Service
* Added Unit Tests for GraffitiCalculator
* Address Mac's Comments
* Remove need to use clap in beacon chain
* Merge remote-tracking branch 'upstream/unstable' into el_client_version_graffiti
* Merge branch 'unstable' into el_client_version_graffiti
# Conflicts:
# beacon_node/beacon_chain/Cargo.toml
2024-04-24 06:02:48 +00:00
Michael Sproul
61962898e2
In-memory tree states ( #5533 )
...
* Consensus changes
* EF tests
* lcli
* common and watch
* account manager
* cargo
* fork choice
* promise cache
* beacon chain
* interop genesis
* http api
* lighthouse
* op pool
* beacon chain misc
* parallel state cache
* store
* fix issues in store
* IT COMPILES
* Remove some unnecessary module qualification
* Revert Arced pubkey optimization (#5536 )
* Merge remote-tracking branch 'origin/unstable' into tree-states-memory
* Fix caching, rebasing and some tests
* Remove unused deps
* Merge remote-tracking branch 'origin/unstable' into tree-states-memory
* Small cleanups
* Revert shuffling cache/promise cache changes
* Fix state advance bugs
* Fix shuffling tests
* Remove some resolved FIXMEs
* Remove StateProcessingStrategy
* Optimise withdrawals calculation
* Don't reorg if state cache is missed
* Remove inconsistent state func
* Fix beta compiler
* Rebase early, rebase often
* Fix state caching behaviour
* Update to milhouse release
* Fix on-disk consensus context format
* Merge remote-tracking branch 'origin/unstable' into tree-states-memory
* Squashed commit of the following:
commit 3a16649023
Author: Michael Sproul <michael@sigmaprime.io >
Date: Thu Apr 18 14:26:09 2024 +1000
Fix on-disk consensus context format
* Keep indexed attestations, thanks Sean
* Merge branch 'on-disk-consensus-context' into tree-states-memory
* Merge branch 'unstable' into tree-states-memory
* Address half of Sean's review
* More simplifications from Sean's review
* Cache state after get_advanced_hot_state
2024-04-24 01:22:36 +00:00
Jimmy Chen
532206e008
Fix stuck backfill when scheduled work queue is at capacity ( #5575 )
...
* Fix stuck backfill and add regression test.
* Remove unnecessary `yield_now`
* Merge branch 'unstable' into fix-stuck-backfill
* Revert previous change and add extra comment.
* Merge branch 'unstable' into fix-stuck-backfill
* Update tests to use configured event schedule instead of hard coded values.
* Merge branch 'unstable' of https://github.com/sigp/lighthouse into fix-stuck-backfill
2024-04-22 16:06:46 +00:00
0xalex88
1b88d29807
Use hashset to filter validators ids in http_api ( #5468 )
...
* Use hashset to filter validators ids in http_api
* Update beacon_node/http_api/src/validators.rs
2024-04-09 03:49:03 +00:00
Eitan Seri-Levi
ee69e14db9
Add is_parent_strong proposer re-org check ( #5417 )
...
* initial fork choice additions
* add helper fns
* add is_parent_strong
* Merge branch 'unstable' of https://github.com/sigp/lighthouse into add_is_parent_strong_check
* disabling proposer reorg should set parent_threshold to u64 max
* add new flag, is_parent_strong check in override fcu params
* cherry-pick changes
* Merge branch 'unstable' of https://github.com/sigp/lighthouse into add_is_parent_strong_check
* cleanup
* fmt
* Minor review tweaks
2024-04-04 19:38:06 +00:00
Michael Sproul
feb531f85b
Single-pass epoch processing and optimised block processing ( #5279 )
...
* Single-pass epoch processing (#4483 , #4573 )
Co-authored-by: Michael Sproul <michael@sigmaprime.io >
* Delete unused epoch processing code (#5170 )
* Delete unused epoch processing code
* Compare total deltas
* Remove unnecessary apply_pending
* cargo fmt
* Remove newline
* Use epoch cache in block packing (#5223 )
* Remove progressive balances mode (#5224 )
* inline inactivity_penalty_quotient_for_state
* drop previous_epoch_total_active_balance
* fc lint
* spec compliant process_sync_aggregate (#15 )
* spec compliant process_sync_aggregate
* Update consensus/state_processing/src/per_block_processing/altair/sync_committee.rs
Co-authored-by: Michael Sproul <micsproul@gmail.com >
---------
Co-authored-by: Michael Sproul <micsproul@gmail.com >
* Delete the participation cache (#16 )
* update help
* Fix op_pool tests
* Fix fork choice tests
* Merge remote-tracking branch 'sigp/unstable' into epoch-single-pass
* Simplify exit cache (#5280 )
* Fix clippy on exit cache
* Clean up single-pass a bit (#5282 )
* Address Mark's review of single-pass (#5386 )
* Merge remote-tracking branch 'origin/unstable' into epoch-single-pass
* Address Sean's review comments (#5414 )
* Address most of Sean's review comments
* Simplify total balance cache building
* Clean up unused junk
* Merge remote-tracking branch 'origin/unstable' into epoch-single-pass
* More self-review
* Merge remote-tracking branch 'origin/unstable' into epoch-single-pass
* Merge branch 'unstable' into epoch-single-pass
* Fix imports for beta compiler
* Fix tests, probably
2024-04-04 13:14:36 +00:00
Mac L
969d12dc6f
Use E for EthSpec globally ( #5264 )
...
* Use `E` for `EthSpec` globally
* Fix tests
* Merge branch 'unstable' into e-ethspec
* Merge branch 'unstable' into e-ethspec
# Conflicts:
# beacon_node/execution_layer/src/engine_api.rs
# beacon_node/execution_layer/src/engine_api/http.rs
# beacon_node/execution_layer/src/engine_api/json_structures.rs
# beacon_node/execution_layer/src/test_utils/handle_rpc.rs
# beacon_node/store/src/partial_beacon_state.rs
# consensus/types/src/beacon_block.rs
# consensus/types/src/beacon_block_body.rs
# consensus/types/src/beacon_state.rs
# consensus/types/src/config_and_preset.rs
# consensus/types/src/execution_payload.rs
# consensus/types/src/execution_payload_header.rs
# consensus/types/src/light_client_optimistic_update.rs
# consensus/types/src/payload.rs
# lcli/src/parse_ssz.rs
2024-04-02 15:12:25 +00:00
Mac L
f8fdb71f50
Add Electra fork boilerplate ( #5122 )
...
* Add Electra fork boilerplate
* Remove electra from spec tests
* Fix tests
* Remove sneaky log file
* Fix more tests
* Fix even more tests and add suggestions
* Remove unrelated lcli addition
* Update more tests
* Merge branch 'unstable' into electra
* Add comment for test-suite lcli override
* Merge branch 'unstable' into electra
* Cleanup
* Merge branch 'unstable' into electra
* Apply suggestions
* Merge branch 'unstable' into electra
* Merge sigp/unstable into electra
* Merge branch 'unstable' into electra
2024-04-02 12:35:02 +00:00
realbigsean
3058b96f25
Release v5.1.3 ( #5497 )
...
* Release v5.1.3
2024-03-28 05:22:30 +00:00
João Oliveira
59ef564b1d
Move gossipsub into a separate crate ( #5401 )
...
* move gossipsub into a separate crate
* Merge branch 'unstable' of github.com:sigp/lighthouse into separate-gossipsub
* address review 2
* clippy beta
* update logging to log gossipsub logs
2024-03-26 03:10:59 +00:00
realbigsean
5ce16192c7
Release v5.1.2 ( #5453 )
...
* Release v5.1.2
2024-03-21 18:04:00 +00:00
João Oliveira
f33ce8cc34
fix NAT nat_open metrics report ( #5427 )
...
* fix nat reporting
2024-03-20 06:45:18 +00:00
Eitan Seri-Levi
01ec42e75a
Fix Rust beta compiler errors 1.78.0-beta.1 ( #5439 )
...
* remove redundant imports
* fix test
* contains key
* fmt
* Merge branch 'unstable' into fix-beta-compiler
2024-03-20 05:17:02 +00:00
Michael Sproul
2a3c709f8c
Release v5.1.1 ( #5396 )
...
* Release v5.1.1
2024-03-12 03:42:15 +00:00
Pawan Dhananjay
10a38a8aae
Release v5.1.0 ( #5372 )
...
* Bump versions
2024-03-10 23:44:29 +00:00
Michael Sproul
bf118a17d4
Fix block v3 header decoding ( #5366 )
...
* Fix block v3 header decoding
2024-03-07 03:31:06 +00:00
João Oliveira
a89ff100af
improve libp2p connected peer metrics ( #5314 )
...
* patch rust-yamux dep
* improve libp2p connected peer metrics
2024-02-28 03:52:55 +00:00
João Oliveira
65c4ff0775
remove exit-future ( #5183 )
...
* remove exit-future usage,
as it is non maintained, and replace with async-channel which is already in the repo.
* Merge branch 'unstable' of https://github.com/sigp/lighthouse into remove-exit-future
* Merge branch 'unstable' of https://github.com/sigp/lighthouse into remove-exit-future
2024-02-27 22:12:44 +00:00
Paul Hauner
b5bae6e7a2
Release v5.0.0 ( #5254 )
...
* Bump versions
2024-02-20 22:12:52 +00:00
Jimmy Chen
50c423ad88
Revert libp2p metrics ( #4870 ) ( #5265 )
...
* Revert "improve libp2p connected peer metrics (#4870 )"
This reverts commit 0c3fef59b3 .
2024-02-20 04:19:17 +00:00
Eitan Seri-Levi
4d625951b8
Deprecate env_log flag in tracing layer ( #5228 )
...
* deprecate terminal logs file in tracing layer
* sink writer
2024-02-19 05:17:58 +00:00
Paul Hauner
e22c9eed8f
Add Deneb fork epoch for Gnosis ( #5242 )
...
* Add Deneb fork epoch for Gnosis
* Add deneb constants
* Update common/eth2_network_config/built_in_network_configs/gnosis/config.yaml
Co-authored-by: realbigsean <seananderson33@GMAIL.com >
* Adjust `min_epochs_for_block_requests`
* Change `MAX_PER_EPOCH_ACTIVATION_CHURN_LIMIT`
* Fix chain spec `max_per_epoch_activation_churn_limit`
* Fix chain spec values again
2024-02-19 02:22:19 +00:00
Michael Sproul
0e819fa785
Schedule Deneb on mainnet ( #5233 )
...
* Schedule Deneb on mainnet
* Fix trusted setup roundtrip test
* Fix BN CLI tests for insecure genesis sync
2024-02-15 12:23:51 +00:00
Eitan Seri-Levi
e7ef2a3a54
validator liveness endpoint should accept string encoded indices ( #5184 )
...
* deserialize string indices as u64
* client should send quoted indices
2024-02-09 04:59:39 +00:00
João Oliveira
0c3fef59b3
improve libp2p connected peer metrics ( #4870 )
...
* improve libp2p connected peer metrics
* separate discv5 port from libp2p for NAT open
* use metric family for DISCOVERY_BYTES
* Merge branch 'unstable' of https://github.com/sigp/lighthouse into improve-metrics
2024-02-08 02:40:54 +00:00
Jimmy Chen
39e9f7dc6b
Fix Rust beta compiler errors (1.77) ( #5180 )
...
* Lint fixes
* More fixes for beta compiler.
* Format fixes
* Move `#[allow(dead_code)]` to field level.
* Remove old comment.
* Update beacon_node/execution_layer/src/test_utils/mod.rs
Co-authored-by: João Oliveira <hello@jxs.pt >
* remove duplicate line
2024-02-05 17:54:11 +00:00
4rgon4ut
1d4ee5d150
Update gnosis bootnodes ( #4986 )
...
* chore(eth2_network_config): update gnosis bootnodes
* Merge remote-tracking branch 'origin/unstable' into update_gnosis_bootnodes
2024-02-01 08:35:06 +00:00
4rgon4ut
b7ba5a087c
feat(config): add chiado bootnodes ENRs ( #4727 )
...
* feat(config): add chiado bootnodes erns
* Merge remote-tracking branch 'origin/unstable' into feat/add-chiado-bootnodes
2024-02-01 08:35:00 +00:00
João Oliveira
dada5750ee
Properly log panics with slog ( #5075 )
...
* log panics with slog
* update set_hook location
* Merge branch 'unstable' of https://github.com/sigp/lighthouse into slog-panics
2024-01-31 19:20:09 +00:00
Divma
8353ec9785
Update deterministic subnets upgrade to allow prefix computation ( #4959 )
...
* add new spec field to spec
* add spec changes
* fix bug and update expected subnets with validation from pyspec
* fix values and make test prettier (?)
* fix style
---------
Co-authored-by: Lion - dapplion <35266934+dapplion@users.noreply.github.com >
2024-01-31 09:30:26 +00:00
Eitan Seri-Levi
1d87edb03d
Assume Content-Type is json for endpoints that require json ( #4575 )
...
* added default content type filter
* Merge branch 'unstable' of https://github.com/sigp/lighthouse into unstable
* create custom warp json filter that ignores content type header
* cargo fmt and linting
* updated test
* updated test
* merge unstable
* merge conflicts
* workspace=true
* use Bytes instead of Buf
* resolve merge conflict
* resolve merge conflicts
* add extra error message context
* merge conflicts
* lint
2024-01-31 01:11:54 +00:00
Jack McPherson
abeb358f0b
Remove custom SSZ beacon states route ( #5065 )
...
* Remove SSZ state root route
* Remove SSZ states route from client impl
* Patch tests
* Merge branch 'unstable' into 5063-delete-ssz-state-route
* Further remove dead code
2024-01-30 00:33:05 +00:00
Paul Hauner
1be5253610
Bump versions ( #5123 )
2024-01-25 10:02:00 +11:00
Eitan Seri-Levi
f9e36c94ed
Expose additional builder booster related flags in the vc ( #5086 )
...
* expose builder booster flags in vc, enable options in validator endpoints, update tests
* resolve failing test
* fix issues related to CreateConfig and MoveConfig
* remove unneeded val, change how boost factor flag logic in the vc, add some additional documentation
* fix typos
* fix typos
* assume builder-proosals flag if one of other two vc builder flags are present
* fmt
* typo
* typo
* Fix CLI help text
* Prioritise per validator builder boost configurations over CLI flags.
* Add http test for builder boost factor with process defaults.
* Fix issue with PATCH request
* Add prefer builder proposals
* Add more builder boost factor tests.
---------
Co-authored-by: Mac L <mjladson@pm.me >
Co-authored-by: Jimmy Chen <jchen.tc@gmail.com >
Co-authored-by: Paul Hauner <paul@paulhauner.com >
2024-01-25 09:09:47 +11:00
Eitan Seri-Levi
612eaf2d41
Prevent rolling file appender panic ( #5117 )
...
* rolling file appender panic removal and max log file count
* max log file
2024-01-24 10:12:48 +11:00
Pawan Dhananjay
b55b58b3c6
Fix indices filter in blobs_sidecar http endpoint ( #5118 )
...
* add get blobs unit test
* Use a multi_key_query for blob_sidecar indices
* Fix test
* Remove env_logger
---------
Co-authored-by: realbigsean <seananderson33@GMAIL.com >
2024-01-24 09:35:24 +11:00
Michael Sproul
a403138ed0
Reduce size of futures in HTTP API to prevent stack overflows ( #5104 )
...
* Box::pin a few big futures
* Arc the blocks early in publication
* Fix more tests
2024-01-23 15:32:07 +11:00
realbigsean
70b0528f36
set deneb fork on testnets ( #5089 )
...
* set deneb fork on testnets
* re-order fields in holesky
2024-01-22 15:14:26 +11:00
Michael Sproul
185646acb2
Fix PublishBlockRequest SSZ decoding ( #5078 )
...
* Fix PublishBlockRequest SSZ decoding
* Send header for block v1 ssz client
* Delete unused function
2024-01-19 12:56:30 +11:00
Eitan Seri-Levi
f22e5b0f85
Critical dependency logging ( #4988 )
...
* add metrics layer
* add metrics
* simplify getting the target
* make clippy happy
* fix typos
* unify deps under workspace
* make import statement shorter, fix typos
* enable warn by default, mark flag as deprecated
* do not exit on error when initializing logging fails
* revert exit on error
* adjust bootnode logging
* add logging layer
* non blocking file writer
* non blocking file writer
* add tracing visitor
* use target as is by default
* make libp2p events register correctly
* adjust repilcated cli help
* refactor tracing layer
* linting
* filesize
* log gossipsub, dont filter by log level
* turn on debug logs by default, remove deprecation warning
* truncate file, add timestamp, add unit test
* suppress output (#5 )
* use tracing appender
* cleanup
* Add a task to remove old log files and upgrade to warn level
* Add the time feature for tokio
* Udeps and fmt
---------
Co-authored-by: Diva M <divma@protonmail.com >
Co-authored-by: Divma <26765164+divagant-martian@users.noreply.github.com >
Co-authored-by: Age Manning <Age@AgeManning.com >
2024-01-16 19:44:26 +11:00
Divma
a68b701807
add tracing metrics layer for dependency logging ( #4979 )
...
* add metrics layer
* add metrics
* simplify getting the target
* make clippy happy
* fix typos
* unify deps under workspace
* make import statement shorter, fix typos
* enable warn by default, mark flag as deprecated
* do not exit on error when initializing logging fails
* revert exit on error
* adjust bootnode logging
* use target as is by default
* make libp2p events register correctly
* adjust repilcated cli help
* turn on debug logs by default, remove deprecation warning
* suppress output (#5 )
---------
Co-authored-by: Age Manning <Age@AgeManning.com >
2024-01-16 12:22:09 +11:00