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

Multisig inception utils for testing #212

Merged

Conversation

lenkan
Copy link
Collaborator

@lenkan lenkan commented Feb 9, 2024

When I was creating the reproduction script for WebOfTrust/keria#189 I extract a couple of utility functions for multisig inceptions. I thought it might be useful to include them in the multisig tests to make it a bit easier to comprehend the tests.

In the future, I believe the "accept" type of function for multisig operations would be useful to include in the exposed library.

Copy link

codecov bot commented Feb 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (5292b24) 82.86% compared to head (94fa319) 82.86%.

Additional details and impacted files
@@             Coverage Diff              @@
##           development     #212   +/-   ##
============================================
  Coverage        82.86%   82.86%           
============================================
  Files               47       47           
  Lines             4190     4190           
  Branches          1044     1044           
============================================
  Hits              3472     3472           
  Misses             689      689           
  Partials            29       29           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@lenkan lenkan force-pushed the multisig-inception-utils branch from 5ff1ce9 to 5ecde32 Compare February 11, 2024 09:22
@lenkan lenkan force-pushed the multisig-inception-utils branch from 5ecde32 to 94fa319 Compare February 11, 2024 09:40
@lenkan
Copy link
Collaborator Author

lenkan commented Feb 13, 2024

Would love some feedback if people think this abstraction is good. In that case I could add some more "startMultisigXXX"/"acceptMultisigXXX" functions and refactor the tests to make use of them. Then we can consider moving them into the library.

@pfeairheller pfeairheller merged commit 7e40b4b into WebOfTrust:development Feb 13, 2024
6 checks passed
@lenkan lenkan deleted the multisig-inception-utils branch April 13, 2024 08:55
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