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

Backfill fixes #31

Merged
merged 13 commits into from
Nov 27, 2023
Merged

Backfill fixes #31

merged 13 commits into from
Nov 27, 2023

Conversation

christophercampbell
Copy link
Contributor

This PR updates the data backfill to retrieve data from the trusted sequencer before trying the other data nodes. The sequencer tracker now tracks the URL changes as well as address changes of sequencer. The data is also now checked against it's expected hash before storing.

Deployments that have gaps in data can restart their data backfill by setting their L1 sync_tasks record to 0.

UPDATE data_node.sync_tasks SET block = 0 WHERE task = 'L1'

@christophercampbell christophercampbell force-pushed the backfill-updates branch 2 times, most recently from aa81b2a to f04b47f Compare November 18, 2023 14:00
@christophercampbell christophercampbell marked this pull request as draft November 19, 2023 13:06
Copy link

sonarcloud bot commented Nov 21, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@christophercampbell christophercampbell marked this pull request as ready for review November 21, 2023 14:59
@christophercampbell christophercampbell merged commit e69a225 into main Nov 27, 2023
7 checks passed
@christophercampbell christophercampbell deleted the backfill-updates branch November 27, 2023 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants