Open furkandemireleng opened 2 weeks ago
Please, send the full logs to help debugging.
Did you first setup your .env
file? Or at least did you do cp .env.example .env
?
Another recommended solution first, before launching a local fhevm node, is to try the mocked mode as well :
pnpm test:mock
.
Hi Jat Thanks for the response
my .env
export INFURA_API_KEY="key"
export MNEMONIC="dog huge boring street rookie possible cycle funny occur file present special anxiety law merge"
export PRIVATE_KEY_GATEWAY_DEPLOYER="717fd99986df414889fd8b51069d4f90a50af72e542c58ee065f5883779099c6"
export PRIVATE_KEY_GATEWAY_OWNER="717fd99986df414889fd8b51069d4f90a50af72e542c58ee065f5883779099c6"
export PRIVATE_KEY_GATEWAY_RELAYER="7ec931411ad75a7c201469a385d6f18a325d4923f9f213bd882bbea87e160b67"
# Block explorer API keys
# export ARBISCAN_API_KEY="zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz"
# export BSCSCAN_API_KEY="zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz"
export ETHERSCAN_API_KEY="key"
# export OPTIMISM_API_KEY="zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz"
# export POLYGONSCAN_API_KEY="zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz"
# export SNOWTRACE_API_KEY="zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz"
the pnpm test:mock returns
furkandemirel@Furkan-MacBook-Pro fhevm-hardhat-template % pnpm test:mock
> @zama-ai/fhevm-hardhat-template@1.0.0 test:mock /Users/furkandemirel/test/zama/fhevm-hardhat-template
> hardhat test --network hardhat
Nothing to compile
No need to generate any newer typings.
Nothing to compile
No need to generate any newer typings.
Nothing to compile
No need to generate any newer typings.
Code of Mocked Pre-compile set at address: 0x000000000000000000000000000000000000005d
gatewayContractAddress written to gateway/.env.gateway successfully!
node_modules/fhevm/gateway/lib/PredeployAddress.sol file has been generated successfully.
ACL address 0x2Fb4341027eb1d2aD8B5D9708187df8633cAFA92 written successfully!
node_modules/fhevm/lib/ACLAddress.sol file generated successfully!
TFHE Executor address 0x05fD9B5EFE0a996095f42Ed7e77c390810CF660c written successfully!
node_modules/fhevm/lib/FHEVMCoprocessorAddress.sol file generated successfully!
KMS Verifier address 0x12B064FB845C1cc05e9493856a1D637a73e944bE written successfully!
node_modules/fhevm/lib/KMSVerifierAddress.sol file generated successfully!
ACL was deployed at address: 0x2Fb4341027eb1d2aD8B5D9708187df8633cAFA92
Error HH701: There are multiple artifacts for contract "TFHEExecutor", please use a fully qualified name.
Please replace TFHEExecutor for one of these options wherever you are trying to read its artifact:
fhevm/lib/TFHEExecutor.sol:TFHEExecutor
fhevmTemp/lib/TFHEExecutor.sol:TFHEExecutor
For more info go to https://hardhat.org/HH701 or run Hardhat with --show-stack-traces
ELIFECYCLE Command failed with exit code 1.
```
I probably miss something but I don't know where. I am looking forward to your responses !
Thanks
What OS are you using? If you use Windows, you should use the WSL. Otherwise, are you sure you are using the last main branch? Please retry by pulling last current main branch in a new clean directory.
Hi Zama ! I have a question about deploying erc20 token.
I download the project then install packages after that I enter pnpm : pnpm run fhevm:start
it says :