typechecker error and skipped require bug

This commit is contained in:
Nick Armstrong
2022-03-30 17:12:30 -07:00
parent 4c74b2951d
commit 92f07bae1b
4 changed files with 137 additions and 29 deletions

View File

@ -19,6 +19,10 @@ contract ERC20VotesHarness is ERC20Votes {
_burn(account, amount);
}
function unsafeNumCheckpoints(address account) public view returns (uint256) {
return _checkpoints[account].length;
}
function delegateBySig(
address delegatee,
uint256 nonce,