diff --git a/codegen/templates.ts b/codegen/templates.ts index c1e82f06..44245e5f 100644 --- a/codegen/templates.ts +++ b/codegen/templates.ts @@ -877,6 +877,14 @@ function tfheAclMethods(supportedBits: number[]): string { Impl.allowTransient(eaddress.unwrap(value), account); } + function allowTransient(ebytes64 value, address account) internal { + Impl.allowTransient(ebytes64.unwrap(value), account); + } + + function allowTransient(ebytes128 value, address account) internal { + Impl.allowTransient(ebytes128.unwrap(value), account); + } + function allowTransient(ebytes256 value, address account) internal { Impl.allowTransient(ebytes256.unwrap(value), account); } diff --git a/lib/TFHE.sol b/lib/TFHE.sol index b8303680..ac1b9f6f 100644 --- a/lib/TFHE.sol +++ b/lib/TFHE.sol @@ -11033,6 +11033,14 @@ library TFHE { Impl.allowTransient(eaddress.unwrap(value), account); } + function allowTransient(ebytes64 value, address account) internal { + Impl.allowTransient(ebytes64.unwrap(value), account); + } + + function allowTransient(ebytes128 value, address account) internal { + Impl.allowTransient(ebytes128.unwrap(value), account); + } + function allowTransient(ebytes256 value, address account) internal { Impl.allowTransient(ebytes256.unwrap(value), account); } diff --git a/package-lock.json b/package-lock.json index 3834411f..345ac8c2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "fhevm", - "version": "0.6.1", + "version": "0.6.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "fhevm", - "version": "0.6.1", + "version": "0.6.2", "license": "BSD-3-Clause-Clear", "dependencies": { "@openzeppelin/contracts": "^5.0.1", diff --git a/package.json b/package.json index fd21085f..2c8bd428 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "fhevm", "description": "A Solidity library for interacting with the Zama Blockchain", - "version": "0.6.1", + "version": "0.6.2", "engines": { "node": ">=20.0.0" },