Skip to content

Commit

Permalink
Minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
brickpop committed May 15, 2024
1 parent f1abcd7 commit bbcd8c9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
4 changes: 0 additions & 4 deletions src/OptimisticTokenVotingPlugin.sol
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,6 @@ contract OptimisticTokenVotingPlugin is
bytes32 public constant UPDATE_OPTIMISTIC_GOVERNANCE_SETTINGS_PERMISSION_ID =
keccak256("UPDATE_OPTIMISTIC_GOVERNANCE_SETTINGS_PERMISSION");

/// @notice The [ERC-165](https://eips.ethereum.org/EIPS/eip-165) interface ID of the contract.
bytes4 public constant OPTIMISTIC_GOVERNANCE_INTERFACE_ID =
this.initialize.selector ^ this.getProposal.selector ^ this.updateOptimisticGovernanceSettings.selector;

/// @notice An [OpenZeppelin `Votes`](https://docs.openzeppelin.com/contracts/4.x/api/governance#Votes) compatible contract referencing the token being used for voting.
IVotesUpgradeable public votingToken;

Expand Down
2 changes: 0 additions & 2 deletions test/OptimisticTokenVotingPlugin.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,6 @@ contract OptimisticTokenVotingPluginTest is AragonTest {
|| _randomInterfaceId == type(IOptimisticTokenVoting).interfaceId
|| _randomInterfaceId == type(IMembership).interfaceId
) {
supported = plugin.supportsInterface(_randomInterfaceId);
assertEq(supported, true, "Interface should be supported");
return;
}

Expand Down

0 comments on commit bbcd8c9

Please sign in to comment.