The state an emulator starts from — the only public way to build one.
The state an emulator starts from — the only public way to build one.
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.
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.