diff --git a/lib/forge-std b/lib/forge-std index 5bafa16..da591f5 160000 --- a/lib/forge-std +++ b/lib/forge-std @@ -1 +1 @@ -Subproject commit 5bafa16b4a6aa67c503d96294be846a22a6f6efb +Subproject commit da591f56d8884c5824c0c1b3103fbcfd81123c4c diff --git a/lib/openzeppelin-contracts b/lib/openzeppelin-contracts index fd81a96..dc44c9f 160000 --- a/lib/openzeppelin-contracts +++ b/lib/openzeppelin-contracts @@ -1 +1 @@ -Subproject commit fd81a96f01cc42ef1c9a5399364968d0e07e9e90 +Subproject commit dc44c9f1a4c3b10af99492eed84f83ed244203f6 diff --git a/lib/solmate b/lib/solmate index 8d910d8..c93f771 160000 --- a/lib/solmate +++ b/lib/solmate @@ -1 +1 @@ -Subproject commit 8d910d876f51c3b2585c9109409d601f600e68e1 +Subproject commit c93f7716c9909175d45f6ef80a34a650e2d24e56 diff --git a/test/FractionalPool.t.sol b/test/FractionalPool.t.sol index 8ce0afa..06dcc71 100644 --- a/test/FractionalPool.t.sol +++ b/test/FractionalPool.t.sol @@ -101,7 +101,7 @@ contract FractionalPoolTest is Test { } contract Deployment is FractionalPoolTest { - function test_FractionalPoolDeployment() public { + function test_FractionalPoolDeployment() public view { assertEq(token.name(), "Governance Token"); assertEq(token.symbol(), "GOV"); diff --git a/test/GovernorCountingFractional.t.sol b/test/GovernorCountingFractional.t.sol index cd3f029..3a092ca 100644 --- a/test/GovernorCountingFractional.t.sol +++ b/test/GovernorCountingFractional.t.sol @@ -185,7 +185,7 @@ contract GovernorCountingFractionalTest is Test { returns (address) { vm.assume(_addr > address(0)); - assumeNoPrecompiles(_addr); + assumeNotPrecompile(_addr); vm.label(_addr, _name); return _addr; } @@ -195,13 +195,13 @@ contract GovernorCountingFractionalTest is Test { nextUser = keccak256(abi.encodePacked(_addr)); } - function _randomSupportType(uint256 salt) public view returns (uint8) { + function _randomSupportType(uint256 salt) public pure returns (uint8) { return uint8(bound(salt, 0, uint8(GovernorCompatibilityBravo.VoteType.Abstain))); } function _randomVoteSplit(FractionalVoteSplit memory _voteSplit) public - view + pure returns (FractionalVoteSplit memory) { _voteSplit.percentFor = bound(_voteSplit.percentFor, 0, 1e18); @@ -350,7 +350,7 @@ contract GovernorCountingFractionalTest is Test { /// END HELPER FUNCTIONS /// -------------------- - function testFuzz_Deployment(uint256 _blockNumber) public { + function testFuzz_Deployment(uint256 _blockNumber) public view { assertEq(governor.name(), "Governor"); assertEq(address(governor.token()), address(token)); assertEq(governor.votingDelay(), 4);