File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ task("deploy-minter", "Deploy contracts and verify")
3232 }
3333
3434 if ( network . name !== "hardhat" && network . name !== "localhost" ) {
35- if ( network . name !== "filecoinCalibration" ) {
35+ if ( ! network . name . startsWith ( "filecoin" ) ) {
3636 try {
3737 const code = await hypercertMinter . instance ?. provider . getCode ( address ) ;
3838 if ( code === "0x" ) {
@@ -50,7 +50,7 @@ task("deploy-minter", "Deploy contracts and verify")
5050 }
5151 console . error ( errorMessage ) ;
5252 }
53- } else if ( network . name === "filecoinCalibration" ) {
53+ } else {
5454 try {
5555 const code = await hypercertMinter . instance ?. provider . getCode ( address ) ;
5656 if ( code === "0x" ) {
@@ -67,8 +67,6 @@ task("deploy-minter", "Deploy contracts and verify")
6767 }
6868 console . error ( errorMessage ) ;
6969 }
70- } else {
71- console . log ( "No verification for this network" ) ;
7270 }
7371 }
7472 } ) ;
You can’t perform that action at this time.
0 commit comments