ObolNetwork / ObolNetwork/charon

Persist ASDB for charon, copy it during an edit, check it on boot

Open
#4,284 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

protocol
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.