Skip to content
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

[4/n][vm-rewrite][Move] Add shared "old vm types" to move-execution, and update execution versions to use it #21068

Open
wants to merge 1 commit into
base: tzakian/vm-rewrite-adapter-3
Choose a base branch
from

Conversation

tzakian
Copy link
Contributor

@tzakian tzakian commented Feb 3, 2025

This gets the different execution versions working. It does this by replicating old code and traits that are removed in the new VM into the move-execution/shared location, and different move-execution and sui-execution versioned code can access these things from there.

NOTE

This will be moved to a crate outside of move-execution in a future PR after a discussion at the Move team meeting. Changing the location of the new shared dir here will be harder to do rather than making this change higher up.

NB: The code in the PR may not be working as future PRs will build on top of this.

@tzakian tzakian requested a review from cgswords February 3, 2025 20:58
@tzakian tzakian requested a review from ronny-mysten as a code owner February 3, 2025 20:58
Copy link

vercel bot commented Feb 3, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sui-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 4, 2025 8:34pm
2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
multisig-toolkit ⬜️ Ignored (Inspect) Visit Preview Feb 4, 2025 8:34pm
sui-kiosk ⬜️ Ignored (Inspect) Visit Preview Feb 4, 2025 8:34pm

…and update execution versions to use it

This gets the different execution versions working. It does this by
replicating old code and traits that are removed in the new VM into the
`move-execution/shared` location, and different move-execution and
sui-execution versioned code can access these things from there.

**NOTE:** This will be moved to a crate outside of `move-execution` in a
future PR. Changing the location of the new `shared` dir here will be
harder to do rather than making this change higher up.

NB: The code in the PR may not be working as future PRs will build on top of
this.
Copy link
Contributor

@cgswords cgswords left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As discussed, we are going to roll this back a bit. Stamped to make that less painful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants