trident_client

Module fuzzing

Source
Expand description

Aimed for the fuzz tests

Re-exports§

Modules§

Macros§

  • trident macros Converts Anchor 0.29.0 and higher entrypoint into the runtime’s entrypoint style
  • Fuzz a closure-like block of code by passing it an object of arbitrary type.
  • Fuzz a closure-like block of code by passing it an object of arbitrary type.
  • Converts a solana-program-style entrypoint into the runtime’s entrypoint style, for use with ProgramTest::add_program
  • Prints the details of a given account in a pretty-printed format.

Structs§

Enums§

Constants§

Traits§

  • A data structure that can be deserialized and stored into account storage, i.e. an AccountInfo’s mutable data slice.
  • Generate arbitrary structured values from raw, unstructured data.
  • A trait providing methods to read and write (manipulate) accounts
  • Calculates the data for an instruction invocation, where the data is Sha256(<namespace>:<method_name>)[..8] || BorshSerialize(args). args is a borsh serialized struct of named fields for each argument given to an instruction.
  • A trait providing methods to prepare data and accounts for the fuzzed instructions and allowing users to implement custom invariants checks and transactions error handling.
  • Defines the Pubkey of an account.
  • The Signer trait declares operations that all digital signature providers must support. It is the primary interface by which signers are specified in Transaction signing interfaces
  • The TempClone trait is used as a workaround for making non-cloneable foreign types cloneable.
  • Transformation to an AccountInfo struct.
  • Transformation to AccountMeta structs.

Functions§

Type Aliases§

Derive Macros§