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(spec): SecretKey.sign #99

Closed

Conversation

matthewkeil
Copy link
Member

This PR is related to #88 and covers spec testing of the sign method on SecretKey instances.

Inclusions

  • Spec test for sign

How to test

NOTE: to build and test copy the blst folder into rebuild/deps/blst. This will go away when we merge but for now node-gyp gets heartburn when building deps in folder above the binding.gyp file

Unit tests are provided and should have 100% coverage. If you see an edge that may not be covered please feel free to bring it up and I will add the test case

cd rebuild
yarn
yarn build
yarn test:spec

@matthewkeil matthewkeil requested a review from a team as a code owner May 15, 2023 01:27
@CLAassistant
Copy link

CLAassistant commented May 15, 2023

CLA assistant check
All committers have signed the CLA.

@matthewkeil matthewkeil mentioned this pull request May 15, 2023
34 tasks
@@ -68,6 +68,7 @@ typedef enum
class BlstBase
{
public:
bool IsZeroBytes(const uint8_t *data, size_t start_byte, size_t byte_length);
Copy link
Contributor

Choose a reason for hiding this comment

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

what is the reason behind the signature change?

@matthewkeil
Copy link
Member Author

closed with preference for macros instead of class based constructs. see rebuild branch

@matthewkeil matthewkeil closed this Jan 5, 2024
@matthewkeil matthewkeil deleted the mkeil/rebuild-sign-spec branch April 22, 2024 14:56
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.

None yet

3 participants