Skip to content

Conversation

@AlanVerbner
Copy link

@AlanVerbner AlanVerbner commented Jun 28, 2021

Description

The contracts tests take several minutes to run. This PR tries to tackle a low hanging fruit that helps improving such time.

Proposed solution

In order to speed up the tests I've replaced several contracts deployment executions that were ran before each test by buidlervm evm_snapshot feature (it works on ganache as well).

At least on GH actions is taking ~25m instead of the ~35-40m seen on the main repo, leading to a 30% reduction

@AlanVerbner AlanVerbner force-pushed the chore/improve-contracts-test-speed branch from 6cd2be4 to 8ed1025 Compare June 30, 2021 12:19
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.

1 participant