Commit Graph

41 Commits

Author SHA1 Message Date
Tan Chee Keong
4e77e39b66 Add debug 2025-05-09 16:07:40 +08:00
Tan Chee Keong
c790d9dd45 Fix 2025-05-09 16:00:56 +08:00
Tan Chee Keong
46c29b09b7 fix 2025-05-09 14:15:46 +08:00
chonghe
bcfe5ff2e8 Merge branch 'unstable' into dvt 2025-05-09 11:06:44 +08:00
Daniel Knopik
3d92e3663b Modularize validator store (#6705)
- Create trait `ValidatorStore` with all functions used by the `validator_services`
- Make `validator_services` generic on `S: ValidatorStore`
- Introduce `LighthouseValidatorStore`, which has identical functionality to the old `ValidatorStore`
- Remove dependencies (especially `environment`) from `validator_services` and `beacon_node_fallback` in order to be able to cleanly use them in Anchor
2025-05-07 03:43:33 +00:00
Tan Chee Keong
d34a91ac07 address comments 2025-04-29 16:28:42 +08:00
Tan Chee Keong
b71e40d4a6 Revise config move to lib.rs 2025-04-29 15:12:58 +08:00
Tan Chee Keong
f20f7491d7 Add comments 2025-04-23 15:17:29 +08:00
Tan Chee Keong
ab1d2c06c6 Modify to FuturesUnordered for Sync 2025-04-15 21:39:55 +08:00
Tan Chee Keong
b506fa5369 Remove duplication with a function 2025-04-15 10:40:48 +08:00
Tan Chee Keong
44bd5f13f6 rearrange 2025-04-11 19:37:46 +08:00
Tan Chee Keong
ea13f74c06 Add duration of computation offset 2025-04-11 12:03:54 +08:00
Tan Chee Keong
76125fa0fa Process each result 2025-04-11 11:39:45 +08:00
Tan Chee Keong
af676d43be Remove negation 2025-04-10 19:45:53 +08:00
Tan Chee Keong
a11cee21d3 Use FuturesUnordered 2025-04-09 22:19:13 +08:00
Tan Chee Keong
d3dbe870ef Add SelectionProofConfig 2025-04-09 11:32:10 +08:00
Tan Chee Keong
d222ce8a5c tidy up sync.rs 2025-04-01 16:06:14 +08:00
Tan Chee Keong
101f24c440 logging 2025-04-01 10:02:32 +08:00
Tan Chee Keong
1118d622f5 Update logging 2025-03-31 18:33:56 +08:00
chonghe
89e19ecc8c Merge branch 'unstable' into dvt 2025-03-31 14:59:07 +08:00
Tan Chee Keong
1631c860dc Implement sync committee selection endpoint 2025-03-24 14:12:34 +08:00
Tan Chee Keong
8b2f058d7b Sign selection proof in parallel 2025-03-20 14:03:22 +08:00
Tan Chee Keong
52854a0d12 Add public key in log 2025-03-19 12:28:19 +08:00
Tan Chee Keong
7dd7ed2402 simplify 2025-03-17 12:00:22 +08:00
Tan Chee Keong
50ec5f17a1 add distributed lookahead 2025-03-16 21:27:07 +08:00
Tan Chee Keong
0c360c893e log 2025-03-13 20:38:15 +08:00
Tan Chee Keong
376bc70fcf space 2025-03-13 19:05:39 +08:00
Tan Chee Keong
81ee8e3f36 Change timeout and add debug log 2025-03-13 17:52:23 +08:00
ThreeHrSleep
d60c24ef1c Integrate tracing (#6339)
Tracing Integration
- [reference](5bbf1859e9/projects/project-ideas.md (L297))


  - [x] replace slog & log with tracing throughout the codebase
- [x] implement custom crit log
- [x] make relevant changes in the formatter
- [x] replace sloggers
- [x] re-write SSE logging components

cc: @macladson @eserilev
2025-03-12 22:31:05 +00:00
Tan Chee Keong
0d724b18a0 Correct output type thanks Michael 2025-03-10 13:26:59 +08:00
Tan Chee Keong
61e79b6901 println response 2025-03-06 21:31:15 +08:00
Tan Chee Keong
cba2adbfcc println logs 2025-03-06 15:16:48 +08:00
Michael Sproul
80cd8bd911 Add --disable-attesting flag to validator client (#7046)
Cleaned up and isolated version of the `--disable-attesting` flag for the VC, from the `holesky-rescue` branch:

- https://github.com/sigp/lighthouse/pull/7041

I figured we don't need the `--disable-attesting` flag on the BN for now, and it was a much more invasive impl.
2025-02-26 13:07:16 +00:00
Pawan Dhananjay
b3b6aea1c5 Rust 1.85 lints (#7019)
N/A


  2 changes:
1. Replace Option::map_or(true, ...) with is_none_or(...)
2. Remove unnecessary `Into::into` blocks where the type conversion is apparent from the types
2025-02-24 02:36:13 +00:00
Tan Chee Keong
d8d31b7b01 Add Vec 2025-02-20 13:37:40 +08:00
Tan Chee Keong
7ff3ffe8d3 Fix error 2025-02-20 10:44:30 +08:00
Tan Chee Keong
83db29a0da Revise a bit 2025-02-20 09:53:15 +08:00
Tan Chee Keong
358646cf9b update if loop 2025-02-19 22:38:11 +08:00
Tan Chee Keong
8c7a995c91 Add client side endpoint 2025-02-19 21:46:12 +08:00
Tan Chee Keong
fc657db5ea Define type and modify function 2025-02-18 16:10:10 +08:00
Age Manning
8e95024945 Split the VC into crates making it more modular (#6453)
* Starting to modularize the VC

* Revert changes to eth2

* More progress

* More progress

* Compiles

* Merge latest unstable and make it compile

* Fix some lints

* Tests compile

* Merge latest unstable

* Remove unnecessary deps

* Merge latest unstable

* Correct release tests

* Merge latest unstable

* Merge remote-tracking branch 'origin/unstable' into modularize-vc

* Merge branch 'unstable' into modularize-vc

* Revert unnecessary cargo lock changes

* Update validator_client/beacon_node_fallback/Cargo.toml

* Update validator_client/http_metrics/Cargo.toml

* Update validator_client/http_metrics/src/lib.rs

* Update validator_client/initialized_validators/Cargo.toml

* Update validator_client/signing_method/Cargo.toml

* Update validator_client/validator_metrics/Cargo.toml

* Update validator_client/validator_services/Cargo.toml

* Update validator_client/validator_store/Cargo.toml

* Update validator_client/validator_store/src/lib.rs

* Merge remote-tracking branch 'origin/unstable' into modularize-vc

* Fix format string

* Rename doppelganger trait

* Don't drop the tempdir

* Cargo fmt
2024-11-08 01:01:46 +00:00