From 00b44ef0a6859739b88146e632d441cacc2c5708 Mon Sep 17 00:00:00 2001 From: Kresh Date: Thu, 15 Aug 2024 02:14:46 +0400 Subject: [PATCH] minor --- src/contracts/delegator/BaseDelegator.sol | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/contracts/delegator/BaseDelegator.sol b/src/contracts/delegator/BaseDelegator.sol index b26d956d..50da2cb5 100644 --- a/src/contracts/delegator/BaseDelegator.sol +++ b/src/contracts/delegator/BaseDelegator.sol @@ -173,8 +173,7 @@ contract BaseDelegator is Entity, StaticDelegateCallable, AccessControlUpgradeab bytes memory calldata_ = abi.encodeWithSelector( IDelegatorHook.onSlash.selector, subnetwork, operator, slashedAmount, captureTimestamp, data ); - /// @solidity memory-safe-assembly - assembly { + assembly ("memory-safe") { pop(call(250000, hook_, 0, add(calldata_, 0x20), mload(calldata_), 0, 0)) } }