Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lang: Namespaceable account discriminators #128

Merged
merged 2 commits into from
Mar 26, 2021
Merged

Conversation

armaniferrante
Copy link
Member

Addresses #127.

Allows the ability to namespace the account discriminator pre-image, e.g.,

#[account("internal")]
pub struct IdlAccount {
...
}

@armaniferrante armaniferrante linked an issue Mar 26, 2021 that may be closed by this pull request
@armaniferrante armaniferrante merged commit 07a6523 into master Mar 26, 2021
@armaniferrante armaniferrante deleted the armani/ns branch March 26, 2021 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Namespace anchor accounts used in codegen
1 participant