Skip to content

Commit

Permalink
fix: make codecs available in common service
Browse files Browse the repository at this point in the history
  • Loading branch information
scasplte2 committed Dec 18, 2024
1 parent ee40445 commit d920480
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ import org.http4s.circe.CirceEntityCodec.circeEntityDecoder

abstract class MetagraphCommonService[F[_], TX <: DataUpdate, PUB <: DataOnChainState, PRV <: DataCalculatedState](
implicit
txEncoder: Encoder[TX],
txDecoder: Decoder[TX],
prvEncoder: Encoder[PRV],
prvDecoder: Decoder[PRV],
txBinCodec: JsonBinaryCodec[F, TX],
pubBinCodec: JsonBinaryCodec[F, PUB],
prvBinCodec: JsonBinaryCodec[F, PRV],
async: Async[F]
txEncoder: Encoder[TX],
txDecoder: Decoder[TX],
prvEncoder: Encoder[PRV],
prvDecoder: Decoder[PRV],
val txBinCodec: JsonBinaryCodec[F, TX],
val pubBinCodec: JsonBinaryCodec[F, PUB],
val prvBinCodec: JsonBinaryCodec[F, PRV],
async: Async[F]
) {

val signedDataEntityDecoder: EntityDecoder[F, Signed[TX]] = circeEntityDecoder
Expand Down

0 comments on commit d920480

Please sign in to comment.