Skip to content

Commit

Permalink
Lock Manager tests WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
brickpop committed Dec 20, 2024
1 parent 8637272 commit 94e3e4f
Show file tree
Hide file tree
Showing 4 changed files with 265 additions and 34 deletions.
2 changes: 1 addition & 1 deletion src/LockManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ contract LockManager is ILockManager, DaoAuthorizable {

/// @notice Keeps a list of the known active proposal ID's
/// @dev Executed proposals will be actively reported, but defeated proposals will need to be garbage collected over time.
uint256[] knownProposalIds;
uint256[] public knownProposalIds;

/// @notice Emitted when a token holder locks funds into the manager contract
event BalanceLocked(address voter, uint256 amount);
Expand Down
2 changes: 1 addition & 1 deletion src/LockToVotePlugin.sol
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ contract LockToVotePlugin is
/// @dev Requires the `CREATE_PROPOSAL_PERMISSION_ID` permission.
function createProposal(
bytes calldata _metadata,
Action[] calldata _actions,
Action[] memory _actions,
uint64 _startDate,
uint64 _endDate,
bytes memory _data
Expand Down
Loading

0 comments on commit 94e3e4f

Please sign in to comment.