Crate snarkvm_ledger_test_helpers

Source

Functionsยง

large_transaction_program
Deploy a program that produces large transactions above the maximum transaction size.
sample_block_transactions
Samples a block transactions.
sample_deployment
sample_deployment_transaction
Samples a random deployment transaction with a private or public fee.
sample_execution
Samples a random execution.
sample_execution_transaction_with_fee
Samples a random execution transaction with a private or public fee.
sample_fee_private
Samples a random private fee.
sample_fee_private_hardcoded
Samples a random hardcoded private fee.
sample_fee_private_transaction
Samples a random private fee transaction.
sample_fee_public
Samples a random public fee.
sample_fee_public_hardcoded
Samples a random hardcoded public fee.
sample_fee_public_transaction
Samples a random public fee transaction.
sample_genesis_block
Samples a random genesis block.
sample_genesis_block_and_components
Samples a random genesis block, the transaction from the genesis block, and the genesis private key.
sample_genesis_block_and_transaction
Samples a random genesis block and the transaction from the genesis block.
sample_genesis_private_key
sample_inputs
Sample the transition inputs.
sample_large_execution_transaction
Samples a large transaction.
sample_outputs
Sample the transition outputs.
sample_rejected_deployment
Samples a rejected deployment.
sample_rejected_execution
Samples a rejected execution.
sample_transition
Samples a random transition.
small_transaction_program
Deploy a program that produces large transactions under the maximum transaction size.