Commit Graph

678 Commits

Author SHA1 Message Date
chonghe
bcfe5ff2e8 Merge branch 'unstable' into dvt 2025-05-09 11:06:44 +08:00
Jimmy Chen
8dc3d23af0 Add a default timeout to all BeaconNodeHttpClient requests (#7400)
Add a default request timeout to all `BeaconNodeHttpClient` requests to ensure that no HTTP request can hang indefinitely.
2025-05-08 02:08:32 +00:00
Yeongjong Pyo
058dae0641 Add requires --http when using vc subcommands --http-port (#7405)
Prevent running  `lighthouse vc --http-port <PORT>` without `--http`.
Issue: https://github.com/sigp/lighthouse/issues/7402


  Added requires `--http` when using `lighthouse vc --http-port <PORT>`.
Implemented a test code for this issue.
2025-05-07 05:00:56 +00: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
9d8a9e7e70 revise comment 2025-05-06 15:12:21 +08:00
Mac L
94ccd7608e Add documentation for VC API /lighthouse/beacon/health (#6653)
Changes the endpoint to get fallback health information from `/lighthouse/ui/fallback_health` to `/lighthouse/beacon/health`. This more accurately describes that the endpoint is related to the connected beacon nodes and also matched the `/lighthouse/beacon/update` endpoint being added in #6551.

Adds documentation for both fallback health and the endpoint to the Lighthouse book.
2025-04-30 02:07:07 +00:00
Roman Krasiuk
34a6c3a930 vc: increase default gas limit (#6897)
Increases default gas limit to 36M.
2025-04-30 01:15:39 +00:00
Tan Chee Keong
d34a91ac07 address comments 2025-04-29 16:28:42 +08:00
Tan Chee Keong
9d6d1cb654 Revise a bit 2025-04-29 15:33:18 +08:00
Tan Chee Keong
b71e40d4a6 Revise config move to lib.rs 2025-04-29 15:12:58 +08:00
Tan Chee Keong
05df47bed8 Comment 2025-04-23 15:39:52 +08:00
Tan Chee Keong
f20f7491d7 Add comments 2025-04-23 15:17:29 +08:00
Tan Chee Keong
23c901345a remove logging 2025-04-23 13:24:50 +08:00
Tan Chee Keong
2bcb984f80 Revised to sync_duties 2025-04-23 13:20:10 +08:00
Tan Chee Keong
c71de7185d change to 0 2025-04-23 11:44:59 +08:00
Tan Chee Keong
980e3997be Revise to SyncDutiesMap 2025-04-23 11:40:27 +08:00
Tan Chee Keong
67bfd112b5 refactor for normal mode 2025-04-23 10:24:59 +08:00
Tan Chee Keong
239c1839c3 proof_slot 2025-04-21 17:11:06 +08:00
Tan Chee Keong
247f133b79 change to slot 2025-04-21 15:28:35 +08:00
Tan Chee Keong
67d2f9b4f8 change computation offset 2025-04-21 13:54:08 +08:00
Tan Chee Keong
23fefa338a Add more logging 2025-04-18 14:14:06 +08:00
Tan Chee Keong
f2725ce0cc Add log to debug 2025-04-18 12:12:16 +08:00
Tan Chee Keong
24b125f851 Try to fix 2025-04-18 10:43:44 +08:00
Tan Chee Keong
efa14b08e4 refactor distributed sync part 2025-04-17 11:52:09 +08:00
Tan Chee Keong
2612a6b5d8 create helper function in sync 2025-04-16 13:20:34 +08:00
Tan Chee Keong
ab1d2c06c6 Modify to FuturesUnordered for Sync 2025-04-15 21:39:55 +08:00
chonghe
3fc62f2241 Merge branch 'unstable' into dvt 2025-04-15 10:41:10 +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
Michael Sproul
e77fb01a06 Remove CLI conflict for secrets-dir and datadir (#7265)
Redo this PR:

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

After a regression during the switch to `clap_derive`.

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


  - Remove `conflicts_with`
- Add test to prevent future regression
2025-04-06 09:08:59 +00:00
Mac L
0e6da0fcaf Merge branch 'release-v7.0.0' into v7-backmerge 2025-04-04 13:32:58 +11:00
Mac L
82d1674455 Rust 1.86.0 lints (#7254)
Implement lints for the new Rust compiler version 1.86.0.
2025-04-04 02:30:22 +00:00
Tan Chee Keong
120fa54d92 simplify 2025-04-01 22:06:17 +08:00
Tan Chee Keong
bf75ee47e9 revert 2025-04-01 21:14:46 +08:00
Tan Chee Keong
8fd345c877 move log 2025-04-01 21:12:33 +08:00
Tan Chee Keong
41422b1326 reduce diff 2025-04-01 21:11:17 +08:00
Tan Chee Keong
1877f09a82 Add comment 2025-04-01 20:59:51 +08:00
Tan Chee Keong
e3406becb5 remove subnet for loop 2025-04-01 19:58:53 +08:00
Tan Chee Keong
e8ca60ea23 Fix logging from middleware 2025-04-01 17:33:26 +08:00
Tan Chee Keong
6f2ea51939 sync.rs 2025-04-01 16:07:32 +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
9459c362dd Simplify beacon committee selection logging and code 2025-04-01 10:02:09 +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