-
Notifications
You must be signed in to change notification settings - Fork 11.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fastx adapter] making move execution work end-to-end
Using the new VM API in diem/diem@346301f to make the Move-powered execution work as intended. At a high level: - The adapter takes some FastX objects, some pure values (e.g., addresses), and a Move function to call as input as input - It takes extracts a Move value from each object and type-checks the objects against the function signature - It invokes the function on the Move values and pure values - It processes the effects produced from executing the function to update the input objects, as well as updating the store with freshly created and deleted objects. This is intricate logic that will need much more testing in time. But wanted to get this functionality out as early as possible to unblock the client workstream, which will need to send `MoveCall` orders and observe their effects.
- Loading branch information
1 parent
672ccdb
commit 3a3575a
Showing
19 changed files
with
882 additions
and
290 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
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,4 +12,3 @@ pub mod authority; | |
pub mod client; | ||
pub mod downloader; | ||
pub mod fastpay_smart_contract; | ||
pub mod genesis; |
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
Oops, something went wrong.