Hello dear Zama Community.
I have a question related to FHEVM library implementation into go-ethereum node.
I tried to implement the library in to offchainlabs/nitro node. The node build runs on orbit rollup.
When i deploy common ERC20 contract it works ok.
When i deploy EncryptedERC20 the result is confusing.
Details:
If i use
await encryptedERC20.mint(amount);
the contract just throws a revert, transaction is not submitted
If i try to set custom gas limit
await encryptedERC20.mint(amount, { gasLimit: 100000000 });
the transaction will be submitted but will be marked as Failed.
If i try to estimate gas in advance - it will also just revert without being submitted.
I ve been following the tutorial of fhevm-go integration into geth client carefully but it’s possible that i missed something and would be glad if you assist me with it. Please tell me in case you need other details. Thank you