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

feat(f3): prepare for f3 bootstrap #12552

Merged
merged 4 commits into from
Oct 7, 2024
Merged

feat(f3): prepare for f3 bootstrap #12552

merged 4 commits into from
Oct 7, 2024

Conversation

Stebalien
Copy link
Member

@Stebalien Stebalien commented Oct 3, 2024

Related Issues

fixes #596

Proposed Changes

This patch:

  1. Bootstraps F3 when we hit the F3BootstrapEpoch (when non-negative).
  2. Refuses any/all dynamic manifests once we get within one finality of said epoch.
  3. Sets the F3 network name for mainnet to "filecoin".

Additional Info

Checklist

Before you mark the PR ready for review, please make sure that:

@Stebalien Stebalien marked this pull request as draft October 3, 2024 20:01
@Stebalien Stebalien force-pushed the steb/f3-bootstrap branch 6 times, most recently from a1be71f to bdd5575 Compare October 3, 2024 22:45
This patch:

1. Bootstraps F3 when we hit the `F3BootstrapEpoch` (when non-negative).
2. Refuses any/all dynamic manifests once we get within one finality of said epoch.
3. Sets the F3 network name for mainnet to "filecoin".
4. Refuses any/all dynamic manifests that don't start with the expected
    network name prefix.
@Stebalien Stebalien marked this pull request as ready for review October 3, 2024 22:54
@Stebalien
Copy link
Member Author

I still need to write a bootstrap test, but this is ready for an initial review.

@Stebalien Stebalien requested review from Kubuxu and masih October 3, 2024 22:56
@Stebalien Stebalien added the skip/changelog This change does not require CHANGELOG.md update label Oct 4, 2024
@Stebalien Stebalien merged commit 1b9b815 into master Oct 7, 2024
85 checks passed
@Stebalien Stebalien deleted the steb/f3-bootstrap branch October 7, 2024 15:03
Copy link
Member

@masih masih left a comment

Choose a reason for hiding this comment

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

LGTM, sorry for the slow review 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip/changelog This change does not require CHANGELOG.md update
Projects
Status: ☑️ Done (Archive)
Development

Successfully merging this pull request may close these issues.

Mainnet bootstrap strategy, how to get the power table?
3 participants