livepeer / protocol

Livepeer protocol
MIT License
154 stars 45 forks source link

Rb/foundry upgradeability refactoring #556

Closed RiccardoBiosas closed 2 years ago

RiccardoBiosas commented 2 years ago

What does this pull request do? Explain your changes. (required) The current Foundry tests include a lot of repeating logic and code duplication, the PR addresses the issue by moving all the shared interfaces under a single directory and by creating a shared base test contract to encapsulate the governor logic used by other contracts/tests

Specific updates (required)

Refactored all the Foundry tests

How did you test each of these updates (required) Run the the entire hardhat test suite (yarn test) and the foundry tests

Does this pull request close any open issues? Refactor Foundry tests

Checklist: