Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Initialize persisted state root on startup #249

Merged
merged 1 commit into from
Dec 7, 2018

Conversation

benjamincburns
Copy link
Contributor

fixes #600

@benjamincburns benjamincburns force-pushed the fix-ganache-cli-600 branch 2 times, most recently from cd35a58 to 4877f0f Compare December 7, 2018 00:25
@@ -132,6 +132,7 @@ BlockchainDouble.prototype.initialize = function(accounts, callback) {
// If we already have a block, then that means there's an existing chain.
// Don't create a genesis block.
if (block) {
self._latestStateRoot = block.header.stateRoot;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is the only line in this file that changed. The others are formatting changes care of our good friend prettier.

@davidmurdoch davidmurdoch merged commit 4a641cd into develop Dec 7, 2018
davidmurdoch added a commit that referenced this pull request Dec 10, 2018
@benjamincburns benjamincburns deleted the fix-ganache-cli-600 branch January 15, 2019 22:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TypeError: Cannot read property 'pop' of undefined when restarting from existing --db
2 participants