Skip to content
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

[sui adapter] expose entrypoint for calling public function with return values #5836

Open
sblackshear opened this issue Nov 3, 2022 · 2 comments
Assignees
Labels

Comments

@sblackshear
Copy link
Collaborator

This is a blocker for #3815.

adapter::execute_function isn't quite suitable for this because it can only invoke entry functions, and it only allows primitive return values. We will need a different code path that can

  • call public functions that take any argument type (pure values, immutable/mutable refs, etc)
  • return any non-reference type(s)
  • extract the return values and pipe them into a REST response for the API above
@0xys
Copy link

0xys commented Nov 29, 2022

I like this feature!

Do you have an estimate of the time of delivery?

@ernest-zulpukarov
Copy link

wen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants