File tree 1 file changed +3
-4
lines changed
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -20,8 +20,7 @@ contract VetoableSlasher is SlasherBase {
20
20
21
21
constructor (
22
22
IAllocationManager _allocationManager ,
23
- ISlashingRegistryCoordinator _slashingRegistryCoordinator ,
24
- address _slasher
23
+ ISlashingRegistryCoordinator _slashingRegistryCoordinator
25
24
) SlasherBase (_allocationManager, _slashingRegistryCoordinator) {}
26
25
27
26
function initialize (address _vetoCommittee , address _slasher ) external virtual initializer {
@@ -30,7 +29,7 @@ contract VetoableSlasher is SlasherBase {
30
29
}
31
30
32
31
function queueSlashingRequest (
33
- IAllocationManager.SlashingParams memory params
32
+ IAllocationManager.SlashingParams calldata params
34
33
) external virtual onlySlasher {
35
34
_queueSlashingRequest (params);
36
35
}
@@ -63,7 +62,7 @@ contract VetoableSlasher is SlasherBase {
63
62
}
64
63
65
64
function _queueSlashingRequest (
66
- IAllocationManager.SlashingParams memory params
65
+ IAllocationManager.SlashingParams calldata params
67
66
) internal virtual {
68
67
uint256 requestId = nextRequestId++ ;
69
68
slashingRequests[requestId] = SlashingRequest ({
You can’t perform that action at this time.
0 commit comments