Skip to content

Commit

Permalink
add solana-sdk-ids dependency and remove solana-secp256r1-program
Browse files Browse the repository at this point in the history
… dependency
  • Loading branch information
samkim-crypto committed Dec 3, 2024
1 parent 3f503c6 commit 49eabc4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion runtime-transaction/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ solana-builtins-default-costs = { workspace = true }
solana-compute-budget = { workspace = true }
solana-pubkey = { workspace = true }
solana-sdk = { workspace = true }
solana-secp256r1-program = { workspace = true, features = ["openssl-vendored"] }
solana-sdk-ids = { workspace = true }
solana-svm-transaction = { workspace = true }
thiserror = { workspace = true }

Expand Down
6 changes: 3 additions & 3 deletions runtime-transaction/src/signature_details.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ impl SignatureDetailsFilter {
ProgramIdStatus::Secp256k1
} else if program_id == &solana_sdk::ed25519_program::ID {
ProgramIdStatus::Ed25519
} else if program_id == &solana_secp256r1_program::ID {
} else if program_id == &solana_sdk_ids::secp256r1_program::ID {
ProgramIdStatus::Secp256r1
} else {
ProgramIdStatus::NotSignature
Expand Down Expand Up @@ -150,7 +150,7 @@ mod tests {
Pubkey::new_unique(),
solana_sdk::secp256k1_program::ID,
solana_sdk::ed25519_program::ID,
solana_secp256r1_program::ID,
solana_sdk_ids::secp256r1_program::ID,
];
let instructions = [
make_instruction(&program_ids, 1, &[5]),
Expand All @@ -174,7 +174,7 @@ mod tests {
let program_ids = [
solana_sdk::secp256k1_program::ID,
solana_sdk::ed25519_program::ID,
solana_secp256r1_program::ID,
solana_sdk_ids::secp256r1_program::ID,
];
let instructions = [
make_instruction(&program_ids, 0, &[]),
Expand Down

0 comments on commit 49eabc4

Please sign in to comment.