fn feature_builtins() -> Vec<(Builtin, Pubkey, ActivationType)> {
    vec![
        (
            Builtin::new(
                "compute_budget_program",
                analog_sdk::compute_budget::id(),
                analog_compute_budget_program::process_instruction,
            ),
            feature_set::tx_wide_compute_cap::id(),
            ActivationType::NewProgram,
        ),
        (
            Builtin::new(
                "ed25519_program",
                analog_sdk::ed25519_program::id(),
                analog_ed25519_program::process_instruction,
            ),
            feature_set::ed25519_program_enabled::id(),
            ActivationType::NewProgram,
        ),
    ]
}
/// Builtin programs activated dynamically by feature
///
/// Note: If the feature_builtin is intended to replace another builtin program, it must have a new
/// name.
/// This is to enable the runtime to determine categorically whether the builtin update has
/// occurred, and preserve idempotency in Bank::add_native_program across genesis, snapshot, and
/// normal child Bank creation.
/// https://github.com/analog/testnet/blob/84b139cc94b5be7c9e0c18c2ad91743231b85a0d/runtime/src/bank.rs#L1723
Builtin programs activated dynamically by feature
Note: If the feature_builtin is intended to replace another builtin program, it must have a new
name.
This is to enable the runtime to determine categorically whether the builtin update has
occurred, and preserve idempotency in Bank::add_native_program across genesis, snapshot, and
normal child Bank creation.
Builtin programs activated dynamically by feature Note : If the feature_builtin is intended to replace another builtin program it must have a new name . This is to enable the runtime to determine categorically whether the builtin update has occurred and preserve idempotency in Bank :: add_native_program across genesis snapshot and normal child Bank creation .
fn feature_builtins() -> Vec<(Builtin, Pubkey, ActivationType)> {
    vec![
        (
            Builtin::new(
                "compute_budget_program",
                analog_sdk::compute_budget::id(),
                analog_compute_budget_program::process_instruction,
            ),
            feature_set::tx_wide_compute_cap::id(),
            ActivationType::NewProgram,
        ),
        (
            Builtin::new(
                "ed25519_program",
                analog_sdk::ed25519_program::id(),
                analog_ed25519_program::process_instruction,
            ),
            feature_set::ed25519_program_enabled::id(),
            ActivationType::NewProgram,
        ),
    ]
}
fn feature_builtins ( ) -> Vec < ( Builtin , Pubkey , ActivationType ) > { vec ! [ ( Builtin new ( " " analog_sdk compute_budget id ( ) analog_compute_budget_program process_instruction ) feature_set tx_wide_compute_cap id ( ) ActivationType NewProgram ) ( Builtin new ( " " analog_sdk ed25519_program id ( ) analog_ed25519_program process_instruction ) feature_set ed25519_program_enabled id ( ) ActivationType NewProgram ) ] }
Builtin programs activated dynamically by feature
Note: If the feature_builtin is intended to replace another builtin program, it must have a new
name.
Builtin programs activated dynamically by feature Note : If the feature_builtin is intended to replace another builtin program it must have a new name .