Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit cb042a6

Browse files
committed
update crates to use spl-program-ids
1 parent 3bdc70d commit cb042a6

File tree

45 files changed

+64
-30
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+64
-30
lines changed

Cargo.lock

Lines changed: 20 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

account-compression/programs/account-compression/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ spl-concurrent-merkle-tree = { version = "0.3.0", path = "../../../libraries/con
2525
"sol-log",
2626
] }
2727
spl-noop = { version = "0.2.0", path = "../noop", features = ["no-entrypoint"] }
28+
spl-program-ids = { version = "1.0.0", path = "../../../program-ids" }
2829

2930
[profile.release]
3031
overflow-checks = true

account-compression/programs/account-compression/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ pub use spl_concurrent_merkle_tree::{
5757
node::Node,
5858
};
5959

60-
declare_id!("cmtDvXumGCrqC1Age74AVPhSRVXJMd8PJS91L8KbNCK");
60+
pub use spl_program_ids::spl_account_compression::*;
6161

6262
/// Context for initializing a new SPL ConcurrentMerkleTree
6363
#[derive(Accounts)]

account-compression/programs/noop/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@ default = []
1717

1818
[dependencies]
1919
solana-program = ">=1.18.11,<=2"
20+
spl-program-ids = { version = "1.0.0", path = "../../../program-ids" }

account-compression/programs/noop/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use solana_program::{
33
pubkey::Pubkey,
44
};
55

6-
declare_id!("noopb9bkMVfRPU8AsbpTUg8AQkHtKwMYZiFUjNRtMmV");
6+
pub use spl_program_ids::spl_noop::*;
77

88
#[cfg(not(feature = "no-entrypoint"))]
99
solana_program::entrypoint!(noop);

associated-token-account/program/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ borsh = "1.5.1"
1717
num-derive = "0.4"
1818
num-traits = "0.2"
1919
solana-program = "2.0.0"
20+
spl-program-ids = { version = "1.0.0", path = "../../program-ids" }
2021
spl-token = { version = "6.0", path = "../../token/program", features = [
2122
"no-entrypoint",
2223
] }

associated-token-account/program/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ use solana_program::{
1717
sysvar,
1818
};
1919

20-
solana_program::declare_id!("ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL");
20+
pub use spl_program_ids::spl_associated_token_account::*;
2121

2222
pub(crate) fn get_associated_token_address_and_bump_seed(
2323
wallet_address: &Pubkey,

binary-option/program/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ test-sbf = []
1010

1111
[dependencies]
1212
solana-program = "2.0.0"
13+
spl-program-ids = { version = "1.0.0", path = "../../program-ids" }
1314
thiserror = "1.0"
1415
spl-token = { version = "6.0", path = "../../token/program", features = [
1516
"no-entrypoint",

binary-option/program/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ pub mod validation_utils;
1111
// version
1212
pub use solana_program;
1313

14-
solana_program::declare_id!("betw959P4WToez4DkuXwNsJszqbpe3HuY56AcG5yevx");
14+
pub use spl_program_ids::spl_binary_option::*;

binary-oracle-pair/program/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ test-sbf = []
1414
num-derive = "0.4"
1515
num-traits = "0.2"
1616
solana-program = "2.0.0"
17+
spl-program-ids = { version = "1.0.0", path = "../../program-ids" }
1718
spl-token = { version = "6.0", path = "../../token/program", features = [
1819
"no-entrypoint",
1920
] }

0 commit comments

Comments
 (0)