sui icon indicating copy to clipboard operation
sui copied to clipboard

[package-alt] consolidate environment determination on the sui side

Open mdgeorge4153 opened this issue 1 month ago • 1 comments

Description

We now use the same code everywhere to determine the environment to use for package loading/building:

  • check for an explicit environment name
  • try the CLI's active environment name
  • get the chain ID from the cache or the network or the manifest file (using the active CLI env name)
  • try to find a matching environment

This should apply everywhere we invoke the package system on the sui side.

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.

  • [ ] Protocol:
  • [ ] Nodes (Validators and Full nodes):
  • [ ] gRPC:
  • [ ] JSON-RPC:
  • [ ] GraphQL:
  • [ ] CLI:
  • [ ] Rust SDK:
  • [ ] Indexing Framework:

mdgeorge4153 avatar Dec 03 '25 00:12 mdgeorge4153

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
sui-docs Ready Ready Preview Comment Dec 6, 2025 1:57pm
2 Skipped Deployments
Project Deployment Preview Comments Updated (UTC)
multisig-toolkit Ignored Ignored Preview Dec 6, 2025 1:57pm
sui-kiosk Ignored Ignored Preview Dec 6, 2025 1:57pm

vercel[bot] avatar Dec 03 '25 00:12 vercel[bot]