-
Notifications
You must be signed in to change notification settings - Fork 71
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
Remove unnecessary clones from metadata #119
Comments
Is this related to SDK types not being Copy? I'm starting to think we should consider making all the SDK types Copy, given that the SDK types are mostly backed by a u64. Unsure if that has drawbacks though. cc @graydon |
Not really, there are just some places where a clone was made but you could have just moved. For example, https://github.com/stellar/soroban-token-contract/blob/44127bca3ee1dcf3d8107db6fa60077e7ec3dff8/src/metadata.rs#L14-L17 I've also wondered about making everything |
Unfortunately plenty of SDK types, the ones that embed |
This is already done in the built-in token contract but is not done in the example token contract. |
No description provided.
The text was updated successfully, but these errors were encountered: