Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to verify contracts via push or automatically #115

Open
zlace0x opened this issue Nov 24, 2022 · 1 comment
Open

Unable to verify contracts via push or automatically #115

zlace0x opened this issue Nov 24, 2022 · 1 comment

Comments

@zlace0x
Copy link

zlace0x commented Nov 24, 2022

Trying to push my contracts after deployment, faced a few errors.

Tenderly Current CLI version: v1.4.7
Hardhat Version: 2.12.2
Compiler version: 0.8.17

➜  verify-test git:(main) ✗ tenderly push
Command "push" is deprecated, Use "tenderly contracts push"
Setting up your project...
Analyzing Hardhat configuration...
Couldn't read Hardhat config file

Used this temp fix for the above error:
#108 (comment)

➜  verify-test git:(main) ✗ tenderly push
Command "push" is deprecated, Use "tenderly contracts push"
Setting up your project...
Analyzing Hardhat configuration...
Pushing Smart Contracts for project: project
We have detected the following Smart Contracts:
• Greeter
•  (not deployed to any network, will be used as a library contract)
Internal Server Error
Some of the project pushes were not successful. Please see the list above

Automatic verification also fails.

➜  verify-test git:(main) ✗ npx hardhat run script/deploy.ts --network goerli
You have both ethereum-waffle and @nomicfoundation/hardhat-chai-matchers installed. They don't work correctly together, so please make sure you only use one.

We recommend you migrate to @nomicfoundation/hardhat-chai-matchers. Learn how to do it here: https://hardhat.org/migrate-from-waffle
(node:46336) ExperimentalWarning: stream/web is an experimental feature. This feature could change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.
--> src/Greeter.sol


Compiled 3 Solidity files successfully
You have both ethereum-waffle and @nomicfoundation/hardhat-chai-matchers installed. They don't work correctly together, so please make sure you only use one.

We recommend you migrate to @nomicfoundation/hardhat-chai-matchers. Learn how to do it here: https://hardhat.org/migrate-from-waffle
(node:46345) ExperimentalWarning: stream/web is an experimental feature. This feature could change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
Unexpected error occurred. 
  Error reason 404 Not Found. 
  Error context: 404 page not found

Error in hardhat-tenderly: Verification failed. There was an error during the API request, please contact support with the above error.
{Greeter} deployed to 0x2E8719ffE56874730994a1f882acBF2ce77b122E

Sample repo:

https://github.com/zlace0x/verify-test

@zlace0x zlace0x changed the title Unable to tenderly push Unable to verify contracts via push or automatically Nov 24, 2022
@dule-git
Copy link

Hello @zlace0x,

We have seen your other repo with reproduction steps and we are currently working on fixing this issue.
We will get back to you as soon as we can.
Thank you for your patience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants