Skip to content

Commit

Permalink
Merge pull request #687 from zama-ai/eventInLibFulfill
Browse files Browse the repository at this point in the history
feat: add event in DecryptionOracleCaller
  • Loading branch information
jatZama authored Jan 10, 2025
2 parents 89c3288 + 85d7231 commit aaf32d5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions decryption/DecryptionOracleCaller.sol
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ abstract contract DecryptionOracleCaller {
mapping(uint256 => address[]) private paramsAddress;
mapping(uint256 => uint256[]) private paramsUint256;

event DecryptionFulfilled(uint256 indexed requestID);

constructor() {}

function addParamsEBool(uint256 requestID, ebool _ebool) internal {
Expand Down Expand Up @@ -258,5 +260,6 @@ abstract contract DecryptionOracleCaller {
revert InvalidKMSSignatures();
}
_;
emit DecryptionFulfilled(requestID);
}
}

0 comments on commit aaf32d5

Please sign in to comment.