origin-dollar icon indicating copy to clipboard operation
origin-dollar copied to clipboard

Clean up usage of fixtures and optimize unit tests

Open shahthepro opened this issue 2 years ago • 1 comments

Right now, the contracts use hardhat-deploy plugin for deployments. However, we have been wrongly using ethereum-waffle package's createFixtureLoader() method. This essentially means that right now, none of the unit/fork tests are using fixtures at all. Changing them to use hardhat-deploy packages deployments.createFixture fastens the tests by quite a significant time

shahthepro avatar Mar 07 '23 12:03 shahthepro

I've worked on this today in PR https://github.com/OriginProtocol/origin-dollar/pull/1745

naddison36 avatar Aug 08 '23 09:08 naddison36