Skip to content

use zero address for move build --dump#25074

Merged
mdgeorge4153 merged 5 commits intomainfrom
mdgeorge/zero-for-upgrades
Feb 22, 2026
Merged

use zero address for move build --dump#25074
mdgeorge4153 merged 5 commits intomainfrom
mdgeorge/zero-for-upgrades

Conversation

@mdgeorge4153
Copy link
Copy Markdown
Contributor

@mdgeorge4153 mdgeorge4153 commented Jan 23, 2026

Description

This changes sui move build --dump to output bytecode with the root package at address 0, so that it is suitable for publication.

Test plan

Updated the shell tests for dump to ensure that the generated bytecode has the main module at 0


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: sui move build --dump (the short version of --dump-bytecode-as-base64) now correctly outputs bytecode with the 0 address.
  • Rust SDK:
  • Indexing Framework:

@vercel
Copy link
Copy Markdown

vercel bot commented Jan 23, 2026

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

Project Deployment Actions Updated (UTC)
sui-docs Ready Ready Preview, Comment Feb 20, 2026 5:27pm
2 Skipped Deployments
Project Deployment Actions Updated (UTC)
multisig-toolkit Ignored Ignored Preview Feb 20, 2026 5:27pm
sui-kiosk Ignored Ignored Preview Feb 20, 2026 5:27pm

Request Review

@mdgeorge4153 mdgeorge4153 force-pushed the mdgeorge/zero-for-upgrades branch from 632a5a1 to a1e7a97 Compare February 20, 2026 16:37
@mdgeorge4153 mdgeorge4153 temporarily deployed to sui-typescript-aws-kms-test-env February 20, 2026 16:37 — with GitHub Actions Inactive
@mdgeorge4153 mdgeorge4153 changed the title use zero address for move test use zero address for move build --dump Feb 20, 2026
@mdgeorge4153 mdgeorge4153 marked this pull request as ready for review February 20, 2026 16:40
@mdgeorge4153 mdgeorge4153 temporarily deployed to sui-typescript-aws-kms-test-env February 20, 2026 16:40 — with GitHub Actions Inactive
@mdgeorge4153 mdgeorge4153 merged commit 485d836 into main Feb 22, 2026
57 of 58 checks passed
@mdgeorge4153 mdgeorge4153 deleted the mdgeorge/zero-for-upgrades branch February 22, 2026 10:12
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.

3 participants