Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync Smart Contract Data #23

Open
Tracked by #20
AgeManning opened this issue Oct 23, 2024 · 0 comments
Open
Tracked by #20

Sync Smart Contract Data #23

AgeManning opened this issue Oct 23, 2024 · 0 comments
Assignees

Comments

@AgeManning
Copy link
Member

Anchor needs to sync committee data from the execution layer.

We need to sync from the execution layer the smart contract data for SSV. This is for all operators so that our client can funciton normally for all operators if the keys are switched.

A process similar to the lighthouse deposit sync can be used.

We will need to store our current sync state into our db to prevent resync on restart.

Once synced, we need to listen to new events to update our view of the committee data.

An example of handling these events is here and an example of syncing is here

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

No branches or pull requests

2 participants