Trident's Fuzz Client#
Trident's Client (FuzzClient) is a wrapper around the TridentSVM that provides methods to manipulate the execution environment during fuzzing.
This section describes the methods that are available in the FuzzClient.
Trident Client Methods#
deploy_entrypoint#
Syscalls Feature Requirement
This method is only available if the syscall-v1 or syscall-v2 features are enabled.
Deploys a program through its entrypoint.
deploy_program#
Deploys a program as binary.
get_sysvar#
Retrieves Sysvars like Rent, Clock, etc.
warp_to_epoch#
Advances the fuzz test to a specific epoch.
warp_to_slot#
Advances the fuzz test to a specific slot.
warp_to_timestamp#
Sets the fuzz test to a specific timestamp.
forward_in_time#
Advances the fuzz test by the specified number of seconds.
set_account_custom#
Creates or overwrites an account at the specified address, bypassing normal runtime checks.
get_account#
Retrieves the account data at the specified address.
payer#
Returns the keypair of the client's payer account.
get_last_blockhash#
Retrieves the most recent blockhash.
Warning
Currently, this method is not implemented and a call to this method will result in a panic.