Skip to content

Commit

Permalink
Fix after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Mashonskii committed Sep 11, 2024
1 parent f424e1b commit b783628
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import scala.concurrent.duration.{DurationInt, FiniteDuration}

class HttpEngineApiClient(val config: ClientConfig, val backend: SttpBackend[Identity, ?]) extends EngineApiClient with JsonRpcClient {

val apiUrl: Uri = Uri(config.executionClientAddress)
val apiUrl: Uri = uri"${config.executionClientAddress}"

def forkChoiceUpdate(blockHash: BlockHash, finalizedBlockHash: BlockHash): Job[String] = {
sendEngineRequest[ForkChoiceUpdatedRequest, ForkChoiceUpdatedResponse](ForkChoiceUpdatedRequest(blockHash, finalizedBlockHash, None), BlockExecutionTimeout)
Expand Down
2 changes: 1 addition & 1 deletion src/main/scala/units/client/http/HttpEcApiClient.scala
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import sttp.client3.*

class HttpEcApiClient(val config: ClientConfig, val backend: SttpBackend[Identity, ?]) extends EcApiClient with JsonRpcClient {

val apiUrl = uri"http://${config.executionClientAddress}:${config.httpApiPort}"
val apiUrl = uri"${config.executionClientAddress}"

def getBlockByNumber(number: BlockNumber): Job[Option[EcBlock]] = {
for {
Expand Down

0 comments on commit b783628

Please sign in to comment.