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

Commit c90044b

Browse files
authored
Merge pull request #654 from zama-ai/allowTransientEbytes
Allow transient ebytes
2 parents ad6bfac + 7a312e8 commit c90044b

File tree

4 files changed

+19
-3
lines changed

4 files changed

+19
-3
lines changed

codegen/templates.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -877,6 +877,14 @@ function tfheAclMethods(supportedBits: number[]): string {
877877
Impl.allowTransient(eaddress.unwrap(value), account);
878878
}
879879
880+
function allowTransient(ebytes64 value, address account) internal {
881+
Impl.allowTransient(ebytes64.unwrap(value), account);
882+
}
883+
884+
function allowTransient(ebytes128 value, address account) internal {
885+
Impl.allowTransient(ebytes128.unwrap(value), account);
886+
}
887+
880888
function allowTransient(ebytes256 value, address account) internal {
881889
Impl.allowTransient(ebytes256.unwrap(value), account);
882890
}

lib/TFHE.sol

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11033,6 +11033,14 @@ library TFHE {
1103311033
Impl.allowTransient(eaddress.unwrap(value), account);
1103411034
}
1103511035

11036+
function allowTransient(ebytes64 value, address account) internal {
11037+
Impl.allowTransient(ebytes64.unwrap(value), account);
11038+
}
11039+
11040+
function allowTransient(ebytes128 value, address account) internal {
11041+
Impl.allowTransient(ebytes128.unwrap(value), account);
11042+
}
11043+
1103611044
function allowTransient(ebytes256 value, address account) internal {
1103711045
Impl.allowTransient(ebytes256.unwrap(value), account);
1103811046
}

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "fhevm",
33
"description": "A Solidity library for interacting with the Zama Blockchain",
4-
"version": "0.6.1",
4+
"version": "0.6.2",
55
"engines": {
66
"node": ">=20.0.0"
77
},

0 commit comments

Comments
 (0)