solana: Replacing `AccountInfo` with `UncheckedAccount` leads to stack access violation
Opened this issue · 1 comments
nvsriram commented
See #507 (comment)
UncheckedAccount and AccountInfo both represent unchecked accounts in Anchor. As per this feature request, AccountInfo
may be deprecated in the future and it is recommended to use UncheckedAccount
for readability and performance. However, using UncheckedAccount
leads to a stack overflow error.
nvsriram commented
Initial debug attempt by Box
-ing the rate_limit
account in initialize was not enough. See #509