Commit 490e13c
Merge branch 'main' into bohdan/validatorapi-proposal
Resolves conflicts in the validatorapi stack against main's PR #458,
PR #451, and the dutydb high-water-mark refactor:
- dutydb/memory.rs: take main's terser comment on `delete_duty` waking
the per-duty-type notify.
- validatorapi/component.rs: take main's BoxFuture-based callback API
(SubscriberFn by-ref, AwaitAggSigDbFn naming, cleaner comments,
10s upstream timeout) and layer the PR's proposal /
submit_proposal / submit_blinded_proposal handlers, ProposerPubkeyFn,
PROPOSAL_TIMEOUT, register_proposer_pubkey, lookup_proposer_pubkey,
await_proposal_for_handler, proposal_timeout, pubkey_to_bls,
verify_partial_sig_error, map_signed_data_error,
verify_par_signed_proposal, proposal_matches_duty (+ ProposalMatchError),
and all the per-fork slot/version/proposer-index/message-root
accessors on top. Subscriber call sites adapted to main's by-ref
signature (sub(&duty, &set) instead of sub(&duty, set.clone())).
PR's tests appended to the existing test module.
- validatorapi/router.rs: take main's version verbatim — PR 461 did
not touch router.rs, only main did (enforce_json_content_type
middleware + json_rejection_to_api_error + content-type tests).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>44 files changed
Lines changed: 6884 additions & 2560 deletions
File tree
- .github/workflows
- crates
- core
- src
- aggsigdb
- consensus/qbft
- deadline
- dutydb
- qbft
- tracker
- validatorapi
- dkg
- examples
- src
- frostp2p
- eth2api/src
- eth2util/src/keystore
- p2p/src
- parsigex/examples
- ssz/src
- scripts/dkg-runner
- ci
- test-infra
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| 103 | + | |
103 | 104 | | |
104 | 105 | | |
105 | 106 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
0 commit comments