8000 sui: use implicit Sui framework dependency by kcsongor · Pull Request #4384 · wormhole-foundation/wormhole · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

sui: use implicit Sui framework dependency #4384

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

kcsongor
Copy link
Contributor

As of MystenLabs/sui#21204, the sui move compiler implicitly adds system dependencies when compiling packages. For that behaviour to trigger, we remove the explicit dependency from the various Move.toml files.

This means that integrators no longer need to pin these packages to the same version we use (or override with a newer version). The resulting bytecode will be identical since all the code is dynamically linked to the latest version anyway as system packages are upgraded in-place (https://docs.sui.io/references/sui-api/sui-graphql/reference/types/objects/change-epoch-transaction).

Csongor Kiss added 4 commits May 21, 2025 20:26
The previous command assumed gnu grep, which is not distributed (by
default) on macs.
To make it a bit easier to identify where things went wrong
these are now automatically added by the compiler, and pinning them to
an older version does not actually mean much because on-chain they will
be dynamically linked to the latest version anyway. By removing the
pinned version here, we allow integrators to also not have to specify
the version (or have to override it).
This changes presumably due to changes in the object id assignment logic
in the runtime. These are not guaranteed to be consistent between
toolchain versions, so we just update to the most recent one.
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.

1 participant
0