Skip to content

CAP-0052 - provide a way to retrieve the return value of an on-chain contract call #1307

Closed

Description

@sisuresh

CAP-0052 specifies that INVOKE_HOST_FUNCTION_SUCCESS returns an SCVal on success, but our implementation doesn't include this value. We should either include it, or provide an alternate way to retrieve the return value of a contract function. An alternative solution would be to return the value in a system event using CAP-0056.

Activity

  1. added
    bug
    on Sep 19, 2022
  2. jonjove commented on Sep 20, 2022

    @jonjove
    Contributor

    Some relevant discussion can be found in stellar/stellar-core#3450 (comment)

  3. self-assigned this
    on Sep 21, 2022
  4. added a commit that references this issue on Sep 21, 2022
    4df1f48
  5. graydon commented on Sep 21, 2022

    @graydon
    Contributor

    This is still pending a core change: stellar/stellar-core#3543

  6. sisuresh commented on Oct 7, 2022

    @sisuresh
    ContributorAuthor
  7. added a commit that references this issue on Sep 8, 2023
    9ac0264
  8. added a commit that references this issue on Sep 12, 2024
    7068cf0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions