Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
clauBv23 committed Oct 25, 2024
1 parent 9ec0fd2 commit 54fe140
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion packages/contracts/src/MajorityVotingBase.sol
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ abstract contract MajorityVotingBase is
VotingSettings votingSettings;
}

// solhint-disable-next-line named-parameters-mapping
mapping(uint256 => SettingsSnapshot) private settings;
uint16 private latestSettingIdx; // Index from `stages` storage mapping

Expand Down Expand Up @@ -627,11 +628,17 @@ abstract contract MajorityVotingBase is
// todo
function getUint64Parts(
uint256 input
) public pure returns (uint64 part1, uint64 part2, uint64 part3, uint64 part4) {
)
public
pure
returns (uint64 part1, uint64 part2, uint64 part3, uint64 part4)
// solhint-disable-next-line no-empty-blocks
{
// return bitmasked values
}

// todo
// solhint-disable-next-line no-empty-blocks
function getSetting(uint64 snapshotBlock) public view returns (VotingSettings memory settings) {
// binary search for the settings to get the right one
// maybe no need binary search, just go from the end of the list
Expand Down

0 comments on commit 54fe140

Please sign in to comment.