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

simplify time-based logic in tests, and fix requestEnd() #218

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

markspanbroek
Copy link
Member

  • use the allowBlocksWithSameTimestamp hardhat option
  • remove block time gymnastics from marketplace tests
  • fix erroneous implementation of requestEnd() which surfaced because of the the improved tests

Copy link
Collaborator

@emizzle emizzle left a comment

Choose a reason for hiding this comment

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

Much more clear this way, thanks Mark. Also, great to finally get the requestEnd calculation fixed after all this time. It wasn't even on my radar that we forgot to update it. 👍

- use the `allowBlocksWithSameTimestamp` hardhat option
- remove block time gymnastics from marketplace tests
- fix erroneous implementation of requestEnd() which
  surfaced because of the the improved tests
Copy link
Member

@AuHau AuHau left a comment

Choose a reason for hiding this comment

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

Great improvement! Thanks!

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