From da0c0277cf231a51f4edf8a4ae4b4d0a3547fc0c Mon Sep 17 00:00:00 2001 From: Burak Benligiray Date: Wed, 14 Aug 2024 16:01:54 +0300 Subject: [PATCH] Emit event in the external OEV update --- .../api3-server-v1/Api3ServerV1OevExtension.sol | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/contracts/api3-server-v1/Api3ServerV1OevExtension.sol b/contracts/api3-server-v1/Api3ServerV1OevExtension.sol index 6e36a40..8732512 100644 --- a/contracts/api3-server-v1/Api3ServerV1OevExtension.sol +++ b/contracts/api3-server-v1/Api3ServerV1OevExtension.sol @@ -151,6 +151,12 @@ contract Api3ServerV1OevExtension is updateAllowance.endTimestamp, signedData ); + emit UpdatedDappOevDataFeed( + dappId, + baseDataFeedId, + updatedValue, + updatedTimestamp + ); } function simulateDappOevDataFeedUpdate( @@ -327,11 +333,5 @@ contract Api3ServerV1OevExtension is timestamp: updatedTimestamp }); } - emit UpdatedDappOevDataFeed( - dappId, - baseDataFeedId, - updatedValue, - updatedTimestamp - ); } }