Skip to content

Conversation

@eserilev
Copy link
Member

@eserilev eserilev commented Nov 22, 2025

Allow for the VC to query all BN's at the beginning of each epoch and only enable attestation for that epoch if source and target checkpoint matches for a threshold of BN's

TODO

  • make sure we are only comparing relevant fields in attestation data
  • As an optimization only check attestation data for the first slot in an epoch
  • Ensure we only fetch attestation data for the BN whose attestation data matches consensus
  • Allow for consensus threshold to be set via CLI flag
  • Write tests
  • Test w/ single and multi bn setups w/ multiple consensus thresholds

@eserilev eserilev added work-in-progress PR is a work-in-progress val-client Relates to the validator client binary labels Nov 22, 2025
@eserilev
Copy link
Member Author

@yorickdowne based on our convo in Buenos Aires, I thought you might find this draft PR interesting

@galaxy-tbehrens
Copy link

galaxy-tbehrens commented Dec 2, 2025

Yes, I find it very interesting! Thank you! (This is the corpo account. I'm forwarding this to the Galaxy team as a potential option)

@0xmrree
Copy link

0xmrree commented Dec 9, 2025

Just curious are you gonna just pick one BN to get the ghost head (beacon_block_root)?

@eserilev
Copy link
Member Author

eserilev commented Dec 9, 2025

@0xmrree im actually doing most of my development on this branch at the moment
eserilev#26

i've isolated the changes there to make things a bit easier to review

I'm not using the beacon block root at all. I'm just comparing the source and target checkpoints across all connected BN's and if a threshold agrees, I attest with one of the nodes that are in agreement. If a consensus threshold isnt reach, attestation is disabled for that epoch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

val-client Relates to the validator client binary work-in-progress PR is a work-in-progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants