forked from MystenLabs/sui
-
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.
[FastX adapter/verifier] Implement Move module initializers (MystenLa…
…bs#337) * Added adapter test that can use Move code from source files * Renamed directory containing Move tests data to make it more clear that no Rust code is involved * First take at running module initializers * Fixes and changes to get all the current tests working in presence of module initializers * Added additional restrictions on module initializer function and relevant tests * Added non-zero gas budget to make sure that publish calls do not (intentionally) fail due to insufficient gas * Make sure to test 0 gas budget when publishing without initializers * Update context modified in the Move VM only for publishing-related calls * Cosmetic changes * Handle running out of gas gracefully rather than panicking due to overflow
- Loading branch information
Showing
23 changed files
with
893 additions
and
258 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 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 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.