Skip to content
This repository has been archived by the owner on Jul 27, 2022. It is now read-only.

Problem:(Fix #832) random client failing if node didn't store historical state data #843

Merged
merged 1 commit into from
Jan 7, 2020

Conversation

linfeng-crypto
Copy link
Contributor

issue: #832

solution: each time when chain-abci start, check the last app states stored in COL_APP_STATES to force to store historical state data or not.

…re historical state data

solution:
each time when chain-abci start, check the last app states stored in `COL_APP_STATES` to force to store historical state data or not.
Copy link
Contributor

@tomtau tomtau left a comment

Choose a reason for hiding this comment

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

bors r+

@codecov
Copy link

codecov bot commented Jan 7, 2020

Codecov Report

Merging #843 into master will increase coverage by 0.01%.
The diff coverage is 83.33%.

@@            Coverage Diff             @@
##           master     #843      +/-   ##
==========================================
+ Coverage   69.17%   69.18%   +0.01%     
==========================================
  Files         132      132              
  Lines       17184    17190       +6     
==========================================
+ Hits        11887    11893       +6     
  Misses       5297     5297
Impacted Files Coverage Δ
chain-abci/src/app/app_init.rs 68.24% <83.33%> (+0.31%) ⬆️
chain-core/src/common/merkle_tree.rs 98.79% <0%> (+0.24%) ⬆️

bors bot added a commit that referenced this pull request Jan 7, 2020
830: Problem(Fix #786): client keeps re-deriving hardened key r=tomtau a=yihuang

Solution:
- derive hmaced-keys only when create wallet,
  client pass it around.

* Use blake2 of wallet name as salt of argon2.

841: Problem: User may enter same view key multiple times in client-cli r=tomtau a=devashishdxt

Solution: Used `BTreeSet` instead of `Vec`. Fixes #840

843: Problem:(Fix #832) random client failing if node didn't store historical state data r=tomtau a=linfeng-crypto

issue: #832 

solution: each time when chain-abci start, check the last app states stored in `COL_APP_STATES` to force to store historical state data or not.


Co-authored-by: yihuang <yi.codeplayer@gmail.com>
Co-authored-by: Devashish Dixit <devashish@crypto.com>
Co-authored-by: linfeng <linfeng@crypto.com>
@bors
Copy link
Contributor

bors bot commented Jan 7, 2020

@bors bors bot merged commit 558284c into crypto-com:master Jan 7, 2020
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.

3 participants