scalus.testing.eval

Members list

Type members

Classlikes

case class EvalConfig(vms: Seq[PlutusVM] = ..., backends: Seq[TargetLoweringBackend] = ..., useUplcCli: Boolean = ..., compilerOptions: Options = ...)

Configuration for multi-backend evaluation.

Configuration for multi-backend evaluation.

Value parameters

backends

TargetLoweringBackend configurations to test

compilerOptions

Compiler options to use for SIR lowering

useUplcCli

Whether to include UplcCli evaluation (JVM-only, ignored on JS/Native)

vms

PlutusVM instances to test against

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object EvalConfig

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
EvalConfig.type
object Evaluator

Core evaluation functions - framework agnostic, pure functions returning Result.

Core evaluation functions - framework agnostic, pure functions returning Result.

These primitives form the foundation of the testing API.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Evaluator.type
case class MultiEvalResult(results: Map[(TargetLoweringBackend, PlutusVM), Result], uplcCliResult: Option[UplcEvalResult] = ...)

Result from evaluating across multiple backends/VMs.

Result from evaluating across multiple backends/VMs.

Value parameters

results

Map from (backend, vm) pair to Result

uplcCliResult

Optional result from UplcCli (JVM-only)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all