-
Notifications
You must be signed in to change notification settings - Fork 199
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
Solana: make anchor account.fetch() work #1435
Labels
solana
The Solana target
Milestone
Comments
We could merge this work with walking the account storage directly without copying. This work may change the storage layout. |
This could be related #933 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Anchor can decode the fields in the account data of anchor rust programs. The metadata contains a list of fields. Make this work with Solidity.
A complication is that Anchor uses borsh encoding for the account data. Solidity can't use borsh encoding for this, as we want to update dynamic length items in place (e.g. strings) without re-encoding everything.
The text was updated successfully, but these errors were encountered: