Skip to content
This repository was archived by the owner on Jun 11, 2025. It is now read-only.

Commit aaf32d5

Browse files
authored
Merge pull request #687 from zama-ai/eventInLibFulfill
feat: add event in DecryptionOracleCaller
2 parents 89c3288 + 85d7231 commit aaf32d5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

decryption/DecryptionOracleCaller.sol

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ abstract contract DecryptionOracleCaller {
4040
mapping(uint256 => address[]) private paramsAddress;
4141
mapping(uint256 => uint256[]) private paramsUint256;
4242

43+
event DecryptionFulfilled(uint256 indexed requestID);
44+
4345
constructor() {}
4446

4547
function addParamsEBool(uint256 requestID, ebool _ebool) internal {
@@ -258,5 +260,6 @@ abstract contract DecryptionOracleCaller {
258260
revert InvalidKMSSignatures();
259261
}
260262
_;
263+
emit DecryptionFulfilled(requestID);
261264
}
262265
}

0 commit comments

Comments
 (0)