Skip to content

Commit

Permalink
Update SBT and Scala versions & Fixes
Browse files Browse the repository at this point in the history
Signed-off-by: FabioPinheiro <fabiomgpinheiro@gmail.com>
  • Loading branch information
FabioPinheiro committed Oct 3, 2024
1 parent a2f55b5 commit 99822d2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import sbtprotoc.ProtocPlugin.autoImport.PB
inThisBuild(
Seq(
organization := "io.iohk.atala",
scalaVersion := "2.13.7",
scalaVersion := "2.13.15",
fork := true,
run / connectInput := true,
versionScheme := Some("semver-spec"),
Expand Down Expand Up @@ -165,7 +165,7 @@ lazy val root =
javacOptions ++= Seq("-source", "1.11", "-target", "1.11"),
githubTokenSource := TokenSource.Environment("GITHUB_TOKEN"),
addCompilerPlugin(
"org.typelevel" % "kind-projector" % "0.13.2" cross CrossVersion.full
"org.typelevel" % "kind-projector" % "0.13.3" cross CrossVersion.full
),
Test / fork := true,
Test / parallelExecution := false,
Expand Down
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version = 1.6.2
sbt.version = 1.10.2
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import tofu.syntax.monoid.TofuSemigroupOps
*/
object GeneralLoggableInstances {

implicit val statusLoggable = new DictLoggable[Status] {
implicit val statusLoggable: DictLoggable[Status] = new DictLoggable[Status] {
override def fields[I, V, R, S](a: Status, i: I)(implicit r: LogRenderer[I, V, R, S]): R = {
r.addString("grpc_status", a.toString, i)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,8 @@ class BlockProcessingServiceImpl(applyOperationConfig: ApplyOperationConfig) ext
val result = for {
// Fetch key information and previous hash information
correctnessData <- operation.getCorrectnessData(protoOperation.signedWith)
CorrectnessData(key, previousOperation) = correctnessData
key = correctnessData.key
previousOperation = correctnessData.previousOperation
// Verify that operation has the correct hash of the previous operation
_ <- EitherT.cond[ConnectionIO](
operation.linkedPreviousOperation == previousOperation,
Expand Down

0 comments on commit 99822d2

Please sign in to comment.