Skip to content

Commit b42ae69

Browse files
committed
add unsafe-allow immutable
1 parent 9e3f4d6 commit b42ae69

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

contracts/governance/extensions/GovernorVotes.sol

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import {SafeCast} from "../../utils/math/SafeCast.sol";
1212
* @dev Extension of {Governor} for voting weight extraction from an {ERC20Votes} token, or since v4.5 an {ERC721Votes} token.
1313
*/
1414
abstract contract GovernorVotes is Governor {
15+
/// @custom:oz-upgrades-unsafe-allow state-variable-immutable
1516
IERC5805 public immutable token;
1617

1718
constructor(IVotes tokenAddress) {

0 commit comments

Comments
 (0)