Skip to content

Commit

Permalink
token-2022: Use mainnet-beta binary in all tools (#3165)
Browse files Browse the repository at this point in the history
#### Problem

The binary of token-2022 bundled in program-test and fetch-spl.sh is
very out of date with what's currently running on mainnet.

#### Summary of changes

Update the shared object and version to fetch.
  • Loading branch information
joncinque authored Oct 15, 2024
1 parent e05f754 commit 9695566
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fetch-spl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ fetch_program() {
}

fetch_program token 3.5.0 TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA BPFLoader2111111111111111111111111111111111
fetch_program token-2022 1.0.0 TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb BPFLoaderUpgradeab1e11111111111111111111111
fetch_program token-2022 5.0.2 TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb BPFLoaderUpgradeab1e11111111111111111111111
fetch_program memo 1.0.0 Memo1UhkJRfHyvLMcVucJwxXeuD728EqVDDwQDxFMNo BPFLoader1111111111111111111111111111111111
fetch_program memo 3.0.0 MemoSq4gqABAXKb96qnH8TysNcWxMyWCqXgDLGmfcHr BPFLoader2111111111111111111111111111111111
fetch_program associated-token-account 1.1.2 ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL BPFLoader2111111111111111111111111111111111
Expand Down
2 changes: 1 addition & 1 deletion program-test/src/programs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ static SPL_PROGRAMS: &[(Pubkey, Pubkey, &[u8])] = &[
(
solana_inline_spl::token_2022::ID,
solana_sdk::bpf_loader_upgradeable::ID,
include_bytes!("programs/spl_token_2022-1.0.0.so"),
include_bytes!("programs/spl_token_2022-5.0.2.so"),
),
(
spl_memo_1_0::ID,
Expand Down
Binary file removed program-test/src/programs/spl_token_2022-1.0.0.so
Binary file not shown.
Binary file not shown.

0 comments on commit 9695566

Please sign in to comment.