Add a public Governor.cancel function (#3983)

This commit is contained in:
Hadrien Croubois
2023-01-26 20:46:11 +01:00
committed by GitHub
parent 0320a718e8
commit 5e28952cbd
12 changed files with 157 additions and 63 deletions

View File

@ -54,6 +54,10 @@ contract MyGovernor is
return super.propose(targets, values, calldatas, description);
}
function cancel(uint256 proposalId) public override(Governor, GovernorCompatibilityBravo, IGovernor) {
super.cancel(proposalId);
}
function _execute(
uint256 proposalId,
address[] memory targets,