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

refactor: always use crypto identities to work with keys and addresses #2443

Merged
merged 5 commits into from
Apr 18, 2019

Conversation

faustbrian
Copy link
Contributor

Proposed changes

Always use identities instead of the underlying crypto.get* methods. Will make the crypto.get* methods private/protected in another bigger PR that is coming the next days.

Types of changes

  • Refactoring (improve a current implementation without adding a new feature or fixing a bug)

Checklist

  • I have read the CONTRIBUTING documentation
  • Lint and unit tests pass locally with my changes

@ghost
Copy link

ghost commented Apr 18, 2019

The ci/circleci: test-node11-integration-0 job is failing as of 7a8df7ddf8b092289afdd7acc08e8a76a7c21ace. Please review the logs for more information.

Once you've pushed the fixes, the build will automatically re-run. Thanks!

@codecov-io
Copy link

Codecov Report

Merging #2443 into 2.4 will decrease coverage by 0.02%.
The diff coverage is 89.28%.

Impacted file tree graph

@@            Coverage Diff             @@
##              2.4    #2443      +/-   ##
==========================================
- Coverage   68.26%   68.23%   -0.03%     
==========================================
  Files         387      387              
  Lines        8470     8466       -4     
  Branches      394      434      +40     
==========================================
- Hits         5782     5777       -5     
+ Misses       2640     2639       -1     
- Partials       48       50       +2
Impacted Files Coverage Δ
packages/core/src/commands/config/forger/bip38.ts 0% <0%> (ø) ⬆️
packages/core-json-rpc/src/server/utils.ts 100% <100%> (ø) ⬆️
...ages/core-transactions/src/handlers/transaction.ts 75.86% <100%> (-0.81%) ⬇️
packages/crypto/src/crypto/message.ts 100% <100%> (ø) ⬆️
...ges/core-tester-cli/src/commands/debug/identity.ts 100% <100%> (ø) ⬆️
packages/crypto/src/crypto/bip38.ts 100% <100%> (ø) ⬆️
...sactions/builders/transactions/second-signature.ts 100% <100%> (ø) ⬆️
.../transactions/builders/transactions/transaction.ts 100% <100%> (ø) ⬆️
packages/core-forger/src/delegate.ts 100% <100%> (ø) ⬆️
packages/core-json-rpc/src/server/modules.ts 96.72% <100%> (ø) ⬆️
... and 8 more

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 a37cff1...d9349fe. Read the comment docs.

@faustbrian faustbrian merged commit 4d39748 into 2.4 Apr 18, 2019
@ghost ghost deleted the refactor/identities branch April 18, 2019 07:05
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.

2 participants