bolt icon indicating copy to clipboard operation
bolt copied to clipboard

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

Open GabrielePicco opened this issue 1 year ago • 1 comments

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 avatar Nov 21 '24 16:11 GabrielePicco

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?

ethsdev avatar Dec 03 '24 20:12 ethsdev