Skip to content

Commit 9695566

Browse files
authored
token-2022: Use mainnet-beta binary in all tools (anza-xyz#3165)
#### 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.
1 parent e05f754 commit 9695566

File tree

4 files changed

+2
-2
lines changed

4 files changed

+2
-2
lines changed

fetch-spl.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ fetch_program() {
4545
}
4646

4747
fetch_program token 3.5.0 TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA BPFLoader2111111111111111111111111111111111
48-
fetch_program token-2022 1.0.0 TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb BPFLoaderUpgradeab1e11111111111111111111111
48+
fetch_program token-2022 5.0.2 TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb BPFLoaderUpgradeab1e11111111111111111111111
4949
fetch_program memo 1.0.0 Memo1UhkJRfHyvLMcVucJwxXeuD728EqVDDwQDxFMNo BPFLoader1111111111111111111111111111111111
5050
fetch_program memo 3.0.0 MemoSq4gqABAXKb96qnH8TysNcWxMyWCqXgDLGmfcHr BPFLoader2111111111111111111111111111111111
5151
fetch_program associated-token-account 1.1.2 ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL BPFLoader2111111111111111111111111111111111

program-test/src/programs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ static SPL_PROGRAMS: &[(Pubkey, Pubkey, &[u8])] = &[
2121
(
2222
solana_inline_spl::token_2022::ID,
2323
solana_sdk::bpf_loader_upgradeable::ID,
24-
include_bytes!("programs/spl_token_2022-1.0.0.so"),
24+
include_bytes!("programs/spl_token_2022-5.0.2.so"),
2525
),
2626
(
2727
spl_memo_1_0::ID,
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)