Docs.rs
  • light-test-utils-0.1.4
    • light-test-utils 0.1.4
    • Docs.rs crate page
    • Apache-2.0
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • ananas-block
    • Dependencies
      • account-compression ^0.3.5 normal
      • anchor-lang ^0.29.0 normal
      • anchor-spl ^0.29.0 normal
      • anyhow ^1.0 normal
      • ark-ff ^0.4 normal
      • light-circuitlib-rs ^0.1.4 normal
      • light-compressed-token ^0.3.4 normal
      • light-hash-set ^0.1.4 normal
      • light-hasher ^0.1.4 normal
      • light-indexed-merkle-tree ^0.1.4 normal
      • light-macros ^0.3.5 normal
      • light-merkle-tree-reference ^0.1.4 normal
      • light-registry ^0.3.4 normal
      • light-system-program ^0.3.4 normal
      • light-verifier ^0.1.4 normal
      • num-bigint ^0.4 normal
      • num-traits ^0.2 normal
      • reqwest ^0.11.26 normal
      • solana-program-test ^1.18.11 normal
      • solana-sdk ^1.18.11 normal
      • spl-token ^3.5.0 normal
      • thiserror ^1.0 normal
      • tokio ^1.36 normal
      • rand ^0.8 dev
    • Versions
    • 8.13% of the crate is documented
  • Go to latest version
  • Platform
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

light_test_utils0.1.4

Module spl

  • Structs
  • Functions

In crate light_test_utils

Module light_test_utils::spl

source ·

Structs§

  • MerkleTreeTestSnapShot

Functions§

  • assert_create_mint
  • assert_merkle_tree_after_tx
  • assert_mint_to
  • assert_nullifiers_exist_in_hash_sets
  • assert_transfer
  • compress_test
  • compressed_transfer_test
  • create_initialize_mint_instructions
  • create_mint
  • create_mint_helper
  • create_token_account
    Creates an spl token account and initializes it with the given mint and owner. This function is useful to create token accounts for spl compression and decompression tests.
  • decompress_test
  • get_merkle_tree_snapshots
  • mint_tokens_helper