Skip to content

Commit

Permalink
fix: inner watcher test case
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkAfCod authored and GrapeBaBa committed Nov 9, 2023
1 parent fe464e5 commit e9be72a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hildr-node/src/main/java/io/optimism/cli/Cli.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public class Cli implements Runnable {
@Option(
names = "--network",
defaultValue = "optimism",
description = "network type, support: optimism-goerli, base-goerli")
description = "network type, or rollup.json file path, support: optimism-goerli, base-goerli")
String network;

@Option(names = "--l1-rpc-url", required = true, description = "The base chain RPC URL")
Expand Down Expand Up @@ -165,7 +165,7 @@ private Config toConfig() {
case "base-goerli" -> Config.ChainConfig.baseGoerli();
default -> {
if (network.endsWith(".json")) {
Config.ChainConfig.fromJson(network);
yield Config.ChainConfig.fromJson(network);
}
throw new RuntimeException("network not recognized");
}
Expand Down

0 comments on commit e9be72a

Please sign in to comment.