Skip to content

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

@GabrielePicco

Description

@GabrielePicco

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions