Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions host-contracts/examples/TestAsyncDecrypt.sol
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ contract TestAsyncDecrypt {

/// @dev Decrypted state variables
bool public yBool;
uint8 public yUint4;
uint8 public yUint8;
uint16 public yUint16;
uint32 public yUint32;
Expand Down Expand Up @@ -116,15 +115,6 @@ contract TestAsyncDecrypt {
return yBool;
}

/// @notice Callback function for 4-bit unsigned integer decryption
/// @param decryptedInput The decrypted 4-bit unsigned integer
/// @return The decrypted value
function callbackUint4(uint256 requestID, uint8 decryptedInput, bytes[] memory signatures) public returns (uint8) {
FHE.checkSignatures(requestID, signatures);
yUint4 = decryptedInput;
return decryptedInput;
}

/// @notice Request decryption of an 8-bit unsigned integer
function requestUint8() public {
bytes32[] memory cts = new bytes32[](1);
Expand Down
10 changes: 0 additions & 10 deletions library-solidity/examples/TestAsyncDecrypt.sol
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ contract TestAsyncDecrypt {

/// @dev Decrypted state variables
bool public yBool;
uint8 public yUint4;
uint8 public yUint8;
uint16 public yUint16;
uint32 public yUint32;
Expand Down Expand Up @@ -116,15 +115,6 @@ contract TestAsyncDecrypt {
return yBool;
}

/// @notice Callback function for 4-bit unsigned integer decryption
/// @param decryptedInput The decrypted 4-bit unsigned integer
/// @return The decrypted value
function callbackUint4(uint256 requestID, uint8 decryptedInput, bytes[] memory signatures) public returns (uint8) {
FHE.checkSignatures(requestID, signatures);
yUint4 = decryptedInput;
return decryptedInput;
}

/// @notice Request decryption of an 8-bit unsigned integer
function requestUint8() public {
bytes32[] memory cts = new bytes32[](1);
Expand Down
1 change: 0 additions & 1 deletion test-suite/e2e/contracts/TestAsyncDecrypt.sol
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ contract TestAsyncDecrypt is E2EFHEVMConfig {

/// @dev Decrypted state variables
bool public yBool;
uint8 public yUint4;
uint8 public yUint8;
uint16 public yUint16;
uint32 public yUint32;
Expand Down