Skip to content

Commit cbc9bff

Browse files
committed
chore: switched goerli for holesky
1 parent cd68ac8 commit cbc9bff

6 files changed

+8
-8
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Options:
5757
-f, --outputFormat <value> output file format. (choices: "svg", "png", "dot", "all", default: "svg")
5858
-o, --outputFileName <value> output file name
5959
-i, --ignoreFilesOrFolders <names> comma-separated list of files or folders to ignore
60-
-n, --network <network> Ethereum network which maps to a blockchain explorer (choices: "mainnet", "goerli", "sepolia", "polygon", "arbitrum", "avalanche", "bsc", "crono", "fantom", "moonbeam", "optimism", "gnosis", "celo", "scroll", "base", default: "mainnet", env: ETH_NETWORK)
60+
-n, --network <network> Ethereum network which maps to a blockchain explorer (choices: "mainnet", "holesky", "sepolia", "polygon", "arbitrum", "avalanche", "bsc", "crono", "fantom", "moonbeam", "optimism", "gnosis", "celo", "scroll", "base", default: "mainnet", env: ETH_NETWORK)
6161
-e, --explorerUrl <url> Override the `network` option with a custom blockchain explorer API URL. eg Polygon Mumbai testnet https://api-testnet.polygonscan.com/api (env: EXPLORER_URL)
6262
-k, --apiKey <key> Blockchain explorer API key. eg Etherscan, Arbiscan, Optimism, BscScan, CronoScan, FTMScan, PolygonScan or SnowTrace API key (env: SCAN_API_KEY)
6363
-bc, --backColor <color> Canvas background color. "none" will use a transparent canvas. (default: "white")
@@ -203,7 +203,7 @@ Options:
203203
-s, --summary Only show a summary of the file differences (default: false)
204204
-af --aFile <value> Limit code compare to contract A source file with the full path and extension as displayed in the file summary (default: compares all source files)
205205
-bf --bFile <value> Contract B source file with the full path and extension as displayed in the file summary. Used if aFile is specified and the source file has been renamed (default: aFile if specified)
206-
-bn, --bNetwork <network> Ethereum network which maps to a blockchain explorer for contract B if on a different blockchain to contract A. Contract A uses the `network` option (default: value of `network` option) (choices: "mainnet", "goerli", "sepolia", "polygon", "arbitrum", "avalanche", "bsc", "crono", "fantom", "moonbeam", "optimism", "gnosis", "celo", "base")
206+
-bn, --bNetwork <network> Ethereum network which maps to a blockchain explorer for contract B if on a different blockchain to contract A. Contract A uses the `network` option (default: value of `network` option) (choices: "mainnet", "holesky", "sepolia", "polygon", "arbitrum", "avalanche", "bsc", "crono", "fantom", "moonbeam", "optimism", "gnosis", "celo", "base")
207207
-be, --bExplorerUrl <url> Override the `bNetwork` option with custom blockchain explorer API URL for contract B if on a different blockchain to contract A. Contract A uses the `explorerUrl` (default: value of `explorerUrl` option)
208208
-bk, --bApiKey <key> Blockchain explorer API key for contract B if on a different blockchain to contract A. Contract A uses the `apiKey` option (default: value of `apiKey` option)
209209
--flatten Flatten into a single file before comparing. Only works when comparing two verified contracts, not to local files (default: false)

lib/parserEtherscan.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export interface Remapping {
44
from: RegExp;
55
to: string;
66
}
7-
export declare const networks: readonly ["mainnet", "goerli", "sepolia", "polygon", "arbitrum", "avalanche", "bsc", "crono", "fantom", "moonbeam", "optimism", "gnosis", "celo", "scroll", "base"];
7+
export declare const networks: readonly ["mainnet", "holesky", "sepolia", "polygon", "arbitrum", "avalanche", "bsc", "crono", "fantom", "moonbeam", "optimism", "gnosis", "celo", "scroll", "base"];
88
export type Network = (typeof networks)[number];
99
export declare class EtherscanParser {
1010
protected apikey: string;

lib/parserEtherscan.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sol2uml",
3-
"version": "2.5.20",
3+
"version": "2.5.21",
44
"description": "Solidity contract visualisation tool.",
55
"main": "./lib/index.js",
66
"types": "./lib/index.d.ts",

src/ts/parserEtherscan.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export interface Remapping {
1818

1919
export const networks = <const>[
2020
'mainnet',
21-
'goerli',
21+
'holesky',
2222
'sepolia',
2323
'polygon',
2424
'arbitrum',

0 commit comments

Comments
 (0)