Skip to content

Commit

Permalink
Merge pull request #242 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 1a2eb8f + 9b05045 commit 5a70c19
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions contracts/decryptionOracleLib/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);

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

0 comments on commit 5a70c19

Please sign in to comment.