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

refactor: updating tests to use make block now #875

Merged
merged 1 commit into from
Aug 17, 2022
Merged

Conversation

RogerTaule
Copy link
Contributor

@RogerTaule RogerTaule commented Aug 16, 2022

This PR solves #803 and implements makeBlockNow function for the circuits tests.
The ganache test run time is reduced by approximately a 40%.
In addition, tests are can be run now independently (so we can use .skip to only test specific tests). However, I'd strongly suggest modifying even more the tests so that the commitments are deleted afterEach test. This would completely decouple each test and will help to test new circuit features more easily.

@RogerTaule RogerTaule added the DNM Do not merge label Aug 16, 2022
@RogerTaule RogerTaule removed the DNM Do not merge label Aug 16, 2022
@RogerTaule RogerTaule marked this pull request as ready for review August 16, 2022 09:33
Copy link
Contributor

@signorecello signorecello left a comment

Choose a reason for hiding this comment

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

Love this. Thank you so much!

@druiz0992 druiz0992 merged commit 8487eb2 into master Aug 17, 2022
@druiz0992 druiz0992 deleted the tests-update branch August 17, 2022 15:18
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.

3 participants