livepeer / protocol

Livepeer protocol
MIT License
154 stars 45 forks source link

Hardhat refactor šŸ‘· #434

Closed kyriediculous closed 3 years ago

kyriediculous commented 3 years ago

What does this pull request do? Explain your changes. (required) Hardhat refactor šŸ‘·

Specific updates (required)

general

unit tests

integration tests

How did you test each of these updates (required) Ran test suite

Does this pull request close any open issues? Fixes #416 Fixes #417 Fixes #441

Checklist:

kyriediculous commented 3 years ago

Yeah there is a failing test indeed, not an assertion but a timing issue due to an afterEach hook and an async function call. They are passing from time to time however so it seems to be related to a timing issue. We're still investigating this. As you can see CI passed as the latest PRs were merged.

This also seems to be specific to running with coverage, when running without coverage these tests pass just fine (at least from my experience so far).