8000 feat: add support for tuple types in space calculation by BretasArthur1 · Pull Request #3744 · solana-foundation/anchor · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat: add support for tuple types in space calculation #3744

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

8000
BretasArthur1
Copy link
@BretasArthur1 BretasArthur1 commented Jun 14, 2025

This commit introduces the ability to handle tuple types in the space calculation logic.

  • A new TestTupleStruct is added to validate various tuple configurations, including nested and option types, ensuring accurate space calculations through comprehensive unit tests.

Helps to Close: #3704

This commit introduces the ability to handle tuple types in the space calculation logic. A new `TestTupleStruct` is added to validate various tuple configurations, including nested and option types, ensuring accurate space calculations through comprehensive unit tests.
Copy link
vercel bot commented Jun 14, 2025

@BretasArthur1 is attempting to deploy a commit to the Solana Foundation Team on Vercel.

A member of the Team first needs to authorize it.

@Aursen Aursen added Minor Minor breaking change lang labels Jun 16, 2025
@Aursen
Copy link
Collaborator
Aursen commented Jun 16, 2025

@BretasArthur1 Can you fix the rustfmt? After lgtm

@BretasArthur1
Copy link
Author

sure

@BretasArthur1
Copy link
Author

done @Aursen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lang Minor Minor breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

InitSpace macro do not support complex Option<> types.
2 participants
0