Skip to content

Commit

Permalink
Merge pull request #60 from ergoplatform/develop
Browse files Browse the repository at this point in the history
Release v3.3.1 (with Sigma v3.3.1)
  • Loading branch information
aslesarenko authored Sep 28, 2020
2 parents 2a995d6 + 157f200 commit 2adc7a4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package org.ergoplatform.appkit

import org.ergoplatform.ErgoBox
import org.ergoplatform.ErgoBox.NonMandatoryRegisterId
import org.scalatest.{PropSpec, Matchers}
import org.scalatestplus.scalacheck.ScalaCheckDrivenPropertyChecks
import sigmastate.Values.{EvaluatedValue, IntConstant, ByteArrayConstant}
import sigmastate.{SType, TrivialProp}
import sigmastate.helpers.TestingHelpers._

class JavaHelpersSpec extends PropSpec with Matchers
with ScalaCheckDrivenPropertyChecks
Expand All @@ -17,7 +17,7 @@ class JavaHelpersSpec extends PropSpec with Matchers
type Registers = Map[NonMandatoryRegisterId, _ <: EvaluatedValue[_ <: SType]]

def boxWithRegs(regs: Registers) = {
ErgoBox(10, TrivialProp.TrueProp, 100, Nil, regs)
testBox(10, TrivialProp.TrueProp, 100, Nil, regs)
}

def check(regs: Registers, expRegs: IndexedSeq[ErgoValue[_]]) = {
Expand Down
10 changes: 6 additions & 4 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ lazy val commonSettings = Seq(
scalaVersion := scala212,
resolvers ++= Seq(sonatypeReleases,
"SonaType" at "https://oss.sonatype.org/content/groups/public",
"Typesafe maven releases" at "http://repo.typesafe.com/typesafe/maven-releases/",
"Typesafe maven releases" at "https://dl.bintray.com/typesafe/maven-releases/",
sonatypeSnapshots,
Resolver.mavenCentral),
homepage := Some(url("https://github.com/ergoplatform/ergo-appkit")),
Expand Down Expand Up @@ -75,9 +75,10 @@ git.gitUncommittedChanges in ThisBuild := true

val mockitoScalaVerstion = "1.11.4"

val testingDependencies = Seq(
lazy val testingDependencies = Seq(
"org.scalatest" %% "scalatest" % "3.0.8" % "test",
"org.scalacheck" %% "scalacheck" % "1.14.+" % "test"
"org.scalacheck" %% "scalacheck" % "1.14.+" % "test",
(sigmaState % Test).classifier("tests")
)

lazy val testSettings = Seq(
Expand Down Expand Up @@ -120,7 +121,7 @@ assemblyMergeStrategy in assembly := {

lazy val allConfigDependency = "compile->compile;test->test"

val sigmaStateVersion = "3.2.1"
val sigmaStateVersion = "3.3.1"
val ergoWalletVersion = "v3.2.3-11f8615f-SNAPSHOT"
lazy val sigmaState = ("org.scorexfoundation" %% "sigma-state" % sigmaStateVersion).force()
.exclude("ch.qos.logback", "logback-classic")
Expand All @@ -134,6 +135,7 @@ lazy val mockWebServer = "com.squareup.okhttp3" % "mockwebserver" % "3.12.0" % "

libraryDependencies ++= Seq(
sigmaState,
(sigmaState % Test).classifier("tests"),
ergoWallet,
"org.scalatest" %% "scalatest" % "3.0.8" % "test",
"org.scalacheck" %% "scalacheck" % "1.14.+" % "test",
Expand Down

0 comments on commit 2adc7a4

Please sign in to comment.