Skip to content

Commit 9f6740d

Browse files
committed
chore: fix build
1 parent 70db4a5 commit 9f6740d

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/contracts/core/SlashEscrowFactory.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ contract SlashEscrowFactory is Initializable, SlashEscrowFactoryStorage, Ownable
192192
OperatorSet calldata operatorSet,
193193
uint256 slashId,
194194
address redistributionRecipient
195-
) internal {
195+
) internal view {
196196
// If the redistribution recipient is not the default burn address...
197197
if (redistributionRecipient != DEFAULT_BURN_ADDRESS) {
198198
require(msg.sender == redistributionRecipient, OnlyRedistributionRecipient());

src/test/mocks/StrategyManagerMock.sol

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ pragma solidity ^0.8.27;
44
import "forge-std/Test.sol";
55

66
import "../../contracts/interfaces/IDelegationManager.sol";
7+
import "../../contracts/interfaces/IStrategy.sol";
78

89
contract StrategyManagerMock is Test {
910
IDelegationManager public delegation;
@@ -109,7 +110,9 @@ contract StrategyManagerMock is Test {
109110
return (existingShares, addedShares);
110111
}
111112

112-
function clearBurnOrRedistributableShares(IStrategy strategy, uint sharesToBurn) external {}
113+
function clearBurnOrRedistributableShares(OperatorSet calldata operatorSet, uint slashId) external {}
114+
115+
function clearBurnOrRedistributableSharesByStrategy(OperatorSet calldata operatorSet, uint slashId, IStrategy strategy) external {}
113116

114117
function getBurnOrRedistributableCount(OperatorSet calldata operatorSet, uint slashId) external view returns (uint) {
115118
return _burnOrRedistributableCount;

0 commit comments

Comments
 (0)