zama-ai / fhevm-go

fhevm-go is an open-source library used to easily integrate the fhEVM into an EVM-compatible blockchain.
Other
21 stars 14 forks source link

fix: add missing gas costs for loading ciphertexts #118

Closed dartdart26 closed 5 months ago

dartdart26 commented 5 months ago

@immortal-tofu I pushed again to add gas cost if a ciphertext wasn't loaded or if there's a failure. In such cases, we still want to charge, because otherwise it could be an attack vector.

You can have another look. Sorry for that.