-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lang: Implement Key
trait without to_account_info() calls
#608
Comments
I'm not sure how to do this properly, but with cargo-asm I see a clone with Decide to count instructions with
with patched anchor:
I think to add |
Sounds great. |
Looks like there is a nicer way to solve an issue... use |
Submitted pull request ⬆️ Waiting solana 1.7.11 |
1.7.11 is out, but not all required crates are published |
Currently the
Key
trait is implemented via a wasteful call toto_account_info
which incurs a clone on the AccountInfo.The text was updated successfully, but these errors were encountered: