Skip to content

lang: Namespaceable account discriminators#128

Merged
armaniferrante merged 2 commits into
masterfrom
armani/ns
Mar 26, 2021
Merged

lang: Namespaceable account discriminators#128
armaniferrante merged 2 commits into
masterfrom
armani/ns

Conversation

@armaniferrante

Copy link
Copy Markdown
Contributor

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
Otter-0x4ka5h pushed a commit to Otter-0x4ka5h/anchor that referenced this pull request Mar 25, 2026
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