Skip to content

Commit

Permalink
Reorder imports
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiotudone-da committed Oct 14, 2021
1 parent 21ed5ca commit ebb21e6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ebb21e6

Please sign in to comment.