Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

token 2022: add support for additional signers in test init functions #5838

Conversation

buffalojoec
Copy link
Contributor

This PR only modifies test configurations for spl-token-2022-test. It allows
developers to provide an additional list of signers for mint initialization
methods.

Unfortunately, this required a bit of refactoring.

@joncinque
Copy link
Contributor

Sorry, what's the motivation for this change? Why are more signers needed during the initialization of the mint?

@buffalojoec
Copy link
Contributor Author

Sorry, what's the motivation for this change? Why are more signers needed during the initialization of the mint?

Wait I actually did this wayy better now. The motivation is because - in the next commit - in order to initialize a "group member" pointer saying your mint is in fact a member of some group, the group update authority must sign that instruction.

@buffalojoec buffalojoec changed the base branch from 11-13-token_2022_add_support_for__writing__repeating_fixed-length_extensions to master November 16, 2023 21:03
@buffalojoec buffalojoec force-pushed the 11-14-token_2022_add_support_for_additional_signers_in_test_init_functions branch from 65c5fbd to 6320eb8 Compare November 16, 2023 21:03
@buffalojoec buffalojoec deleted the 11-14-token_2022_add_support_for_additional_signers_in_test_init_functions branch February 23, 2024 21:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants