package scenario
- Alphabetic
- Public
- Protected
Type Members
- final case class ScenarioLedger(currentTime: Timestamp, scenarioStepId: TransactionId, scenarioSteps: IntMap[ScenarioStep], ledgerData: LedgerData) extends Product with Serializable
- currentTime
The current time of the ledger. We only use that to implement the 'pass' scenario-statement and to have a ledger-effective-time for executing 'commit' scenario statements. NOTE (SM): transactions can be added with any ledger-effective time, as the code for checking whether a contract instance is active always nexplicitly checks that the ledger-effective time ordering is maintained.
- scenarioStepId
The identitity for the next transaction to be inserted. These identities are allocated consecutively from 1 to 'maxBound :: Int'.
- scenarioSteps
Scenario steps that were executed.
- ledgerData
Cache for the ledger.
Value Members
- object ScenarioLedger extends Serializable
An in-memory representation of a ledger for scenarios