From 088ecf6550a9fedf8d4705b62c1bdfaa14988c54 Mon Sep 17 00:00:00 2001 From: thinkAfCod Date: Fri, 4 Aug 2023 20:33:55 +0800 Subject: [PATCH] fix RpecServerTest --- hildr-node/src/test/java/io/optimism/rpc/RpcServerTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hildr-node/src/test/java/io/optimism/rpc/RpcServerTest.java b/hildr-node/src/test/java/io/optimism/rpc/RpcServerTest.java index d9566b97..c6e9f37b 100644 --- a/hildr-node/src/test/java/io/optimism/rpc/RpcServerTest.java +++ b/hildr-node/src/test/java/io/optimism/rpc/RpcServerTest.java @@ -27,6 +27,7 @@ import io.optimism.rpc.internal.JsonRpcRequest; import io.optimism.rpc.internal.JsonRpcRequestId; import io.optimism.rpc.internal.result.OutputRootResult; +import io.optimism.telemetry.Logging; import io.optimism.utilities.telemetry.TracerTaskWrapper; import java.time.Duration; import java.util.Map; @@ -56,6 +57,7 @@ public class RpcServerTest { @BeforeAll static void setUp() { + TracerTaskWrapper.setTracerSupplier(Logging.INSTANCE::getTracer); config = TestConstants.createConfig(); }