Attributes
- Companion
- class
- Graph
-
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ImmutableEmulator.type
Members list
Type members
Inherited and Abstract types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Value members
Concrete methods
An emulator that starts from state at env.slot, in the Instant preset, spec [CF-4].
An emulator that starts from state at env.slot, in the Instant preset, spec [CF-4].
Value parameters
- appliedTxIndex
-
derived from
appliedTxLog; kept for source compatibility. A non-empty index must equal the index ofappliedTxLog. - appliedTxLog
-
Deprecated since 1.4.1: the log has no blocks, so status APIs report
NotFoundfor its txs; useImmutableEmulator.fromEmulator/toEmulatororEmulator.snapshot(), which keep the blocks. No compiler warning: the parameter has a default.
Attributes
An empty ImmutableEmulator with no UTxOs and default test-mainnet parameters.
An empty ImmutableEmulator with no UTxOs and default test-mainnet parameters.
Attributes
Create an ImmutableEmulator from a mutable scalus.cardano.node.EmulatorBase.
Create an ImmutableEmulator from a mutable scalus.cardano.node.EmulatorBase.
Captures a snapshot of the emulator's current state: the chain, the mempool, the preset, and the whole ledger state with the treasury. The state is read once, so a concurrent epoch crossing cannot split the donations between two states.
Attributes
Create an ImmutableEmulator from a JSON string.
Create an ImmutableEmulator from a JSON string.
Attributes
- See also
-
Preconfiguration for the JSON format
fromJson with a scalus.cardano.node.emulator.ChainConfig, spec [CF-5].
Create an ImmutableEmulator from a Preconfiguration.
Create an ImmutableEmulator from a Preconfiguration.
Resolves party names and addresses, then initializes the emulator with the resulting UTxOs.
Attributes
fromPreconfiguration with a scalus.cardano.node.emulator.ChainConfig, spec [CF-5].
An emulator on state, with these ledger rules, spec [SF-11]. A Manual emulator starts from an EmulatorState built with scalus.cardano.node.emulator.ChainConfig.manual, or from fromEmulator.
An emulator on state, with these ledger rules, spec [SF-11]. A Manual emulator starts from an EmulatorState built with scalus.cardano.node.emulator.ChainConfig.manual, or from fromEmulator.
Attributes
Create an ImmutableEmulator with funded addresses.
Create an ImmutableEmulator with funded addresses.
Value parameters
- addresses
-
addresses to fund
- initialValue
-
initial value per address (default: 10,000 ADA)
Attributes
withAddresses with a scalus.cardano.node.emulator.ChainConfig, spec [CF-5].