Tenderly / hardhat-tenderly

Tenderly plugin for HardHat
https://www.npmjs.com/package/@tenderly/hardhat-tenderly
Other
154 stars 40 forks source link

Automatic contract verification does not work #116

Open hung-native opened 1 year ago

hung-native commented 1 year ago

I opened a new hardhat project and follow the instructions of "Automatic Contract Verification". Using the sample Greeter.sol contract, the automatic.ts deployment script and deploy on tenderly fork. https://docs.tenderly.co/monitoring/smart-contract-verification/verifying-contracts-using-the-tenderly-hardhat-plugin/automatic-contract-verification

It gives the following error

2023-02-16 09:51:39.271 ERROR Service =>Unexpected error occurred. 
  Error reason 500 Internal Server Error. 
  Error context: failed to verify contract
2023-02-16 09:51:39.279 ERROR Service =>Error in hardhat-tenderly: Verification failed. There was an error during the API request, please contact support with the above error.
{Greeter} deployed to 0x690B9A9E9aa1C9dB991C7721a92d351Db4FaC990
dule-git commented 1 year ago

Hello, we are sorry for such an uninformative error. We are working on exposing our errors in a more readable manner.

The most common mistake that can cause this error is:

Also, if you haven't, you should first read the .README file of the hardhat-tenderly repo here. Then try and go through the examples from their own .README file here.