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

[Bug] Lifetime difference in the extra accounts and normal account #92

Open
GabrielePicco opened this issue Nov 21, 2024 · 1 comment
Open
Labels
bug Something isn't working priority: high

Comments

@GabrielePicco
Copy link
Contributor

GabrielePicco commented Nov 21, 2024

Description

Currently, we cannot use extra acconts in combinations with normal accounts to create for example a CpiContext to perform a CPI due to lifetime conflicts.

Notes

Modify how extra accounts macro inject the helpers and set proper lifetimes: https://github.com/magicblock-labs/bolt/blob/main/crates/bolt-lang/attribute/extra-accounts/src/lib.rs#L80

@GabrielePicco GabrielePicco added the bug Something isn't working label Nov 21, 2024
@solthereum
Copy link

Hi, @GabrielePicco , sorry for leaving comment here without your agreement and respecting the team rule. Because I wanna contribute to MagicBlock team's development and join your team, so I am going to solve issues. So could you give me some issue to be solved quickly as test task?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority: high
Projects
None yet
Development

No branches or pull requests

2 participants