You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was not able to find the GasPrice for casting operations in the code https://github.com/zama-ai/fhevm-go/blob/main/fhevm/precompiles.go#L700
I noticed that I paid the same gas (edit: found mistake in my test) a bit less than 1000 gas when replacing in a transaction this line :
euint16 xx = TFHE.asEuint16(x);
with this one :
euint32 xx = TFHE.asEuint32(TFHE.asEuint16(x));
Same seem to be true for the FhePubKey precompile function.
We could DDOS the network easily if the gas is set to 0 or too low.
Also : where is the price for the storing or loading privileged memory? I only found a cost for privileged storage but not privileged memory.
The text was updated successfully, but these errors were encountered:
I was not able to find the GasPrice for casting operations in the code https://github.com/zama-ai/fhevm-go/blob/main/fhevm/precompiles.go#L700
I noticed that I paid
the same gas(edit: found mistake in my test) a bit less than 1000 gas when replacing in a transaction this line :euint16 xx = TFHE.asEuint16(x);
with this one :
euint32 xx = TFHE.asEuint32(TFHE.asEuint16(x));
Same seem to be true for the FhePubKey precompile function.
We could DDOS the network easily if the gas is set to 0 or too low.
Also : where is the price for the storing or loading privileged memory? I only found a cost for privileged storage but not privileged memory.
The text was updated successfully, but these errors were encountered: