diff --git a/ledger/participant-state/kvutils/src/main/scala/com/daml/ledger/participant/state/kvutils/Conversions.scala b/ledger/participant-state/kvutils/src/main/scala/com/daml/ledger/participant/state/kvutils/Conversions.scala index 4ef5093cc4ec..cabf3ae13eba 100644 --- a/ledger/participant-state/kvutils/src/main/scala/com/daml/ledger/participant/state/kvutils/Conversions.scala +++ b/ledger/participant-state/kvutils/src/main/scala/com/daml/ledger/participant/state/kvutils/Conversions.scala @@ -11,7 +11,6 @@ import com.daml.ledger.participant.state.kvutils.committer.transaction.Rejection ExternallyInconsistentTransaction, InternallyInconsistentTransaction, } -import com.daml.ledger.participant.state.kvutils.updates.TransactionRejections._ import com.daml.ledger.participant.state.kvutils.store.events.DamlSubmitterInfo.DeduplicationPeriodCase import com.daml.ledger.participant.state.kvutils.store.events.DamlTransactionBlindingInfo.{ DisclosureEntry, @@ -40,6 +39,7 @@ import com.daml.ledger.participant.state.kvutils.store.{ DamlStateKey, DamlSubmissionDedupKey, } +import com.daml.ledger.participant.state.kvutils.updates.TransactionRejections._ import com.daml.ledger.participant.state.v2.Update.CommandRejected.FinalReason import com.daml.ledger.participant.state.v2.{CompletionInfo, SubmitterInfo} import com.daml.lf.data.Relation.Relation diff --git a/ledger/participant-state/kvutils/src/main/scala/com/daml/ledger/participant/state/kvutils/KeyValueConsumption.scala b/ledger/participant-state/kvutils/src/main/scala/com/daml/ledger/participant/state/kvutils/KeyValueConsumption.scala index 8963c83c2236..1284d95e72bd 100644 --- a/ledger/participant-state/kvutils/src/main/scala/com/daml/ledger/participant/state/kvutils/KeyValueConsumption.scala +++ b/ledger/participant-state/kvutils/src/main/scala/com/daml/ledger/participant/state/kvutils/KeyValueConsumption.scala @@ -6,7 +6,6 @@ package com.daml.ledger.participant.state.kvutils import com.daml.error.ValueSwitch import com.daml.ledger.configuration.Configuration import com.daml.ledger.participant.state.kvutils.Conversions._ -import com.daml.ledger.participant.state.kvutils.updates.TransactionRejections._ import com.daml.ledger.participant.state.kvutils.store.events.PackageUpload.DamlPackageUploadRejectionEntry import com.daml.ledger.participant.state.kvutils.store.events.{ DamlConfigurationRejectionEntry, @@ -21,6 +20,7 @@ import com.daml.ledger.participant.state.kvutils.store.{ DamlOutOfTimeBoundsEntry, DamlStateKey, } +import com.daml.ledger.participant.state.kvutils.updates.TransactionRejections._ import com.daml.ledger.participant.state.v2.{DivulgedContract, TransactionMeta, Update} import com.daml.lf.data.Ref import com.daml.lf.data.Ref.LedgerString @@ -367,7 +367,9 @@ object KeyValueConsumption { case _ => "Record time outside of valid range" } - Some(invalidRecordTimeRejectionUpdate(recordTime, rejectionEntry, reason, errorVersionSwitch)) + Some( + invalidRecordTimeRejectionUpdate(recordTime, rejectionEntry, reason, errorVersionSwitch) + ) case DamlLogEntry.PayloadCase.CONFIGURATION_REJECTION_ENTRY if invalidRecordTime => val configurationRejectionEntry = wrappedLogEntry.getConfigurationRejectionEntry