-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
The following occurs when trying to check non deployed contract address:
bunx hardhat fhevm check-contract --address 0x41dbc3caf242b90a7d61798d3f39a011c77c85e2
An unexpected error occurred:
Error: could not decode result data (value="0x", info={ "method": "getFHEVMExecutorAddress", "signature": "getFHEVMExecutorAddress()" }, code=BAD_DATA, version=6.14.4)
at makeError (/Users/alex/src/me/zama-ai/monorepo/fhevm-hardhat-template/node_modules/ethers/src.ts/utils/errors.ts:698:21)
- Should first check if contract exists and write a nice message
- This error happens very frequently since we often forget to mention the network name.
- May be check in deployments folder to try to detect the contract address.
Metadata
Metadata
Assignees
Labels
No labels