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

Set earliest era in snapshot restoration #5021

Merged
merged 1 commit into from Mar 25, 2017
Merged

Conversation

rphmeier
Copy link
Contributor

...otherwise when we start the client after restoring from a file, initializing the genesis state will set earliest_era to 0. This causes the pruning loop to try and prune states all the way from the genesis.

@rphmeier rphmeier added A0-pleasereview 🤓 Pull request needs code review. B0-patch M4-core ⛓ Core client code / Rust. labels Mar 24, 2017
@rphmeier rphmeier added this to the Patch milestone Mar 24, 2017
@arkpar arkpar added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Mar 24, 2017
@gavofyork gavofyork merged commit 109012c into master Mar 25, 2017
@gavofyork gavofyork deleted the fix-pruning-loop branch March 25, 2017 09:00
arkpar added a commit that referenced this pull request Mar 27, 2017
* Fix FireFox overflows (#5000)

* Max width for container

* Set min-width

* Switching ValidatorSet (#4961)

* add multi validator set

* nicer comment

* validate in constructor

* reporting

* Avoid clogging up tmp when updater dir has bad permissions. (#5024)

* force earliest era set in snapshot restore (#5021)

* v1.6.5

* Fine grained snapshot chunking

* Ropsten revival
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A8-looksgood 🦄 Pull request is reviewed well. M4-core ⛓ Core client code / Rust.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants