-
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.
[MoveosStd] Refactor ObjectRef, allow ObjectRef as transaction argume…
…nt (#1026) * [MoveosStd] Refactor ObjectRef, allow ObjectRef as transaction argument * [CLI] verify modules when publish at client side. * [Example] refactor simple_blog example via new ObjectRef API * [MoveosStd] Add native function as_ref_inner and as_mut_ref_inner * [MoveosStd] Simpler the Object&ObjectRef logic * fix example/simple_blog * update basic_object * [Object] define to_permanent to_shared to_frozen * [MoveosStd] set create_object default owner to system * [Example] Refactor NFT example * [Examples] Add entry function to nft example * [examples] complex_struct and entry_function_arguments example * [examples] blog example * [examples] blog example * [examples] Rename simple blog module name * [Doc] Update moveos stdlib docs * fix panic message
- Loading branch information
Showing
71 changed files
with
1,421 additions
and
1,580 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,16 @@ | ||
processed 10 tasks | ||
processed 6 tasks | ||
|
||
task 1 'publish'. lines 3-40: | ||
task 1 'publish'. lines 3-43: | ||
status EXECUTED | ||
|
||
task 2 'run'. lines 42-42: | ||
task 2 'run'. lines 45-45: | ||
status EXECUTED | ||
|
||
task 3 'view_object'. lines 44-46: | ||
task 3 'view_object'. lines 47-49: | ||
Object { id: ObjectID(ae43e34e51db9c833ab50dd9aa8b27106519e5bbfd533737306e7b69ef253647), owner: 0000000000000000000000000000000000000000000000000000000000000043, value: AnnotatedMoveStruct { abilities: [Store, Key, ], type_: StructTag { address: 0000000000000000000000000000000000000000000000000000000000000042, module: Identifier("m"), name: Identifier("S"), type_params: [] }, value: [(Identifier("v"), U8(1))] } } | ||
|
||
task 4 'run'. lines 48-48: | ||
task 4 'run'. lines 51-51: | ||
status EXECUTED | ||
|
||
task 5 'view_object'. lines 50-53: | ||
task 5 'view_object'. lines 53-53: | ||
Object { id: ObjectID(0bbaf311ae6768a532b1f9dee65b1758a7bb1114fd57df8fa94cb2d1cb5f6896), owner: 0000000000000000000000000000000000000000000000000000000000000043, value: AnnotatedMoveStruct { abilities: [Store, Key, ], type_: StructTag { address: 0000000000000000000000000000000000000000000000000000000000000042, module: Identifier("m"), name: Identifier("Cup"), type_params: [Struct(StructTag { address: 0000000000000000000000000000000000000000000000000000000000000042, module: Identifier("m"), name: Identifier("S"), type_params: [] })] }, value: [(Identifier("v"), U8(2))] } } | ||
|
||
task 6 'run'. lines 55-55: | ||
status EXECUTED | ||
|
||
task 7 'view'. lines 57-59: | ||
store key 0x42::m::S { | ||
v: 1u8 | ||
} | ||
|
||
task 8 'run'. lines 61-61: | ||
status EXECUTED | ||
|
||
task 9 'view'. lines 63-63: | ||
store key 0x42::m::Cup<0x42::m::S> { | ||
v: 2u8 | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
processed 4 tasks | ||
|
||
task 1 'publish'. lines 3-42: | ||
task 1 'publish'. lines 3-39: | ||
status EXECUTED | ||
|
||
task 2 'run'. lines 44-56: | ||
task 2 'run'. lines 41-53: | ||
status EXECUTED | ||
|
||
task 3 'run'. lines 58-71: | ||
task 3 'run'. lines 55-67: | ||
status EXECUTED |
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
12 changes: 6 additions & 6 deletions
12
crates/rooch-framework-tests/tests/cases/table/test_destroy.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 |
---|---|---|
@@ -1,19 +1,19 @@ | ||
processed 7 tasks | ||
|
||
task 1 'publish'. lines 3-76: | ||
task 1 'publish'. lines 3-64: | ||
status EXECUTED | ||
|
||
task 2 'run'. lines 78-92: | ||
task 2 'run'. lines 66-80: | ||
status EXECUTED | ||
|
||
task 3 'run'. lines 93-108: | ||
task 3 'run'. lines 81-96: | ||
status EXECUTED | ||
|
||
task 4 'run'. lines 109-124: | ||
task 4 'run'. lines 97-112: | ||
status EXECUTED | ||
|
||
task 5 'run'. lines 125-137: | ||
task 5 'run'. lines 113-125: | ||
status ABORTED with code 4 in 0000000000000000000000000000000000000000000000000000000000000002::raw_table | ||
|
||
task 6 'run'. lines 138-151: | ||
task 6 'run'. lines 126-139: | ||
status EXECUTED |
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
Oops, something went wrong.