-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…14079) * Refactor object deployment CLI commands * Refactor object deployment CLI commands --------- Co-authored-by: Kevin <[email protected]> Co-authored-by: JohnChangUK <[email protected]>
- Loading branch information
1 parent
eb7c03a
commit 7b0872a
Showing
7 changed files
with
138 additions
and
6 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
...s-move/e2e-move-tests/src/tests/object_code_deployment.data/pack_immutable_deps/Move.toml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[package] | ||
name = "test_immutable_deps" | ||
version = "0.0.0" | ||
upgrade_policy = "compatible" | ||
|
||
[dependencies] | ||
test_package = { local = "../pack_initial_immutable" } |
10 changes: 10 additions & 0 deletions
10
...rc/tests/object_code_deployment.data/pack_immutable_deps/sources/test_immutable_deps.move
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
module object_immutable_deps::test_immutable_deps { | ||
|
||
struct State has key { | ||
value: u64 | ||
} | ||
|
||
public entry fun hello(s: &signer, value: u64) { | ||
move_to(s, State { value }) | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
aptos-move/e2e-move-tests/src/tests/object_code_deployment.data/pack_mutable_deps/Move.toml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[package] | ||
name = "test_mutable_deps" | ||
version = "0.0.0" | ||
upgrade_policy = "compatible" | ||
|
||
[dependencies] | ||
AptosFramework = { local = "../../../../../framework/aptos-framework" } | ||
test_package = { local = "../pack_upgrade_compat" } |
10 changes: 10 additions & 0 deletions
10
...ts/src/tests/object_code_deployment.data/pack_mutable_deps/sources/test_mutable_deps.move
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
module object_mutable_deps::test_mutable_deps { | ||
|
||
struct State has key { | ||
value: u64 | ||
} | ||
|
||
public entry fun hello(s: &signer, value: u64) { | ||
move_to(s, State { value }) | ||
} | ||
} |
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
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