Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
0xClandestine committed Oct 30, 2024
1 parent 2c15f63 commit 7ea92de
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/test/unit/AVSDirectoryUnit.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,8 @@ contract AVSDirectoryUnitTests_registerOperatorToOperatorSet is AVSDirectoryUnit
operatorPk = bound(operatorPk, 1, MAX_PRIVATE_KEY);
expiry = bound(expiry, 1, type(uint256).max);

cheats.assume(salt != keccak256(""));

cheats.warp(0);

_createOperatorSet(operatorSetId);
Expand All @@ -338,6 +340,7 @@ contract AVSDirectoryUnitTests_registerOperatorToOperatorSet is AVSDirectoryUnit
oids[0] = operatorSetId;

address operator = cheats.addr(operatorPk);

(uint8 v, bytes32 r, bytes32 s) = cheats.sign(
operatorPk, avsDirectory.calculateOperatorSetRegistrationDigestHash(address(this), oids, salt, expiry)
);
Expand Down

0 comments on commit 7ea92de

Please sign in to comment.