Skip to content

chore: explicitly set localnet environment in all walrus packages in test to work with new package management system in Sui 1.63#2822

Merged
halfprice merged 14 commits into
ebmifa/bump-sui-testnet-v1.63.1-20260106230126from
zhewu/bump-sui-to-1.63
Jan 9, 2026
Merged

chore: explicitly set localnet environment in all walrus packages in test to work with new package management system in Sui 1.63#2822
halfprice merged 14 commits into
ebmifa/bump-sui-testnet-v1.63.1-20260106230126from
zhewu/bump-sui-to-1.63

Conversation

@halfprice

@halfprice halfprice commented Jan 7, 2026

Copy link
Copy Markdown
Collaborator

Description

This PR does two things:

  1. resolve conflicts when updating sui to 1.63 in Walrus codebase

  2. This is an effort to integrate the new package management system introduced in sui 1.63. Since the old package
    management system is no longer available, we have to make this change in order to integrate Sui 1.63

However, there are some issue related to the new package management system that cause walrus contracts publising
not working in test setup. This is mostly due to that the ephemeral package publishing does not work well with
dependencies that are also an ephemeral published published package.

The work around in this PR is to manually set all the contracts to use a localnet environment, and update its chain ID
during each setup. We create a new Move.test.toml in all the contracts and will use its updated version to replace the
Move.toml in system setup.

Note that this is a temporary solution and should be resolved once the new package management system can work
with ephemeral packages.

Resolve WAL-821
Related to WAL-1125 WAL-1126 WAL-1127

Test plan

How did you test the new or updated feature?


Release notes

Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.
For each box you select, include information after the relevant heading that describes the impact of your changes that
a user might notice and any actions they must take to implement updates. (Add release notes after the colon for each item)

  • Storage node:
  • Aggregator:
  • Publisher:
  • CLI:

@halfprice halfprice changed the title attempt to resolve conflict chore: attempt to resolve conflict to bring sui to 1.63 Jan 7, 2026
@github-actions

github-actions Bot commented Jan 7, 2026

Copy link
Copy Markdown
Contributor

Warning: This PR modifies the Walrus CLI. Please consider the following:

  • Make sure the changes are backwards compatible. Consider deprecating options before
    removing them.
  • Generally only use long CLI options, not short ones to avoid conflicts in the
    future.
  • If you added new options or features, or modified the behavior, please document the
    changes in the release notes of the PR and update the documentation in the docs/book
    directory.

@halfprice halfprice force-pushed the zhewu/bump-sui-to-1.63 branch from 14933fd to 6909293 Compare January 8, 2026 21:59
@halfprice halfprice force-pushed the ebmifa/bump-sui-testnet-v1.63.1-20260106230126 branch from a86ee41 to b472f84 Compare January 8, 2026 23:57
@halfprice halfprice force-pushed the zhewu/bump-sui-to-1.63 branch from 6909293 to 594497c Compare January 9, 2026 00:21
@halfprice halfprice changed the title chore: attempt to resolve conflict to bring sui to 1.63 chore: explicitly set localnet environment in all walrus packages in test to work with new package management system in Sui 1.63 Jan 9, 2026
@halfprice halfprice requested a review from wbbradley January 9, 2026 01:37
@halfprice halfprice marked this pull request as ready for review January 9, 2026 01:37
walrus = { local = "../walrus" }

[environments]
localnet = "ReplaceChainId"

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

The way the hack works is to replace the existing Move.toml with this Move.test.toml, and update ReplaceChainId with the actual chain ID.

Why can't we just update the existing Move.toml to this? Because we want to maintain compatibility for any contracts that depend on Walrus contract.

@halfprice halfprice merged commit 3439a60 into ebmifa/bump-sui-testnet-v1.63.1-20260106230126 Jan 9, 2026
26 checks passed
@halfprice halfprice deleted the zhewu/bump-sui-to-1.63 branch January 9, 2026 05:36
github-actions Bot added a commit that referenced this pull request Jan 9, 2026
* ci: bump Sui testnet version to testnet-v1.63.1

* Empty commit to trigger CI

* chore: explicitly set localnet environment in all walrus packages in test to work with new package management system in Sui 1.63 (#2822)

* Empty commit to trigger CI

* attempt to resolve conflict

* fix clippy warning

* remove dead code to fix ec issue

* chore: package management debugging (#2824)

debugging

* tmp file

* mega fix commit

* simtest all fix

* fix lint

* more format fix

* formatting

* fix remaining issue

* cleanup for review

* cleanup

---------

Co-authored-by: Eugene Boguslavsky <eugene@mystenlabs.com>
Co-authored-by: Will Bradley <will.bradley@mystenlabs.com>
Co-authored-by: Karl Wuest <5716112+karlwuest@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Eugene Boguslavsky <eugene@mystenlabs.com>
Co-authored-by: Zhe Wu <halfprice@users.noreply.github.com>
Co-authored-by: Will Bradley <will.bradley@mystenlabs.com>
Co-authored-by: Karl Wuest <5716112+karlwuest@users.noreply.github.com>
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.

4 participants