Skip to content

Commit c896771

Browse files
authored
feat(core): additional tracker modules (#455)
* Corrected DutyDefinitionSet to match Charon implementation * tracker module and reason.rs with errors * Step enum and Tracker trait * step to separate file, tracker handlera similar to deadliner architecture * Major issue fixed, async functions in the Tracker trait * review corrections * core/tracker: implement duty analysis pipeline Ports analyseDutyFailed, analyseParticipation, extractParSigs, and all supporting helpers from charon/core/tracker/tracker.go. Replaces the TODO in TrackerService::run with the full analyse-on-deadline loop. Known deviation: fetch errors always map to REASON_BUG_FETCH_ERROR because StepError is opaque (Arc<dyn Error>); REASON_FETCH_BN_ERROR requires a typed wrapper to detect beacon-node HTTP errors. * indexmap fix eth2api: declare indexmap dependency explicitly types.rs references indexmap::IndexSet directly but the crate was not listed in Cargo.toml. Nix masked this via cached build artifacts; clean builds outside nix failed at the pluto-eth2api compile step. * Analysis, metrics and reporters tracker modules. * additional tests for reporters * unused variable * removed bool flag from DutyFailure * fixed import * skipped recreating the hashSet in incl_supported * todo * Corrected review comments * unneeded dependency * improved tests * unneeded * Fixed first two bugs found by claude. * additional comments
1 parent 50eae9e commit c896771

5 files changed

Lines changed: 2534 additions & 47 deletions

File tree

0 commit comments

Comments
 (0)