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")
32
32
}
33
33
34
34
if ( network . name !== "hardhat" && network . name !== "localhost" ) {
35
- if ( network . name !== "filecoinCalibration" ) {
35
+ if ( ! network . name . startsWith ( "filecoin" ) ) {
36
36
try {
37
37
const code = await hypercertMinter . instance ?. provider . getCode ( address ) ;
38
38
if ( code === "0x" ) {
@@ -50,7 +50,7 @@ task("deploy-minter", "Deploy contracts and verify")
50
50
}
51
51
console . error ( errorMessage ) ;
52
52
}
53
- } else if ( network . name === "filecoinCalibration" ) {
53
+ } else {
54
54
try {
55
55
const code = await hypercertMinter . instance ?. provider . getCode ( address ) ;
56
56
if ( code === "0x" ) {
@@ -67,8 +67,6 @@ task("deploy-minter", "Deploy contracts and verify")
67
67
}
68
68
console . error ( errorMessage ) ;
69
69
}
70
- } else {
71
- console . log ( "No verification for this network" ) ;
72
70
}
73
71
}
74
72
} ) ;
You can’t perform that action at this time.
0 commit comments