You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No support for dynamic account reallocation, which limits the flexibility needed for certain Solana programs.
In Anchor, we can realloc attribute allows developers to resize system accounts dynamically.
No support for dynamic account reallocation, which limits the flexibility needed for certain Solana programs.
In Anchor, we can realloc attribute allows developers to resize system accounts dynamically.
example code in Anchor to reallocate size:
#[account( mut, realloc = (new_size), realloc::payer = payer, realloc::zero = true, )]
Adding reallocation support would be a valuable enhancement to the Poseidon framework
Example - https://github.com/solana-developers/program-examples/tree/main/basics/realloc/anchor
The text was updated successfully, but these errors were encountered: