Skip to content

Commit

Permalink
token 2022: add GroupMemberPointer extension
Browse files Browse the repository at this point in the history
  • Loading branch information
buffalojoec committed Nov 16, 2023
1 parent c9ec232 commit 24cb26a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
14 changes: 7 additions & 7 deletions token/program-2022-test/tests/group_member_pointer.rs
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#![cfg(feature = "test-sbf")]

use {
solana_program::system_instruction, solana_program_test::tokio::sync::Mutex,
spl_token_2022::extension::ExtensionType,
};

mod program_test;
use {
program_test::{TestContext, TokenContext},
solana_program_test::{processor, tokio, ProgramTest, ProgramTestContext},
solana_program::system_instruction,
solana_program_test::{
processor,
tokio::{self, sync::Mutex},
ProgramTest, ProgramTestContext,
},
solana_sdk::{
account::Account as SolanaAccount,
instruction::InstructionError,
Expand All @@ -25,7 +25,7 @@ use {
instruction::{initialize, update},
GroupMemberPointer,
},
BaseStateWithExtensions,
BaseStateWithExtensions, ExtensionType,
},
processor::Processor,
state::Mint,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ pub enum GroupMemberPointerInstruction {
/// * Single authority
/// 0. `[writable]` The mint.
/// 1. `[]` The group mint.
/// 2. `[signer]` The group's update authority.
/// 2. `[signer]` The mint's group member pointer authority.
/// 3. `[signer]` The group's update authority.
///
/// * Multisignature authority
/// 0. `[writable]` The mint.
Expand Down

0 comments on commit 24cb26a

Please sign in to comment.