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

Example for delegation with multisig #148

Merged

Conversation

nkongsuwan
Copy link
Contributor

@nkongsuwan nkongsuwan commented Nov 29, 2023

I created an example for delegation with multisig with one delegator and two delegatees.

However, the last step currently does not work. The delegatees do not receive the approval from the delegator. I suspect it has something to do with the payload in the exchange message between delegatee members.

Edit: The problem is related to Issue #145. The script just works if I remove the delegatees' witnesses.

Copy link

codecov bot commented Nov 29, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (858dea2) 81.42% compared to head (623f479) 81.42%.

Additional details and impacted files
@@             Coverage Diff              @@
##           development     #148   +/-   ##
============================================
  Coverage        81.42%   81.42%           
============================================
  Files               46       46           
  Lines             4141     4141           
  Branches          1030     1030           
============================================
  Hits              3372     3372           
  Misses             737      737           
  Partials            32       32           

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

@psteniusubi
Copy link
Contributor

Hi @nkongsuwan
This is probably related #145
Does the script work if you remove the witness config from the delegate?

@nkongsuwan
Copy link
Contributor Author

@psteniusubi Yes, I just removed the witnesses, and the scripts now work!

@pfeairheller
Copy link
Member

@nkongsuwan This script looks good, but can you convert it to run as part of the integration suite?

@nkongsuwan nkongsuwan force-pushed the example-delegation-multisig branch from 895ec4a to 9c7509a Compare December 3, 2023 10:05
@nkongsuwan
Copy link
Contributor Author

@pfeairheller I have modified it so that it is compatible with Jest. However, it still somehow breaks at the OOBI verification.

@nkongsuwan nkongsuwan force-pushed the example-delegation-multisig branch from c02e182 to 9b6336b Compare December 10, 2023 14:21
Signed-off-by: Nuttawut Kongsuwan <[email protected]>
@nkongsuwan nkongsuwan force-pushed the example-delegation-multisig branch from 96bc7c4 to 623f479 Compare December 10, 2023 14:31
@lenkan lenkan merged commit 421232d into WebOfTrust:development Dec 14, 2023
5 checks passed
@nkongsuwan nkongsuwan deleted the example-delegation-multisig branch January 24, 2024 05:11
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.

4 participants