-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into update-portal
- Loading branch information
Showing
175 changed files
with
4,291 additions
and
2,644 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
File renamed without changes.
4 changes: 4 additions & 0 deletions
4
...ts/tests/cases/mvir_tests/data_struct/data_struct_invalid_current_module_struct_field.exp
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,4 @@ | ||
processed 1 task | ||
|
||
task 0 'publish'. lines 1-12: | ||
status ABORTED with code 10014 in 0000000000000000000000000000000000000000000000000000000000000002::move_module |
12 changes: 12 additions & 0 deletions
12
...s/tests/cases/mvir_tests/data_struct/data_struct_invalid_current_module_struct_field.mvir
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,12 @@ | ||
//# publish | ||
module 0x1.TestModule1 { | ||
struct S0<T> has copy, drop {x: T} | ||
// error code 10014: INVALID_DATA_STRUCT_NOT_ALLOWED_TYPE | ||
struct S1 has drop,copy {v: Self.S0<u32>} | ||
|
||
metadata { | ||
data_struct { | ||
0x1::TestModule1::S1 -> true; | ||
} | ||
} | ||
} |
4 changes: 4 additions & 0 deletions
4
..._tests/data_struct/data_struct_invalid_move_std_option_option_as_field_current_module.exp
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,4 @@ | ||
processed 1 task | ||
|
||
task 0 'publish'. lines 1-13: | ||
status ABORTED with code 10014 in 0000000000000000000000000000000000000000000000000000000000000002::move_module |
13 changes: 13 additions & 0 deletions
13
...tests/data_struct/data_struct_invalid_move_std_option_option_as_field_current_module.mvir
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,13 @@ | ||
//# publish | ||
module 0x1.TestModule1 { | ||
import 0x1.option; | ||
struct S0<T> has copy, drop {x: T} | ||
// error code 10014: INVALID_DATA_STRUCT_NOT_ALLOWED_TYPE | ||
struct S1 has copy,drop {v: option.Option<Self.S0<u32>>} | ||
|
||
metadata { | ||
data_struct { | ||
0x1::TestModule1::S1 -> true; | ||
} | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
...ests/tests/cases/mvir_tests/data_struct/data_struct_invalid_other_module_struct_field.exp
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 @@ | ||
processed 2 tasks | ||
|
||
task 0 'publish'. lines 1-4: | ||
status EXECUTED | ||
|
||
task 1 'publish'. lines 6-18: | ||
status ABORTED with code 10015 in 0000000000000000000000000000000000000000000000000000000000000002::move_module |
18 changes: 18 additions & 0 deletions
18
...sts/tests/cases/mvir_tests/data_struct/data_struct_invalid_other_module_struct_field.mvir
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,18 @@ | ||
//# publish | ||
module 0x1.TestModule0 { | ||
struct S0 has drop,copy { x: address } | ||
} | ||
|
||
//# publish | ||
module 0x1.TestModule1 { | ||
import 0x1.TestModule0; | ||
|
||
// error code 10015: INVALID_DATA_STRUCT_NOT_IN_MODULE_METADATA | ||
struct S0 has drop,copy {v: TestModule0.S0} | ||
|
||
metadata { | ||
data_struct { | ||
0x1::TestModule1::S0 -> true; | ||
} | ||
} | ||
} |
4 changes: 4 additions & 0 deletions
4
...s/tests/cases/mvir_tests/data_struct/data_struct_valid_move_std_ascii_string_as_field.exp
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,4 @@ | ||
processed 1 task | ||
|
||
task 0 'publish'. lines 1-11: | ||
status EXECUTED |
11 changes: 11 additions & 0 deletions
11
.../tests/cases/mvir_tests/data_struct/data_struct_valid_move_std_ascii_string_as_field.mvir
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,11 @@ | ||
//# publish | ||
module 0x1.TestModule1 { | ||
import 0x1.ascii; | ||
struct S0 has copy,drop {v: ascii.String} | ||
|
||
metadata { | ||
data_struct { | ||
0x1::TestModule1::S0 -> true; | ||
} | ||
} | ||
} |
4 changes: 4 additions & 0 deletions
4
.../tests/cases/mvir_tests/data_struct/data_struct_valid_move_std_option_option_as_field.exp
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,4 @@ | ||
processed 1 task | ||
|
||
task 0 'publish'. lines 1-11: | ||
status EXECUTED |
11 changes: 11 additions & 0 deletions
11
...tests/cases/mvir_tests/data_struct/data_struct_valid_move_std_option_option_as_field.mvir
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,11 @@ | ||
//# publish | ||
module 0x1.TestModule1 { | ||
import 0x1.option; | ||
struct S0 has copy,drop {v: option.Option<u32>} | ||
|
||
metadata { | ||
data_struct { | ||
0x1::TestModule1::S0 -> true; | ||
} | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
...mvir_tests/data_struct/data_struct_valid_move_std_option_option_as_field_other_module.exp
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 @@ | ||
processed 2 tasks | ||
|
||
task 0 'publish'. lines 1-10: | ||
status EXECUTED | ||
|
||
task 1 'publish'. lines 12-24: | ||
status EXECUTED |
24 changes: 24 additions & 0 deletions
24
...vir_tests/data_struct/data_struct_valid_move_std_option_option_as_field_other_module.mvir
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,24 @@ | ||
//# publish | ||
module 0x123.TestModule0 { | ||
struct S0 has copy, drop {x: u32} | ||
|
||
metadata { | ||
data_struct { | ||
0x123::TestModule0::S0 -> true; | ||
} | ||
} | ||
} | ||
|
||
//# publish | ||
module 0x1.TestModule1 { | ||
import 0x123.TestModule0; | ||
import 0x1.option; | ||
|
||
struct S1 has copy,drop {v: option.Option<TestModule0.S0>} | ||
|
||
metadata { | ||
data_struct { | ||
0x1::TestModule1::S1 -> true; | ||
} | ||
} | ||
} |
4 changes: 4 additions & 0 deletions
4
.../tests/cases/mvir_tests/data_struct/data_struct_valid_move_std_string_string_as_field.exp
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,4 @@ | ||
processed 1 task | ||
|
||
task 0 'publish'. lines 1-11: | ||
status EXECUTED |
11 changes: 11 additions & 0 deletions
11
...tests/cases/mvir_tests/data_struct/data_struct_valid_move_std_string_string_as_field.mvir
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,11 @@ | ||
//# publish | ||
module 0x1.TestModule1 { | ||
import 0x1.string; | ||
struct S0 has copy,drop {v: string.String} | ||
|
||
metadata { | ||
data_struct { | ||
0x1::TestModule1::S0 -> true; | ||
} | ||
} | ||
} |
4 changes: 4 additions & 0 deletions
4
...ts/cases/mvir_tests/data_struct/data_struct_valid_moveos_std_object_objectid_as_field.exp
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,4 @@ | ||
processed 1 task | ||
|
||
task 0 'publish'. lines 1-11: | ||
status EXECUTED |
11 changes: 11 additions & 0 deletions
11
...s/cases/mvir_tests/data_struct/data_struct_valid_moveos_std_object_objectid_as_field.mvir
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,11 @@ | ||
//# publish | ||
module 0x1.TestModule1 { | ||
import 0x2.object; | ||
struct S0 has copy,drop {v: object.ObjectID} | ||
|
||
metadata { | ||
data_struct { | ||
0x1::TestModule1::S0 -> true; | ||
} | ||
} | ||
} |
4 changes: 4 additions & 0 deletions
4
...work-tests/tests/cases/mvir_tests/data_struct/data_struct_valid_struct_current_module.exp
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,4 @@ | ||
processed 1 task | ||
|
||
task 0 'publish'. lines 1-10: | ||
status EXECUTED |
10 changes: 10 additions & 0 deletions
10
...ork-tests/tests/cases/mvir_tests/data_struct/data_struct_valid_struct_current_module.mvir
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 @@ | ||
//# publish | ||
module 0x1.TestModule1 { | ||
struct S0 has copy,drop {v: u64} | ||
|
||
metadata { | ||
data_struct { | ||
0x1::TestModule1::S0 -> true; | ||
} | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
...mework-tests/tests/cases/mvir_tests/data_struct/data_struct_valid_struct_other_module.exp
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 @@ | ||
processed 2 tasks | ||
|
||
task 0 'publish'. lines 1-10: | ||
status EXECUTED | ||
|
||
task 1 'publish'. lines 12-23: | ||
status EXECUTED |
23 changes: 23 additions & 0 deletions
23
...ework-tests/tests/cases/mvir_tests/data_struct/data_struct_valid_struct_other_module.mvir
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,23 @@ | ||
//# publish | ||
module 0x1.TestModule0 { | ||
struct S0 has copy,drop {v: u64} | ||
|
||
metadata { | ||
data_struct { | ||
0x1::TestModule0::S0 -> true; | ||
} | ||
} | ||
} | ||
|
||
//# publish | ||
module 0x1.TestModule1 { | ||
import 0x1.TestModule0; | ||
|
||
struct S0 has copy,drop {v: TestModule0.S0} | ||
|
||
metadata { | ||
data_struct { | ||
0x1::TestModule1::S0 -> true; | ||
} | ||
} | ||
} |
Oops, something went wrong.