Attributes
- Companion
- class
- Graph
-
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
EmulatorState.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
The state an emulator starts from — the only public way to build one — in the Instant preset, spec [CF-4].
The state an emulator starts from — the only public way to build one — in the Instant preset, spec [CF-4].
Both derived views and the datum store are computed here rather than passed in, so an emulator restored from a log — a snapshot, say — cannot disagree with the one the log came from. The datum store also picks up the inline datums of the seeded utxos, so seeding a script UTxO with its datum inline is enough for getDatum to answer.
Value parameters
- appliedTxLog
-
Deprecated since 1.4.1: the log has no blocks, so status APIs report
NotFoundfor its txs. Pass an empty log; keep a whole emulator withsnapshot()orImmutableEmulator.fromEmulator/toEmulator, which keep the blocks.
Attributes
initial in the preset of config, with no imported log, spec [CF-5].
initial in the preset of config, with no imported log, spec [CF-5].
Attributes
The state an emulator starts from, with the whole ledger state given: its fees and donations too, not only the UTxOs and the certificate state. datums keep their bytes.
The state an emulator starts from, with the whole ledger state given: its fees and donations too, not only the UTxOs and the certificate state. datums keep their bytes.
Value parameters
- appliedTxLog
-
Deprecated since 1.4.1, as for the overload above.
Attributes
initial in the preset of config, with no imported log, spec [CF-5]. The given state is the genesis snapshot.
initial in the preset of config, with no imported log, spec [CF-5]. The given state is the genesis snapshot.