Skip to main content

Module execution

Module execution 

Source

Structs§

DynamicallyLoadedObjectMetadata
ExecutionResultsV1
Used by iota-execution v1 and above, to capture the execution results from Move. The results represent the primitive information that can then be used to construct both transaction effect V1.

Enums§

ExecutionResults
ExecutionTiming
SharedInput

Traits§

TypeLayoutStore
View of the store necessary to produce the layouts of types.

Functions§

get_denied_certificates
If a transaction digest shows up in this list, when executing such transaction, we will always return ExecutionError::CertificateDenied without executing it (but still do gas smashing). Because this list is not gated by protocol version, there are a few important criteria for adding a digest to this list:
is_any_invariant_violation
Whether kind is an invariant violation of the execution layer or of the Move VM: an internal error, not a failure the transaction caused. A kind wrapped in an ExecutionErrorKind::MoveAuthentication status must be unwrapped first with unwrap_move_authentication_error().
is_cancellation
Whether kind says the execution was canceled rather than failed: canceled at the consensus commit because of shared object congestion, execution worker congestion or unavailable randomness, or denied by is_certificate_denied(). A Move authentication never reports a denial: its input checks skip the deny list, which applies after authentication. A kind wrapped in an ExecutionErrorKind::MoveAuthentication status must be unwrapped first with unwrap_move_authentication_error().
is_certificate_denied
unwrap_move_authentication_error
Returns the error wrapped in an ExecutionErrorKind::MoveAuthentication status, the way the engine reports a failed authentication when the protocol feature flag report_move_authentication_error is on, so the authenticator’s own failure can be matched. Any other kind is returned as it is.

Type Aliases§

AuthenticateThenExecuteOutput
What authenticating and then executing a transaction returns: the temporary store, the gas status, the effects, the timings and the execution result, plus the Move authentication error when that phase failed. The body’s own checks may replace that error in the effects.
DeletedSharedObjectInfo
A type containing all of the information needed to work with a deleted shared object in execution and when committing the execution effects of the transaction. This holds: 0. The object ID of the deleted shared object.
DeletedSharedObjects
A sequence of information about deleted shared objects in the transaction’s inputs.
ExecutionResult
ResultWithTimings