Repository navigation
Support tendermint 0.31 - #217
Merged
Merged
Conversation
Codecov Report
@@ Coverage Diff @@
## master #217 +/- ##
==========================================
+ Coverage 91.54% 91.86% +0.32%
==========================================
Files 58 58
Lines 769 787 +18
Branches 136 141 +5
==========================================
+ Hits 704 723 +19
Misses 58 58
+ Partials 7 6 -1
Continue to review full report at Codecov.
|
Member
|
@pinkiebell added a small fix.. please take a look |
pinkiebell
commented
Mar 26, 2019
| await rimraf(path.join(configPath, 'config.toml')); | ||
| await rimraf(path.join(configPath, 'genesis.json')); | ||
| fs.mkdirSync(dataPath); | ||
| await writeFile( |
Contributor
Author
There was a problem hiding this comment.
Doesn't tendermint takes care of that? 🤔
Member
There was a problem hiding this comment.
with --fresh we want to drop everything but the key. If we leave only priv_validator_key.json, tendermint will complain about missing state file.
It wasn't an issue before because of different priv_validator format (no separate state file)
A few small changes. Fix create_empty_blocks and make sure we do not submit duplicate validator (pubKey) entries to abci. Related #184
- `abci.commit` returns *maybe* a wrong appHash, because returning nothing does not give empty blocks anymore - Add a little timeout of 300ms to the period handler, this fixes a race condition if period submission is fast (from blockHandler)
the file is immutable in latest tendermints
Member
|
🤞 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A few small changes.
submit duplicate validator (pubKey) entries to abci.
abci.commitreturns maybe a wrong appHash,because returning nothing does not give empty blocks anymore
this fixes a race condition if period submission is fast (from
blockHandler)
Related #184