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

Commit 33dfef4

Browse files
committed
fix: euint64 test
1 parent 61dfb10 commit 33dfef4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

contracts/examples/TracingSubCalls.sol

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ contract TracingSubCalls {
3030
contract SubContractCreate {
3131
/// @dev Constructor that encrypts the input
3232
/// @param input The value to be encrypted
33-
constructor(uint256 input) {
33+
constructor(uint64 input) {
3434
TFHE.asEuint64(input);
3535
}
3636
}
@@ -39,7 +39,7 @@ contract SubContractCreate {
3939
contract SubContractCreateFail {
4040
/// @dev Constructor that encrypts the input and then fails
4141
/// @param input The value to be encrypted before failing
42-
constructor(uint256 input) {
42+
constructor(uint64 input) {
4343
TFHE.asEuint64(input);
4444
require(false, "This constructor always fails");
4545
}
@@ -63,7 +63,7 @@ contract SubContract {
6363
/// @notice Internal function that fails with a custom input
6464
/// @dev Encrypts the input before failing
6565
/// @param input The value to be encrypted before failing
66-
function fail2(uint input) external {
66+
function fail2(uint64 input) external {
6767
TFHE.asEuint64(input);
6868
require(false, "This function always fails with custom input");
6969
}

0 commit comments

Comments
 (0)