Functions§
- assign_
shared_ object_ versions - Assigns shared object versions for an executable without scheduling for execution. This is used when you need version assignment but want to control execution separately.
- assign_
versions_ and_ schedule - create_
executable_ transaction - Creates a VerifiedExecutableTransaction from a signed transaction. This validates the transaction, votes on it, and creates an executable as if it came out of consensus.
- enqueue_
and_ execute_ all - Enqueues multiple transactions for execution after they’ve been through consensus.
- execute_
from_ consensus - Executes a transaction that has already been sequenced through consensus.
- init_
state_ validator_ with_ fullnode - init_
state_ with_ committee - init_
state_ with_ ids - init_
state_ with_ ids_ and_ expensive_ checks - init_
state_ with_ ids_ and_ versions - init_
state_ with_ object_ id - init_
state_ with_ objects - init_
state_ with_ objects_ and_ committee - init_
transfer_ transaction - submit_
and_ execute - This is the primary test helper for executing transactions end-to-end.
- submit_
and_ execute_ with_ error - Complete MFP flow returning execution error if any.
- submit_
and_ execute_ with_ options - Options:
- submit_
and_ schedule - Submits a transaction to consensus and schedules for execution. Returns assigned versions. Execution happens asynchronously.
- submit_
to_ consensus - Submits a transaction to consensus for ordering and version assignment. This only simulates the consensus submission process by assigning versions to shared objects.
- vote_
transaction - Validates a transaction. This is the MFP “voting” phase - similar to what happens when a validator receives a transaction before submitting to consensus.