Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(core-state): clone wallet on mempool wallet-repository #3998

Merged
merged 3 commits into from
Sep 7, 2020

Conversation

sebastijankuzner
Copy link
Contributor

@sebastijankuzner sebastijankuzner commented Sep 3, 2020

Summary

Extend wallet-index with walletKeys method. Clone wallet by walletKeys insted using index. This approach copy exactly stored keys and copy wallet from indexes even if autoIndex is set to false.

Checklist

  • Test
  • Ready to be merged

@codecov
Copy link

codecov bot commented Sep 3, 2020

Codecov Report

Merging #3998 into develop will decrease coverage by 0.00%.
The diff coverage is 84.61%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #3998      +/-   ##
===========================================
- Coverage    98.49%   98.49%   -0.01%     
===========================================
  Files          631      631              
  Lines        14576    14583       +7     
  Branches      1731     1732       +1     
===========================================
+ Hits         14357    14363       +6     
- Misses         128      129       +1     
  Partials        91       91              
Flag Coverage Δ
#functional 6.80% <0.00%> (-0.01%) ⬇️
#integration 9.88% <0.00%> (-0.01%) ⬇️
#unit 96.66% <84.61%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...ate/src/wallets/wallet-repository-copy-on-write.ts 91.30% <80.00%> (-3.44%) ⬇️
packages/core-state/src/wallets/wallet-index.ts 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3fef590...41ac4fd. Read the comment docs.

@air1one air1one merged commit 140b860 into develop Sep 7, 2020
@ghost ghost deleted the fix/core-state/clone-wallet branch September 7, 2020 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants