From ebbad1a3af2e8aa4a7e0a0d851132a7048ee1bc4 Mon Sep 17 00:00:00 2001 From: Azat Serikov Date: Fri, 29 Nov 2024 17:51:14 +0500 Subject: [PATCH] fix: disable warning for unused report values --- contracts/0.8.25/vaults/Delegation.sol | 1 + 1 file changed, 1 insertion(+) diff --git a/contracts/0.8.25/vaults/Delegation.sol b/contracts/0.8.25/vaults/Delegation.sol index 466a74a5a..8a18f8f32 100644 --- a/contracts/0.8.25/vaults/Delegation.sol +++ b/contracts/0.8.25/vaults/Delegation.sol @@ -370,6 +370,7 @@ contract Delegation is Dashboard, IReportReceiver { * @param _inOutDelta The net inflow or outflow since the last report. * @param _locked The amount of funds locked in the vault. */ + // solhint-disable-next-line no-unused-vars function onReport(uint256 _valuation, int256 _inOutDelta, uint256 _locked) external { if (msg.sender != address(stakingVault)) revert OnlyStVaultCanCallOnReportHook();