Skip to content

Commit

Permalink
Retesteth 1559 (hyperledger#2106)
Browse files Browse the repository at this point in the history
Signed-off-by: garyschulte <garyschulte@gmail.com>
  • Loading branch information
garyschulte authored Apr 13, 2021
1 parent 8284758 commit d3a177f
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import org.hyperledger.besu.BesuInfo;
import org.hyperledger.besu.cli.DefaultCommandValues;
import org.hyperledger.besu.cli.custom.JsonRPCAllowlistHostsProperty;
import org.hyperledger.besu.config.experimental.ExperimentalEIPs;
import org.hyperledger.besu.ethereum.api.jsonrpc.JsonRpcConfiguration;
import org.hyperledger.besu.ethereum.retesteth.RetestethConfiguration;
import org.hyperledger.besu.ethereum.retesteth.RetestethService;
Expand All @@ -30,14 +31,15 @@
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.apache.logging.log4j.core.config.Configurator;
import picocli.CommandLine;
import picocli.CommandLine.Command;
import picocli.CommandLine.Mixin;
import picocli.CommandLine.Option;

@Command(
name = COMMAND_NAME,
description = "Run a Retesteth compatible server for reference tests.",
mixinStandardHelpOptions = true)
@SuppressWarnings("unused")
public class RetestethSubCommand implements Runnable {

private static final Logger LOG = LogManager.getLogger();
Expand All @@ -51,7 +53,9 @@ public class RetestethSubCommand implements Runnable {
*/
public static final int RETESTETH_PORT = 47710;

@CommandLine.Option(
@Mixin private final ExperimentalEIPs experimentalEIPs = new ExperimentalEIPs();

@Option(
names = {"--data-path"},
paramLabel = DefaultCommandValues.MANDATORY_PATH_FORMAT_HELP,
description = "The path to Besu data directory (default: ${DEFAULT-VALUE})")
Expand Down

0 comments on commit d3a177f

Please sign in to comment.