-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[loader] Enable V2 implementation as default, V1 uses an env var #14473
[loader] Enable V2 implementation as default, V1 uses an env var #14473
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @georgemitenkov and the rest of your teammates on Graphite |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## george/main #14473 +/- ##
==============================================
Coverage ? 58.9%
==============================================
Files ? 858
Lines ? 209460
Branches ? 0
==============================================
Hits ? 123570
Misses ? 85890
Partials ? 0 ☔ View full report in Codecov by Sentry. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
6fa985e
to
d336f0f
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
0322c35
to
c164354
Compare
1a55481
to
97c24d7
Compare
c164354
to
63b019e
Compare
97c24d7
to
49d88e4
Compare
63b019e
to
6284a5a
Compare
49d88e4
to
c01635f
Compare
6284a5a
to
d49c535
Compare
c01635f
to
687c31a
Compare
d49c535
to
e33a2a0
Compare
687c31a
to
ddcdc41
Compare
e33a2a0
to
591110c
Compare
ddcdc41
to
0e72671
Compare
- Updated linker error message to be like in V1 - Added checks for friends existing when publishing - Removed bytecode verifier tests which check friendship cycles - Commented out async vm tests
- Added natives check in V2 implementation. This is needed to keep 1:1 mapping with V1 implementation, but whatever it checks seems useless legacy native struct. - Added a paranoid check that address/name of the module correspond to its storage location.
1. Loader V2 also uses verification cache like loader V1. This should help compare both. 2. Factored out module deserialization so that code is not duplicated. 3. Fixed a few TODOs, and made sure MoveVM tests pass again.
- Move verified cache into its own file, add nits - Move env Loader V1 variable to lib.rs - hash() returns a reference - deleted commented out cargo dependency in async testsuite
5d59a9f
to
4cef9e3
Compare
Description
validate_publish_request
runs after bytecode verifier, we keep this as is for now to run tests and minimize the divergence in behaviour.Note: proptests for Block-STM for module publishing are still broken.
Type of Change
Which Components or Systems Does This Change Impact?
How Has This Been Tested?
Key Areas to Review
Checklist