Remove remaining kvutils dependencies [KVL-1245] (#13695)

CHANGELOG_BEGIN
CHANGELOG_END
This commit is contained in:
Hubert Slojewski 2022-04-26 13:42:18 +02:00 committed by GitHub
parent d700fc9e76
commit 35b68962e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 7 deletions

View File

@ -214,7 +214,6 @@ da_scala_test_suite(
"//ledger/participant-integration-api",
"//ledger/participant-integration-api:participant-integration-api-tests-lib",
"//ledger/participant-state",
"//ledger/participant-state/kvutils",
"//ledger/sandbox-common",
"//ledger/sandbox-common:sandbox-common-scala-tests-lib",
"//ledger/sandbox-on-x:sandbox-classic-server",

View File

@ -63,8 +63,8 @@ da_scala_library(
tags = ["maven_coordinates=com.daml:error-generator-lib:__VERSION__"],
visibility = ["//visibility:public"],
runtime_deps = [
# Add the KVErrors to the classpath so they can be picked up by the generator
"//ledger/participant-state/kvutils",
# Add the KV errors to the classpath so they can be picked up by the generator
"//ledger/participant-state-kv-errors",
],
deps = [
"//ledger/error",

View File

@ -47,7 +47,6 @@ da_scala_test_suite(
"//ledger/metrics",
"//ledger/participant-integration-api",
"//ledger/participant-state",
"//ledger/participant-state/kvutils",
"//ledger/test-common",
"//libs-scala/contextualized-logging",
"//libs-scala/resources",

View File

@ -16,9 +16,8 @@ import akka.stream.{BoundedSourceQueue, Materializer, QueueCompletionResult, Que
import ch.qos.logback.classic.Level
import com.codahale.metrics.MetricRegistry
import com.daml.ledger.api.health.HealthStatus
import com.daml.ledger.configuration.{LedgerId, LedgerInitialConditions}
import com.daml.ledger.configuration.{Configuration, LedgerId, LedgerInitialConditions}
import com.daml.ledger.offset.Offset
import com.daml.ledger.participant.state.kvutils.api.LedgerReader
import com.daml.ledger.participant.state.v2.{
ReadService,
SubmissionResult,
@ -354,7 +353,7 @@ object RecoveringIndexerIntegrationSpec {
Source.repeat(
LedgerInitialConditions(
ledgerId,
LedgerReader.DefaultConfiguration,
Configuration.reasonableInitialConfiguration,
Time.Timestamp.Epoch,
)
)