Skip to content

feature: Allow Generic type programs in Accounts Struct - #3878

Merged
jacobcreech merged 13 commits into
otter-sec:masterfrom
swaroop-osec:issue/3669
Oct 23, 2025
Merged

feature: Allow Generic type programs in Accounts Struct#3878
jacobcreech merged 13 commits into
otter-sec:masterfrom
swaroop-osec:issue/3669

Conversation

@swaroop-osec

Copy link
Copy Markdown
Collaborator

Fixes #3699

@vercel

vercel Bot commented Aug 23, 2025

Copy link
Copy Markdown

@swaroop-osec is attempting to deploy a commit to the Solana Foundation Team on Vercel.

A member of the Team first needs to authorize it.

@swaroop-osec
swaroop-osec marked this pull request as ready for review August 23, 2025 18:21
Comment thread lang/syn/src/codegen/accounts/constraints.rs Outdated
@jamie-osec

Copy link
Copy Markdown
Collaborator

LGTM other than the realloc/resize change

@nutafrost nutafrost moved this to Security Review Required in Anchor 1.0 Aug 26, 2025
@nutafrost nutafrost moved this from Security Review Required to Security Review Done in Anchor 1.0 Sep 11, 2025
@swaroop-osec swaroop-osec self-assigned this Sep 12, 2025
@jacobcreech

Copy link
Copy Markdown
Collaborator

@swaroop-osec could you resolve the conflicts?

@vercel

vercel Bot commented Oct 21, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
anchor-docs Error Error Oct 21, 2025 4:49am

💡 Enable Vercel Agent with $100 free credit for automated AI reviews

@jacobcreech
jacobcreech merged commit 7360dbb into otter-sec:master Oct 23, 2025
55 of 56 checks passed
@github-project-automation github-project-automation Bot moved this from Security Review Done to Done in Anchor 1.0 Oct 23, 2025
jamie-osec pushed a commit to jamie-osec/anchor that referenced this pull request Oct 27, 2025
…#3878)

* feat(lang): Enhance Program type with generic validation support

* feat(tests): Add generic program tests

* refactor: Replace realloc with resize

* feat(tests): Add test for custom program address validation

* bench: update

* chore: Improve formatting

* Revert "refactor: Replace realloc with resize"

This reverts commit 61cc66d.

* feat(tests): Add custom program tests

* chore(tests): Rename to custom-program

* chore: Update CHANGELOG.md

* chore: Update benchmarks
akash-osec pushed a commit to akash-osec/anchor that referenced this pull request Mar 25, 2026
…#3878)

* feat(lang): Enhance Program type with generic validation support

* feat(tests): Add generic program tests

* refactor: Replace realloc with resize

* feat(tests): Add test for custom program address validation

* bench: update

* chore: Improve formatting

* Revert "refactor: Replace realloc with resize"

This reverts commit 61cc66d.

* feat(tests): Add custom program tests

* chore(tests): Rename to custom-program

* chore: Update CHANGELOG.md

* chore: Update benchmarks
@jamie-osec jamie-osec added this to the v1.0.0 milestone Jun 23, 2026
akash-osec pushed a commit to akash-osec/anchor that referenced this pull request Jul 25, 2026
…#3878)

* feat(lang): Enhance Program type with generic validation support

* feat(tests): Add generic program tests

* refactor: Replace realloc with resize

* feat(tests): Add test for custom program address validation

* bench: update

* chore: Improve formatting

* Revert "refactor: Replace realloc with resize"

This reverts commit 37cbdd7bcd121cc38719c3b69b4cc0441bd6732a.

* feat(tests): Add custom program tests

* chore(tests): Rename to custom-program

* chore: Update CHANGELOG.md

* chore: Update benchmarks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feature: allow address= and Program to interact

4 participants