This PR updates the tests to get near 100% test coverage
All code lines are covered except for line 70 in VotesERC20, which is the _burn function. This function is internal and so cannot be called from a test, and is not called from any exposed external or public function. This function declaration is required to override the ERC20Upgradeable and ERC20VotesUpgradeable declarations of the _burn function
Description
This PR updates the tests to get near 100% test coverage
All code lines are covered except for line 70 in
VotesERC20
, which is the_burn
function. This function is internal and so cannot be called from a test, and is not called from any exposed external or public function. This function declaration is required to override theERC20Upgradeable
andERC20VotesUpgradeable
declarations of the_burn
functionNotes
Issue / Notion doc (if applicable)
https://github.com/decent-dao/fractal-contracts/issues/34
Testing
Run
npx hardhat coverage
Screenshots (if applicable)