我的 Anchor 程序有一个如下所示的指令结构:
#[derive(Accounts)]
pub struct MyInstruction<'info> {
pub my_account: Account<'info, MyAccount>,
// ...
}
#[account]
pub struct MyAccount {
// ... Many different fields
}
当我尝试运行使用该结构的指令时,我得到一个奇怪的堆栈错误,如下所示:
Program failed to complete: Access violation in stack frame 3 at address 0x200003fe0 of size 8 by instruction #28386
是什么赋予了?