ObolNetwork / ObolNetwork/charon
Persist ASDB for charon, copy it during an edit, check it on boot
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 222
- Forks
- 138
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 35
Description
🎯 Problem to be solved
Real time edits without downtime
🛠️ Proposed solution
- Approved design doc: link
- Core team consensus on the proposed solution
Describe the solution to be implemented
🧪 Tests
- We can detect an absence of data in the ASDB (e.g. the last record i have is for slot X, and we're now further, and this validator is still active, that must mean its been scheduled and i just don't know if I participated or not
- Manually tested on core team/canary/test clusters
- Manually tested on local compose simnet
Additional Acceptance Criteria
We have a BN in front of us, maybe its not too painful a startup request to ask the BN if the active pubkeys have attested in the current and last epoch? (to detect if the rest of the DV is keeping the validator online that you weren't aware of) I know this was a feature we turned off in an ongoing basis, but might be worth it best-effort at startup?
To be finished in a design doc
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No implementation files, tests, or entry points are named. Start by writing the requested design document for persisting and copying ASDB during edits and checking it on boot; done requires an approved design, core-team consensus, and the listed absence-detection and cluster testing criteria.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- distributed-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100