Skip to content

Commit f6a10a2

Browse files
committed
fix: funny syntax
1 parent 89d477b commit f6a10a2

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/contracts/core/AllocationManager.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ contract AllocationManager is
227227
// 6. Emit an event for the updated allocation
228228
emit AllocationUpdated(
229229
operator,
230-
OperatorSetLib.decode(operatorSet.key()),
230+
operatorSet,
231231
strategy,
232232
_addInt128(allocation.currentMagnitude, allocation.pendingDiff),
233233
allocation.effectBlock

src/contracts/libraries/OperatorSetLib.sol

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
// SPDX-License-Identifier: BUSL-1.1
22
pragma solidity ^0.8.27;
33

4+
using OperatorSetLib for OperatorSet global;
5+
46
/**
57
* @notice An operator set identified by the AVS address and an identifier
68
* @param avs The address of the AVS this operator set belongs to

0 commit comments

Comments
 (0)