Skip to content

Remove avalanche bootstrapping -> avalanche consensus transition #1345

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

Merged
merged 24 commits into from
Apr 25, 2023

Conversation

StephenButtolph
Copy link
Contributor

@StephenButtolph StephenButtolph commented Apr 13, 2023

Why this should be merged

Now that Cortina has been activated, Avalanche bootstrapping should always result in accepting the stop vertex. This means that that Avalanche engine is completely inaccessible.

How this works

  • Changes the termination condition of Avalanche bootstrapping to when the stop vertex is accepted.
  • Removes usage of the Avalanche consensus engine.

How this was tested

CI + manually.

@StephenButtolph StephenButtolph changed the title Linearize on start Remove avalanche bootstrapping -> avalanche consensus transition Apr 13, 2023
@StephenButtolph StephenButtolph self-assigned this Apr 13, 2023
@StephenButtolph StephenButtolph added consensus This involves consensus cleanup Code quality improvement DO NOT MERGE This PR must not be merged in its current state labels Apr 13, 2023
Base automatically changed from cleanup-avalanche-bootstrap-tests to dev April 17, 2023 16:36
@StephenButtolph StephenButtolph marked this pull request as ready for review April 25, 2023 17:12
@StephenButtolph StephenButtolph removed the DO NOT MERGE This PR must not be merged in its current state label Apr 25, 2023

// If the subnet hasn't finished bootstrapping, this chain should remain
// syncing.
if !b.Config.BootstrapTracker.IsBootstrapped() {
Copy link
Contributor

Choose a reason for hiding this comment

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

We don't need this anymore?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nope! This is handled in snowman bootstrapping now.

Copy link

@danlaine danlaine left a comment

Choose a reason for hiding this comment

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

just 2 questions

@StephenButtolph StephenButtolph merged commit 28aa2cb into dev Apr 25, 2023
@StephenButtolph StephenButtolph deleted the linearize-on-start branch April 25, 2023 21:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup Code quality improvement consensus This involves consensus
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants