Skip to content

Conversation

@tmigone
Copy link
Member

@tmigone tmigone commented Jul 15, 2022

Motivation

Reduce manual tasks needed when having to verify the entire suite of contracts.

Changes

  • Added new command npx hardhat verifyAll --network {networkName} --graph-config {graphConfigFile} which will use the address book and graph config file to fetch and verify all contracts on etherscan
  • Added verification section to docs

Signed-off-by: Tomás Migone tomas@edgeandnode.com

Signed-off-by: Tomás Migone <tomas@edgeandnode.com>
@tmigone tmigone requested a review from abarmat July 15, 2022 09:24
@codecov
Copy link

codecov bot commented Jul 15, 2022

Codecov Report

Merging #626 (eb8e49a) into dev (49ef530) will not change coverage.
The diff coverage is n/a.

@@ Coverage Diff @@ ## dev #626 +/- ## ======================================= Coverage 90.29% 90.29% ======================================= Files 35 35 Lines 1752 1752 Branches 293 293 ======================================= Hits 1582 1582 Misses 170 170 
Flag Coverage Δ
unittests 90.29% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 49ef530...eb8e49a. Read the comment docs.

@abarmat
Copy link
Contributor

abarmat commented Jul 15, 2022

Very helpful for new full protocol deployments.

@tmigone tmigone merged commit 47764e8 into dev Jul 18, 2022
@tmigone tmigone deleted the tmigone/etherscan-all branch July 18, 2022 07:44
abarmat added a commit that referenced this pull request Jul 18, 2022
- feat: add support to deploy protocol to goerli network (#615) - chore: add hardhat task to verify all contracts with etherscan (#626) - chore: add hardhat task to verify all contracts with sourcify (#625) - chore: add confirmation step to a few more commands - Create altruistic allocations and close stale allocations (#549)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants