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

Test backfill #5109

Merged
merged 4 commits into from
Jan 31, 2024
Merged

Test backfill #5109

merged 4 commits into from
Jan 31, 2024

Conversation

AgeManning
Copy link
Member

Adds a feature flag in able to shorten the backfill distance for developers to help debug and diagnose issues with backfill syncing.

@AgeManning AgeManning added the ready-for-review The code is ready for review label Jan 23, 2024
Co-authored-by: João Oliveira <hello@jxs.pt>
@AgeManning
Copy link
Member Author

oh nice! Thanks!

Comment on lines 843 to 849
let backfill_epoch_range = (self.spec.min_validator_withdrawability_delay
+ self.spec.churn_limit_quotient)
.as_u64()
/ 2;
#[cfg(test_backfill)]
let backfill_epoch_range = 3;

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
let backfill_epoch_range = (self.spec.min_validator_withdrawability_delay
+ self.spec.churn_limit_quotient)
.as_u64()
/ 2;
#[cfg(test_backfill)]
let backfill_epoch_range = 3;

this is no longer required right?

@AgeManning
Copy link
Member Author

@Mergifyio queue

Copy link

mergify bot commented Jan 31, 2024

queue

✅ The pull request has been merged automatically

The pull request has been merged automatically at 7582da7

@AgeManning AgeManning added ready-for-merge This PR is ready to merge. and removed ready-for-review The code is ready for review labels Jan 31, 2024
@AgeManning
Copy link
Member Author

@Mergifyio requeue

Copy link

mergify bot commented Jan 31, 2024

requeue

❌ This pull request head commit has not been previously disembarked from queue.

mergify bot added a commit that referenced this pull request Jan 31, 2024
@mergify mergify bot merged commit 7582da7 into sigp:unstable Jan 31, 2024
29 checks passed
danielrachi1 pushed a commit to danielrachi1/lighthouse that referenced this pull request Feb 14, 2024
* Test backfill

* Revert cargo.toml

* Update beacon_node/beacon_chain/src/builder.rs

Co-authored-by: João Oliveira <hello@jxs.pt>

* Remove redundant code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-merge This PR is ready to merge.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants