SubmitTxCommand
Command to submit a transaction to the emulator.
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Commandclass Objecttrait Matchableclass AnyShow all
Members list
Type members
Types
An abstract representation of the result of running this command in the system under test. The Result type should be immutable and it should encode everything about the command run that is necessary to know in order to correctly implement the [postCondition] method.
An abstract representation of the result of running this command in the system under test. The Result type should be immutable and it should encode everything about the command run that is necessary to know in order to correctly implement the [postCondition] method.
Attributes
Value members
Concrete methods
Compute the next abstract state after this command.
Compute the next abstract state after this command.
If the transaction succeeds in the abstract model, update the emulator state and extract new contract state. If it fails, just advance the RNG.
Attributes
- Definition Classes
Verify the actual result matches expectations.
Verify the actual result matches expectations.
On success, run invariant checks. On transaction rejection, pass (expected for attack variations). On exception, fail with the exception.
Value parameters
- result
-
the actual result from running on the Sut
- state
-
the abstract state ''after'' nextState was called
Attributes
- Definition Classes
Check if this command can be executed in the given state.
Check if this command can be executed in the given state.
Always returns true - transaction rejection is expected behavior for attack variations.
Attributes
- Definition Classes
Inherited methods
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product