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

feat: adds support for providing a proofDocument with multiple proofs #82

Merged
merged 1 commit into from
Oct 6, 2020

Conversation

kdenhartog
Copy link
Contributor

see issue #79 for additional details

Description

  • Tests for the changes have been added (for bug fixes / features)
  • The commit message(s) follow conventional commits
  • Documentation has been added / updated (for bug fixes / features)
  • Changes follow the contributing document.

Motivation and Context

Does this PR introduce a breaking change?

  • Yes
  • No

Which merge strategy will you use?

  • Squash
  • Rebase (REVIEW COMMITS)

@github-actions
Copy link

github-actions bot commented Oct 1, 2020

Total Coverage: 87.84%

Coverage Report
FileBranchesFuncsLinesUncovered Lines
src
   BbsBlsSignature2020.ts58.49%100%87.50%103, 112, 120, 125, 130, 134, 208, 209, 220, 221, 319, 320, 323, 324, 342, 343, 347, 348, 362, 363, 386, 47, 48, 51, 63, 68, 72, 75, 79, 80, 81, 81, 81, 82
   BbsBlsSignatureProof2020.ts62.96%81.25%85.15%166, 167, 176, 294, 295, 300, 336, 338, 342, 348, 379, 384, 396, 397, 399, 400, 418, 419, 423, 424, 43, 68, 69, 82, 91
   deriveProof.ts50%100%87.50%33, 34, 60, 89, 90
   index.ts100%100%100%
   utilities.ts70%100%96.67%119, 43, 79, 80

@kdenhartog
Copy link
Contributor Author

@tplooker thoughts on best way to add samples here for it? Would you prefer to see it written in a separate file other than index.ts or add to the current sample to show deriving proof of single proofDocuments and multi proofDocuments.

@kdenhartog kdenhartog force-pushed the kdh/issue-79 branch 3 times, most recently from 862f763 to 5f4efc2 Compare October 5, 2020 04:18
@kdenhartog
Copy link
Contributor Author

kdenhartog commented Oct 5, 2020

@tplooker all of the code is working correctly now with two proofs being properly derived. However, the changes to the samples won't work yet until we release the package and consume the new version. Because of this, I opted to move these into a separate PR (#83) which will be merged after the release is done.

@github-actions
Copy link

github-actions bot commented Oct 5, 2020

Total Coverage: 88.26%

Coverage Report
FileBranchesFuncsLinesUncovered Lines
src
   BbsBlsSignature2020.ts58.49%100%87.50%103, 112, 120, 125, 130, 134, 208, 209, 220, 221, 319, 320, 323, 324, 342, 343, 347, 348, 362, 363, 386, 47, 48, 51, 63, 68, 72, 75, 79, 80, 81, 81, 81, 82
   BbsBlsSignatureProof2020.ts62.96%81.25%85.15%166, 167, 176, 294, 295, 300, 336, 338, 342, 348, 379, 384, 396, 397, 399, 400, 418, 419, 423, 424, 43, 68, 69, 82, 91
   deriveProof.ts83.33%100%90.91%123, 124, 33, 34, 83
   index.ts100%100%100%
   utilities.ts70%100%96.67%119, 43, 79, 80

@github-actions
Copy link

github-actions bot commented Oct 5, 2020

Total Coverage: 88.26%

Coverage Report
FileBranchesFuncsLinesUncovered Lines
src
   BbsBlsSignature2020.ts58.49%100%87.50%103, 112, 120, 125, 130, 134, 208, 209, 220, 221, 319, 320, 323, 324, 342, 343, 347, 348, 362, 363, 386, 47, 48, 51, 63, 68, 72, 75, 79, 80, 81, 81, 81, 82
   BbsBlsSignatureProof2020.ts62.96%81.25%85.15%166, 167, 176, 294, 295, 300, 336, 338, 342, 348, 379, 384, 396, 397, 399, 400, 418, 419, 423, 424, 43, 68, 69, 82, 91
   deriveProof.ts83.33%100%90.91%123, 124, 33, 34, 83
   index.ts100%100%100%
   utilities.ts70%100%96.67%119, 43, 79, 80

@github-actions
Copy link

github-actions bot commented Oct 5, 2020

Total Coverage: 88.26%

Coverage Report
FileBranchesFuncsLinesUncovered Lines
src
   BbsBlsSignature2020.ts58.49%100%87.50%103, 112, 120, 125, 130, 134, 208, 209, 220, 221, 319, 320, 323, 324, 342, 343, 347, 348, 362, 363, 386, 47, 48, 51, 63, 68, 72, 75, 79, 80, 81, 81, 81, 82
   BbsBlsSignatureProof2020.ts62.96%81.25%85.15%166, 167, 176, 294, 295, 300, 336, 338, 342, 348, 379, 384, 396, 397, 399, 400, 418, 419, 423, 424, 43, 68, 69, 82, 91
   deriveProof.ts83.33%100%90.91%123, 124, 33, 34, 83
   index.ts100%100%100%
   utilities.ts70%100%96.67%119, 43, 79, 80

@kdenhartog kdenhartog force-pushed the kdh/issue-79 branch 2 times, most recently from d00f686 to f402494 Compare October 5, 2020 23:09
@github-actions
Copy link

github-actions bot commented Oct 5, 2020

Total Coverage: 88.26%

Coverage Report
FileBranchesFuncsLinesUncovered Lines
src
   BbsBlsSignature2020.ts58.49%100%87.50%103, 112, 120, 125, 130, 134, 208, 209, 220, 221, 319, 320, 323, 324, 342, 343, 347, 348, 362, 363, 386, 47, 48, 51, 63, 68, 72, 75, 79, 80, 81, 81, 81, 82
   BbsBlsSignatureProof2020.ts62.96%81.25%85.15%166, 167, 176, 294, 295, 300, 336, 338, 342, 348, 379, 384, 396, 397, 399, 400, 418, 419, 423, 424, 43, 68, 69, 82, 91
   deriveProof.ts83.33%100%90.91%123, 124, 33, 34, 83
   index.ts100%100%100%
   utilities.ts70%100%96.67%119, 43, 79, 80

@github-actions
Copy link

github-actions bot commented Oct 5, 2020

Total Coverage: 88.26%

Coverage Report
FileBranchesFuncsLinesUncovered Lines
src
   BbsBlsSignature2020.ts58.49%100%87.50%103, 112, 120, 125, 130, 134, 208, 209, 220, 221, 319, 320, 323, 324, 342, 343, 347, 348, 362, 363, 386, 47, 48, 51, 63, 68, 72, 75, 79, 80, 81, 81, 81, 82
   BbsBlsSignatureProof2020.ts62.96%81.25%85.15%166, 167, 176, 294, 295, 300, 336, 338, 342, 348, 379, 384, 396, 397, 399, 400, 418, 419, 423, 424, 43, 68, 69, 82, 91
   deriveProof.ts83.33%100%90.91%123, 124, 33, 34, 83
   index.ts100%100%100%
   utilities.ts70%100%96.67%119, 43, 79, 80

@tplooker tplooker merged commit 1bb9a17 into master Oct 6, 2020
@tplooker tplooker deleted the kdh/issue-79 branch October 6, 2020 02:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants