Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Don't panic if empty_steps_transition already happened #11464

Conversation

dvdplm
Copy link
Collaborator

@dvdplm dvdplm commented Feb 7, 2020

Before this the header_empty_steps_raw would panic if the chain has already progressed beyond the block number set in emptyStepsTransition. As this is a user accessible configuration option I don't think we should panic.

Before this the `header_empty_steps_raw` would panic if the chain has already progressed beyond the block number set in `emptyStepsTransition`. As this is a user accessible configuration option I don't think we should panic.
@dvdplm dvdplm self-assigned this Feb 7, 2020
@dvdplm dvdplm added A0-pleasereview 🤓 Pull request needs code review. A2-insubstantial 👶 Pull request requires no code review (e.g., a sub-repository hash update). labels Feb 7, 2020
@dvdplm dvdplm requested a review from ngotchac February 7, 2020 10:35
@ordian ordian added M4-core ⛓ Core client code / Rust. and removed A2-insubstantial 👶 Pull request requires no code review (e.g., a sub-repository hash update). labels Feb 7, 2020
@ordian ordian added this to the 2.8 & .. milestone Feb 7, 2020
@niklasad1
Copy link
Collaborator

Superseded by #11475

@niklasad1 niklasad1 closed this Feb 17, 2020
@ordian ordian deleted the dp/fix/dont-panic-when-empty_steps_transition_is_in_the_past branch April 23, 2020 18:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A0-pleasereview 🤓 Pull request needs code review. M4-core ⛓ Core client code / Rust.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants