Skip to content

Commit

Permalink
fix: prop_profileOwnerCanAlwaysCreateAPool test
Browse files Browse the repository at this point in the history
Signed-off-by: 0xRaccoon <[email protected]>
  • Loading branch information
0xRaccoon committed Oct 31, 2024
1 parent f6465f8 commit 98964fc
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions test/invariant/fuzz/properties/PropertiesAllo.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -122,13 +122,7 @@ contract PropertiesAllo is HandlersParent {

///@custom:property-id 4
///@custom:property profile owner can always create a pool
function prop_profileOwnerCanAlwaysCreateAPool(uint256 _msgValue, uint256 _seedPoolStrategy) public {
_seedPoolStrategy = bound(
_seedPoolStrategy,
uint256(type(PoolStrategies).min) + 1, // Avoid None elt
uint256(type(PoolStrategies).max)
);

function prop_profileOwnerCanAlwaysCreateAPool(uint256 _msgValue) public {
IRegistry.Profile memory _profile = registry.getProfileByAnchor(_ghost_anchorOf[msg.sender]);

bool _isOwnerOrMember = registry.isOwnerOrMemberOfProfile(_profile.id, msg.sender);
Expand All @@ -141,7 +135,7 @@ contract PropertiesAllo is HandlersParent {
allo.createPool,
(
_profile.id,
_strategyImplementations[PoolStrategies(_seedPoolStrategy)],
_strategyImplementations[PoolStrategies.DirectAllocation],
bytes(""),
address(token),
0,
Expand Down

0 comments on commit 98964fc

Please sign in to comment.