diff --git a/build.sbt b/build.sbt index 66556e8a18..7b8e91e235 100644 --- a/build.sbt +++ b/build.sbt @@ -73,7 +73,7 @@ git.gitUncommittedChanges in ThisBuild := true val bouncycastleBcprov = "org.bouncycastle" % "bcprov-jdk15on" % "1.60" val scrypto = "org.scorexfoundation" %% "scrypto" % "2.1.6" -val scorexUtil = "org.scorexfoundation" %% "scorex-util" % "0.1.3" +val scorexUtil = "org.scorexfoundation" %% "scorex-util" % "0.1.4" val macroCompat = "org.typelevel" %% "macro-compat" % "1.1.1" val paradise = "org.scalamacros" %% "paradise" % "2.1.0" cross CrossVersion.full diff --git a/src/test/scala/sigmastate/serialization/ConcreteCollectionSerializerSpecification.scala b/src/test/scala/sigmastate/serialization/ConcreteCollectionSerializerSpecification.scala index fe29403180..1d7f96638c 100644 --- a/src/test/scala/sigmastate/serialization/ConcreteCollectionSerializerSpecification.scala +++ b/src/test/scala/sigmastate/serialization/ConcreteCollectionSerializerSpecification.scala @@ -55,6 +55,6 @@ class ConcreteCollectionSerializerSpecification extends TableSerializationSpecif property("ConcreteCollection: deserialize collection of a crazy size") { val bytes = Array[Byte](OpCodes.ConcreteCollectionCode) ++ SigmaSerializer.startWriter().putUInt(Int.MaxValue).toBytes - an[AssertionError] should be thrownBy ValueSerializer.deserialize(bytes) + an[IllegalArgumentException] should be thrownBy ValueSerializer.deserialize(bytes) } }