Skip to content

Commit

Permalink
fix: swap peram order _getStorage_OperatorAuth
Browse files Browse the repository at this point in the history
  • Loading branch information
MoonBoi9001 committed Oct 4, 2024
1 parent edc5c3e commit 26ab704
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,7 @@ abstract contract HorizonStakingSharedTest is GraphBaseTest {
// after
bool afterOperatorAllowed = _getStorage_OperatorAuth(msgSender, operator, verifier, legacy);
bool afterOperatorAllowedGetter = staking.isAuthorized(msgSender, operator, verifier);
assertEq(afterOperatorAllowed, afterOperatorAllowedGetter);
assertEq(afterOperatorAllowed, afterOperatorAllowedGetter, "afterOperatorAllowedGetter FAIL");

// assert
assertEq(afterOperatorAllowed, allow);
Expand Down Expand Up @@ -1699,8 +1699,8 @@ abstract contract HorizonStakingSharedTest is GraphBaseTest {
slot = uint256(
keccak256(
abi.encode(
operator,
keccak256(abi.encode(verifier, keccak256(abi.encode(serviceProvider, slotNumber))))
verifier,
keccak256(abi.encode(operator, keccak256(abi.encode(serviceProvider, slotNumber))))
)
)
);
Expand Down

0 comments on commit 26ab704

Please sign in to comment.