From 9f9bb8401d6cc560425226df71f8ff00352e9022 Mon Sep 17 00:00:00 2001 From: samkim-crypto Date: Thu, 5 Dec 2024 12:01:12 +0900 Subject: [PATCH] remove default builtin costs for `secp256r1_program` --- Cargo.lock | 1 - builtins-default-costs/Cargo.toml | 1 - builtins-default-costs/src/lib.rs | 8 -------- 3 files changed, 10 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 888bbb239a914e..ab5874283bc759 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6282,7 +6282,6 @@ dependencies = [ "solana-frozen-abi", "solana-loader-v4-program", "solana-sdk", - "solana-sdk-ids", "solana-stake-program", "solana-system-program", "solana-vote-program", diff --git a/builtins-default-costs/Cargo.toml b/builtins-default-costs/Cargo.toml index 7c39728fdc91a4..bdd29a267280b5 100644 --- a/builtins-default-costs/Cargo.toml +++ b/builtins-default-costs/Cargo.toml @@ -22,7 +22,6 @@ solana-frozen-abi = { workspace = true, optional = true, features = [ ] } solana-loader-v4-program = { workspace = true } solana-sdk = { workspace = true } -solana-sdk-ids = { workspace = true } solana-stake-program = { workspace = true } solana-system-program = { workspace = true } solana-vote-program = { workspace = true } diff --git a/builtins-default-costs/src/lib.rs b/builtins-default-costs/src/lib.rs index 6cd963694e0648..48e2d76936e83d 100644 --- a/builtins-default-costs/src/lib.rs +++ b/builtins-default-costs/src/lib.rs @@ -11,7 +11,6 @@ use { pubkey::Pubkey, secp256k1_program, }, - solana_sdk_ids::secp256r1_program, }; /// DEVELOPER: when a builtin is migrated to sbpf, please add its corresponding @@ -123,13 +122,6 @@ lazy_static! { core_bpf_migration_feature: None, }, ), - ( - secp256r1_program::id(), - BuiltinCost { - native_cost: 0, - core_bpf_migration_feature: None, - } - ) // DO NOT ADD MORE ENTRIES TO THIS MAP ] .iter()