From 831879de130ebabf19f699996af55964bad89afd Mon Sep 17 00:00:00 2001 From: samkim-crypto Date: Fri, 14 Jun 2024 08:40:16 +0900 Subject: [PATCH] update `elgamal_program` to `zk_elgamal_proof_program` --- runtime/src/bank/builtins/core_bpf_migration/target_builtin.rs | 2 +- runtime/src/bank/builtins/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/src/bank/builtins/core_bpf_migration/target_builtin.rs b/runtime/src/bank/builtins/core_bpf_migration/target_builtin.rs index 4f54fd46587927..b89a951ffd2cdf 100644 --- a/runtime/src/bank/builtins/core_bpf_migration/target_builtin.rs +++ b/runtime/src/bank/builtins/core_bpf_migration/target_builtin.rs @@ -121,7 +121,7 @@ mod tests { Some(feature_set::zk_token_sdk_enabled::id()) )] #[test_case( - solana_zk_sdk::elgamal_program::id(), + solana_zk_sdk::zk_elgamal_proof_program::id(), Some(feature_set::zk_elgamal_proof_program_enabled::id()) )] fn test_target_program_builtin(program_address: Pubkey, activation_feature: Option) { diff --git a/runtime/src/bank/builtins/mod.rs b/runtime/src/bank/builtins/mod.rs index eb9e8b65dc098e..6e1797be11a8cb 100644 --- a/runtime/src/bank/builtins/mod.rs +++ b/runtime/src/bank/builtins/mod.rs @@ -125,7 +125,7 @@ pub static BUILTINS: &[BuiltinPrototype] = &[ core_bpf_migration_config: None, name: zk_elgamal_proof_program, enable_feature_id: Some(feature_set::zk_elgamal_proof_program_enabled::id()), - program_id: solana_zk_sdk::elgamal_program::id(), + program_id: solana_zk_sdk::zk_elgamal_proof_program::id(), entrypoint: solana_zk_elgamal_proof_program::Entrypoint::vm, }), ];