Skip to content

Commit

Permalink
Remove goerli from ts scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
arr00 committed Mar 25, 2024
1 parent 3ba2d9b commit 9588253
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
10 changes: 1 addition & 9 deletions utils/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -359,15 +359,7 @@ async function updateHeadJson(chain: string, releaseName: string) {

async function main() {
const chain = process.argv[2];
const validChains = [
"mainnet",
"goerli",
"base",
"base-goerli",
"zora",
"sepolia",
"base-sepolia",
];
const validChains = ["mainnet", "base", "zora", "sepolia", "base-sepolia"];

if (!chain) {
console.error(`Missing chain argument. Valid chains are: ${validChains.join(", ")}`);
Expand Down
6 changes: 0 additions & 6 deletions utils/verify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ export const getBlockExplorerApiEndpoint = (chain: string) => {
return "https://api.etherscan.io/api";
} else if (chain === "base") {
return "https://api.basescan.org/api";
} else if (chain === "base-goerli") {
return "https://api-goerli.basescan.org/api";
} else if (chain === "zora") {
return "https://api.routescan.io/v2/network/mainnet/evm/7777777/etherscan/api";
} else if (chain === "base-sepolia") {
Expand Down Expand Up @@ -216,12 +214,8 @@ const getContractNames = (chain: string, libraries: string[]) => {
const getChainId = (chain: string) => {
if (chain === "mainnet") {
return 1;
} else if (chain === "goerli") {
return 5;
} else if (chain === "base") {
return 8453;
} else if (chain === "base-goerli") {
return 84531;
} else if (chain === "zora") {
return 7777777;
} else if (chain === "sepolia") {
Expand Down

0 comments on commit 9588253

Please sign in to comment.