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

Return attached object on result, rather than result itself #820

Merged
merged 1 commit into from
May 1, 2023

Conversation

youkaicountry
Copy link
Contributor

@youkaicountry youkaicountry commented Apr 28, 2023

Brief description

Return the proper object in invoke system call

Checklist

  • I have built this pull request locally
  • I have ran the unit tests locally
  • I have manually tested this pull request
  • I have reviewed my pull request
  • I have added any relevant tests

Demonstration

VHP contract address, fetch via the get_contract_address system call using invoke_system_call:

2023-04-28 17:46:29.879405 (block_producer.Local-Koinos) [pob_producer.cpp:244] <info>: VHP contract address: 1Ak89pu1mGfha5EJgnMj2wa9EJRABurgwE

@sgerbino sgerbino merged commit 78de296 into master May 1, 2023
@sgerbino sgerbino deleted the invoke-fix branch May 1, 2023 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants