forked from MystenLabs/sui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[verify] Limit check for 0x0 addresses to publish command (MystenLabs…
…#7000) Previously this check ran whenever a module was compiled, preventing the compilation of modules with non-zero addresses, with the intention of preventing the accidental re-publishing of an already published module. However, this blocks uses of a compiled package apart from for publishing such as verifying that it matches an on-chain package, or running its tests. Loosening the restriction by only making this check when publishing a module (where it is relevant, and also double checked by the validator). Test Plan: ``` sui$ cargo nextest run sui$ cargo simtest ```
- Loading branch information
Showing
2 changed files
with
37 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters