From d15ea8efcd9285fbfed43a0d0fc9a7f674e10d92 Mon Sep 17 00:00:00 2001 From: Fabio Di Fabio Date: Fri, 27 Sep 2024 15:24:19 +0200 Subject: [PATCH] Fix a config key name clash with the tracer (#87) Signed-off-by: Fabio Di Fabio --- .../linea/plugin/acc/test/TestCommandLineOptionsBuilder.java | 1 + .../java/net/consensys/linea/config/LineaRpcCliOptions.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/acceptance-tests/src/test/java/linea/plugin/acc/test/TestCommandLineOptionsBuilder.java b/acceptance-tests/src/test/java/linea/plugin/acc/test/TestCommandLineOptionsBuilder.java index 66f22780..aae02eab 100644 --- a/acceptance-tests/src/test/java/linea/plugin/acc/test/TestCommandLineOptionsBuilder.java +++ b/acceptance-tests/src/test/java/linea/plugin/acc/test/TestCommandLineOptionsBuilder.java @@ -41,6 +41,7 @@ public TestCommandLineOptionsBuilder() { "--plugin-linea-l1l2-bridge-contract=", "0x00000000000000000000000000000000DEADBEEF"); cliOptions.setProperty("--plugin-linea-l1l2-bridge-topic=", "0x123456"); cliOptions.setProperty("--plugin-linea-conflated-trace-generation-traces-output-path=", "."); + cliOptions.setProperty("--plugin-linea-rpc-concurrent-requests-limit=", "1"); } public TestCommandLineOptionsBuilder set(String option, String value) { diff --git a/sequencer/src/main/java/net/consensys/linea/config/LineaRpcCliOptions.java b/sequencer/src/main/java/net/consensys/linea/config/LineaRpcCliOptions.java index 6a8c0e25..97b99f15 100644 --- a/sequencer/src/main/java/net/consensys/linea/config/LineaRpcCliOptions.java +++ b/sequencer/src/main/java/net/consensys/linea/config/LineaRpcCliOptions.java @@ -23,7 +23,7 @@ /** The Linea RPC CLI options. */ public class LineaRpcCliOptions implements LineaCliOptions { - public static final String CONFIG_KEY = "rpc-config"; + public static final String CONFIG_KEY = "rpc-config-sequencer"; private static final String ESTIMATE_GAS_COMPATIBILITY_MODE_ENABLED = "--plugin-linea-estimate-gas-compatibility-mode-enabled";