bolt
bolt copied to clipboard
[Bug] Lifetime difference in the `extra accounts` and `normal account`
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
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?