From 0c383436d2d9b1bee0969d8562a1a29566d7ce63 Mon Sep 17 00:00:00 2001 From: Alexander Slesarenko Date: Wed, 12 Jul 2023 12:42:08 +0200 Subject: [PATCH] compiler-js: unused imports --- .../sigmastate/eval/CostingDataContext.scala | 33 +++++++++---------- 1 file changed, 15 insertions(+), 18 deletions(-) diff --git a/interpreter/shared/src/main/scala/sigmastate/eval/CostingDataContext.scala b/interpreter/shared/src/main/scala/sigmastate/eval/CostingDataContext.scala index 3b0b25090a..5ed332f3ba 100644 --- a/interpreter/shared/src/main/scala/sigmastate/eval/CostingDataContext.scala +++ b/interpreter/shared/src/main/scala/sigmastate/eval/CostingDataContext.scala @@ -1,38 +1,35 @@ package sigmastate.eval -import scorex.utils.{Ints, Longs} - -import java.math.BigInteger -import java.util.Arrays -import org.ergoplatform.{ErgoBox, SigmaConstants} +import debox.cfor import org.ergoplatform.validation.ValidationRules +import org.ergoplatform.{ErgoBox, SigmaConstants} import scalan.OverloadHack.Overloaded1 +import scalan.RType +import scalan.util.Extensions.BigIntegerOps import scorex.crypto.authds.avltree.batch._ import scorex.crypto.authds.{ADDigest, ADKey, ADValue, SerializedAdProof} +import scorex.crypto.hash.{Blake2b256, Digest32, Sha256} +import scorex.utils.{Ints, Longs} import sigmastate.SCollection.SByteArray -import sigmastate._ +import sigmastate.Values.ErgoTree.EmptyConstants import sigmastate.Values.{ConstantNode, ErgoTree, EvaluatedValue, SValue, SigmaBoolean} +import sigmastate._ import sigmastate.basics.CryptoConstants.EcPointType -import sigmastate.interpreter.Interpreter -import special.collection._ -import special.sigma._ -import sigmastate.eval.Extensions._ -import debox.cfor - -import scala.util.{Failure, Success} -import scalan.util.Extensions.BigIntegerOps -import scalan.{Nullable, RType} -import scorex.crypto.hash.{Blake2b256, Digest32, Sha256} -import sigmastate.Values.ErgoTree.EmptyConstants import sigmastate.basics.DLogProtocol.ProveDlog import sigmastate.basics.{CryptoConstants, ProveDHTuple} import sigmastate.crypto.{CryptoFacade, Ecp} -import sigmastate.lang.TransformingSigmaBuilder +import sigmastate.eval.Extensions._ +import sigmastate.interpreter.Interpreter import sigmastate.serialization.ErgoTreeSerializer.DefaultSerializer import sigmastate.serialization.{GroupElementSerializer, SigmaSerializer} +import special.collection._ +import special.sigma._ +import java.math.BigInteger +import java.util.Arrays import scala.annotation.unused import scala.reflect.ClassTag +import scala.util.{Failure, Success} /** Interface implmented by wrappers to provide access to the underlying wrapped value. */ trait WrapperOf[T] {