Skip to content

Commit

Permalink
2.11 compilation fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
kushti committed Sep 24, 2024
1 parent 0ee89b1 commit 67bda6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions sc/shared/src/test/scala/sigma/LanguageSpecificationV6.scala
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import sigmastate.utils.Extensions.ByteOpsForSigma
import sigmastate.utils.Helpers

import java.math.BigInteger
import scala.collection.immutable.ArraySeq
import scala.util.{Failure, Success}

/** This suite tests all operations for v6.0 version of the language.
Expand Down Expand Up @@ -1540,7 +1539,7 @@ class LanguageSpecificationV6 extends LanguageSpecificationBase { suite =>
MethodCall.typed[Value[SCollection[SByte.type]]](
ValUse(1, SGroupElement),
SGroupElementMethods.getMethodByName("getEncoded"),
ArraySeq(),
IndexedSeq(),
Map()
)
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1105,7 +1105,7 @@ class BasicOpsSpecification extends CompilerTestingCommons
property("deserializeTo - header option") {
val td = new SigmaTestingData {}
val h1 = td.TestData.h1.asInstanceOf[CHeader].ergoHeader
val headerBytes = Colls.fromArray(Array(1.toByte) ++ h1.bytes.toArray)
val headerBytes = Colls.fromArray(Array(1.toByte) ++ h1.bytes)

val customExt = Seq(21.toByte -> ByteArrayConstant(headerBytes))

Expand Down

0 comments on commit 67bda6b

Please sign in to comment.