-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
[move][aptos-vm] End-to-end module publishing #14395
Conversation
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @georgemitenkov and the rest of your teammates on Graphite |
8eb0dee
to
deaff3e
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## george/init-module #14395 +/- ##
=====================================================
Coverage ? 59.5%
=====================================================
Files ? 856
Lines ? 208742
Branches ? 0
=====================================================
Hits ? 124386
Misses ? 84356
Partials ? 0 ☔ View full report in Codecov by Sentry. |
f5efb0b
to
c453bd3
Compare
30513a3
to
14f50fa
Compare
c453bd3
to
e9658ca
Compare
14f50fa
to
965b4b4
Compare
e9658ca
to
3ca1750
Compare
965b4b4
to
6fcf07a
Compare
3ca1750
to
8ae4fc6
Compare
6fcf07a
to
ae7e8ad
Compare
b484fa3
to
0fdeb4b
Compare
9d70d04
to
0cfb1a0
Compare
0fdeb4b
to
1bfdbd9
Compare
0cfb1a0
to
1510c6f
Compare
1bfdbd9
to
4f3c498
Compare
1510c6f
to
83c8549
Compare
4f3c498
to
c2abf09
Compare
83c8549
to
7f5926b
Compare
c2abf09
to
8531abe
Compare
7f5926b
to
6ff9ff2
Compare
8531abe
to
84a1ae7
Compare
6ff9ff2
to
6eaf5d4
Compare
84a1ae7
to
896812a
Compare
6eaf5d4
to
f841350
Compare
896812a
to
a061140
Compare
- MoveVM now provides an ability to stage modules into a temporary storage, verifying is this is "publishable". - Tests and test harnesses adapted to reduce the number of changes (compared to `main`), e.g., old publishing workflows are returned but marked as deprecated. - Tests adapted to work with both V1 and V2 loader publishing checks. - AptosVM now should correctly publish packages in non-block context and without custom verification extensions.
789fdb0
to
99498c5
Compare
a061140
to
0dd774c
Compare
All comments will be addresses on top of |
Description
This PR introduces module publishing for loader V1 and code cache. It also refactors some code introduces by previous PR, in order to minimize overall changes (w.r.t. to
main
). In particular:#[deprecated]
, but otherwise there was no reason to remove them :) It is easier to instead add a switch based on V1/V2 case rather than change both.vm_harness
back to minimize changes... Previous code was too different frommain
for no reason. Note that the actual diff frommain
is not visible here.move-vm
)Type of Change
Which Components or Systems Does This Change Impact?
How Has This Been Tested?
See #14397
Key Areas to Review
Checklist