Skip to content

Commit

Permalink
new-sigma-js: cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
aslesarenko committed Nov 29, 2023
1 parent c11c707 commit 0bf3eb0
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import org.ergoplatform.sdk.SecretString
import scala.scalajs.js
import scala.scalajs.js.annotation.JSExportTopLevel
import Isos._
import sigma.js.GroupElement
import sigma.eval.SigmaDsl

/** Equivalent of [[sdk.ProverBuilder]] available from JS.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -234,12 +234,11 @@ class ContractTemplateSpecification extends SerializationSpecification
)
)

templates.indices.foreach(i => {
templates.indices.foreach { i =>
val template = templates(i)
val applied = template.applyTemplate(Some(ergoTreeVersionInTests), templateValues(i))
applied shouldEqual expectedErgoTree(i)
}
)
}

property("applyTemplate num(parameters) < num(constants)") {
Expand Down

0 comments on commit 0bf3eb0

Please sign in to comment.