-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[RFC][move VM] VM entrypoint to execute a function for its effects
Adapters and client tooling sometimes want to execute an arbitary function (i.e., not a `script` function or script) and observe its effects--see diem/diem#9927. `Session.execute_function` almost does this, but only supports pure arguments (no references). This PR introduces a new API in `Session` that enables executing a function and received a structured output (`ExecutionResult`) representing its effects. Closes: #10073
- Loading branch information
1 parent
ba30d42
commit 346301f
Showing
2 changed files
with
211 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters