Skip to content

Commit

Permalink
fix: VertxHttpJsonRpcClientFactory constructor call
Browse files Browse the repository at this point in the history
  • Loading branch information
jonesho committed Jan 6, 2025
1 parent acc3c1b commit 3039323
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import net.consensys.linea.jsonrpc.JsonRpcSuccessResponse
import net.consensys.linea.jsonrpc.client.JsonRpcV2Client
import net.consensys.linea.jsonrpc.client.RequestRetryConfig
import net.consensys.linea.jsonrpc.client.VertxHttpJsonRpcClientFactory
import net.consensys.linea.metrics.micrometer.MicrometerMetricsFacade
import org.assertj.core.api.Assertions.assertThat
import org.assertj.core.api.Assertions.assertThatThrownBy
import org.junit.jupiter.api.BeforeEach
Expand All @@ -33,7 +34,7 @@ class TestingJsonRpcServerTest {
)
val rpcClientFactory = VertxHttpJsonRpcClientFactory(
vertx = vertx,
meterRegistry = SimpleMeterRegistry()
metricsFacade = MicrometerMetricsFacade(registry = SimpleMeterRegistry())
)
client = rpcClientFactory.createJsonRpcV2Client(
endpoints = listOf(URI.create("http://localhost:${jsonRpcServer.boundPort}")),
Expand Down

0 comments on commit 3039323

Please sign in to comment.