Function setup_test_programs_with_accounts

Source
pub async fn setup_test_programs_with_accounts(
    additional_programs: Option<Vec<(String, Pubkey)>>,
) -> (ProgramTestRpcConnection, EnvAccounts)
Expand description

Setup test programs with accounts deploys:

  1. light program
  2. account_compression program
  3. light_compressed_token program
  4. light_system_program program

Sets up the following accounts: 5. creates and initializes governance authority 6. creates and initializes group authority 7. registers the light_system_program program with the group authority 8. initializes Merkle tree owned by Note:

  • registers a forester
  • advances to the active phase slot 2
  • active phase doesn’t end