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

Feat: added tests for signature checker functions #49

Merged

Conversation

etherhood
Copy link
Contributor

While writing tests, came across incorrect implementation of validate_signature, i have fixed it.

For testing, it was crucial to add key_pair in Mocks struct to generate signature for orders, so i have added it as well to Mock struct, but it required to remove Serde attribute, as we were not serializing and deserializing it anywhere. If it is needed I can add it and find some other way to use key_pair across tests

@0xandee
Copy link
Collaborator

0xandee commented Jan 21, 2024

Hi @psychiller do you mind have a check at the failed CI, really appreciate it!

@etherhood
Copy link
Contributor Author

Fixed marketplace tests as well

@0xandee 0xandee merged commit dc93f5a into Flex-NFT-Marketplace:main Jan 23, 2024
2 checks passed
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