1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
use ;
/// Address lookup table containing state Merkle tree pubkeys for mainnet-beta.
/// Used to reduce transaction size by referencing trees via lookup table indices.
pub const STATE_TREE_LOOKUP_TABLE_MAINNET: Pubkey =
pubkey!;
/// Address lookup table containing nullifier queue pubkeys for mainnet-beta.
/// Used to reduce transaction size by referencing queues via lookup table indices.
pub const NULLIFIED_STATE_TREE_LOOKUP_TABLE_MAINNET: Pubkey =
pubkey!;
/// Address lookup table containing state Merkle tree pubkeys for devnet.
/// Used to reduce transaction size by referencing trees via lookup table indices.
pub const STATE_TREE_LOOKUP_TABLE_DEVNET: Pubkey =
pubkey!;
/// Address lookup table containing nullifier queue pubkeys for devnet.
/// Used to reduce transaction size by referencing queues via lookup table indices.
pub const NULLIFIED_STATE_TREE_LOOKUP_TABLE_DEVNET: Pubkey =
pubkey!;
/// Address lookup table with zk compression related keys. Use to reduce
/// transaction size.
///
/// Keys include: all protocol pubkeys, default state trees, address trees, and
/// more.
///
/// Example usage:
/// ```bash
///
/// # By cloning from mainnet
/// light test-validator --validator-args "\
/// --clone 9NYFyEqPkyXUhkerbGHXUXkvb4qpzeEdHuGpgbgpH1NJ \
/// --url https://api.mainnet-beta.solana.com \
/// --upgradeable-program <your_program_id> <your_program_path> ~/.config/solana/id.json"
///
/// # With a local LUT file
/// light test-validator --validator-args "\
/// --account 9NYFyEqPkyXUhkerbGHXUXkvb4qpzeEdHuGpgbgpH1NJ ./scripts/lut.json \
/// --url https://api.mainnet-beta.solana.com \
/// --upgradeable-program <your_program_id> <your_program_path> ~/.config/solana/id.json"
///
/// ```
pub const LIGHT_PROTOCOL_LOOKUP_TABLE_ADDRESS: Pubkey =
pubkey!;