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

Test administrator features with multisig #984

Merged
merged 19 commits into from
Sep 28, 2022
Merged

Conversation

daveroga
Copy link
Contributor

What does this implement/fix? Explain your changes.

Fix: #963 . Test multisig functionality.
Fix some issue with the nonce of the multisig in nightfall-administrator.

Test with npm run test-administrator

Does this close any currently open issues?

Yes #963.

Any relevant logs, error output, etc?

Any other comments?

@daveroga daveroga self-assigned this Sep 22, 2022
Copy link
Contributor

@druiz0992 druiz0992 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The abis/json included in the tests may require to update them from time to time if changes in contracts. Can’t you generate the json from latest version of contracts every time tests are launched?

@daveroga
Copy link
Contributor Author

The abis/json included in the tests may require to update them from time to time if changes in contracts. Can’t you generate the json from latest version of contracts every time tests are launched?

Yes. Changed this with the getContractAbi and the contract-abi endpoints developed in a previous PR.

@daveroga daveroga marked this pull request as ready for review September 23, 2022 23:12
@druiz0992 druiz0992 added the One more approval needed One reviewer has approved this PR but another is needed label Sep 24, 2022
Copy link
Contributor

@israelboudoux israelboudoux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @daveroga, I have a question: are the files multisig.mjs and nightfall-multisig.mjs supposed to be under the test folder?

@daveroga daveroga merged commit 4bb23ac into master Sep 28, 2022
@daveroga
Copy link
Contributor Author

Hey @daveroga, I have a question: are the files multisig.mjs and nightfall-multisig.mjs supposed to be under the test folder?

This will be moved to the SDK to the role of administrator. We have to decide when to do it. Then we will refactor this and nightfall-administrator with the SDK

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
One more approval needed One reviewer has approved this PR but another is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Test multisig functionality
4 participants