Skip to content

Commit

Permalink
Merge pull request #37 from Constellation-Labs/updating-to-tessellati…
Browse files Browse the repository at this point in the history
…on-2.3.0

Updating to tessellation 2.3.0
  • Loading branch information
IPadawans authored Jan 18, 2024
2 parents 71ed750 + ca5b295 commit 27a97c1
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions metagraph/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ lazy val sharedData = (project in file("modules/shared_data"))
CompilerPlugin.betterMonadicFor,
CompilerPlugin.semanticDB,
Libraries.tessellationDAGL1,
Libraries.tessellationSDK,
Libraries.tessellationNodeShared,
Libraries.tessellationShared,
Libraries.tessellationCurrencyL1,
Libraries.borerCore,
Expand All @@ -74,7 +74,7 @@ lazy val currencyL1 = (project in file("modules/l1"))
CompilerPlugin.betterMonadicFor,
CompilerPlugin.semanticDB,
Libraries.tessellationDAGL1,
Libraries.tessellationSDK,
Libraries.tessellationNodeShared,
Libraries.tessellationShared,
Libraries.tessellationCurrencyL1
)
Expand Down Expand Up @@ -103,7 +103,7 @@ lazy val currencyL0 = (project in file("modules/l0"))
Libraries.declineEffect,
Libraries.tessellationKernel,
Libraries.tessellationDAGL1,
Libraries.tessellationSDK,
Libraries.tessellationNodeShared,
Libraries.tessellationShared,
Libraries.tessellationKeytool,
Libraries.tessellationCurrencyL0
Expand All @@ -129,7 +129,7 @@ lazy val dataL1 = (project in file("modules/data_l1"))
CompilerPlugin.betterMonadicFor,
CompilerPlugin.semanticDB,
Libraries.tessellationDAGL1,
Libraries.tessellationSDK,
Libraries.tessellationNodeShared,
Libraries.tessellationShared,
Libraries.tessellationCurrencyL1
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import org.tessellation.currency.l0.CurrencyL0App
import org.tessellation.currency.l0.snapshot.CurrencySnapshotEvent
import org.tessellation.currency.schema.currency.{CurrencyIncrementalSnapshot, CurrencySnapshotStateProof}
import org.tessellation.ext.cats.effect.ResourceIO
import org.tessellation.sdk.domain.rewards.Rewards
import org.tessellation.node.shared.domain.rewards.Rewards
import org.tessellation.schema.SnapshotOrdinal
import org.tessellation.schema.cluster.ClusterId
import org.tessellation.security.SecurityProvider
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import org.http4s.circe.CirceEntityCodec.circeEntityEncoder
import org.http4s.dsl.Http4sDsl
import eu.timepit.refined.auto._
import org.http4s.server.middleware.CORS
import org.tessellation.http.routes.internal.{InternalUrlPrefix, PublicRoutes}
import org.tessellation.routes.internal.{InternalUrlPrefix, PublicRoutes}

case class CustomRoutes[F[_] : Async](calculatedStateService: CalculatedStateService[F]) extends Http4sDsl[F] with PublicRoutes[F] {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ import org.tessellation.security.SecurityProvider
import org.tessellation.security.signature.Signed
import cats.syntax.functor.toFunctorOps
import com.my.dor_metagraph.shared_data.Utils.{PosLongOps, RewardTransactionOps}
import org.tessellation.sdk.domain.rewards.Rewards
import org.tessellation.sdk.infrastructure.consensus.trigger
import org.tessellation.sdk.infrastructure.consensus.trigger.ConsensusTrigger
import org.tessellation.node.shared.domain.rewards.Rewards
import org.tessellation.node.shared.infrastructure.consensus.trigger
import org.tessellation.node.shared.infrastructure.consensus.trigger.ConsensusTrigger
import org.typelevel.log4cats.SelfAwareStructuredLogger
import org.typelevel.log4cats.slf4j.Slf4jLogger

Expand Down Expand Up @@ -83,7 +83,7 @@ object MainRewards {
} yield buildRewardsTransactionsSortedSet(bountyTransactions, validatorNodesTransactions)
}

private def buildRewardsTransactionsSortedSet[F[_] : Async](
private def buildRewardsTransactionsSortedSet[F[_]](
bountyTransactions : List[RewardTransaction],
validatorNodesTransactions: List[RewardTransaction]
): SortedSet[RewardTransaction] = {
Expand Down
4 changes: 2 additions & 2 deletions metagraph/project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import sbt._
object Dependencies {

object V {
val tessellation = "2.2.0"
val tessellation = "2.3.0"
val decline = "2.4.1"
}
def tessellation(artifact: String): ModuleID = "org.constellation" %% s"tessellation-$artifact" % V.tessellation
Expand All @@ -15,7 +15,7 @@ object Dependencies {
object Libraries {
val tessellationKernel = tessellation("kernel")
val tessellationDAGL1 = tessellation("dag-l1")
val tessellationSDK = tessellation("sdk")
val tessellationNodeShared = tessellation("node-shared")
val tessellationShared = tessellation("shared")
val tessellationKeytool = tessellation("keytool")
val tessellationCurrencyL0 = tessellation("currency-l0")
Expand Down

0 comments on commit 27a97c1

Please sign in to comment.