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

Resolve Stack Violations on Create Mint and Group Instruction #56

Closed
kespinola opened this issue Apr 15, 2024 · 1 comment
Closed

Resolve Stack Violations on Create Mint and Group Instruction #56

kespinola opened this issue Apr 15, 2024 · 1 comment

Comments

@kespinola
Copy link
Contributor

Issue

When calling the program locally to run in a solana-test-validator developer receives large stack size violations on mint and group instructions.

Cause

The large use of extension attributes on on the instructions cause heap memory violations.

Resolution

Reduce the use of attributes on extensions to reduce macro generation.

https://github.com/wen-community/wen-new-standard/blob/main/programs/wen_new_standard/src/instructions/mint/create.rs#L38-L48

photo_2024-04-15 11 46 01
Screenshot 2024-04-04 at 11 02 49 PM

@kespinola
Copy link
Contributor Author

duplicate #63

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 a pull request may close this issue.

1 participant