OriginProtocol / OriginProtocol/origin-dollar

Clean up usage of fixtures and optimize unit tests

Open
#1,259 1 comment 0 reactions 1 assignee View on GitHub

@naddison36 is already working on this.

Since Aug 8, 2023.

contracts dependencies devops enhancement good first issue
Dominant language
Solidity
Stars
152
Forks
115
Avg merge
3d 20h
Merged PRs (30d)
17

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.