-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
feat: support heap types return from scripts #866
Comments
Vec<>
type return from scripts
This is currently blocked because returning heap-type data from contract calls is possible only because we are injecting additional bytecode in the script that calls the contract. Since in script calls there is no "calling script", this is not currently possible. We need support for heap types from the compiler. |
@iqdecay we need to implement this on the TS SDK, too. Can you pls share any issues that you are tracking on the compiler so that we know when the support is there? |
There currently isn't any issue to track for Sway unfortunately. |
done in: #1303 |
#848 introduced
Vec<>
type return from contracts, the same should be done for scripts.#868 introduced
Bytes
type return from contracts, the same should be done for scripts.The text was updated successfully, but these errors were encountered: