diff --git a/crates/iota-adapter-transactional-tests/tests/call/simple.exp b/crates/iota-adapter-transactional-tests/tests/call/simple.exp index d05536c95bb..046c2e70718 100644 --- a/crates/iota-adapter-transactional-tests/tests/call/simple.exp +++ b/crates/iota-adapter-transactional-tests/tests/call/simple.exp @@ -1,16 +1,16 @@ processed 4 tasks -task 1 'publish'. lines 6-25: +task 1 'publish'. lines 7-26: created: object(1,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 5570800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 27-27: +task 2 'run'. lines 28-28: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'view-object'. lines 29-29: +task 3 'view-object'. lines 30-30: Owner: Account Address ( A ) Version: 3 Contents: Test::M1::Object {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}, value: 0u64} diff --git a/crates/iota-adapter-transactional-tests/tests/child_count/count_decremented.exp b/crates/iota-adapter-transactional-tests/tests/child_count/count_decremented.exp index 6e503c05c5e..691dd30b27e 100644 --- a/crates/iota-adapter-transactional-tests/tests/child_count/count_decremented.exp +++ b/crates/iota-adapter-transactional-tests/tests/child_count/count_decremented.exp @@ -3,82 +3,82 @@ processed 17 tasks init: A: object(0,0), B: object(0,1) -task 1 'publish'. lines 9-51: +task 1 'publish'. lines 10-52: created: object(1,0) mutated: object(0,2) gas summary: computation_cost: 1000000, storage_cost: 7516400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 53-53: +task 2 'run'. lines 54-54: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2196400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'view-object'. lines 55-55: +task 3 'view-object'. lines 56-56: Owner: Account Address ( A ) Version: 2 Contents: test::m::S {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 4 'run'. lines 57-57: +task 4 'run'. lines 58-58: created: object(4,0), object(4,1) mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 5859600, storage_rebate: 2174436, non_refundable_storage_fee: 21964 -task 5 'run'. lines 59-59: +task 5 'run'. lines 60-60: mutated: object(0,0), object(2,0) deleted: object(4,0), object(4,1) gas summary: computation_cost: 1000000, storage_cost: 2196400, storage_rebate: 5801004, non_refundable_storage_fee: 58596 -task 6 'view-object'. lines 61-65: +task 6 'view-object'. lines 62-66: Owner: Account Address ( A ) Version: 4 Contents: test::m::S {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 7 'run'. lines 67-67: +task 7 'run'. lines 68-68: created: object(7,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2196400, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 8 'view-object'. lines 69-69: +task 8 'view-object'. lines 70-70: Owner: Account Address ( A ) Version: 5 Contents: test::m::S {id: iota::object::UID {id: iota::object::ID {bytes: fake(7,0)}}} -task 9 'run'. lines 71-71: +task 9 'run'. lines 72-72: created: object(9,0), object(9,1) mutated: object(0,0), object(7,0) gas summary: computation_cost: 1000000, storage_cost: 5859600, storage_rebate: 2174436, non_refundable_storage_fee: 21964 -task 10 'run'. lines 73-73: +task 10 'run'. lines 74-74: mutated: object(0,0), object(7,0), object(9,0), object(9,1) gas summary: computation_cost: 1000000, storage_cost: 5859600, storage_rebate: 5801004, non_refundable_storage_fee: 58596 -task 11 'view-object'. lines 75-79: +task 11 'view-object'. lines 76-80: Owner: Account Address ( A ) Version: 7 Contents: test::m::S {id: iota::object::UID {id: iota::object::ID {bytes: fake(7,0)}}} -task 12 'run'. lines 81-81: +task 12 'run'. lines 82-82: created: object(12,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2196400, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 13 'view-object'. lines 83-83: +task 13 'view-object'. lines 84-84: Owner: Account Address ( A ) Version: 8 Contents: test::m::S {id: iota::object::UID {id: iota::object::ID {bytes: fake(12,0)}}} -task 14 'run'. lines 85-85: +task 14 'run'. lines 86-86: created: object(14,0), object(14,1) mutated: object(0,0), object(12,0) gas summary: computation_cost: 1000000, storage_cost: 5859600, storage_rebate: 2174436, non_refundable_storage_fee: 21964 -task 15 'run'. lines 87-87: +task 15 'run'. lines 88-88: created: object(15,0) mutated: object(0,0), object(12,0), object(14,0) wrapped: object(14,1) gas summary: computation_cost: 1000000, storage_cost: 6102800, storage_rebate: 5801004, non_refundable_storage_fee: 58596 -task 16 'view-object'. lines 89-89: +task 16 'view-object'. lines 90-90: Owner: Account Address ( A ) Version: 10 Contents: test::m::S {id: iota::object::UID {id: iota::object::ID {bytes: fake(12,0)}}} diff --git a/crates/iota-adapter-transactional-tests/tests/child_count/delete_by_wrap.exp b/crates/iota-adapter-transactional-tests/tests/child_count/delete_by_wrap.exp index e3d143c14f4..c0d7f18373b 100644 --- a/crates/iota-adapter-transactional-tests/tests/child_count/delete_by_wrap.exp +++ b/crates/iota-adapter-transactional-tests/tests/child_count/delete_by_wrap.exp @@ -3,27 +3,27 @@ processed 6 tasks init: A: object(0,0), B: object(0,1) -task 1 'publish'. lines 9-37: +task 1 'publish'. lines 10-38: created: object(1,0) mutated: object(0,2) gas summary: computation_cost: 1000000, storage_cost: 6513200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 39-39: +task 2 'run'. lines 40-40: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2196400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'run'. lines 41-41: +task 3 'run'. lines 42-42: created: object(3,0), object(3,1) mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 5859600, storage_rebate: 2174436, non_refundable_storage_fee: 21964 -task 4 'view-object'. lines 43-43: +task 4 'view-object'. lines 44-44: Owner: Account Address ( A ) Version: 3 Contents: test::m::S {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 5 'run'. lines 45-45: +task 5 'run'. lines 46-46: created: object(5,0) mutated: object(0,0) wrapped: object(2,0) diff --git a/crates/iota-adapter-transactional-tests/tests/child_count/delete_by_wrap_one_txn.exp b/crates/iota-adapter-transactional-tests/tests/child_count/delete_by_wrap_one_txn.exp index b754dc6b3f7..1e98e6ec2da 100644 --- a/crates/iota-adapter-transactional-tests/tests/child_count/delete_by_wrap_one_txn.exp +++ b/crates/iota-adapter-transactional-tests/tests/child_count/delete_by_wrap_one_txn.exp @@ -3,12 +3,12 @@ processed 3 tasks init: A: object(0,0), B: object(0,1) -task 1 'publish'. lines 9-31: +task 1 'publish'. lines 10-32: created: object(1,0) mutated: object(0,2) gas summary: computation_cost: 1000000, storage_cost: 6102800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 33-33: +task 2 'run'. lines 34-34: created: object(2,0), object(2,1), object(2,2) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 6102800, storage_rebate: 0, non_refundable_storage_fee: 0 diff --git a/crates/iota-adapter-transactional-tests/tests/child_count/delete_parent_invalid.exp b/crates/iota-adapter-transactional-tests/tests/child_count/delete_parent_invalid.exp index 2428bd38bd1..fb5cd17f7b2 100644 --- a/crates/iota-adapter-transactional-tests/tests/child_count/delete_parent_invalid.exp +++ b/crates/iota-adapter-transactional-tests/tests/child_count/delete_parent_invalid.exp @@ -3,27 +3,27 @@ processed 6 tasks init: A: object(0,0), B: object(0,1) -task 1 'publish'. lines 9-32: +task 1 'publish'. lines 10-33: created: object(1,0) mutated: object(0,2) gas summary: computation_cost: 1000000, storage_cost: 6026800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 34-34: +task 2 'run'. lines 35-35: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2196400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'run'. lines 36-36: +task 3 'run'. lines 37-37: created: object(3,0), object(3,1) mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 5859600, storage_rebate: 2174436, non_refundable_storage_fee: 21964 -task 4 'view-object'. lines 38-38: +task 4 'view-object'. lines 39-39: Owner: Account Address ( A ) Version: 3 Contents: test::m::S {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 5 'run'. lines 40-40: +task 5 'run'. lines 41-41: mutated: object(0,0) deleted: object(2,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 2174436, non_refundable_storage_fee: 21964 diff --git a/crates/iota-adapter-transactional-tests/tests/child_count/delete_parent_valid.exp b/crates/iota-adapter-transactional-tests/tests/child_count/delete_parent_valid.exp index 44cc5fd17b8..ba69798f19c 100644 --- a/crates/iota-adapter-transactional-tests/tests/child_count/delete_parent_valid.exp +++ b/crates/iota-adapter-transactional-tests/tests/child_count/delete_parent_valid.exp @@ -3,32 +3,32 @@ processed 7 tasks init: A: object(0,0), B: object(0,1) -task 1 'publish'. lines 9-57: +task 1 'publish'. lines 10-58: created: object(1,0) mutated: object(0,2) gas summary: computation_cost: 1000000, storage_cost: 7987600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 58-58: +task 2 'run'. lines 59-59: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2196400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'run'. lines 60-60: +task 3 'run'. lines 61-61: created: object(3,0), object(3,1) mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 5859600, storage_rebate: 2174436, non_refundable_storage_fee: 21964 -task 4 'view-object'. lines 62-62: +task 4 'view-object'. lines 63-63: Owner: Account Address ( A ) Version: 3 Contents: test::m::S {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 5 'run'. lines 64-64: +task 5 'run'. lines 65-65: mutated: object(0,0), object(2,0) deleted: object(3,0), object(3,1) gas summary: computation_cost: 1000000, storage_cost: 2196400, storage_rebate: 5801004, non_refundable_storage_fee: 58596 -task 6 'run'. lines 66-66: +task 6 'run'. lines 67-67: mutated: object(0,0) deleted: object(2,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 2174436, non_refundable_storage_fee: 21964 diff --git a/crates/iota-adapter-transactional-tests/tests/child_count/delete_parent_valid_one_txn.exp b/crates/iota-adapter-transactional-tests/tests/child_count/delete_parent_valid_one_txn.exp index e52f3d586a2..90ad9eae5c5 100644 --- a/crates/iota-adapter-transactional-tests/tests/child_count/delete_parent_valid_one_txn.exp +++ b/crates/iota-adapter-transactional-tests/tests/child_count/delete_parent_valid_one_txn.exp @@ -3,27 +3,27 @@ processed 6 tasks init: A: object(0,0), B: object(0,1) -task 1 'publish'. lines 10-69: +task 1 'publish'. lines 11-70: created: object(1,0) mutated: object(0,2) gas summary: computation_cost: 1000000, storage_cost: 8382800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 71-71: +task 2 'run'. lines 72-72: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2196400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'run'. lines 73-73: +task 3 'run'. lines 74-74: created: object(3,0), object(3,1) mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 5859600, storage_rebate: 2174436, non_refundable_storage_fee: 21964 -task 4 'view-object'. lines 75-75: +task 4 'view-object'. lines 76-76: Owner: Account Address ( A ) Version: 3 Contents: test::m::S {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 5 'run'. lines 77-77: +task 5 'run'. lines 78-78: mutated: object(0,0) deleted: object(2,0), object(3,0), object(3,1) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 5801004, non_refundable_storage_fee: 58596 diff --git a/crates/iota-adapter-transactional-tests/tests/child_count/freeze_parent_invalid.exp b/crates/iota-adapter-transactional-tests/tests/child_count/freeze_parent_invalid.exp index e21b36ca429..3ed5bbdb4ec 100644 --- a/crates/iota-adapter-transactional-tests/tests/child_count/freeze_parent_invalid.exp +++ b/crates/iota-adapter-transactional-tests/tests/child_count/freeze_parent_invalid.exp @@ -3,26 +3,26 @@ processed 6 tasks init: A: object(0,0), B: object(0,1) -task 1 'publish'. lines 9-61: +task 1 'publish'. lines 10-62: created: object(1,0) mutated: object(0,2) gas summary: computation_cost: 1000000, storage_cost: 8458800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 63-63: +task 2 'run'. lines 64-64: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2196400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'run'. lines 65-65: +task 3 'run'. lines 66-66: created: object(3,0), object(3,1) mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 5859600, storage_rebate: 2174436, non_refundable_storage_fee: 21964 -task 4 'view-object'. lines 67-67: +task 4 'view-object'. lines 68-68: Owner: Account Address ( A ) Version: 3 Contents: test::m::S {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 5 'run'. lines 69-69: +task 5 'run'. lines 70-70: mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 2196400, storage_rebate: 2174436, non_refundable_storage_fee: 21964 diff --git a/crates/iota-adapter-transactional-tests/tests/child_count/freeze_parent_valid.exp b/crates/iota-adapter-transactional-tests/tests/child_count/freeze_parent_valid.exp index 03949a77843..dc4caed6dc7 100644 --- a/crates/iota-adapter-transactional-tests/tests/child_count/freeze_parent_valid.exp +++ b/crates/iota-adapter-transactional-tests/tests/child_count/freeze_parent_valid.exp @@ -3,31 +3,31 @@ processed 7 tasks init: A: object(0,0), B: object(0,1) -task 1 'publish'. lines 9-61: +task 1 'publish'. lines 10-62: created: object(1,0) mutated: object(0,2) gas summary: computation_cost: 1000000, storage_cost: 8458800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 63-63: +task 2 'run'. lines 64-64: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2196400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'run'. lines 65-65: +task 3 'run'. lines 66-66: created: object(3,0), object(3,1) mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 5859600, storage_rebate: 2174436, non_refundable_storage_fee: 21964 -task 4 'view-object'. lines 67-67: +task 4 'view-object'. lines 68-68: Owner: Account Address ( A ) Version: 3 Contents: test::m::S {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 5 'run'. lines 69-69: +task 5 'run'. lines 70-70: mutated: object(0,0), object(2,0) deleted: object(3,0), object(3,1) gas summary: computation_cost: 1000000, storage_cost: 2196400, storage_rebate: 5801004, non_refundable_storage_fee: 58596 -task 6 'run'. lines 71-71: +task 6 'run'. lines 72-72: mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 2196400, storage_rebate: 2174436, non_refundable_storage_fee: 21964 diff --git a/crates/iota-adapter-transactional-tests/tests/child_count/freeze_parent_valid_one_txn.exp b/crates/iota-adapter-transactional-tests/tests/child_count/freeze_parent_valid_one_txn.exp index 81be0cfdc24..b40600bebf0 100644 --- a/crates/iota-adapter-transactional-tests/tests/child_count/freeze_parent_valid_one_txn.exp +++ b/crates/iota-adapter-transactional-tests/tests/child_count/freeze_parent_valid_one_txn.exp @@ -3,27 +3,27 @@ processed 6 tasks init: A: object(0,0), B: object(0,1) -task 1 'publish'. lines 10-64: +task 1 'publish'. lines 11-65: created: object(1,0) mutated: object(0,2) gas summary: computation_cost: 1000000, storage_cost: 8610800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 66-66: +task 2 'run'. lines 67-67: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2196400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'run'. lines 68-68: +task 3 'run'. lines 69-69: created: object(3,0), object(3,1) mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 5859600, storage_rebate: 2174436, non_refundable_storage_fee: 21964 -task 4 'view-object'. lines 70-70: +task 4 'view-object'. lines 71-71: Owner: Account Address ( A ) Version: 3 Contents: test::m::S {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 5 'run'. lines 72-72: +task 5 'run'. lines 73-73: mutated: object(0,0), object(2,0) deleted: object(3,0), object(3,1) gas summary: computation_cost: 1000000, storage_cost: 2196400, storage_rebate: 5801004, non_refundable_storage_fee: 58596 diff --git a/crates/iota-adapter-transactional-tests/tests/child_count/non_zero_child_count_valid.exp b/crates/iota-adapter-transactional-tests/tests/child_count/non_zero_child_count_valid.exp index 557e110ca83..c3d7d6f3f81 100644 --- a/crates/iota-adapter-transactional-tests/tests/child_count/non_zero_child_count_valid.exp +++ b/crates/iota-adapter-transactional-tests/tests/child_count/non_zero_child_count_valid.exp @@ -3,45 +3,45 @@ processed 10 tasks init: A: object(0,0), B: object(0,1) -task 1 'publish'. lines 9-45: +task 1 'publish'. lines 10-46: created: object(1,0) mutated: object(0,2) gas summary: computation_cost: 1000000, storage_cost: 6976800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 47-47: +task 2 'run'. lines 48-48: created: object(2,0), object(2,1), object(2,2) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 5859600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'view-object'. lines 49-53: +task 3 'view-object'. lines 50-54: Owner: Shared Version: 2 Contents: test::m::S {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}} -task 4 'run'. lines 55-55: +task 4 'run'. lines 56-56: created: object(4,0), object(4,1), object(4,2) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 5859600, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 5 'run'. lines 57-57: +task 5 'run'. lines 58-58: mutated: object(0,0), object(4,2) gas summary: computation_cost: 1000000, storage_cost: 2196400, storage_rebate: 2174436, non_refundable_storage_fee: 21964 -task 6 'view-object'. lines 59-63: +task 6 'view-object'. lines 60-64: Owner: Account Address ( B ) Version: 4 Contents: test::m::S {id: iota::object::UID {id: iota::object::ID {bytes: fake(4,2)}}} -task 7 'run'. lines 65-65: +task 7 'run'. lines 66-66: created: object(7,0), object(7,1), object(7,2) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 5859600, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 8 'transfer-object'. lines 67-67: +task 8 'transfer-object'. lines 68-68: mutated: object(0,0), object(7,1) gas summary: computation_cost: 1000000, storage_cost: 2196400, storage_rebate: 2174436, non_refundable_storage_fee: 21964 -task 9 'view-object'. lines 69-69: +task 9 'view-object'. lines 70-70: Owner: Account Address ( B ) Version: 6 Contents: test::m::S {id: iota::object::UID {id: iota::object::ID {bytes: fake(7,1)}}} diff --git a/crates/iota-adapter-transactional-tests/tests/child_count/non_zero_child_count_valid_one_txn.exp b/crates/iota-adapter-transactional-tests/tests/child_count/non_zero_child_count_valid_one_txn.exp index d422709b327..a9bb55d7b96 100644 --- a/crates/iota-adapter-transactional-tests/tests/child_count/non_zero_child_count_valid_one_txn.exp +++ b/crates/iota-adapter-transactional-tests/tests/child_count/non_zero_child_count_valid_one_txn.exp @@ -3,17 +3,17 @@ processed 4 tasks init: A: object(0,0), B: object(0,1) -task 1 'publish'. lines 10-35: +task 1 'publish'. lines 11-36: created: object(1,0) mutated: object(0,2) gas summary: computation_cost: 1000000, storage_cost: 5950800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 37-37: +task 2 'run'. lines 38-38: created: object(2,0), object(2,1), object(2,2) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 5859600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'view-object'. lines 39-39: +task 3 'view-object'. lines 40-40: Owner: Shared Version: 2 Contents: test::m::S {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}} diff --git a/crates/iota-adapter-transactional-tests/tests/child_count/temp_parent_invalid.exp b/crates/iota-adapter-transactional-tests/tests/child_count/temp_parent_invalid.exp index cbecdb6dbb9..63dbac573b9 100644 --- a/crates/iota-adapter-transactional-tests/tests/child_count/temp_parent_invalid.exp +++ b/crates/iota-adapter-transactional-tests/tests/child_count/temp_parent_invalid.exp @@ -3,12 +3,12 @@ processed 3 tasks init: A: object(0,0), B: object(0,1) -task 1 'publish'. lines 9-22: +task 1 'publish'. lines 10-23: created: object(1,0) mutated: object(0,2) gas summary: computation_cost: 1000000, storage_cost: 5266800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 24-24: +task 2 'run'. lines 25-25: created: object(2,0), object(2,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 4651200, storage_rebate: 0, non_refundable_storage_fee: 0 diff --git a/crates/iota-adapter-transactional-tests/tests/child_count/unwrap_never_stored.exp b/crates/iota-adapter-transactional-tests/tests/child_count/unwrap_never_stored.exp index cd019786375..c018e14fe27 100644 --- a/crates/iota-adapter-transactional-tests/tests/child_count/unwrap_never_stored.exp +++ b/crates/iota-adapter-transactional-tests/tests/child_count/unwrap_never_stored.exp @@ -3,17 +3,17 @@ processed 4 tasks init: A: object(0,0), B: object(0,1) -task 1 'publish'. lines 9-37: +task 1 'publish'. lines 10-38: created: object(1,0) mutated: object(0,2) gas summary: computation_cost: 1000000, storage_cost: 5836800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 39-39: +task 2 'run'. lines 40-40: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2439600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'run'. lines 41-41: +task 3 'run'. lines 42-42: mutated: object(0,0) deleted: object(2,0) unwrapped_then_deleted: object(_) diff --git a/crates/iota-adapter-transactional-tests/tests/child_count/unwrap_never_stored_transfer.exp b/crates/iota-adapter-transactional-tests/tests/child_count/unwrap_never_stored_transfer.exp index 299b0ae7533..d0a6b82ec73 100644 --- a/crates/iota-adapter-transactional-tests/tests/child_count/unwrap_never_stored_transfer.exp +++ b/crates/iota-adapter-transactional-tests/tests/child_count/unwrap_never_stored_transfer.exp @@ -3,17 +3,17 @@ processed 4 tasks init: A: object(0,0), B: object(0,1) -task 1 'publish'. lines 9-36: +task 1 'publish'. lines 10-37: created: object(1,0) mutated: object(0,2) gas summary: computation_cost: 1000000, storage_cost: 6072400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 38-38: +task 2 'run'. lines 39-39: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2439600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'run'. lines 40-40: +task 3 'run'. lines 41-41: mutated: object(0,0) unwrapped: object(3,0) deleted: object(2,0) diff --git a/crates/iota-adapter-transactional-tests/tests/child_count/unwrap_then_delete_invalid.exp b/crates/iota-adapter-transactional-tests/tests/child_count/unwrap_then_delete_invalid.exp index bb440aa6b56..a6691d182ea 100644 --- a/crates/iota-adapter-transactional-tests/tests/child_count/unwrap_then_delete_invalid.exp +++ b/crates/iota-adapter-transactional-tests/tests/child_count/unwrap_then_delete_invalid.exp @@ -3,22 +3,22 @@ processed 5 tasks init: A: object(0,0), B: object(0,1) -task 1 'publish'. lines 9-44: +task 1 'publish'. lines 10-45: created: object(1,0) mutated: object(0,2) gas summary: computation_cost: 1000000, storage_cost: 6688000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 46-46: +task 2 'run'. lines 47-47: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2196400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'run'. lines 48-48: +task 3 'run'. lines 49-49: created: object(3,0), object(3,1) mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 5859600, storage_rebate: 2174436, non_refundable_storage_fee: 21964 -task 4 'run'. lines 50-50: +task 4 'run'. lines 51-51: created: object(4,0) mutated: object(0,0) wrapped: object(2,0) diff --git a/crates/iota-adapter-transactional-tests/tests/children/child_of_shared_object.exp b/crates/iota-adapter-transactional-tests/tests/children/child_of_shared_object.exp index 40554ef2a2a..21ca67c73d9 100644 --- a/crates/iota-adapter-transactional-tests/tests/children/child_of_shared_object.exp +++ b/crates/iota-adapter-transactional-tests/tests/children/child_of_shared_object.exp @@ -3,40 +3,40 @@ processed 9 tasks init: A: object(0,0) -task 1 'publish'. lines 6-17: +task 1 'publish'. lines 7-18: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 5183200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'publish'. lines 19-45: +task 2 'publish'. lines 20-46: created: object(2,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 7668400, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'publish'. lines 48-72: +task 3 'publish'. lines 49-73: created: object(3,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 8215600, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 4 'run'. lines 74-74: +task 4 'run'. lines 75-75: created: object(4,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2226800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 5 'run'. lines 76-76: +task 5 'run'. lines 77-77: created: object(5,0), object(5,1) mutated: object(0,0), object(4,0) gas summary: computation_cost: 1000000, storage_cost: 5920400, storage_rebate: 2204532, non_refundable_storage_fee: 22268 -task 6 'view-object'. lines 78-78: +task 6 'view-object'. lines 79-79: Owner: Object ID: ( fake(5,0) ) Version: 3 Contents: t3::o3::Obj3 {id: iota::object::UID {id: iota::object::ID {bytes: fake(4,0)}}} -task 7 'view-object'. lines 80-82: +task 7 'view-object'. lines 81-83: Owner: Shared Version: 3 Contents: t2::o2::Obj2 {id: iota::object::UID {id: iota::object::ID {bytes: fake(5,1)}}} -task 8 'run'. lines 83-83: +task 8 'run'. lines 84-84: Error: Error checking transaction input objects: InvalidChildObjectArgument { child_id: object(4,0), parent_id: object(5,0) } diff --git a/crates/iota-adapter-transactional-tests/tests/deny_list/coin_deny_and_undeny.exp b/crates/iota-adapter-transactional-tests/tests/deny_list/coin_deny_and_undeny.exp index c53e57a4e50..2bdd6be632f 100644 --- a/crates/iota-adapter-transactional-tests/tests/deny_list/coin_deny_and_undeny.exp +++ b/crates/iota-adapter-transactional-tests/tests/deny_list/coin_deny_and_undeny.exp @@ -3,60 +3,60 @@ processed 14 tasks init: A: object(0,0), B: object(0,1) -task 1 'publish'. lines 12-34: +task 1 'publish'. lines 13-35: created: object(1,0), object(1,1), object(1,2), object(1,3), object(1,4), object(1,5) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 18316000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'view-object'. lines 36-36: -1,0::regulated_coin - -task 3 'view-object'. lines 38-38: +task 2 'view-object'. lines 37-37: Owner: Account Address ( A ) Version: 2 -Contents: iota::coin::Coin {id: iota::object::UID {id: iota::object::ID {bytes: fake(1,1)}}, balance: iota::balance::Balance {value: 10000u64}} +Contents: iota::coin::Coin {id: iota::object::UID {id: iota::object::ID {bytes: fake(1,0)}}, balance: iota::balance::Balance {value: 10000u64}} -task 4 'view-object'. lines 40-40: +task 3 'view-object'. lines 39-39: Owner: Immutable Version: 2 -Contents: iota::coin::CoinMetadata {id: iota::object::UID {id: iota::object::ID {bytes: fake(1,2)}}, decimals: 9u8, name: std::string::String {bytes: vector[82u8, 69u8, 71u8, 85u8, 76u8, 65u8, 84u8, 69u8, 68u8, 95u8, 67u8, 79u8, 73u8, 78u8]}, symbol: std::ascii::String {bytes: vector[82u8, 67u8]}, description: std::string::String {bytes: vector[65u8, 32u8, 110u8, 101u8, 119u8, 32u8, 114u8, 101u8, 103u8, 117u8, 108u8, 97u8, 116u8, 101u8, 100u8, 32u8, 99u8, 111u8, 105u8, 110u8]}, icon_url: std::option::Option {vec: vector[]}} +Contents: iota::coin::CoinMetadata {id: iota::object::UID {id: iota::object::ID {bytes: fake(1,1)}}, decimals: 9u8, name: std::string::String {bytes: vector[82u8, 69u8, 71u8, 85u8, 76u8, 65u8, 84u8, 69u8, 68u8, 95u8, 67u8, 79u8, 73u8, 78u8]}, symbol: std::ascii::String {bytes: vector[82u8, 67u8]}, description: std::string::String {bytes: vector[65u8, 32u8, 110u8, 101u8, 119u8, 32u8, 114u8, 101u8, 103u8, 117u8, 108u8, 97u8, 116u8, 101u8, 100u8, 32u8, 99u8, 111u8, 105u8, 110u8]}, icon_url: std::option::Option {vec: vector[]}} -task 5 'view-object'. lines 42-42: +task 4 'view-object'. lines 41-41: Owner: Account Address ( A ) Version: 2 -Contents: iota::coin::DenyCap {id: iota::object::UID {id: iota::object::ID {bytes: fake(1,3)}}} +Contents: iota::coin::DenyCap {id: iota::object::UID {id: iota::object::ID {bytes: fake(1,2)}}} -task 6 'view-object'. lines 44-44: +task 5 'view-object'. lines 43-43: Owner: Immutable Version: 2 -Contents: iota::coin::RegulatedCoinMetadata {id: iota::object::UID {id: iota::object::ID {bytes: fake(1,4)}}, coin_metadata_object: iota::object::ID {bytes: fake(1,2)}, deny_cap_object: iota::object::ID {bytes: fake(1,3)}} +Contents: iota::coin::RegulatedCoinMetadata {id: iota::object::UID {id: iota::object::ID {bytes: fake(1,3)}}, coin_metadata_object: iota::object::ID {bytes: fake(1,1)}, deny_cap_object: iota::object::ID {bytes: fake(1,2)}} -task 7 'view-object'. lines 46-48: +task 6 'view-object'. lines 45-45: Owner: Immutable Version: 2 -Contents: iota::coin::TreasuryCap {id: iota::object::UID {id: iota::object::ID {bytes: fake(1,5)}}, total_supply: iota::balance::Supply {value: 10000u64}} +Contents: iota::coin::TreasuryCap {id: iota::object::UID {id: iota::object::ID {bytes: fake(1,4)}}, total_supply: iota::balance::Supply {value: 10000u64}} + +task 7 'view-object'. lines 47-49: +1,5::regulated_coin -task 8 'run'. lines 49-51: +task 8 'run'. lines 50-52: created: object(8,0) -mutated: object(0,0), object(1,1) +mutated: object(0,0), object(1,0) gas summary: computation_cost: 1000000, storage_cost: 3936800, storage_rebate: 2437776, non_refundable_storage_fee: 24624 -task 9 'run'. lines 52-54: +task 9 'run'. lines 53-55: created: object(9,0), object(9,1) -mutated: object(_), 0x0000000000000000000000000000000000000000000000000000000000000403, object(0,0), object(1,3) +mutated: object(_), 0x0000000000000000000000000000000000000000000000000000000000000403, object(0,0), object(1,2) gas summary: computation_cost: 1000000, storage_cost: 11415200, storage_rebate: 2723688, non_refundable_storage_fee: 27512 -task 10 'transfer-object'. lines 55-57: -Error: Error checking transaction input objects: AddressDeniedForCoin { address: @B, coin_type: "object(1,0)::regulated_coin::REGULATED_COIN" } +task 10 'transfer-object'. lines 56-58: +Error: Error checking transaction input objects: AddressDeniedForCoin { address: @B, coin_type: "object(1,5)::regulated_coin::REGULATED_COIN" } -task 11 'run'. lines 58-60: -Error: Error checking transaction input objects: AddressDeniedForCoin { address: @B, coin_type: "object(1,0)::regulated_coin::REGULATED_COIN" } +task 11 'run'. lines 59-61: +Error: Error checking transaction input objects: AddressDeniedForCoin { address: @B, coin_type: "object(1,5)::regulated_coin::REGULATED_COIN" } -task 12 'run'. lines 61-63: -mutated: object(_), 0x0000000000000000000000000000000000000000000000000000000000000403, object(0,0), object(1,3), object(9,1) +task 12 'run'. lines 62-64: +mutated: object(_), 0x0000000000000000000000000000000000000000000000000000000000000403, object(0,0), object(1,2), object(9,1) deleted: object(9,0) gas summary: computation_cost: 1000000, storage_cost: 9522800, storage_rebate: 11301048, non_refundable_storage_fee: 114152 -task 13 'transfer-object'. lines 64-64: +task 13 'transfer-object'. lines 65-65: mutated: object(0,1), object(8,0) gas summary: computation_cost: 1000000, storage_cost: 2462400, storage_rebate: 1459656, non_refundable_storage_fee: 14744 diff --git a/crates/iota-adapter-transactional-tests/tests/deny_list/coin_deny_and_undeny.move b/crates/iota-adapter-transactional-tests/tests/deny_list/coin_deny_and_undeny.move index 113d3c2fb81..fbdcb4805b2 100644 --- a/crates/iota-adapter-transactional-tests/tests/deny_list/coin_deny_and_undeny.move +++ b/crates/iota-adapter-transactional-tests/tests/deny_list/coin_deny_and_undeny.move @@ -47,10 +47,10 @@ module test::regulated_coin { //# view-object 1,5 // Transfer away the newly minted coin works normally. -//# run iota::pay::split_and_transfer --args object(1,1) 1 @B --type-args test::regulated_coin::REGULATED_COIN --sender A +//# run iota::pay::split_and_transfer --args object(1,0) 1 @B --type-args test::regulated_coin::REGULATED_COIN --sender A // Deny account B. -//# run iota::coin::deny_list_add --args object(0x403) object(1,3) @B --type-args test::regulated_coin::REGULATED_COIN --sender A +//# run iota::coin::deny_list_add --args object(0x403) object(1,2) @B --type-args test::regulated_coin::REGULATED_COIN --sender A // Try transfer the coin from B. This should now be denied. //# transfer-object 8,0 --sender B --recipient A @@ -59,7 +59,7 @@ module test::regulated_coin { //# run iota::pay::split_and_transfer --args object(8,0) 1 @A --type-args test::regulated_coin::REGULATED_COIN --sender B // Undeny account B. -//# run iota::coin::deny_list_remove --args object(0x403) object(1,3) @B --type-args test::regulated_coin::REGULATED_COIN --sender A +//# run iota::coin::deny_list_remove --args object(0x403) object(1,2) @B --type-args test::regulated_coin::REGULATED_COIN --sender A // This time the transfer should work. //# transfer-object 8,0 --sender B --recipient A diff --git a/crates/iota-adapter-transactional-tests/tests/deny_list/coin_deny_multiple_per_module.exp b/crates/iota-adapter-transactional-tests/tests/deny_list/coin_deny_multiple_per_module.exp index 642b636333b..f1fd469ee52 100644 --- a/crates/iota-adapter-transactional-tests/tests/deny_list/coin_deny_multiple_per_module.exp +++ b/crates/iota-adapter-transactional-tests/tests/deny_list/coin_deny_multiple_per_module.exp @@ -3,72 +3,72 @@ processed 16 tasks init: A: object(0,0) -task 1 'publish'. lines 9-54: +task 1 'publish'. lines 10-55: created: object(1,0), object(1,1), object(1,2), object(1,3), object(1,4), object(1,5), object(1,6), object(1,7), object(1,8), object(1,9), object(1,10) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 33082800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'view-object'. lines 56-56: +task 2 'view-object'. lines 57-57: 1,0::{first_coin, second_coin} -task 3 'view-object'. lines 58-58: +task 3 'view-object'. lines 59-59: Owner: Account Address ( A ) Version: 2 Contents: iota::coin::Coin {id: iota::object::UID {id: iota::object::ID {bytes: fake(1,1)}}, balance: iota::balance::Balance {value: 10000u64}} -task 4 'view-object'. lines 60-60: +task 4 'view-object'. lines 61-61: Owner: Account Address ( A ) Version: 2 Contents: iota::coin::Coin {id: iota::object::UID {id: iota::object::ID {bytes: fake(1,2)}}, balance: iota::balance::Balance {value: 10000u64}} -task 5 'view-object'. lines 62-62: +task 5 'view-object'. lines 63-63: Owner: Immutable Version: 2 Contents: iota::coin::CoinMetadata {id: iota::object::UID {id: iota::object::ID {bytes: fake(1,3)}}, decimals: 9u8, name: std::string::String {bytes: vector[82u8, 69u8, 71u8, 85u8, 76u8, 65u8, 84u8, 69u8, 68u8, 95u8, 67u8, 79u8, 73u8, 78u8]}, symbol: std::ascii::String {bytes: vector[82u8, 67u8]}, description: std::string::String {bytes: vector[65u8, 32u8, 110u8, 101u8, 119u8, 32u8, 114u8, 101u8, 103u8, 117u8, 108u8, 97u8, 116u8, 101u8, 100u8, 32u8, 99u8, 111u8, 105u8, 110u8]}, icon_url: std::option::Option {vec: vector[]}} -task 6 'view-object'. lines 64-64: +task 6 'view-object'. lines 65-65: Owner: Immutable Version: 2 Contents: iota::coin::CoinMetadata {id: iota::object::UID {id: iota::object::ID {bytes: fake(1,4)}}, decimals: 9u8, name: std::string::String {bytes: vector[82u8, 69u8, 71u8, 85u8, 76u8, 65u8, 84u8, 69u8, 68u8, 95u8, 67u8, 79u8, 73u8, 78u8]}, symbol: std::ascii::String {bytes: vector[82u8, 67u8]}, description: std::string::String {bytes: vector[65u8, 32u8, 110u8, 101u8, 119u8, 32u8, 114u8, 101u8, 103u8, 117u8, 108u8, 97u8, 116u8, 101u8, 100u8, 32u8, 99u8, 111u8, 105u8, 110u8]}, icon_url: std::option::Option {vec: vector[]}} -task 7 'view-object'. lines 66-66: +task 7 'view-object'. lines 67-67: Owner: Account Address ( A ) Version: 2 Contents: iota::coin::DenyCap {id: iota::object::UID {id: iota::object::ID {bytes: fake(1,5)}}} -task 8 'view-object'. lines 68-68: +task 8 'view-object'. lines 69-69: Owner: Account Address ( A ) Version: 2 Contents: iota::coin::DenyCap {id: iota::object::UID {id: iota::object::ID {bytes: fake(1,6)}}} -task 9 'view-object'. lines 70-70: +task 9 'view-object'. lines 71-71: Owner: Immutable Version: 2 Contents: iota::coin::RegulatedCoinMetadata {id: iota::object::UID {id: iota::object::ID {bytes: fake(1,7)}}, coin_metadata_object: iota::object::ID {bytes: fake(1,3)}, deny_cap_object: iota::object::ID {bytes: fake(1,5)}} -task 10 'view-object'. lines 72-72: +task 10 'view-object'. lines 73-73: Owner: Immutable Version: 2 Contents: iota::coin::RegulatedCoinMetadata {id: iota::object::UID {id: iota::object::ID {bytes: fake(1,8)}}, coin_metadata_object: iota::object::ID {bytes: fake(1,4)}, deny_cap_object: iota::object::ID {bytes: fake(1,6)}} -task 11 'view-object'. lines 74-74: +task 11 'view-object'. lines 75-75: Owner: Immutable Version: 2 Contents: iota::coin::TreasuryCap {id: iota::object::UID {id: iota::object::ID {bytes: fake(1,9)}}, total_supply: iota::balance::Supply {value: 10000u64}} -task 12 'view-object'. lines 76-78: +task 12 'view-object'. lines 77-79: Owner: Immutable Version: 2 Contents: iota::coin::TreasuryCap {id: iota::object::UID {id: iota::object::ID {bytes: fake(1,10)}}, total_supply: iota::balance::Supply {value: 10000u64}} -task 13 'run'. lines 79-81: +task 13 'run'. lines 80-82: created: object(13,0), object(13,1) mutated: object(_), 0x0000000000000000000000000000000000000000000000000000000000000403, object(0,0), object(1,5) gas summary: computation_cost: 1000000, storage_cost: 11293600, storage_rebate: 2663496, non_refundable_storage_fee: 26904 -task 14 'transfer-object'. lines 82-84: +task 14 'transfer-object'. lines 83-85: Error: Error checking transaction input objects: AddressDeniedForCoin { address: @A, coin_type: "object(1,0)::first_coin::FIRST_COIN" } -task 15 'transfer-object'. lines 85-85: +task 15 'transfer-object'. lines 86-86: mutated: object(0,0), object(1,2) gas summary: computation_cost: 1000000, storage_cost: 2416800, storage_rebate: 2392632, non_refundable_storage_fee: 24168 diff --git a/crates/iota-adapter-transactional-tests/tests/deny_list/coin_deny_tto.exp b/crates/iota-adapter-transactional-tests/tests/deny_list/coin_deny_tto.exp index f916230b5d8..6763e39656a 100644 --- a/crates/iota-adapter-transactional-tests/tests/deny_list/coin_deny_tto.exp +++ b/crates/iota-adapter-transactional-tests/tests/deny_list/coin_deny_tto.exp @@ -3,57 +3,57 @@ processed 13 tasks init: A: object(0,0) -task 1 'publish'. lines 8-46: +task 1 'publish'. lines 9-47: created: object(1,0), object(1,1), object(1,2), object(1,3), object(1,4), object(1,5), object(1,6) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 21766400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'view-object'. lines 48-48: +task 2 'view-object'. lines 49-49: Owner: Account Address ( A ) Version: 2 Contents: test::regulated_coin::Wallet {id: iota::object::UID {id: iota::object::ID {bytes: fake(1,0)}}} -task 3 'view-object'. lines 50-50: -1,1::regulated_coin - -task 4 'view-object'. lines 52-52: +task 3 'view-object'. lines 51-51: Owner: Account Address ( fake(1,0) ) Version: 2 -Contents: iota::coin::Coin {id: iota::object::UID {id: iota::object::ID {bytes: fake(1,2)}}, balance: iota::balance::Balance {value: 10000u64}} +Contents: iota::coin::Coin {id: iota::object::UID {id: iota::object::ID {bytes: fake(1,1)}}, balance: iota::balance::Balance {value: 10000u64}} -task 5 'view-object'. lines 54-54: +task 4 'view-object'. lines 53-53: Owner: Immutable Version: 2 -Contents: iota::coin::CoinMetadata {id: iota::object::UID {id: iota::object::ID {bytes: fake(1,3)}}, decimals: 9u8, name: std::string::String {bytes: vector[82u8, 69u8, 71u8, 85u8, 76u8, 65u8, 84u8, 69u8, 68u8, 95u8, 67u8, 79u8, 73u8, 78u8]}, symbol: std::ascii::String {bytes: vector[82u8, 67u8]}, description: std::string::String {bytes: vector[65u8, 32u8, 110u8, 101u8, 119u8, 32u8, 114u8, 101u8, 103u8, 117u8, 108u8, 97u8, 116u8, 101u8, 100u8, 32u8, 99u8, 111u8, 105u8, 110u8]}, icon_url: std::option::Option {vec: vector[]}} +Contents: iota::coin::CoinMetadata {id: iota::object::UID {id: iota::object::ID {bytes: fake(1,2)}}, decimals: 9u8, name: std::string::String {bytes: vector[82u8, 69u8, 71u8, 85u8, 76u8, 65u8, 84u8, 69u8, 68u8, 95u8, 67u8, 79u8, 73u8, 78u8]}, symbol: std::ascii::String {bytes: vector[82u8, 67u8]}, description: std::string::String {bytes: vector[65u8, 32u8, 110u8, 101u8, 119u8, 32u8, 114u8, 101u8, 103u8, 117u8, 108u8, 97u8, 116u8, 101u8, 100u8, 32u8, 99u8, 111u8, 105u8, 110u8]}, icon_url: std::option::Option {vec: vector[]}} -task 6 'view-object'. lines 56-56: +task 5 'view-object'. lines 55-55: Owner: Account Address ( A ) Version: 2 -Contents: iota::coin::DenyCap {id: iota::object::UID {id: iota::object::ID {bytes: fake(1,4)}}} +Contents: iota::coin::DenyCap {id: iota::object::UID {id: iota::object::ID {bytes: fake(1,3)}}} -task 7 'view-object'. lines 58-58: +task 6 'view-object'. lines 57-57: Owner: Immutable Version: 2 -Contents: iota::coin::RegulatedCoinMetadata {id: iota::object::UID {id: iota::object::ID {bytes: fake(1,5)}}, coin_metadata_object: iota::object::ID {bytes: fake(1,3)}, deny_cap_object: iota::object::ID {bytes: fake(1,4)}} +Contents: iota::coin::RegulatedCoinMetadata {id: iota::object::UID {id: iota::object::ID {bytes: fake(1,4)}}, coin_metadata_object: iota::object::ID {bytes: fake(1,2)}, deny_cap_object: iota::object::ID {bytes: fake(1,3)}} -task 8 'view-object'. lines 60-62: +task 7 'view-object'. lines 59-59: Owner: Immutable Version: 2 -Contents: iota::coin::TreasuryCap {id: iota::object::UID {id: iota::object::ID {bytes: fake(1,6)}}, total_supply: iota::balance::Supply {value: 10000u64}} +Contents: iota::coin::TreasuryCap {id: iota::object::UID {id: iota::object::ID {bytes: fake(1,5)}}, total_supply: iota::balance::Supply {value: 10000u64}} + +task 8 'view-object'. lines 61-63: +1,6::regulated_coin -task 9 'run'. lines 63-65: +task 9 'run'. lines 64-66: created: object(9,0), object(9,1) -mutated: object(_), 0x0000000000000000000000000000000000000000000000000000000000000403, object(0,0), object(1,4) +mutated: object(_), 0x0000000000000000000000000000000000000000000000000000000000000403, object(0,0), object(1,3) gas summary: computation_cost: 1000000, storage_cost: 11415200, storage_rebate: 2723688, non_refundable_storage_fee: 27512 -task 10 'run'. lines 66-68: -Error: Error checking transaction input objects: AddressDeniedForCoin { address: @A, coin_type: "object(1,1)::regulated_coin::REGULATED_COIN" } +task 10 'run'. lines 67-69: +Error: Error checking transaction input objects: AddressDeniedForCoin { address: @A, coin_type: "object(1,6)::regulated_coin::REGULATED_COIN" } -task 11 'run'. lines 69-71: -mutated: object(_), 0x0000000000000000000000000000000000000000000000000000000000000403, object(0,0), object(1,4), object(9,1) +task 11 'run'. lines 70-72: +mutated: object(_), 0x0000000000000000000000000000000000000000000000000000000000000403, object(0,0), object(1,3), object(9,1) deleted: object(9,0) gas summary: computation_cost: 1000000, storage_cost: 9522800, storage_rebate: 11301048, non_refundable_storage_fee: 114152 -task 12 'run'. lines 72-72: -mutated: object(0,0), object(1,0), object(1,2) +task 12 'run'. lines 73-73: +mutated: object(0,0), object(1,0), object(1,1) gas summary: computation_cost: 1000000, storage_cost: 3807600, storage_rebate: 3769524, non_refundable_storage_fee: 38076 diff --git a/crates/iota-adapter-transactional-tests/tests/deny_list/coin_deny_tto.move b/crates/iota-adapter-transactional-tests/tests/deny_list/coin_deny_tto.move index 08c4274cecd..2c91d8663ab 100644 --- a/crates/iota-adapter-transactional-tests/tests/deny_list/coin_deny_tto.move +++ b/crates/iota-adapter-transactional-tests/tests/deny_list/coin_deny_tto.move @@ -61,13 +61,13 @@ module test::regulated_coin { //# view-object 1,6 // Deny account A. -//# run iota::coin::deny_list_add --args object(0x403) object(1,4) @A --type-args test::regulated_coin::REGULATED_COIN --sender A +//# run iota::coin::deny_list_add --args object(0x403) object(1,3) @A --type-args test::regulated_coin::REGULATED_COIN --sender A // Try to receive coin in Wallet. This should now fail. -//# run test::regulated_coin::receive_coin --args object(1,0) receiving(1,2) --sender A +//# run test::regulated_coin::receive_coin --args object(1,0) receiving(1,1) --sender A // Undeny account A. -//# run iota::coin::deny_list_remove --args object(0x403) object(1,4) @A --type-args test::regulated_coin::REGULATED_COIN --sender A +//# run iota::coin::deny_list_remove --args object(0x403) object(1,3) @A --type-args test::regulated_coin::REGULATED_COIN --sender A // Try to receive coin in Wallet. This should now succeed. -//# run test::regulated_coin::receive_coin --args object(1,0) receiving(1,2) --sender A +//# run test::regulated_coin::receive_coin --args object(1,0) receiving(1,1) --sender A diff --git a/crates/iota-adapter-transactional-tests/tests/dev_inspect/load_old_object.exp b/crates/iota-adapter-transactional-tests/tests/dev_inspect/load_old_object.exp index 931af7f352c..5e60d4c13b4 100644 --- a/crates/iota-adapter-transactional-tests/tests/dev_inspect/load_old_object.exp +++ b/crates/iota-adapter-transactional-tests/tests/dev_inspect/load_old_object.exp @@ -3,42 +3,42 @@ processed 10 tasks init: A: object(0,0) -task 1 'publish'. lines 8-30: +task 1 'publish'. lines 9-31: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 5274400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 32-34: +task 2 'programmable'. lines 33-35: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2257200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'view-object'. lines 36-36: +task 3 'view-object'. lines 37-37: Owner: Account Address ( A ) Version: 2 Contents: test::m::S {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}, value: 0u64} -task 4 'programmable'. lines 38-39: +task 4 'programmable'. lines 39-40: mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 2257200, storage_rebate: 2234628, non_refundable_storage_fee: 22572 -task 5 'view-object'. lines 41-44: +task 5 'view-object'. lines 42-45: Owner: Account Address ( A ) Version: 3 Contents: test::m::S {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}, value: 112u64} -task 6 'programmable'. lines 46-47: +task 6 'programmable'. lines 47-48: mutated: object(_), object(2,0) gas summary: computation_cost: 500000, storage_cost: 2257200, storage_rebate: 1256508, non_refundable_storage_fee: 12692 -task 7 'programmable'. lines 49-53: +task 7 'programmable'. lines 50-54: mutated: object(_), object(2,0) gas summary: computation_cost: 500000, storage_cost: 2257200, storage_rebate: 1256508, non_refundable_storage_fee: 12692 -task 8 'programmable'. lines 55-56: +task 8 'programmable'. lines 56-57: Error: Transaction Effects Status: MoveAbort(MoveLocation { module: ModuleId { address: test, name: Identifier("m") }, function: 2, instruction: 8, function_name: Some("check") }, 0) in command 0 Execution Error: MoveAbort(MoveLocation { module: ModuleId { address: test, name: Identifier("m") }, function: 2, instruction: 8, function_name: Some("check") }, 0) in command 0 -task 9 'programmable'. lines 58-59: +task 9 'programmable'. lines 59-60: Error: Transaction Effects Status: MoveAbort(MoveLocation { module: ModuleId { address: test, name: Identifier("m") }, function: 2, instruction: 8, function_name: Some("check") }, 0) in command 0 Execution Error: MoveAbort(MoveLocation { module: ModuleId { address: test, name: Identifier("m") }, function: 2, instruction: 8, function_name: Some("check") }, 0) in command 0 diff --git a/crates/iota-adapter-transactional-tests/tests/dynamic_fields/add_duplicate.exp b/crates/iota-adapter-transactional-tests/tests/dynamic_fields/add_duplicate.exp index 15c9cf5a704..91817fc7a46 100644 --- a/crates/iota-adapter-transactional-tests/tests/dynamic_fields/add_duplicate.exp +++ b/crates/iota-adapter-transactional-tests/tests/dynamic_fields/add_duplicate.exp @@ -3,16 +3,16 @@ processed 4 tasks init: A: object(0,0) -task 1 'publish'. lines 9-28: +task 1 'publish'. lines 10-29: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 5867200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 30-30: +task 2 'run'. lines 31-31: created: object(2,0), object(2,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 3678400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'run'. lines 32-32: +task 3 'run'. lines 33-33: Error: Transaction Effects Status: Move Runtime Abort. Location: iota::dynamic_field::add (function index 0) at offset 15, Abort Code: 0 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: iota, name: Identifier("dynamic_field") }, function: 0, instruction: 15, function_name: Some("add") }, 0), source: Some(VMError { major_status: ABORTED, sub_status: Some(0), message: Some("iota::dynamic_field::add at offset 15"), exec_state: None, location: Module(ModuleId { address: iota, name: Identifier("dynamic_field") }), indices: [], offsets: [(FunctionDefinitionIndex(0), 15)] }), command: Some(0) } } diff --git a/crates/iota-adapter-transactional-tests/tests/dynamic_fields/add_duplicate_object.exp b/crates/iota-adapter-transactional-tests/tests/dynamic_fields/add_duplicate_object.exp index 082dea12d08..37e7c27e454 100644 --- a/crates/iota-adapter-transactional-tests/tests/dynamic_fields/add_duplicate_object.exp +++ b/crates/iota-adapter-transactional-tests/tests/dynamic_fields/add_duplicate_object.exp @@ -3,16 +3,16 @@ processed 4 tasks init: A: object(0,0) -task 1 'publish'. lines 10-29: +task 1 'publish'. lines 11-30: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 6026800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 31-31: +task 2 'run'. lines 32-32: created: object(2,0), object(2,1), object(2,2) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 5890000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'run'. lines 33-33: +task 3 'run'. lines 34-34: Error: Transaction Effects Status: Move Runtime Abort. Location: iota::dynamic_field::add (function index 0) at offset 15, Abort Code: 0 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: iota, name: Identifier("dynamic_field") }, function: 0, instruction: 15, function_name: Some("add") }, 0), source: Some(VMError { major_status: ABORTED, sub_status: Some(0), message: Some("iota::dynamic_field::add at offset 15"), exec_state: None, location: Module(ModuleId { address: iota, name: Identifier("dynamic_field") }), indices: [], offsets: [(FunctionDefinitionIndex(0), 15)] }), command: Some(0) } } diff --git a/crates/iota-adapter-transactional-tests/tests/dynamic_fields/add_duplicate_object.move b/crates/iota-adapter-transactional-tests/tests/dynamic_fields/add_duplicate_object.move index a7daeb2eaee..07f5d7fac42 100644 --- a/crates/iota-adapter-transactional-tests/tests/dynamic_fields/add_duplicate_object.move +++ b/crates/iota-adapter-transactional-tests/tests/dynamic_fields/add_duplicate_object.move @@ -31,4 +31,4 @@ entry fun t2(obj: &mut Obj, ctx: &mut TxContext) { //# run a::m::t1 --sender A -//# run a::m::t2 --sender A --args object(2,0) +//# run a::m::t2 --sender A --args object(2,1) diff --git a/crates/iota-adapter-transactional-tests/tests/dynamic_fields/bench.exp b/crates/iota-adapter-transactional-tests/tests/dynamic_fields/bench.exp index 038c3c14b70..ca8b16bbf1d 100644 --- a/crates/iota-adapter-transactional-tests/tests/dynamic_fields/bench.exp +++ b/crates/iota-adapter-transactional-tests/tests/dynamic_fields/bench.exp @@ -3,12 +3,12 @@ processed 7 tasks init: A: object(0,0) -task 1 'publish'. lines 9-60: +task 1 'publish'. lines 10-61: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 8603200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 62-62: +task 2 'run'. lines 63-63: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2211600, storage_rebate: 0, non_refundable_storage_fee: 0 diff --git a/crates/iota-adapter-transactional-tests/tests/dynamic_fields/borrow_wrong_type.exp b/crates/iota-adapter-transactional-tests/tests/dynamic_fields/borrow_wrong_type.exp index be69a917cad..dd89635d896 100644 --- a/crates/iota-adapter-transactional-tests/tests/dynamic_fields/borrow_wrong_type.exp +++ b/crates/iota-adapter-transactional-tests/tests/dynamic_fields/borrow_wrong_type.exp @@ -3,20 +3,20 @@ processed 5 tasks init: A: object(0,0) -task 1 'publish'. lines 9-32: +task 1 'publish'. lines 10-33: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 6505600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 34-34: +task 2 'run'. lines 35-35: created: object(2,0), object(2,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 3678400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'run'. lines 36-36: +task 3 'run'. lines 37-37: Error: Transaction Effects Status: Move Runtime Abort. Location: iota::dynamic_field::borrow_child_object (function index 11) at offset 0, Abort Code: 2 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: iota, name: Identifier("dynamic_field") }, function: 11, instruction: 0, function_name: Some("borrow_child_object") }, 2), source: Some(VMError { major_status: ABORTED, sub_status: Some(2), message: None, exec_state: None, location: Module(ModuleId { address: iota, name: Identifier("dynamic_field") }), indices: [], offsets: [(FunctionDefinitionIndex(11), 0)] }), command: Some(0) } } -task 4 'run'. lines 38-38: +task 4 'run'. lines 39-39: Error: Transaction Effects Status: Move Runtime Abort. Location: iota::dynamic_field::borrow_child_object_mut (function index 12) at offset 0, Abort Code: 2 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: iota, name: Identifier("dynamic_field") }, function: 12, instruction: 0, function_name: Some("borrow_child_object_mut") }, 2), source: Some(VMError { major_status: ABORTED, sub_status: Some(2), message: None, exec_state: None, location: Module(ModuleId { address: iota, name: Identifier("dynamic_field") }), indices: [], offsets: [(FunctionDefinitionIndex(12), 0)] }), command: Some(0) } } diff --git a/crates/iota-adapter-transactional-tests/tests/dynamic_fields/borrow_wrong_type_object.exp b/crates/iota-adapter-transactional-tests/tests/dynamic_fields/borrow_wrong_type_object.exp index a7b7f35fd55..19e0d465e72 100644 --- a/crates/iota-adapter-transactional-tests/tests/dynamic_fields/borrow_wrong_type_object.exp +++ b/crates/iota-adapter-transactional-tests/tests/dynamic_fields/borrow_wrong_type_object.exp @@ -3,20 +3,20 @@ processed 5 tasks init: A: object(0,0) -task 1 'publish'. lines 10-37: +task 1 'publish'. lines 11-38: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 7075600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 39-39: +task 2 'run'. lines 40-40: created: object(2,0), object(2,1), object(2,2) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 5890000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'run'. lines 41-41: +task 3 'run'. lines 42-42: Error: Transaction Effects Status: Move Runtime Abort. Location: iota::dynamic_field::borrow_child_object (function index 11) at offset 0, Abort Code: 2 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: iota, name: Identifier("dynamic_field") }, function: 11, instruction: 0, function_name: Some("borrow_child_object") }, 2), source: Some(VMError { major_status: ABORTED, sub_status: Some(2), message: None, exec_state: None, location: Module(ModuleId { address: iota, name: Identifier("dynamic_field") }), indices: [], offsets: [(FunctionDefinitionIndex(11), 0)] }), command: Some(0) } } -task 4 'run'. lines 43-43: +task 4 'run'. lines 44-44: Error: Transaction Effects Status: Move Runtime Abort. Location: iota::dynamic_field::borrow_child_object_mut (function index 12) at offset 0, Abort Code: 2 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: iota, name: Identifier("dynamic_field") }, function: 12, instruction: 0, function_name: Some("borrow_child_object_mut") }, 2), source: Some(VMError { major_status: ABORTED, sub_status: Some(2), message: None, exec_state: None, location: Module(ModuleId { address: iota, name: Identifier("dynamic_field") }), indices: [], offsets: [(FunctionDefinitionIndex(12), 0)] }), command: Some(0) } } diff --git a/crates/iota-adapter-transactional-tests/tests/dynamic_fields/borrow_wrong_type_object.move b/crates/iota-adapter-transactional-tests/tests/dynamic_fields/borrow_wrong_type_object.move index 881eef3870b..57bb32b3cb6 100644 --- a/crates/iota-adapter-transactional-tests/tests/dynamic_fields/borrow_wrong_type_object.move +++ b/crates/iota-adapter-transactional-tests/tests/dynamic_fields/borrow_wrong_type_object.move @@ -39,6 +39,6 @@ entry fun t3(obj: &mut Obj) { //# run a::m::t1 --sender A -//# run a::m::t2 --sender A --args object(2,1) +//# run a::m::t2 --sender A --args object(2,0) -//# run a::m::t3 --sender A --args object(2,1) +//# run a::m::t3 --sender A --args object(2,0) diff --git a/crates/iota-adapter-transactional-tests/tests/dynamic_fields/dynamic_object_field_swap.exp b/crates/iota-adapter-transactional-tests/tests/dynamic_fields/dynamic_object_field_swap.exp index e867706260a..ecd2598b6bd 100644 --- a/crates/iota-adapter-transactional-tests/tests/dynamic_fields/dynamic_object_field_swap.exp +++ b/crates/iota-adapter-transactional-tests/tests/dynamic_fields/dynamic_object_field_swap.exp @@ -3,38 +3,38 @@ processed 8 tasks init: A: object(0,0) -task 1 'publish'. lines 6-59: +task 1 'publish'. lines 7-60: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 8937600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 61-61: +task 2 'run'. lines 62-62: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2470000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'run'. lines 63-63: +task 3 'run'. lines 64-64: created: object(3,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2287600, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 4 'run'. lines 65-65: +task 4 'run'. lines 66-66: created: object(4,0) mutated: object(0,0), object(2,0), object(3,0) gas summary: computation_cost: 1000000, storage_cost: 6224400, storage_rebate: 3731904, non_refundable_storage_fee: 37696 -task 5 'view-object'. lines 67-67: +task 5 'view-object'. lines 68-68: Owner: Object ID: ( fake(4,0) ) Version: 4 Contents: test::m::Child {id: iota::object::UID {id: iota::object::ID {bytes: fake(3,0)}}, value: 0u64} -task 6 'run'. lines 69-69: +task 6 'run'. lines 70-70: created: object(6,0) mutated: object(0,0), object(2,0), object(3,0) deleted: object(4,0) gas summary: computation_cost: 1000000, storage_cost: 5251600, storage_rebate: 6162156, non_refundable_storage_fee: 62244 -task 7 'view-object'. lines 71-71: +task 7 'view-object'. lines 72-72: Owner: Account Address ( A ) Version: 5 Contents: test::m::Child {id: iota::object::UID {id: iota::object::ID {bytes: fake(3,0)}}, value: 0u64} diff --git a/crates/iota-adapter-transactional-tests/tests/dynamic_fields/exhaustive.exp b/crates/iota-adapter-transactional-tests/tests/dynamic_fields/exhaustive.exp index 88749a0ec05..4c8340f2ee2 100644 --- a/crates/iota-adapter-transactional-tests/tests/dynamic_fields/exhaustive.exp +++ b/crates/iota-adapter-transactional-tests/tests/dynamic_fields/exhaustive.exp @@ -3,47 +3,47 @@ processed 11 tasks init: A: object(0,0) -task 1 'publish'. lines 9-77: +task 1 'publish'. lines 10-78: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 12205600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 79-79: +task 2 'run'. lines 80-80: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2211600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'run'. lines 81-81: +task 3 'run'. lines 82-82: created: object(3,0), object(3,1), object(3,2) mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 6513200, storage_rebate: 2189484, non_refundable_storage_fee: 22116 -task 4 'run'. lines 83-83: +task 4 'run'. lines 84-84: mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 2211600, storage_rebate: 2189484, non_refundable_storage_fee: 22116 -task 5 'run'. lines 85-85: +task 5 'run'. lines 86-86: mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 2211600, storage_rebate: 2189484, non_refundable_storage_fee: 22116 -task 6 'run'. lines 87-87: +task 6 'run'. lines 88-88: mutated: object(0,0), object(2,0), object(3,0), object(3,1), object(3,2) gas summary: computation_cost: 1000000, storage_cost: 6513200, storage_rebate: 6448068, non_refundable_storage_fee: 65132 -task 7 'run'. lines 89-89: +task 7 'run'. lines 90-90: mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 2211600, storage_rebate: 2189484, non_refundable_storage_fee: 22116 -task 8 'run'. lines 91-91: +task 8 'run'. lines 92-92: mutated: object(0,0), object(2,0) deleted: object(3,1), object(3,2) gas summary: computation_cost: 1000000, storage_cost: 2211600, storage_rebate: 5048604, non_refundable_storage_fee: 50996 -task 9 'run'. lines 93-93: +task 9 'run'. lines 94-94: mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 2211600, storage_rebate: 2189484, non_refundable_storage_fee: 22116 -task 10 'run'. lines 95-95: +task 10 'run'. lines 96-96: mutated: object(0,0) deleted: object(2,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 2189484, non_refundable_storage_fee: 22116 diff --git a/crates/iota-adapter-transactional-tests/tests/dynamic_fields/exhaustive_object.exp b/crates/iota-adapter-transactional-tests/tests/dynamic_fields/exhaustive_object.exp index 13ec07f8e47..88c95685494 100644 --- a/crates/iota-adapter-transactional-tests/tests/dynamic_fields/exhaustive_object.exp +++ b/crates/iota-adapter-transactional-tests/tests/dynamic_fields/exhaustive_object.exp @@ -3,47 +3,47 @@ processed 11 tasks init: A: object(0,0) -task 1 'publish'. lines 10-102: +task 1 'publish'. lines 11-103: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 13482400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 104-104: +task 2 'run'. lines 105-105: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2211600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'run'. lines 106-106: +task 3 'run'. lines 107-107: created: object(3,0), object(3,1), object(3,2), object(3,3), object(3,4), object(3,5) mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 13421600, storage_rebate: 2189484, non_refundable_storage_fee: 22116 -task 4 'run'. lines 108-108: +task 4 'run'. lines 109-109: mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 2211600, storage_rebate: 2189484, non_refundable_storage_fee: 22116 -task 5 'run'. lines 110-110: +task 5 'run'. lines 111-111: mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 2211600, storage_rebate: 2189484, non_refundable_storage_fee: 22116 -task 6 'run'. lines 112-112: +task 6 'run'. lines 113-113: mutated: object(0,0), object(2,0), object(3,0), object(3,1), object(3,2) gas summary: computation_cost: 1000000, storage_cost: 6156000, storage_rebate: 6094440, non_refundable_storage_fee: 61560 -task 7 'run'. lines 114-114: +task 7 'run'. lines 115-115: mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 2211600, storage_rebate: 2189484, non_refundable_storage_fee: 22116 -task 8 'run'. lines 116-116: +task 8 'run'. lines 117-117: mutated: object(0,0), object(2,0) deleted: object(3,1), object(3,2), object(3,4), object(3,5) gas summary: computation_cost: 1000000, storage_cost: 2211600, storage_rebate: 9608148, non_refundable_storage_fee: 97052 -task 9 'run'. lines 118-118: +task 9 'run'. lines 119-119: mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 2211600, storage_rebate: 2189484, non_refundable_storage_fee: 22116 -task 10 'run'. lines 120-120: +task 10 'run'. lines 121-121: mutated: object(0,0) deleted: object(2,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 2189484, non_refundable_storage_fee: 22116 diff --git a/crates/iota-adapter-transactional-tests/tests/dynamic_fields/read_field_from_immutable.exp b/crates/iota-adapter-transactional-tests/tests/dynamic_fields/read_field_from_immutable.exp index 1bd04f8a30a..ef54e4b4271 100644 --- a/crates/iota-adapter-transactional-tests/tests/dynamic_fields/read_field_from_immutable.exp +++ b/crates/iota-adapter-transactional-tests/tests/dynamic_fields/read_field_from_immutable.exp @@ -3,16 +3,16 @@ processed 4 tasks init: A: object(0,0) -task 1 'publish'. lines 9-28: +task 1 'publish'. lines 10-29: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 6133200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 30-30: +task 2 'run'. lines 31-31: created: object(2,0), object(2,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 3678400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'run'. lines 32-32: +task 3 'run'. lines 33-33: mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 diff --git a/crates/iota-adapter-transactional-tests/tests/dynamic_fields/receive_remove_add_back_and_remove_type.exp b/crates/iota-adapter-transactional-tests/tests/dynamic_fields/receive_remove_add_back_and_remove_type.exp index 96a171bdbc1..39aaac1cdf9 100644 --- a/crates/iota-adapter-transactional-tests/tests/dynamic_fields/receive_remove_add_back_and_remove_type.exp +++ b/crates/iota-adapter-transactional-tests/tests/dynamic_fields/receive_remove_add_back_and_remove_type.exp @@ -3,48 +3,48 @@ processed 10 tasks init: A: object(0,0) -task 1 'publish'. lines 11-87: +task 1 'publish'. lines 12-88: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 12897200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 89-89: +task 2 'run'. lines 90-90: created: object(2,0), object(2,1), object(2,2) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 4689200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'run'. lines 91-91: +task 3 'run'. lines 92-92: mutated: object(0,0), object(2,0), object(2,2) deleted: object(2,1) gas summary: computation_cost: 1000000, storage_cost: 3465600, storage_rebate: 4642308, non_refundable_storage_fee: 46892 -task 4 'run'. lines 93-93: +task 4 'run'. lines 94-94: created: object(4,0), object(4,1), object(4,2) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 4689200, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 5 'run'. lines 95-95: +task 5 'run'. lines 96-96: mutated: object(0,0), object(4,0), object(4,2) deleted: object(4,1) gas summary: computation_cost: 1000000, storage_cost: 3465600, storage_rebate: 4642308, non_refundable_storage_fee: 46892 -task 6 'run'. lines 97-97: +task 6 'run'. lines 98-98: created: object(6,0), object(6,1), object(6,2) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 4689200, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 7 'run'. lines 99-99: +task 7 'run'. lines 100-100: created: object(7,0) mutated: object(0,0), object(6,2) wrapped: object(6,0) gas summary: computation_cost: 1000000, storage_cost: 4050800, storage_rebate: 3430944, non_refundable_storage_fee: 34656 -task 8 'run'. lines 101-101: +task 8 'run'. lines 102-102: created: object(8,0), object(8,1), object(8,2) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 4689200, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 9 'run'. lines 103-103: +task 9 'run'. lines 104-104: created: object(9,0) mutated: object(0,0), object(8,2) wrapped: object(8,0) diff --git a/crates/iota-adapter-transactional-tests/tests/dynamic_fields/remove_add_back_and_remove.exp b/crates/iota-adapter-transactional-tests/tests/dynamic_fields/remove_add_back_and_remove.exp index 7971695029a..aabd410f7a1 100644 --- a/crates/iota-adapter-transactional-tests/tests/dynamic_fields/remove_add_back_and_remove.exp +++ b/crates/iota-adapter-transactional-tests/tests/dynamic_fields/remove_add_back_and_remove.exp @@ -3,42 +3,42 @@ processed 9 tasks init: A: object(0,0) -task 1 'publish'. lines 11-52: +task 1 'publish'. lines 12-53: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 9614000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 54-56: +task 2 'run'. lines 55-57: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2249600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'run'. lines 57-57: +task 3 'run'. lines 58-58: created: object(3,0), object(3,1) mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 5950800, storage_rebate: 2227104, non_refundable_storage_fee: 22496 -task 4 'run'. lines 59-61: +task 4 'run'. lines 60-62: mutated: object(0,0), object(2,0), object(3,1) deleted: object(3,0) gas summary: computation_cost: 1000000, storage_cost: 3496000, storage_rebate: 5891292, non_refundable_storage_fee: 59508 -task 5 'run'. lines 62-62: +task 5 'run'. lines 63-63: created: object(3,0), object(5,0) mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 5950800, storage_rebate: 2227104, non_refundable_storage_fee: 22496 -task 6 'run'. lines 64-66: +task 6 'run'. lines 65-67: mutated: object(0,0), object(2,0) deleted: object(3,0), object(5,0) gas summary: computation_cost: 1000000, storage_cost: 2249600, storage_rebate: 5891292, non_refundable_storage_fee: 59508 -task 7 'run'. lines 67-67: +task 7 'run'. lines 68-68: created: object(3,0), object(7,0) mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 5950800, storage_rebate: 2227104, non_refundable_storage_fee: 22496 -task 8 'run'. lines 69-69: +task 8 'run'. lines 70-70: mutated: object(0,0), object(2,0) deleted: object(3,0) wrapped: object(7,0) diff --git a/crates/iota-adapter-transactional-tests/tests/dynamic_fields/remove_add_back_and_remove_type.exp b/crates/iota-adapter-transactional-tests/tests/dynamic_fields/remove_add_back_and_remove_type.exp index 62efeacf4f8..9a8d4cb1954 100644 --- a/crates/iota-adapter-transactional-tests/tests/dynamic_fields/remove_add_back_and_remove_type.exp +++ b/crates/iota-adapter-transactional-tests/tests/dynamic_fields/remove_add_back_and_remove_type.exp @@ -3,20 +3,20 @@ processed 5 tasks init: A: object(0,0) -task 1 'publish'. lines 11-48: +task 1 'publish'. lines 12-49: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 8762800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 50-50: +task 2 'run'. lines 51-51: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2242000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'run'. lines 52-52: +task 3 'run'. lines 53-53: mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 2242000, storage_rebate: 2219580, non_refundable_storage_fee: 22420 -task 4 'run'. lines 54-54: +task 4 'run'. lines 55-55: mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 2242000, storage_rebate: 2219580, non_refundable_storage_fee: 22420 diff --git a/crates/iota-adapter-transactional-tests/tests/dynamic_fields/remove_wrong_type.exp b/crates/iota-adapter-transactional-tests/tests/dynamic_fields/remove_wrong_type.exp index bf34733a018..bd80e3ad4fe 100644 --- a/crates/iota-adapter-transactional-tests/tests/dynamic_fields/remove_wrong_type.exp +++ b/crates/iota-adapter-transactional-tests/tests/dynamic_fields/remove_wrong_type.exp @@ -3,16 +3,16 @@ processed 4 tasks init: A: object(0,0) -task 1 'publish'. lines 9-29: +task 1 'publish'. lines 10-30: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 6019200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 31-31: +task 2 'run'. lines 32-32: created: object(2,0), object(2,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 3678400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'run'. lines 33-33: +task 3 'run'. lines 34-34: Error: Transaction Effects Status: Move Runtime Abort. Location: iota::dynamic_field::remove_child_object (function index 13) at offset 0, Abort Code: 2 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: iota, name: Identifier("dynamic_field") }, function: 13, instruction: 0, function_name: Some("remove_child_object") }, 2), source: Some(VMError { major_status: ABORTED, sub_status: Some(2), message: None, exec_state: None, location: Module(ModuleId { address: iota, name: Identifier("dynamic_field") }), indices: [], offsets: [(FunctionDefinitionIndex(13), 0)] }), command: Some(0) } } diff --git a/crates/iota-adapter-transactional-tests/tests/dynamic_fields/remove_wrong_type_object.exp b/crates/iota-adapter-transactional-tests/tests/dynamic_fields/remove_wrong_type_object.exp index b9d9b113120..5e06131fdbb 100644 --- a/crates/iota-adapter-transactional-tests/tests/dynamic_fields/remove_wrong_type_object.exp +++ b/crates/iota-adapter-transactional-tests/tests/dynamic_fields/remove_wrong_type_object.exp @@ -3,16 +3,16 @@ processed 4 tasks init: A: object(0,0) -task 1 'publish'. lines 10-34: +task 1 'publish'. lines 11-35: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 6695600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 36-36: +task 2 'run'. lines 37-37: created: object(2,0), object(2,1), object(2,2) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 5890000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'run'. lines 38-38: +task 3 'run'. lines 39-39: Error: Transaction Effects Status: Move Runtime Abort. Location: iota::dynamic_field::remove_child_object (function index 13) at offset 0, Abort Code: 2 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: iota, name: Identifier("dynamic_field") }, function: 13, instruction: 0, function_name: Some("remove_child_object") }, 2), source: Some(VMError { major_status: ABORTED, sub_status: Some(2), message: None, exec_state: None, location: Module(ModuleId { address: iota, name: Identifier("dynamic_field") }), indices: [], offsets: [(FunctionDefinitionIndex(13), 0)] }), command: Some(0) } } diff --git a/crates/iota-adapter-transactional-tests/tests/dynamic_fields/remove_wrong_type_object.move b/crates/iota-adapter-transactional-tests/tests/dynamic_fields/remove_wrong_type_object.move index 7e1840b9f47..d7d015b0d92 100644 --- a/crates/iota-adapter-transactional-tests/tests/dynamic_fields/remove_wrong_type_object.move +++ b/crates/iota-adapter-transactional-tests/tests/dynamic_fields/remove_wrong_type_object.move @@ -36,4 +36,4 @@ entry fun t2(obj: &mut Obj) { //# run a::m::t1 --sender A -//# run a::m::t2 --sender A --args object(2,1) +//# run a::m::t2 --sender A --args object(2,0) diff --git a/crates/iota-adapter-transactional-tests/tests/dynamic_fields/shared_object.exp b/crates/iota-adapter-transactional-tests/tests/dynamic_fields/shared_object.exp index 4b6dce1885a..be6a92127ba 100644 --- a/crates/iota-adapter-transactional-tests/tests/dynamic_fields/shared_object.exp +++ b/crates/iota-adapter-transactional-tests/tests/dynamic_fields/shared_object.exp @@ -3,39 +3,39 @@ processed 9 tasks init: A: object(0,0) -task 1 'publish'. lines 8-72: +task 1 'publish'. lines 9-73: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 9690000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 74-74: +task 2 'run'. lines 75-75: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2470000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'run'. lines 76-78: +task 3 'run'. lines 77-79: created: object(3,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2287600, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 4 'run'. lines 79-79: +task 4 'run'. lines 80-80: Error: Transaction Effects Status: The shared object operation is not allowed. Debug of error: SharedObjectOperationNotAllowed at command None -task 5 'view-object'. lines 81-81: +task 5 'view-object'. lines 82-82: Owner: Shared Version: 4 Contents: test::m::Child {id: iota::object::UID {id: iota::object::ID {bytes: fake(3,0)}}, value: 0u64} -task 6 'run'. lines 83-83: +task 6 'run'. lines 84-84: Error: Transaction Effects Status: Move Runtime Abort. Location: iota::dynamic_field::borrow_child_object (function index 11) at offset 0, Abort Code: 1 Debug of error: MoveAbort(MoveLocation { module: ModuleId { address: iota, name: Identifier("dynamic_field") }, function: 11, instruction: 0, function_name: Some("borrow_child_object") }, 1) at command Some(0) -task 7 'view-object'. lines 85-85: +task 7 'view-object'. lines 86-86: Owner: Shared Version: 4 Contents: test::m::Child {id: iota::object::UID {id: iota::object::ID {bytes: fake(3,0)}}, value: 0u64} -task 8 'run'. lines 87-87: +task 8 'run'. lines 88-88: Error: Transaction Effects Status: Move Runtime Abort. Location: iota::dynamic_field::borrow_child_object (function index 11) at offset 0, Abort Code: 1 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: iota, name: Identifier("dynamic_field") }, function: 11, instruction: 0, function_name: Some("borrow_child_object") }, 1), source: Some(VMError { major_status: ABORTED, sub_status: Some(1), message: None, exec_state: None, location: Module(ModuleId { address: iota, name: Identifier("dynamic_field") }), indices: [], offsets: [(FunctionDefinitionIndex(11), 0)] }), command: Some(0) } } diff --git a/crates/iota-adapter-transactional-tests/tests/dynamic_fields/transfer_object.exp b/crates/iota-adapter-transactional-tests/tests/dynamic_fields/transfer_object.exp index ade3ebca5ff..b82c3ba56d5 100644 --- a/crates/iota-adapter-transactional-tests/tests/dynamic_fields/transfer_object.exp +++ b/crates/iota-adapter-transactional-tests/tests/dynamic_fields/transfer_object.exp @@ -3,48 +3,48 @@ processed 11 tasks init: A: object(0,0) -task 1 'publish'. lines 10-65: +task 1 'publish'. lines 11-66: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 9317600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 67-67: +task 2 'run'. lines 68-68: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2211600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'run'. lines 69-69: +task 3 'run'. lines 70-70: created: object(3,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2211600, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 4 'run'. lines 71-71: +task 4 'run'. lines 72-72: created: object(4,0), object(4,1) mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 5981200, storage_rebate: 2189484, non_refundable_storage_fee: 22116 -task 5 'run'. lines 73-73: +task 5 'run'. lines 74-74: mutated: object(0,0), object(2,0), object(4,0) gas summary: computation_cost: 1000000, storage_cost: 3526400, storage_rebate: 3491136, non_refundable_storage_fee: 35264 -task 6 'run'. lines 75-75: +task 6 'run'. lines 76-76: mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 2211600, storage_rebate: 2189484, non_refundable_storage_fee: 22116 -task 7 'run'. lines 77-77: +task 7 'run'. lines 78-78: created: object(7,0) mutated: object(0,0), object(2,0), object(3,0), object(4,0) deleted: object(4,1) gas summary: computation_cost: 1000000, storage_cost: 7204800, storage_rebate: 7132752, non_refundable_storage_fee: 72048 -task 8 'run'. lines 79-79: +task 8 'run'. lines 80-80: mutated: object(0,0), object(3,0), object(4,0) gas summary: computation_cost: 1000000, storage_cost: 3526400, storage_rebate: 3491136, non_refundable_storage_fee: 35264 -task 9 'run'. lines 81-81: +task 9 'run'. lines 82-82: mutated: object(0,0), object(3,0) gas summary: computation_cost: 1000000, storage_cost: 2211600, storage_rebate: 2189484, non_refundable_storage_fee: 22116 -task 10 'run'. lines 83-83: +task 10 'run'. lines 84-84: Error: Transaction Effects Status: Move Runtime Abort. Location: iota::dynamic_field::borrow_child_object_mut (function index 12) at offset 0, Abort Code: 1 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: iota, name: Identifier("dynamic_field") }, function: 12, instruction: 0, function_name: Some("borrow_child_object_mut") }, 1), source: Some(VMError { major_status: ABORTED, sub_status: Some(1), message: None, exec_state: None, location: Module(ModuleId { address: iota, name: Identifier("dynamic_field") }), indices: [], offsets: [(FunctionDefinitionIndex(12), 0)] }), command: Some(0) } } diff --git a/crates/iota-adapter-transactional-tests/tests/dynamic_fields/unwrap_object.exp b/crates/iota-adapter-transactional-tests/tests/dynamic_fields/unwrap_object.exp index 93119bde20f..e7e0a2f11c4 100644 --- a/crates/iota-adapter-transactional-tests/tests/dynamic_fields/unwrap_object.exp +++ b/crates/iota-adapter-transactional-tests/tests/dynamic_fields/unwrap_object.exp @@ -3,51 +3,51 @@ processed 10 tasks init: A: object(0,0) -task 1 'publish'. lines 8-39: +task 1 'publish'. lines 9-40: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 7478400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 41-41: +task 2 'run'. lines 42-42: created: object(2,0), object(2,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 4157200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'run'. lines 43-43: +task 3 'run'. lines 44-44: created: object(3,1) mutated: object(0,0), object(2,0) unwrapped: object(3,0) deleted: object(2,1) gas summary: computation_cost: 1000000, storage_cost: 5890000, storage_rebate: 4115628, non_refundable_storage_fee: 41572 -task 4 'view-object'. lines 45-45: +task 4 'view-object'. lines 46-46: Owner: Object ID: ( fake(3,1) ) Version: 3 Contents: a::m::Obj {id: iota::object::UID {id: iota::object::ID {bytes: fake(3,0)}}} -task 5 'run'. lines 48-48: +task 5 'run'. lines 49-49: created: object(5,0), object(5,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 4157200, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 6 'run'. lines 50-50: +task 6 'run'. lines 51-51: mutated: object(0,0), object(5,0) deleted: object(5,1) unwrapped_then_deleted: object(_) gas summary: computation_cost: 1000000, storage_cost: 2211600, storage_rebate: 4115628, non_refundable_storage_fee: 41572 -task 7 'run'. lines 53-53: +task 7 'run'. lines 54-54: created: object(7,0), object(7,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 4157200, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 8 'run'. lines 56-56: +task 8 'run'. lines 57-57: mutated: object(0,0), object(7,0) unwrapped: object(8,0) deleted: object(7,1) gas summary: computation_cost: 1000000, storage_cost: 3435200, storage_rebate: 4115628, non_refundable_storage_fee: 41572 -task 9 'view-object'. lines 58-58: +task 9 'view-object'. lines 59-59: Owner: Account Address ( A ) Version: 7 Contents: a::m::Obj {id: iota::object::UID {id: iota::object::ID {bytes: fake(7,0)}}} diff --git a/crates/iota-adapter-transactional-tests/tests/dynamic_fields/wrap_object.exp b/crates/iota-adapter-transactional-tests/tests/dynamic_fields/wrap_object.exp index 7bf1afd6d9e..431086b0ea7 100644 --- a/crates/iota-adapter-transactional-tests/tests/dynamic_fields/wrap_object.exp +++ b/crates/iota-adapter-transactional-tests/tests/dynamic_fields/wrap_object.exp @@ -3,57 +3,57 @@ processed 12 tasks init: A: object(0,0) -task 1 'publish'. lines 8-39: +task 1 'publish'. lines 9-40: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 7478400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 41-41: +task 2 'run'. lines 42-42: created: object(2,0), object(2,1), object(2,2) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 5890000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'view-object'. lines 43-43: +task 3 'view-object'. lines 44-44: Owner: Object ID: ( fake(2,2) ) Version: 2 Contents: a::m::Obj {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}} -task 4 'run'. lines 45-45: +task 4 'run'. lines 46-46: created: object(4,0) mutated: object(0,0), object(2,0) deleted: object(2,2) wrapped: object(2,1) gas summary: computation_cost: 1000000, storage_cost: 4157200, storage_rebate: 5831100, non_refundable_storage_fee: 58900 -task 5 'run'. lines 48-48: +task 5 'run'. lines 49-49: created: object(5,0), object(5,1), object(5,2) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 5890000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 6 'view-object'. lines 50-50: +task 6 'view-object'. lines 51-51: Owner: Object ID: ( fake(5,1) ) Version: 4 Contents: iota::dynamic_field::Field, iota::object::ID> {id: iota::object::UID {id: iota::object::ID {bytes: fake(5,2)}}, name: iota::dynamic_object_field::Wrapper {name: 0u64}, value: iota::object::ID {bytes: fake(5,0)}} -task 7 'run'. lines 52-52: +task 7 'run'. lines 53-53: mutated: object(0,0), object(5,1) deleted: object(5,0), object(5,2) gas summary: computation_cost: 1000000, storage_cost: 2211600, storage_rebate: 5831100, non_refundable_storage_fee: 58900 -task 8 'run'. lines 55-55: +task 8 'run'. lines 56-56: created: object(8,0), object(8,1), object(8,2) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 5890000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 9 'view-object'. lines 57-57: +task 9 'view-object'. lines 58-58: Owner: Object ID: ( fake(8,0) ) Version: 6 Contents: iota::dynamic_field::Field, iota::object::ID> {id: iota::object::UID {id: iota::object::ID {bytes: fake(8,2)}}, name: iota::dynamic_object_field::Wrapper {name: 0u64}, value: iota::object::ID {bytes: fake(8,1)}} -task 10 'run'. lines 59-59: +task 10 'run'. lines 60-60: mutated: object(0,0), object(8,0), object(8,1) deleted: object(8,2) gas summary: computation_cost: 1000000, storage_cost: 3435200, storage_rebate: 5831100, non_refundable_storage_fee: 58900 -task 11 'view-object'. lines 61-61: +task 11 'view-object'. lines 62-62: No object at id 8,2 diff --git a/crates/iota-adapter-transactional-tests/tests/dynamic_fields/wrapped_uid_after_delete.exp b/crates/iota-adapter-transactional-tests/tests/dynamic_fields/wrapped_uid_after_delete.exp index 1c644499e24..9cde1a8ba88 100644 --- a/crates/iota-adapter-transactional-tests/tests/dynamic_fields/wrapped_uid_after_delete.exp +++ b/crates/iota-adapter-transactional-tests/tests/dynamic_fields/wrapped_uid_after_delete.exp @@ -3,47 +3,47 @@ processed 10 tasks init: A: object(0,0) -task 1 'publish'. lines 10-82: +task 1 'publish'. lines 11-83: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 10229600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 84-84: +task 2 'run'. lines 85-85: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2211600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'run'. lines 86-86: +task 3 'run'. lines 87-87: created: object(3,0) mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 4248400, storage_rebate: 2189484, non_refundable_storage_fee: 22116 -task 4 'run'. lines 88-88: +task 4 'run'. lines 89-89: mutated: object(0,0), object(2,0), object(3,0) gas summary: computation_cost: 1000000, storage_cost: 4248400, storage_rebate: 4205916, non_refundable_storage_fee: 42484 -task 5 'run'. lines 90-90: +task 5 'run'. lines 91-91: created: object(5,0) mutated: object(0,0) wrapped: object(2,0) gas summary: computation_cost: 1000000, storage_cost: 2485200, storage_rebate: 2189484, non_refundable_storage_fee: 22116 -task 6 'view-object'. lines 92-92: +task 6 'view-object'. lines 93-93: Owner: Object ID: ( fake(2,0) ) Version: 4 Contents: iota::dynamic_field::Field {id: iota::object::UID {id: iota::object::ID {bytes: fake(3,0)}}, name: 0u64, value: a::m::Counter {id: iota::object::UID {id: iota::object::ID {bytes: _}}, count: 1u64}} -task 7 'run'. lines 94-94: +task 7 'run'. lines 95-95: mutated: object(0,0), object(5,0) gas summary: computation_cost: 1000000, storage_cost: 2485200, storage_rebate: 2460348, non_refundable_storage_fee: 24852 -task 8 'run'. lines 96-96: +task 8 'run'. lines 97-97: mutated: object(0,0) deleted: object(5,0) unwrapped_then_deleted: object(2,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 2460348, non_refundable_storage_fee: 24852 -task 9 'view-object'. lines 98-98: +task 9 'view-object'. lines 99-99: Owner: Object ID: ( fake(2,0) ) Version: 4 Contents: iota::dynamic_field::Field {id: iota::object::UID {id: iota::object::ID {bytes: fake(3,0)}}, name: 0u64, value: a::m::Counter {id: iota::object::UID {id: iota::object::ID {bytes: _}}, count: 1u64}} diff --git a/crates/iota-adapter-transactional-tests/tests/entry_points/ascii.exp b/crates/iota-adapter-transactional-tests/tests/entry_points/ascii.exp index 26ddb3232f6..5eb9868ad34 100644 --- a/crates/iota-adapter-transactional-tests/tests/entry_points/ascii.exp +++ b/crates/iota-adapter-transactional-tests/tests/entry_points/ascii.exp @@ -3,23 +3,23 @@ processed 6 tasks init: A: object(0,0) -task 1 'publish'. lines 6-25: +task 1 'publish'. lines 7-26: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 5745600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 27-30: +task 2 'run'. lines 28-31: mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'run'. lines 32-35: +task 3 'run'. lines 33-36: mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 4 'run'. lines 37-45: +task 4 'run'. lines 38-46: mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 5 'run'. lines 47-47: +task 5 'run'. lines 48-48: Error: Transaction Effects Status: Invalid command argument at 0. The argument cannot be deserialized into a value of the specified type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: InvalidBCSBytes }, source: Some("Function expects std::ascii::String but provided argument's value does not match"), command: Some(0) } } diff --git a/crates/iota-adapter-transactional-tests/tests/entry_points/generic_by_ref.exp b/crates/iota-adapter-transactional-tests/tests/entry_points/generic_by_ref.exp index 9326bb637bf..0e6988f187f 100644 --- a/crates/iota-adapter-transactional-tests/tests/entry_points/generic_by_ref.exp +++ b/crates/iota-adapter-transactional-tests/tests/entry_points/generic_by_ref.exp @@ -3,7 +3,7 @@ processed 2 tasks init: A: object(0,0) -task 1 'publish'. lines 6-14: +task 1 'publish'. lines 7-15: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 4149600, storage_rebate: 0, non_refundable_storage_fee: 0 diff --git a/crates/iota-adapter-transactional-tests/tests/entry_points/generic_by_ref_invalid.exp b/crates/iota-adapter-transactional-tests/tests/entry_points/generic_by_ref_invalid.exp index 1366cd0229c..a67a4f564a0 100644 --- a/crates/iota-adapter-transactional-tests/tests/entry_points/generic_by_ref_invalid.exp +++ b/crates/iota-adapter-transactional-tests/tests/entry_points/generic_by_ref_invalid.exp @@ -3,18 +3,18 @@ processed 5 tasks init: A: object(0,0) -task 1 'publish'. lines 8-11: +task 1 'publish'. lines 9-12: Error: Transaction Effects Status: Iota Move Bytecode Verification Error. Please run the Iota Move Verifier for more information. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: IotaMoveVerificationError, source: Some("Invalid entry point parameter type. Expected primitive or object type. Got: &T0"), command: Some(0) } } -task 2 'publish'. lines 13-16: +task 2 'publish'. lines 14-17: Error: Transaction Effects Status: Iota Move Bytecode Verification Error. Please run the Iota Move Verifier for more information. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: IotaMoveVerificationError, source: Some("Invalid entry point parameter type. Expected primitive or object type. Got: &mut T0"), command: Some(0) } } -task 3 'publish'. lines 18-21: +task 3 'publish'. lines 19-22: Error: Transaction Effects Status: Iota Move Bytecode Verification Error. Please run the Iota Move Verifier for more information. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: IotaMoveVerificationError, source: Some("Invalid entry point parameter type. Expected primitive or object type. Got: &T0"), command: Some(0) } } -task 4 'publish'. lines 23-26: +task 4 'publish'. lines 24-27: Error: Transaction Effects Status: Iota Move Bytecode Verification Error. Please run the Iota Move Verifier for more information. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: IotaMoveVerificationError, source: Some("Invalid entry point parameter type. Expected primitive or object type. Got: &mut T0"), command: Some(0) } } diff --git a/crates/iota-adapter-transactional-tests/tests/entry_points/imm_txn_context.exp b/crates/iota-adapter-transactional-tests/tests/entry_points/imm_txn_context.exp index fff39946568..98cb6ee416f 100644 --- a/crates/iota-adapter-transactional-tests/tests/entry_points/imm_txn_context.exp +++ b/crates/iota-adapter-transactional-tests/tests/entry_points/imm_txn_context.exp @@ -3,20 +3,20 @@ processed 5 tasks init: A: object(0,0) -task 1 'publish'. lines 6-27: +task 1 'publish'. lines 7-28: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 6034400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 29-29: +task 2 'run'. lines 30-30: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2272400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'run'. lines 31-31: +task 3 'run'. lines 32-32: mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 2272400, storage_rebate: 2249676, non_refundable_storage_fee: 22724 -task 4 'run'. lines 33-33: +task 4 'run'. lines 34-34: mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 2272400, storage_rebate: 2249676, non_refundable_storage_fee: 22724 diff --git a/crates/iota-adapter-transactional-tests/tests/entry_points/missing_type.exp b/crates/iota-adapter-transactional-tests/tests/entry_points/missing_type.exp index dc19b15d004..43beca86603 100644 --- a/crates/iota-adapter-transactional-tests/tests/entry_points/missing_type.exp +++ b/crates/iota-adapter-transactional-tests/tests/entry_points/missing_type.exp @@ -3,27 +3,27 @@ processed 7 tasks init: A: object(0,0) -task 1 'publish'. lines 8-15: +task 1 'publish'. lines 9-16: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 3876000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 17-17: +task 2 'run'. lines 18-18: Error: Transaction Effects Status: Move Bytecode Verification Error. Please run the Bytecode Verifier for more information. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: VMVerificationOrDeserializationError, source: Some(VMError { major_status: LINKER_ERROR, sub_status: None, message: Some("Cannot find ModuleId { address: test, name: Identifier(\"x\") } in data cache"), exec_state: None, location: Undefined, indices: [], offsets: [] }), command: Some(0) } } -task 3 'run'. lines 19-19: +task 3 'run'. lines 20-20: Error: Transaction Effects Status: Error for type argument at index 0: A type was not found in the module specified. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: TypeArgumentError { argument_idx: 0, kind: TypeNotFound }, source: None, command: Some(0) } } -task 4 'run'. lines 21-21: +task 4 'run'. lines 22-22: Error: Transaction Effects Status: Type arity mismatch for Move function. Mismatch between the number of actual versus expected type arguments. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: TypeArityMismatch, source: None, command: Some(0) } } -task 5 'run'. lines 23-23: +task 5 'run'. lines 24-24: Error: Transaction Effects Status: Type arity mismatch for Move function. Mismatch between the number of actual versus expected type arguments. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: TypeArityMismatch, source: None, command: Some(0) } } -task 6 'run'. lines 25-25: +task 6 'run'. lines 26-26: Error: Transaction Effects Status: Error for type argument at index 0: A type provided did not match the specified constraints. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: TypeArgumentError { argument_idx: 0, kind: ConstraintNotSatisfied }, source: None, command: Some(0) } } diff --git a/crates/iota-adapter-transactional-tests/tests/entry_points/no_txn_context.exp b/crates/iota-adapter-transactional-tests/tests/entry_points/no_txn_context.exp index 20baf868a3e..53be0b7564f 100644 --- a/crates/iota-adapter-transactional-tests/tests/entry_points/no_txn_context.exp +++ b/crates/iota-adapter-transactional-tests/tests/entry_points/no_txn_context.exp @@ -3,16 +3,16 @@ processed 4 tasks init: A: object(0,0) -task 1 'publish'. lines 6-23: +task 1 'publish'. lines 7-24: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 5494800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 25-25: +task 2 'run'. lines 26-26: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2272400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'run'. lines 27-27: +task 3 'run'. lines 28-28: mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 2272400, storage_rebate: 2249676, non_refundable_storage_fee: 22724 diff --git a/crates/iota-adapter-transactional-tests/tests/entry_points/obj_vector.exp b/crates/iota-adapter-transactional-tests/tests/entry_points/obj_vector.exp index 24ffe2dca64..eb32c626f93 100644 --- a/crates/iota-adapter-transactional-tests/tests/entry_points/obj_vector.exp +++ b/crates/iota-adapter-transactional-tests/tests/entry_points/obj_vector.exp @@ -3,85 +3,85 @@ processed 19 tasks init: A: object(0,0) -task 1 'publish'. lines 8-111: +task 1 'publish'. lines 9-112: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 12646400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 113-113: +task 2 'run'. lines 114-114: mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'run'. lines 115-119: +task 3 'run'. lines 116-120: created: object(3,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2272400, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 4 'run'. lines 121-121: +task 4 'run'. lines 122-122: mutated: object(0,0) deleted: object(3,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 2249676, non_refundable_storage_fee: 22724 -task 5 'run'. lines 123-123: +task 5 'run'. lines 124-124: created: object(5,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2272400, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 6 'run'. lines 125-125: +task 6 'run'. lines 126-126: created: object(6,0), object(6,1) mutated: object(0,0), object(5,0) gas summary: computation_cost: 1000000, storage_cost: 6011600, storage_rebate: 2249676, non_refundable_storage_fee: 22724 -task 7 'run'. lines 127-131: +task 7 'run'. lines 128-132: Error: Error checking transaction input objects: InvalidChildObjectArgument { child_id: object(6,0), parent_id: object(6,1) } -task 8 'run'. lines 133-133: +task 8 'run'. lines 134-134: created: object(8,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2325600, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 9 'run'. lines 135-138: +task 9 'run'. lines 136-139: Error: Transaction Effects Status: Invalid command argument at 0. The type of the value does not match the expected type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: TypeMismatch }, source: None, command: Some(1) } } -task 10 'run'. lines 140-140: +task 10 'run'. lines 141-141: created: object(10,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2325600, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 11 'run'. lines 142-142: +task 11 'run'. lines 143-143: created: object(11,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2272400, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 12 'run'. lines 144-147: +task 12 'run'. lines 145-148: Error: Transaction Effects Status: Invalid command argument at 1. The type of the value does not match the expected type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: TypeMismatch }, source: None, command: Some(0) } } -task 13 'run'. lines 149-149: +task 13 'run'. lines 150-150: created: object(13,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2272400, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 14 'run'. lines 151-154: +task 14 'run'. lines 152-155: mutated: object(0,0) deleted: object(13,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 2249676, non_refundable_storage_fee: 22724 -task 15 'run'. lines 156-156: +task 15 'run'. lines 157-157: created: object(15,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2272400, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 16 'run'. lines 158-161: +task 16 'run'. lines 159-162: Error: Transaction Effects Status: Invalid command argument at 0. Invalid usage of value. Mutably borrowed values require unique usage. Immutably borrowed values cannot be taken or borrowed mutably. Taken values cannot be used again. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: InvalidValueUsage }, source: None, command: Some(1) } } -task 17 'run'. lines 163-163: +task 17 'run'. lines 164-164: created: object(17,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2272400, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 18 'run'. lines 165-165: +task 18 'run'. lines 166-166: Error: Transaction Effects Status: Invalid command argument at 0. Invalid usage of value. Mutably borrowed values require unique usage. Immutably borrowed values cannot be taken or borrowed mutably. Taken values cannot be used again. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: InvalidValueUsage }, source: None, command: Some(1) } } diff --git a/crates/iota-adapter-transactional-tests/tests/entry_points/obj_vector_generic.exp b/crates/iota-adapter-transactional-tests/tests/entry_points/obj_vector_generic.exp index 127f07f2f3b..ec904cc425d 100644 --- a/crates/iota-adapter-transactional-tests/tests/entry_points/obj_vector_generic.exp +++ b/crates/iota-adapter-transactional-tests/tests/entry_points/obj_vector_generic.exp @@ -3,81 +3,81 @@ processed 18 tasks init: A: object(0,0) -task 1 'publish'. lines 8-110: +task 1 'publish'. lines 9-111: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 13452000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 112-112: +task 2 'run'. lines 113-113: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2599200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'run'. lines 114-118: +task 3 'run'. lines 115-119: mutated: object(0,0) deleted: object(2,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 2573208, non_refundable_storage_fee: 25992 -task 4 'run'. lines 120-120: +task 4 'run'. lines 121-121: created: object(4,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2599200, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 5 'run'. lines 122-122: +task 5 'run'. lines 123-123: created: object(5,0), object(5,1) mutated: object(0,0), object(4,0) gas summary: computation_cost: 1000000, storage_cost: 6665200, storage_rebate: 2573208, non_refundable_storage_fee: 25992 -task 6 'run'. lines 124-128: +task 6 'run'. lines 125-129: Error: Error checking transaction input objects: InvalidChildObjectArgument { child_id: object(5,0), parent_id: object(5,1) } -task 7 'run'. lines 130-130: +task 7 'run'. lines 131-131: created: object(7,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2652400, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 8 'run'. lines 132-135: +task 8 'run'. lines 133-136: Error: Transaction Effects Status: Invalid command argument at 0. The type of the value does not match the expected type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: TypeMismatch }, source: None, command: Some(1) } } -task 9 'run'. lines 137-137: +task 9 'run'. lines 138-138: created: object(9,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2652400, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 10 'run'. lines 139-139: +task 10 'run'. lines 140-140: created: object(10,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2599200, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 11 'run'. lines 141-144: +task 11 'run'. lines 142-145: Error: Transaction Effects Status: Invalid command argument at 1. The type of the value does not match the expected type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: TypeMismatch }, source: None, command: Some(0) } } -task 12 'run'. lines 146-146: +task 12 'run'. lines 147-147: created: object(12,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2599200, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 13 'run'. lines 148-151: +task 13 'run'. lines 149-152: mutated: object(0,0) deleted: object(12,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 2573208, non_refundable_storage_fee: 25992 -task 14 'run'. lines 153-153: +task 14 'run'. lines 154-154: created: object(14,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2599200, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 15 'run'. lines 155-158: +task 15 'run'. lines 156-159: Error: Transaction Effects Status: Invalid command argument at 0. Invalid usage of value. Mutably borrowed values require unique usage. Immutably borrowed values cannot be taken or borrowed mutably. Taken values cannot be used again. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: InvalidValueUsage }, source: None, command: Some(1) } } -task 16 'run'. lines 160-160: +task 16 'run'. lines 161-161: created: object(16,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2599200, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 17 'run'. lines 162-162: +task 17 'run'. lines 163-163: Error: Transaction Effects Status: Invalid command argument at 0. Invalid usage of value. Mutably borrowed values require unique usage. Immutably borrowed values cannot be taken or borrowed mutably. Taken values cannot be used again. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: InvalidValueUsage }, source: None, command: Some(1) } } diff --git a/crates/iota-adapter-transactional-tests/tests/entry_points/obj_vector_generic_v20.exp b/crates/iota-adapter-transactional-tests/tests/entry_points/obj_vector_generic_v20.exp index 4c0c9ec6e40..bf5832467fd 100644 --- a/crates/iota-adapter-transactional-tests/tests/entry_points/obj_vector_generic_v20.exp +++ b/crates/iota-adapter-transactional-tests/tests/entry_points/obj_vector_generic_v20.exp @@ -3,80 +3,80 @@ processed 18 tasks init: A: object(0,0) -task 1 'publish'. lines 8-110: +task 1 'publish'. lines 9-111: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 13452000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 112-112: +task 2 'run'. lines 113-113: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2599200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'run'. lines 114-118: +task 3 'run'. lines 115-119: mutated: object(0,0) deleted: object(2,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 2573208, non_refundable_storage_fee: 25992 -task 4 'run'. lines 120-120: +task 4 'run'. lines 121-121: created: object(4,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2599200, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 5 'run'. lines 122-122: +task 5 'run'. lines 123-123: created: object(5,0), object(5,1) mutated: object(0,0), object(4,0) gas summary: computation_cost: 1000000, storage_cost: 6665200, storage_rebate: 2573208, non_refundable_storage_fee: 25992 -task 6 'run'. lines 124-128: +task 6 'run'. lines 125-129: Error: Error checking transaction input objects: InvalidChildObjectArgument { child_id: object(5,0), parent_id: object(5,1) } -task 7 'run'. lines 130-130: +task 7 'run'. lines 131-131: created: object(7,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2652400, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 8 'run'. lines 132-135: +task 8 'run'. lines 133-136: Error: Transaction Effects Status: Invalid command argument at 0. The type of the value does not match the expected type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: TypeMismatch }, source: None, command: Some(1) } } -task 9 'run'. lines 137-137: +task 9 'run'. lines 138-138: created: object(9,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2652400, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 10 'run'. lines 139-139: +task 10 'run'. lines 140-140: created: object(10,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2599200, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 11 'run'. lines 141-144: +task 11 'run'. lines 142-145: Error: Transaction Effects Status: Invalid command argument at 1. The type of the value does not match the expected type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: TypeMismatch }, source: None, command: Some(0) } } -task 12 'run'. lines 146-146: +task 12 'run'. lines 147-147: created: object(12,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2599200, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 13 'run'. lines 148-151: +task 13 'run'. lines 149-152: Error: Transaction Effects Status: Invalid command argument at 0. Immutable objects cannot be passed by-value. Debug of error: CommandArgumentError { arg_idx: 0, kind: InvalidObjectByValue } at command Some(0) -task 14 'run'. lines 153-153: +task 14 'run'. lines 154-154: created: object(14,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2599200, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 15 'run'. lines 155-158: +task 15 'run'. lines 156-159: Error: Transaction Effects Status: Invalid command argument at 0. Invalid usage of value. Mutably borrowed values require unique usage. Immutably borrowed values cannot be taken or borrowed mutably. Taken values cannot be used again. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: InvalidValueUsage }, source: None, command: Some(1) } } -task 16 'run'. lines 160-160: +task 16 'run'. lines 161-161: created: object(16,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2599200, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 17 'run'. lines 162-162: +task 17 'run'. lines 163-163: Error: Transaction Effects Status: Invalid command argument at 0. Invalid usage of value. Mutably borrowed values require unique usage. Immutably borrowed values cannot be taken or borrowed mutably. Taken values cannot be used again. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: InvalidValueUsage }, source: None, command: Some(1) } } diff --git a/crates/iota-adapter-transactional-tests/tests/entry_points/obj_vector_v20.exp b/crates/iota-adapter-transactional-tests/tests/entry_points/obj_vector_v20.exp index 2df368a3304..4c38408dbdf 100644 --- a/crates/iota-adapter-transactional-tests/tests/entry_points/obj_vector_v20.exp +++ b/crates/iota-adapter-transactional-tests/tests/entry_points/obj_vector_v20.exp @@ -3,84 +3,84 @@ processed 19 tasks init: A: object(0,0) -task 1 'publish'. lines 8-111: +task 1 'publish'. lines 9-112: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 12646400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 113-113: +task 2 'run'. lines 114-114: mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'run'. lines 115-119: +task 3 'run'. lines 116-120: created: object(3,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2272400, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 4 'run'. lines 121-121: +task 4 'run'. lines 122-122: mutated: object(0,0) deleted: object(3,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 2249676, non_refundable_storage_fee: 22724 -task 5 'run'. lines 123-123: +task 5 'run'. lines 124-124: created: object(5,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2272400, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 6 'run'. lines 125-125: +task 6 'run'. lines 126-126: created: object(6,0), object(6,1) mutated: object(0,0), object(5,0) gas summary: computation_cost: 1000000, storage_cost: 6011600, storage_rebate: 2249676, non_refundable_storage_fee: 22724 -task 7 'run'. lines 127-131: +task 7 'run'. lines 128-132: Error: Error checking transaction input objects: InvalidChildObjectArgument { child_id: object(6,0), parent_id: object(6,1) } -task 8 'run'. lines 133-133: +task 8 'run'. lines 134-134: created: object(8,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2325600, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 9 'run'. lines 135-138: +task 9 'run'. lines 136-139: Error: Transaction Effects Status: Invalid command argument at 0. The type of the value does not match the expected type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: TypeMismatch }, source: None, command: Some(1) } } -task 10 'run'. lines 140-140: +task 10 'run'. lines 141-141: created: object(10,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2325600, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 11 'run'. lines 142-142: +task 11 'run'. lines 143-143: created: object(11,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2272400, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 12 'run'. lines 144-147: +task 12 'run'. lines 145-148: Error: Transaction Effects Status: Invalid command argument at 1. The type of the value does not match the expected type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: TypeMismatch }, source: None, command: Some(0) } } -task 13 'run'. lines 149-149: +task 13 'run'. lines 150-150: created: object(13,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2272400, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 14 'run'. lines 151-154: +task 14 'run'. lines 152-155: Error: Transaction Effects Status: Invalid command argument at 0. Immutable objects cannot be passed by-value. Debug of error: CommandArgumentError { arg_idx: 0, kind: InvalidObjectByValue } at command Some(0) -task 15 'run'. lines 156-156: +task 15 'run'. lines 157-157: created: object(15,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2272400, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 16 'run'. lines 158-161: +task 16 'run'. lines 159-162: Error: Transaction Effects Status: Invalid command argument at 0. Invalid usage of value. Mutably borrowed values require unique usage. Immutably borrowed values cannot be taken or borrowed mutably. Taken values cannot be used again. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: InvalidValueUsage }, source: None, command: Some(1) } } -task 17 'run'. lines 163-163: +task 17 'run'. lines 164-164: created: object(17,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2272400, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 18 'run'. lines 165-165: +task 18 'run'. lines 166-166: Error: Transaction Effects Status: Invalid command argument at 0. Invalid usage of value. Mutably borrowed values require unique usage. Immutably borrowed values cannot be taken or borrowed mutably. Taken values cannot be used again. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: InvalidValueUsage }, source: None, command: Some(1) } } diff --git a/crates/iota-adapter-transactional-tests/tests/entry_points/utf8.exp b/crates/iota-adapter-transactional-tests/tests/entry_points/utf8.exp index 38c9a48f628..f05e27f2df0 100644 --- a/crates/iota-adapter-transactional-tests/tests/entry_points/utf8.exp +++ b/crates/iota-adapter-transactional-tests/tests/entry_points/utf8.exp @@ -3,31 +3,31 @@ processed 8 tasks init: A: object(0,0) -task 1 'publish'. lines 6-24: +task 1 'publish'. lines 7-25: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 6011600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 26-29: +task 2 'run'. lines 27-30: mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'run'. lines 31-34: +task 3 'run'. lines 32-35: mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 4 'run'. lines 36-39: +task 4 'run'. lines 37-40: mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 5 'run'. lines 41-44: +task 5 'run'. lines 42-45: mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 6 'run'. lines 46-49: +task 6 'run'. lines 47-50: mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 7 'run'. lines 51-51: +task 7 'run'. lines 52-52: mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 diff --git a/crates/iota-adapter-transactional-tests/tests/entry_points/wrong_visibility.exp b/crates/iota-adapter-transactional-tests/tests/entry_points/wrong_visibility.exp index fe372e35a89..31f790a917d 100644 --- a/crates/iota-adapter-transactional-tests/tests/entry_points/wrong_visibility.exp +++ b/crates/iota-adapter-transactional-tests/tests/entry_points/wrong_visibility.exp @@ -1,22 +1,22 @@ processed 6 tasks -task 1 'publish'. lines 8-26: +task 1 'publish'. lines 9-27: created: object(1,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 4522000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 28-28: +task 2 'run'. lines 29-29: Error: Transaction Effects Status: Non Entry Function Invoked. Move Call must start with an entry function Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: NonEntryFunctionInvoked, source: Some("Can only call `entry` or `public` functions"), command: Some(0) } } -task 3 'run'. lines 30-30: +task 3 'run'. lines 31-31: Error: Transaction Effects Status: Non Entry Function Invoked. Move Call must start with an entry function Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: NonEntryFunctionInvoked, source: Some("Can only call `entry` or `public` functions"), command: Some(0) } } -task 4 'run'. lines 32-32: +task 4 'run'. lines 33-33: Error: Transaction Effects Status: Invalid public Move function signature. Unsupported return type for return value 0 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: InvalidPublicFunctionReturnType { idx: 0 }, source: None, command: Some(0) } } -task 5 'run'. lines 34-34: +task 5 'run'. lines 35-35: Error: Transaction Effects Status: Invalid public Move function signature. Unsupported return type for return value 0 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: InvalidPublicFunctionReturnType { idx: 0 }, source: None, command: Some(0) } } diff --git a/crates/iota-adapter-transactional-tests/tests/init/entry_new.exp b/crates/iota-adapter-transactional-tests/tests/init/entry_new.exp index 6c43ee1f400..4d81f4ec48a 100644 --- a/crates/iota-adapter-transactional-tests/tests/init/entry_new.exp +++ b/crates/iota-adapter-transactional-tests/tests/init/entry_new.exp @@ -1,8 +1,8 @@ processed 3 tasks -task 1 'publish'. lines 8-17: +task 1 'publish'. lines 9-18: Error: Transaction Effects Status: Iota Move Bytecode Verification Error. Please run the Iota Move Verifier for more information. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: IotaMoveVerificationError, source: Some("_::m. 'init' cannot be 'entry'"), command: Some(0) } } -task 2 'run'. lines 18-18: +task 2 'run'. lines 19-19: Error: Error checking transaction input objects: DependentPackageNotFound { package_id: 0x0000000000000000000000000000000000000000000000000000000000000000 } diff --git a/crates/iota-adapter-transactional-tests/tests/init/entry_old.exp b/crates/iota-adapter-transactional-tests/tests/init/entry_old.exp deleted file mode 100644 index 9bc25b97c55..00000000000 --- a/crates/iota-adapter-transactional-tests/tests/init/entry_old.exp +++ /dev/null @@ -1,13 +0,0 @@ -processed 4 tasks - -init: -A: object(0,0) - -task 1 'publish'. lines 8-20: -created: object(1,0), object(1,1) -mutated: object(0,0) -gas summary: computation_cost: 1000000, storage_cost: 5639200, storage_rebate: 0, non_refundable_storage_fee: 0 - -task 3 'run'. lines 24-39: -mutated: object(0,1) -gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 0, non_refundable_storage_fee: 0 diff --git a/crates/iota-adapter-transactional-tests/tests/init/entry_old.mvir b/crates/iota-adapter-transactional-tests/tests/init/entry_old.mvir deleted file mode 100644 index 83a1f2fa8e9..00000000000 --- a/crates/iota-adapter-transactional-tests/tests/init/entry_old.mvir +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright (c) Mysten Labs, Inc. -// Modifications Copyright (c) 2024 IOTA Stiftung -// SPDX-License-Identifier: Apache-2.0 - -// init with entry used to be allowed - -//# init --addresses test=0x0 v2=0x0 --protocol-version 6 --accounts A - -//# publish --sender A --upgradeable -module 0x0.m { - import 0x2.tx_context; - entry init(ctx: &mut tx_context.TxContext) { - label l0: - return; - } - - public foo() { - label l0: - return; - } -} - -//# set-address test object(1,0) - -//# run test::m::init - -// TODO advance protocol version -// //# run test::m::init --protocol-version 7 - -// // m still loads -// //# run test::m::foo --protocol-version 7 - -// //# upgrade --package test --sender A --upgrade-capability 1,1 -// module v2::m { -// use iota::tx_context::TxContext; -// fun init(_: &mut TxContext) { -// } - -// public fun foo() {} -// } diff --git a/crates/iota-adapter-transactional-tests/tests/iota/coin_in_vec.exp b/crates/iota-adapter-transactional-tests/tests/iota/coin_in_vec.exp index 2b89163844c..1e507157f0c 100644 --- a/crates/iota-adapter-transactional-tests/tests/iota/coin_in_vec.exp +++ b/crates/iota-adapter-transactional-tests/tests/iota/coin_in_vec.exp @@ -3,22 +3,22 @@ processed 5 tasks init: A: object(0,0) -task 1 'publish'. lines 6-28: +task 1 'publish'. lines 7-29: created: object(1,0), object(1,1) mutated: object(0,0) -gas summary: computation_cost: 1000000, storage_cost: 7926800, storage_rebate: 0, non_refundable_storage_fee: 0 +gas summary: computation_cost: 1000000, storage_cost: 7942000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 30-32: +task 2 'programmable'. lines 31-33: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 1976000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'run'. lines 34-34: +task 3 'run'. lines 35-35: mutated: object(0,0), object(1,0) wrapped: object(2,0) gas summary: computation_cost: 1000000, storage_cost: 2629600, storage_rebate: 3280464, non_refundable_storage_fee: 33136 -task 4 'run'. lines 36-36: +task 4 'run'. lines 37-37: mutated: object(0,0), object(1,0) unwrapped: object(2,0) gas summary: computation_cost: 1000000, storage_cost: 3313600, storage_rebate: 2603304, non_refundable_storage_fee: 26296 diff --git a/crates/iota-adapter-transactional-tests/tests/iota/coin_transfer.exp b/crates/iota-adapter-transactional-tests/tests/iota/coin_transfer.exp index 3f7f8a55ae9..7f708422a48 100644 --- a/crates/iota-adapter-transactional-tests/tests/iota/coin_transfer.exp +++ b/crates/iota-adapter-transactional-tests/tests/iota/coin_transfer.exp @@ -3,35 +3,35 @@ processed 8 tasks init: A: object(0,0), B: object(0,1), C: object(0,2) -task 1 'programmable'. lines 8-10: +task 1 'programmable'. lines 9-11: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 1976000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'view-object'. lines 12-12: +task 2 'view-object'. lines 13-13: Owner: Account Address ( B ) Version: 2 Contents: iota::coin::Coin {id: iota::object::UID {id: iota::object::ID {bytes: fake(1,0)}}, balance: iota::balance::Balance {value: 10u64}} -task 3 'run'. lines 14-14: +task 3 'run'. lines 15-15: created: object(3,0) mutated: object(0,1), object(1,0) gas summary: computation_cost: 1000000, storage_cost: 2964000, storage_rebate: 1956240, non_refundable_storage_fee: 19760 -task 4 'view-object'. lines 16-16: +task 4 'view-object'. lines 17-17: Owner: Account Address ( B ) Version: 3 Contents: iota::coin::Coin {id: iota::object::UID {id: iota::object::ID {bytes: fake(1,0)}}, balance: iota::balance::Balance {value: 0u64}} -task 5 'view-object'. lines 18-18: +task 5 'view-object'. lines 19-19: Owner: Account Address ( A ) Version: 3 Contents: iota::coin::Coin {id: iota::object::UID {id: iota::object::ID {bytes: fake(3,0)}}, balance: iota::balance::Balance {value: 10u64}} -task 6 'run'. lines 20-20: +task 6 'run'. lines 21-21: Error: Error checking transaction input objects: IncorrectUserSignature { error: "Object object(1,0) is owned by account address @B, but given owner/signer address is @A" } -task 7 'view-object'. lines 22-22: +task 7 'view-object'. lines 23-23: Owner: Account Address ( B ) Version: 3 Contents: iota::coin::Coin {id: iota::object::UID {id: iota::object::ID {bytes: fake(1,0)}}, balance: iota::balance::Balance {value: 0u64}} diff --git a/crates/iota-adapter-transactional-tests/tests/iota/freeze.exp b/crates/iota-adapter-transactional-tests/tests/iota/freeze.exp index 3bd80a812a6..7395526b618 100644 --- a/crates/iota-adapter-transactional-tests/tests/iota/freeze.exp +++ b/crates/iota-adapter-transactional-tests/tests/iota/freeze.exp @@ -3,24 +3,24 @@ processed 6 tasks init: A: object(0,0) -task 1 'publish'. lines 8-67: +task 1 'publish'. lines 9-68: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 9317600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 69-69: +task 2 'run'. lines 70-70: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2386400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'run'. lines 71-71: +task 3 'run'. lines 72-72: mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 2386400, storage_rebate: 2362536, non_refundable_storage_fee: 23864 -task 4 'run'. lines 73-73: +task 4 'run'. lines 74-74: Error: Transaction Effects Status: Invalid command argument at 0. Immutable objects cannot be passed by-value. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: InvalidObjectByValue }, source: None, command: Some(0) } } -task 5 'run'. lines 75-75: +task 5 'run'. lines 76-76: Error: Transaction Effects Status: Invalid command argument at 0. Immutable objects cannot be passed by mutable reference, &mut. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: InvalidObjectByMutRef }, source: None, command: Some(0) } } diff --git a/crates/iota-adapter-transactional-tests/tests/iota/freeze_v20.exp b/crates/iota-adapter-transactional-tests/tests/iota/freeze_v20.exp index 3bd80a812a6..7395526b618 100644 --- a/crates/iota-adapter-transactional-tests/tests/iota/freeze_v20.exp +++ b/crates/iota-adapter-transactional-tests/tests/iota/freeze_v20.exp @@ -3,24 +3,24 @@ processed 6 tasks init: A: object(0,0) -task 1 'publish'. lines 8-67: +task 1 'publish'. lines 9-68: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 9317600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 69-69: +task 2 'run'. lines 70-70: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2386400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'run'. lines 71-71: +task 3 'run'. lines 72-72: mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 2386400, storage_rebate: 2362536, non_refundable_storage_fee: 23864 -task 4 'run'. lines 73-73: +task 4 'run'. lines 74-74: Error: Transaction Effects Status: Invalid command argument at 0. Immutable objects cannot be passed by-value. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: InvalidObjectByValue }, source: None, command: Some(0) } } -task 5 'run'. lines 75-75: +task 5 'run'. lines 76-76: Error: Transaction Effects Status: Invalid command argument at 0. Immutable objects cannot be passed by mutable reference, &mut. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: InvalidObjectByMutRef }, source: None, command: Some(0) } } diff --git a/crates/iota-adapter-transactional-tests/tests/iota/move_call_args_type_mismatch.exp b/crates/iota-adapter-transactional-tests/tests/iota/move_call_args_type_mismatch.exp index d560a84c657..9cc53e6f02f 100644 --- a/crates/iota-adapter-transactional-tests/tests/iota/move_call_args_type_mismatch.exp +++ b/crates/iota-adapter-transactional-tests/tests/iota/move_call_args_type_mismatch.exp @@ -1,14 +1,14 @@ processed 4 tasks -task 1 'publish'. lines 6-13: +task 1 'publish'. lines 7-14: created: object(1,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 3420000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 14-16: +task 2 'run'. lines 15-17: Error: Transaction Effects Status: Arity mismatch for Move function. The number of arguments does not match the number of parameters Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: ArityMismatch, source: Some("Expected 2 arguments calling function 'create', but found 1"), command: Some(0) } } -task 3 'run'. lines 17-17: +task 3 'run'. lines 18-18: Error: Transaction Effects Status: Invalid command argument at 1. The argument cannot be deserialized into a value of the specified type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: InvalidBCSBytes }, source: Some("Function expects address but provided argument's value does not match"), command: Some(0) } } diff --git a/crates/iota-adapter-transactional-tests/tests/iota/move_call_incorrect_function.exp b/crates/iota-adapter-transactional-tests/tests/iota/move_call_incorrect_function.exp index 052049cc8f4..be916e09a01 100644 --- a/crates/iota-adapter-transactional-tests/tests/iota/move_call_incorrect_function.exp +++ b/crates/iota-adapter-transactional-tests/tests/iota/move_call_incorrect_function.exp @@ -1,13 +1,13 @@ processed 4 tasks -task 1 'publish'. lines 8-15: +task 1 'publish'. lines 9-16: created: object(1,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 3420000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 16-18: +task 2 'run'. lines 17-19: Error: Error checking transaction input objects: DependentPackageNotFound { package_id: 0x0000000000000000000000000000000000000000000000000000000000000242 } -task 3 'run'. lines 19-19: +task 3 'run'. lines 20-20: Error: Transaction Effects Status: Function Not Found. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: FunctionNotFound, source: Some("Could not resolve function 'foo' in module Test::M"), command: Some(0) } } diff --git a/crates/iota-adapter-transactional-tests/tests/iota/object_basics.exp b/crates/iota-adapter-transactional-tests/tests/iota/object_basics.exp index 5389a0cd72b..5cad7940e29 100644 --- a/crates/iota-adapter-transactional-tests/tests/iota/object_basics.exp +++ b/crates/iota-adapter-transactional-tests/tests/iota/object_basics.exp @@ -3,41 +3,41 @@ processed 9 tasks init: A: object(0,0), B: object(0,1) -task 1 'publish'. lines 8-67: +task 1 'publish'. lines 9-68: created: object(1,0) mutated: object(0,2) gas summary: computation_cost: 1000000, storage_cost: 9317600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 69-69: +task 2 'run'. lines 70-70: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2386400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'view-object'. lines 71-71: +task 3 'view-object'. lines 72-72: Owner: Account Address ( A ) Version: 2 Contents: test::object_basics::Object {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}, value: 10u64} -task 4 'run'. lines 73-73: +task 4 'run'. lines 74-74: mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 2386400, storage_rebate: 2362536, non_refundable_storage_fee: 23864 -task 5 'view-object'. lines 75-75: +task 5 'view-object'. lines 76-76: Owner: Account Address ( B ) Version: 3 Contents: test::object_basics::Object {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}, value: 10u64} -task 6 'run'. lines 77-77: +task 6 'run'. lines 78-78: created: object(6,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 2386400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 7 'run'. lines 79-79: +task 7 'run'. lines 80-80: events: Event { package_id: test, transaction_module: Identifier("object_basics"), sender: B, type_: StructTag { address: test, module: Identifier("object_basics"), name: Identifier("NewValueEvent"), type_params: [] }, contents: [20, 0, 0, 0, 0, 0, 0, 0] } mutated: object(0,1), object(2,0), object(6,0) gas summary: computation_cost: 1000000, storage_cost: 3784800, storage_rebate: 3746952, non_refundable_storage_fee: 37848 -task 8 'run'. lines 81-81: +task 8 'run'. lines 82-82: mutated: object(0,1) deleted: object(2,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 2362536, non_refundable_storage_fee: 23864 diff --git a/crates/iota-adapter-transactional-tests/tests/iota/publish_module_non_zero_address.exp b/crates/iota-adapter-transactional-tests/tests/iota/publish_module_non_zero_address.exp index 40a5fda3f3e..f8eb9cea465 100644 --- a/crates/iota-adapter-transactional-tests/tests/iota/publish_module_non_zero_address.exp +++ b/crates/iota-adapter-transactional-tests/tests/iota/publish_module_non_zero_address.exp @@ -1,5 +1,5 @@ processed 2 tasks -task 1 'publish'. lines 8-10: +task 1 'publish'. lines 9-11: Error: Transaction Effects Status: Publish Error, Non-zero Address. The modules in the package must have their self-addresses set to zero. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: PublishErrorNonZeroAddress, source: Some("Publishing module M with non-zero address is not allowed"), command: Some(0) } } diff --git a/crates/iota-adapter-transactional-tests/tests/iota/unwrap.exp b/crates/iota-adapter-transactional-tests/tests/iota/unwrap.exp index 9b24841444b..b6b1c5bddc1 100644 --- a/crates/iota-adapter-transactional-tests/tests/iota/unwrap.exp +++ b/crates/iota-adapter-transactional-tests/tests/iota/unwrap.exp @@ -3,34 +3,34 @@ processed 7 tasks init: A: object(0,0) -task 1 'publish'. lines 9-68: +task 1 'publish'. lines 10-69: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 9150400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 70-70: +task 2 'run'. lines 71-71: created: object(2,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 2386400, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'view-object'. lines 72-72: +task 3 'view-object'. lines 73-73: Owner: Account Address ( A ) Version: 3 Contents: test::object_basics::Object {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}, value: 10u64} -task 4 'run'. lines 74-74: +task 4 'run'. lines 75-75: created: object(4,0) mutated: object(0,0) wrapped: object(2,0) gas summary: computation_cost: 1000000, storage_cost: 2637200, storage_rebate: 1384416, non_refundable_storage_fee: 13984 -task 5 'run'. lines 76-76: +task 5 'run'. lines 77-77: mutated: object(0,0) unwrapped: object(2,0) deleted: object(4,0) gas summary: computation_cost: 1000000, storage_cost: 2386400, storage_rebate: 2610828, non_refundable_storage_fee: 26372 -task 6 'view-object'. lines 78-78: +task 6 'view-object'. lines 79-79: Owner: Account Address ( A ) Version: 5 Contents: test::object_basics::Object {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}, value: 10u64} diff --git a/crates/iota-adapter-transactional-tests/tests/iota/unwrap_then_delete.exp b/crates/iota-adapter-transactional-tests/tests/iota/unwrap_then_delete.exp index 3e6c24806b7..99972b4606d 100644 --- a/crates/iota-adapter-transactional-tests/tests/iota/unwrap_then_delete.exp +++ b/crates/iota-adapter-transactional-tests/tests/iota/unwrap_then_delete.exp @@ -3,34 +3,34 @@ processed 7 tasks init: A: object(0,0) -task 1 'publish'. lines 14-61: +task 1 'publish'. lines 15-62: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 7516400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 63-63: +task 2 'run'. lines 64-64: created: object(2,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 2386400, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'run'. lines 65-65: +task 3 'run'. lines 66-66: created: object(3,0) mutated: object(0,1) wrapped: object(2,0) gas summary: computation_cost: 1000000, storage_cost: 2637200, storage_rebate: 2362536, non_refundable_storage_fee: 23864 -task 4 'run'. lines 67-67: +task 4 'run'. lines 68-68: mutated: object(0,1) deleted: object(3,0) unwrapped_then_deleted: object(2,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 2610828, non_refundable_storage_fee: 26372 -task 5 'run'. lines 69-69: +task 5 'run'. lines 70-70: created: object(5,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 2637200, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 6 'run'. lines 71-71: +task 6 'run'. lines 72-72: mutated: object(0,1) deleted: object(5,0) unwrapped_then_deleted: object(_) diff --git a/crates/iota-adapter-transactional-tests/tests/iota/unwrap_then_freeze.exp b/crates/iota-adapter-transactional-tests/tests/iota/unwrap_then_freeze.exp index 26d47ed267f..2bc2b28d5e3 100644 --- a/crates/iota-adapter-transactional-tests/tests/iota/unwrap_then_freeze.exp +++ b/crates/iota-adapter-transactional-tests/tests/iota/unwrap_then_freeze.exp @@ -3,34 +3,34 @@ processed 7 tasks init: A: object(0,0) -task 1 'publish'. lines 9-38: +task 1 'publish'. lines 10-39: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 6946400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 40-40: +task 2 'run'. lines 41-41: created: object(2,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 2386400, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'view-object'. lines 42-42: +task 3 'view-object'. lines 43-43: Owner: Account Address ( A ) Version: 3 Contents: test::object_basics::Object {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}, value: 10u64} -task 4 'run'. lines 44-44: +task 4 'run'. lines 45-45: created: object(4,0) mutated: object(0,0) wrapped: object(2,0) gas summary: computation_cost: 1000000, storage_cost: 2637200, storage_rebate: 1384416, non_refundable_storage_fee: 13984 -task 5 'run'. lines 46-46: +task 5 'run'. lines 47-47: mutated: object(0,0) unwrapped: object(2,0) deleted: object(4,0) gas summary: computation_cost: 1000000, storage_cost: 2386400, storage_rebate: 2610828, non_refundable_storage_fee: 26372 -task 6 'view-object'. lines 48-48: +task 6 'view-object'. lines 49-49: Owner: Immutable Version: 5 Contents: test::object_basics::Object {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}, value: 10u64} diff --git a/crates/iota-adapter-transactional-tests/tests/mvcc/child_of_child.exp b/crates/iota-adapter-transactional-tests/tests/mvcc/child_of_child.exp index aff3874c6ed..d7337696d12 100644 --- a/crates/iota-adapter-transactional-tests/tests/mvcc/child_of_child.exp +++ b/crates/iota-adapter-transactional-tests/tests/mvcc/child_of_child.exp @@ -3,60 +3,60 @@ processed 14 tasks init: A: object(0,0) -task 1 'publish'. lines 8-66: +task 1 'publish'. lines 9-67: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 9218800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 68-70: +task 2 'programmable'. lines 69-71: created: object(2,0), object(2,1), object(2,2), object(2,3), object(2,4) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 9750800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'view-object'. lines 72-72: +task 3 'view-object'. lines 73-73: Owner: Account Address ( A ) Version: 2 Contents: test::m::Obj {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,4)}}, value: 0u64} -task 4 'programmable'. lines 74-75: +task 4 'programmable'. lines 75-76: mutated: object(0,0), object(2,2), object(2,3), object(2,4) gas summary: computation_cost: 1000000, storage_cost: 4841200, storage_rebate: 4792788, non_refundable_storage_fee: 48412 -task 5 'view-object'. lines 77-77: +task 5 'view-object'. lines 78-78: Owner: Account Address ( A ) Version: 3 Contents: test::m::Obj {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,4)}}, value: 1u64} -task 6 'programmable'. lines 79-80: +task 6 'programmable'. lines 80-81: mutated: object(0,0), object(2,4) -deleted: object(2,0), object(2,2) +deleted: object(2,1), object(2,3) gas summary: computation_cost: 1000000, storage_cost: 2272400, storage_rebate: 5951484, non_refundable_storage_fee: 60116 -task 7 'view-object'. lines 82-85: +task 7 'view-object'. lines 83-86: Owner: Account Address ( A ) Version: 4 Contents: test::m::Obj {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,4)}}, value: 1u64} -task 8 'programmable'. lines 87-88: +task 8 'programmable'. lines 88-89: mutated: object(_), object(2,4) gas summary: computation_cost: 500000, storage_cost: 2272400, storage_rebate: 1271556, non_refundable_storage_fee: 12844 -task 9 'programmable'. lines 90-91: +task 9 'programmable'. lines 91-92: mutated: object(_), object(2,4) gas summary: computation_cost: 500000, storage_cost: 2272400, storage_rebate: 1271556, non_refundable_storage_fee: 12844 -task 10 'programmable'. lines 93-97: +task 10 'programmable'. lines 94-98: mutated: object(_), object(2,4) gas summary: computation_cost: 500000, storage_cost: 2272400, storage_rebate: 1271556, non_refundable_storage_fee: 12844 -task 11 'programmable'. lines 99-100: +task 11 'programmable'. lines 100-101: Error: Transaction Effects Status: MoveAbort(MoveLocation { module: ModuleId { address: test, name: Identifier("m") }, function: 3, instruction: 10, function_name: Some("check") }, 0) in command 0 Execution Error: MoveAbort(MoveLocation { module: ModuleId { address: test, name: Identifier("m") }, function: 3, instruction: 10, function_name: Some("check") }, 0) in command 0 -task 12 'programmable'. lines 102-103: +task 12 'programmable'. lines 103-104: Error: Transaction Effects Status: MoveAbort(MoveLocation { module: ModuleId { address: iota, name: Identifier("dynamic_field") }, function: 11, instruction: 0, function_name: Some("borrow_child_object") }, 1) in command 0 Execution Error: MoveAbort(MoveLocation { module: ModuleId { address: iota, name: Identifier("dynamic_field") }, function: 11, instruction: 0, function_name: Some("borrow_child_object") }, 1) in command 0 -task 13 'programmable'. lines 105-106: +task 13 'programmable'. lines 106-107: Error: Transaction Effects Status: MoveAbort(MoveLocation { module: ModuleId { address: test, name: Identifier("m") }, function: 3, instruction: 10, function_name: Some("check") }, 0) in command 0 Execution Error: MoveAbort(MoveLocation { module: ModuleId { address: test, name: Identifier("m") }, function: 3, instruction: 10, function_name: Some("check") }, 0) in command 0 diff --git a/crates/iota-adapter-transactional-tests/tests/mvcc/find_all_uids.exp b/crates/iota-adapter-transactional-tests/tests/mvcc/find_all_uids.exp index 47954051a49..d13a7a1eb2d 100644 --- a/crates/iota-adapter-transactional-tests/tests/mvcc/find_all_uids.exp +++ b/crates/iota-adapter-transactional-tests/tests/mvcc/find_all_uids.exp @@ -3,60 +3,60 @@ processed 14 tasks init: A: object(0,0) -task 1 'publish'. lines 8-117: +task 1 'publish'. lines 9-118: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 12205600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 119-121: +task 2 'programmable'. lines 120-122: created: object(2,0), object(2,1), object(2,2), object(2,3), object(2,4), object(2,5), object(2,6), object(2,7), object(2,8) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 15640800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'view-object'. lines 123-123: +task 3 'view-object'. lines 124-124: Owner: Account Address ( A ) Version: 2 Contents: test::m::S {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,8)}}, other: iota::object::UID {id: iota::object::ID {bytes: _}}, wrapped: test::m::Wrapped {id: iota::object::UID {id: iota::object::ID {bytes: _}}, other: iota::object::UID {id: iota::object::ID {bytes: _}}}, many: vector[test::m::Wrapped {id: iota::object::UID {id: iota::object::ID {bytes: _}}, other: iota::object::UID {id: iota::object::ID {bytes: _}}}, test::m::Wrapped {id: iota::object::UID {id: iota::object::ID {bytes: _}}, other: iota::object::UID {id: iota::object::ID {bytes: _}}}]} -task 4 'programmable'. lines 125-126: +task 4 'programmable'. lines 126-127: mutated: object(0,0), object(2,0), object(2,1), object(2,2), object(2,3), object(2,4), object(2,5), object(2,6), object(2,7), object(2,8) gas summary: computation_cost: 1000000, storage_cost: 15640800, storage_rebate: 15484392, non_refundable_storage_fee: 156408 -task 5 'view-object'. lines 128-128: +task 5 'view-object'. lines 129-129: Owner: Account Address ( A ) Version: 3 Contents: test::m::S {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,8)}}, other: iota::object::UID {id: iota::object::ID {bytes: _}}, wrapped: test::m::Wrapped {id: iota::object::UID {id: iota::object::ID {bytes: _}}, other: iota::object::UID {id: iota::object::ID {bytes: _}}}, many: vector[test::m::Wrapped {id: iota::object::UID {id: iota::object::ID {bytes: _}}, other: iota::object::UID {id: iota::object::ID {bytes: _}}}, test::m::Wrapped {id: iota::object::UID {id: iota::object::ID {bytes: _}}, other: iota::object::UID {id: iota::object::ID {bytes: _}}}]} -task 6 'programmable'. lines 130-131: +task 6 'programmable'. lines 131-132: mutated: object(0,0), object(2,8) deleted: object(2,0), object(2,1), object(2,2), object(2,3), object(2,4), object(2,5), object(2,6), object(2,7) gas summary: computation_cost: 1000000, storage_cost: 3906400, storage_rebate: 15484392, non_refundable_storage_fee: 156408 -task 7 'view-object'. lines 133-136: +task 7 'view-object'. lines 134-137: Owner: Account Address ( A ) Version: 4 Contents: test::m::S {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,8)}}, other: iota::object::UID {id: iota::object::ID {bytes: _}}, wrapped: test::m::Wrapped {id: iota::object::UID {id: iota::object::ID {bytes: _}}, other: iota::object::UID {id: iota::object::ID {bytes: _}}}, many: vector[test::m::Wrapped {id: iota::object::UID {id: iota::object::ID {bytes: _}}, other: iota::object::UID {id: iota::object::ID {bytes: _}}}, test::m::Wrapped {id: iota::object::UID {id: iota::object::ID {bytes: _}}, other: iota::object::UID {id: iota::object::ID {bytes: _}}}]} -task 8 'programmable'. lines 138-139: +task 8 'programmable'. lines 139-140: mutated: object(_), object(2,8) gas summary: computation_cost: 500000, storage_cost: 3906400, storage_rebate: 2889216, non_refundable_storage_fee: 29184 -task 9 'programmable'. lines 141-142: +task 9 'programmable'. lines 142-143: mutated: object(_), object(2,8) gas summary: computation_cost: 500000, storage_cost: 3906400, storage_rebate: 2889216, non_refundable_storage_fee: 29184 -task 10 'programmable'. lines 144-148: +task 10 'programmable'. lines 145-149: mutated: object(_), object(2,8) gas summary: computation_cost: 500000, storage_cost: 3906400, storage_rebate: 2889216, non_refundable_storage_fee: 29184 -task 11 'programmable'. lines 150-151: +task 11 'programmable'. lines 151-152: Error: Transaction Effects Status: MoveAbort(MoveLocation { module: ModuleId { address: test, name: Identifier("m") }, function: 10, instruction: 12, function_name: Some("check_") }, 0) in command 0 Execution Error: MoveAbort(MoveLocation { module: ModuleId { address: test, name: Identifier("m") }, function: 10, instruction: 12, function_name: Some("check_") }, 0) in command 0 -task 12 'programmable'. lines 153-154: +task 12 'programmable'. lines 154-155: Error: Transaction Effects Status: MoveAbort(MoveLocation { module: ModuleId { address: iota, name: Identifier("dynamic_field") }, function: 11, instruction: 0, function_name: Some("borrow_child_object") }, 1) in command 0 Execution Error: MoveAbort(MoveLocation { module: ModuleId { address: iota, name: Identifier("dynamic_field") }, function: 11, instruction: 0, function_name: Some("borrow_child_object") }, 1) in command 0 -task 13 'programmable'. lines 156-157: +task 13 'programmable'. lines 157-158: Error: Transaction Effects Status: MoveAbort(MoveLocation { module: ModuleId { address: test, name: Identifier("m") }, function: 10, instruction: 20, function_name: Some("check_") }, 0) in command 0 Execution Error: MoveAbort(MoveLocation { module: ModuleId { address: test, name: Identifier("m") }, function: 10, instruction: 20, function_name: Some("check_") }, 0) in command 0 diff --git a/crates/iota-adapter-transactional-tests/tests/mvcc/find_all_uids_dof.exp b/crates/iota-adapter-transactional-tests/tests/mvcc/find_all_uids_dof.exp index 9c04b6a0389..0ef94bc5598 100644 --- a/crates/iota-adapter-transactional-tests/tests/mvcc/find_all_uids_dof.exp +++ b/crates/iota-adapter-transactional-tests/tests/mvcc/find_all_uids_dof.exp @@ -3,60 +3,60 @@ processed 14 tasks init: A: object(0,0) -task 1 'publish'. lines 8-130: +task 1 'publish'. lines 9-131: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 13353200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 132-134: +task 2 'programmable'. lines 133-135: created: object(2,0), object(2,1), object(2,2), object(2,3), object(2,4), object(2,5), object(2,6), object(2,7), object(2,8), object(2,9), object(2,10), object(2,11), object(2,12), object(2,13), object(2,14), object(2,15), object(2,16) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 33941600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'view-object'. lines 136-136: +task 3 'view-object'. lines 137-137: Owner: Account Address ( A ) Version: 2 Contents: test::m::S {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,8)}}, other: iota::object::UID {id: iota::object::ID {bytes: _}}, wrapped: test::m::Wrapped {id: iota::object::UID {id: iota::object::ID {bytes: _}}, other: iota::object::UID {id: iota::object::ID {bytes: _}}}, many: vector[test::m::Wrapped {id: iota::object::UID {id: iota::object::ID {bytes: _}}, other: iota::object::UID {id: iota::object::ID {bytes: _}}}, test::m::Wrapped {id: iota::object::UID {id: iota::object::ID {bytes: _}}, other: iota::object::UID {id: iota::object::ID {bytes: _}}}]} -task 4 'programmable'. lines 138-139: +task 4 'programmable'. lines 139-140: mutated: object(0,0), object(2,8), object(2,9), object(2,10), object(2,11), object(2,12), object(2,13), object(2,14), object(2,15), object(2,16) gas summary: computation_cost: 1000000, storage_cost: 14303200, storage_rebate: 14160168, non_refundable_storage_fee: 143032 -task 5 'view-object'. lines 141-141: +task 5 'view-object'. lines 142-142: Owner: Account Address ( A ) Version: 3 Contents: test::m::S {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,8)}}, other: iota::object::UID {id: iota::object::ID {bytes: _}}, wrapped: test::m::Wrapped {id: iota::object::UID {id: iota::object::ID {bytes: _}}, other: iota::object::UID {id: iota::object::ID {bytes: _}}}, many: vector[test::m::Wrapped {id: iota::object::UID {id: iota::object::ID {bytes: _}}, other: iota::object::UID {id: iota::object::ID {bytes: _}}}, test::m::Wrapped {id: iota::object::UID {id: iota::object::ID {bytes: _}}, other: iota::object::UID {id: iota::object::ID {bytes: _}}}]} -task 6 'programmable'. lines 143-144: +task 6 'programmable'. lines 144-145: mutated: object(0,0), object(2,8) deleted: object(2,0), object(2,1), object(2,2), object(2,3), object(2,4), object(2,5), object(2,6), object(2,7), object(2,9), object(2,10), object(2,11), object(2,12), object(2,13), object(2,14), object(2,15), object(2,16) gas summary: computation_cost: 1000000, storage_cost: 3906400, storage_rebate: 33602184, non_refundable_storage_fee: 339416 -task 7 'view-object'. lines 146-149: +task 7 'view-object'. lines 147-150: Owner: Account Address ( A ) Version: 4 Contents: test::m::S {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,8)}}, other: iota::object::UID {id: iota::object::ID {bytes: _}}, wrapped: test::m::Wrapped {id: iota::object::UID {id: iota::object::ID {bytes: _}}, other: iota::object::UID {id: iota::object::ID {bytes: _}}}, many: vector[test::m::Wrapped {id: iota::object::UID {id: iota::object::ID {bytes: _}}, other: iota::object::UID {id: iota::object::ID {bytes: _}}}, test::m::Wrapped {id: iota::object::UID {id: iota::object::ID {bytes: _}}, other: iota::object::UID {id: iota::object::ID {bytes: _}}}]} -task 8 'programmable'. lines 151-152: +task 8 'programmable'. lines 152-153: mutated: object(_), object(2,8) gas summary: computation_cost: 500000, storage_cost: 3906400, storage_rebate: 2889216, non_refundable_storage_fee: 29184 -task 9 'programmable'. lines 154-155: +task 9 'programmable'. lines 155-156: mutated: object(_), object(2,8) gas summary: computation_cost: 500000, storage_cost: 3906400, storage_rebate: 2889216, non_refundable_storage_fee: 29184 -task 10 'programmable'. lines 157-161: +task 10 'programmable'. lines 158-162: mutated: object(_), object(2,8) gas summary: computation_cost: 500000, storage_cost: 3906400, storage_rebate: 2889216, non_refundable_storage_fee: 29184 -task 11 'programmable'. lines 163-164: +task 11 'programmable'. lines 164-165: Error: Transaction Effects Status: MoveAbort(MoveLocation { module: ModuleId { address: test, name: Identifier("m") }, function: 11, instruction: 18, function_name: Some("check_") }, 0) in command 0 Execution Error: MoveAbort(MoveLocation { module: ModuleId { address: test, name: Identifier("m") }, function: 11, instruction: 18, function_name: Some("check_") }, 0) in command 0 -task 12 'programmable'. lines 166-167: +task 12 'programmable'. lines 167-168: Error: Transaction Effects Status: MoveAbort(MoveLocation { module: ModuleId { address: iota, name: Identifier("dynamic_field") }, function: 11, instruction: 0, function_name: Some("borrow_child_object") }, 1) in command 0 Execution Error: MoveAbort(MoveLocation { module: ModuleId { address: iota, name: Identifier("dynamic_field") }, function: 11, instruction: 0, function_name: Some("borrow_child_object") }, 1) in command 0 -task 13 'programmable'. lines 169-170: +task 13 'programmable'. lines 170-171: Error: Transaction Effects Status: MoveAbort(MoveLocation { module: ModuleId { address: test, name: Identifier("m") }, function: 11, instruction: 26, function_name: Some("check_") }, 0) in command 0 Execution Error: MoveAbort(MoveLocation { module: ModuleId { address: test, name: Identifier("m") }, function: 11, instruction: 26, function_name: Some("check_") }, 0) in command 0 diff --git a/crates/iota-adapter-transactional-tests/tests/mvcc/find_all_uids_on_child.exp b/crates/iota-adapter-transactional-tests/tests/mvcc/find_all_uids_on_child.exp index d6a2494586f..d0e8f971df9 100644 --- a/crates/iota-adapter-transactional-tests/tests/mvcc/find_all_uids_on_child.exp +++ b/crates/iota-adapter-transactional-tests/tests/mvcc/find_all_uids_on_child.exp @@ -3,60 +3,60 @@ processed 14 tasks init: A: object(0,0) -task 1 'publish'. lines 8-140: +task 1 'publish'. lines 9-141: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 13862400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 142-144: +task 2 'programmable'. lines 143-145: created: object(2,0), object(2,1), object(2,2), object(2,3), object(2,4), object(2,5), object(2,6), object(2,7), object(2,8), object(2,9) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 17609200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'view-object'. lines 146-146: +task 3 'view-object'. lines 147-147: Owner: Account Address ( A ) Version: 2 Contents: test::m::Parent {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,9)}}} -task 4 'programmable'. lines 148-149: +task 4 'programmable'. lines 149-150: mutated: object(0,0), object(2,1), object(2,2), object(2,3), object(2,4), object(2,5), object(2,6), object(2,7), object(2,8), object(2,9) gas summary: computation_cost: 1000000, storage_cost: 13968800, storage_rebate: 13829112, non_refundable_storage_fee: 139688 -task 5 'view-object'. lines 151-151: +task 5 'view-object'. lines 152-152: Owner: Account Address ( A ) Version: 3 Contents: test::m::Parent {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,9)}}} -task 6 'programmable'. lines 153-154: +task 6 'programmable'. lines 154-155: mutated: object(0,0), object(2,9) deleted: object(2,1), object(2,2), object(2,3), object(2,4), object(2,5), object(2,6), object(2,7), object(2,8) gas summary: computation_cost: 1000000, storage_cost: 2234400, storage_rebate: 13829112, non_refundable_storage_fee: 139688 -task 7 'view-object'. lines 156-159: +task 7 'view-object'. lines 157-160: Owner: Account Address ( A ) Version: 4 Contents: test::m::Parent {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,9)}}} -task 8 'programmable'. lines 161-162: +task 8 'programmable'. lines 162-163: mutated: object(_), object(2,9) gas summary: computation_cost: 500000, storage_cost: 2234400, storage_rebate: 1233936, non_refundable_storage_fee: 12464 -task 9 'programmable'. lines 164-165: +task 9 'programmable'. lines 165-166: mutated: object(_), object(2,9) gas summary: computation_cost: 500000, storage_cost: 2234400, storage_rebate: 1233936, non_refundable_storage_fee: 12464 -task 10 'programmable'. lines 167-171: +task 10 'programmable'. lines 168-172: mutated: object(_), object(2,9) gas summary: computation_cost: 500000, storage_cost: 2234400, storage_rebate: 1233936, non_refundable_storage_fee: 12464 -task 11 'programmable'. lines 173-174: +task 11 'programmable'. lines 174-175: Error: Transaction Effects Status: MoveAbort(MoveLocation { module: ModuleId { address: test, name: Identifier("m") }, function: 14, instruction: 12, function_name: Some("check_") }, 0) in command 0 Execution Error: MoveAbort(MoveLocation { module: ModuleId { address: test, name: Identifier("m") }, function: 14, instruction: 12, function_name: Some("check_") }, 0) in command 0 -task 12 'programmable'. lines 176-177: +task 12 'programmable'. lines 177-178: Error: Transaction Effects Status: MoveAbort(MoveLocation { module: ModuleId { address: iota, name: Identifier("dynamic_field") }, function: 11, instruction: 0, function_name: Some("borrow_child_object") }, 1) in command 0 Execution Error: MoveAbort(MoveLocation { module: ModuleId { address: iota, name: Identifier("dynamic_field") }, function: 11, instruction: 0, function_name: Some("borrow_child_object") }, 1) in command 0 -task 13 'programmable'. lines 179-180: +task 13 'programmable'. lines 180-181: Error: Transaction Effects Status: MoveAbort(MoveLocation { module: ModuleId { address: test, name: Identifier("m") }, function: 14, instruction: 20, function_name: Some("check_") }, 0) in command 0 Execution Error: MoveAbort(MoveLocation { module: ModuleId { address: test, name: Identifier("m") }, function: 14, instruction: 20, function_name: Some("check_") }, 0) in command 0 diff --git a/crates/iota-adapter-transactional-tests/tests/mvcc/middle_version_less_than_child.exp b/crates/iota-adapter-transactional-tests/tests/mvcc/middle_version_less_than_child.exp index ca19df92b5d..b90487ac476 100644 --- a/crates/iota-adapter-transactional-tests/tests/mvcc/middle_version_less_than_child.exp +++ b/crates/iota-adapter-transactional-tests/tests/mvcc/middle_version_less_than_child.exp @@ -3,50 +3,50 @@ processed 11 tasks init: A: object(0,0) -task 1 'publish'. lines 8-51: +task 1 'publish'. lines 9-52: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 7493600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 53-57: +task 2 'programmable'. lines 54-58: created: object(2,0), object(2,1), object(2,2) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 6285200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'view-object'. lines 59-59: -Owner: Object ID: ( _ ) +task 3 'view-object'. lines 60-60: +Owner: Object ID: ( fake(2,2) ) Version: 2 Contents: iota::dynamic_field::Field {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}, name: 0u64, value: test::m::Obj {id: iota::object::UID {id: iota::object::ID {bytes: _}}, value: 0u64}} -task 4 'view-object'. lines 61-61: -Owner: Object ID: ( fake(2,2) ) +task 4 'view-object'. lines 62-62: +Owner: Object ID: ( _ ) Version: 2 Contents: iota::dynamic_field::Field {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}, name: 0u64, value: test::m::Obj {id: iota::object::UID {id: iota::object::ID {bytes: _}}, value: 0u64}} -task 5 'view-object'. lines 63-63: +task 5 'view-object'. lines 64-64: Owner: Account Address ( A ) Version: 2 Contents: test::m::Obj {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,2)}}, value: 0u64} -task 6 'programmable'. lines 65-68: -mutated: object(0,0), object(2,0), object(2,2) +task 6 'programmable'. lines 66-69: +mutated: object(0,0), object(2,1), object(2,2) gas summary: computation_cost: 1000000, storage_cost: 4278800, storage_rebate: 4236012, non_refundable_storage_fee: 42788 -task 7 'view-object'. lines 70-70: -Owner: Object ID: ( _ ) -Version: 3 -Contents: iota::dynamic_field::Field {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}, name: 0u64, value: test::m::Obj {id: iota::object::UID {id: iota::object::ID {bytes: _}}, value: 112u64}} - -task 8 'view-object'. lines 72-72: +task 7 'view-object'. lines 71-71: Owner: Object ID: ( fake(2,2) ) Version: 2 -Contents: iota::dynamic_field::Field {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}, name: 0u64, value: test::m::Obj {id: iota::object::UID {id: iota::object::ID {bytes: _}}, value: 0u64}} +Contents: iota::dynamic_field::Field {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}, name: 0u64, value: test::m::Obj {id: iota::object::UID {id: iota::object::ID {bytes: _}}, value: 0u64}} + +task 8 'view-object'. lines 73-73: +Owner: Object ID: ( _ ) +Version: 3 +Contents: iota::dynamic_field::Field {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}, name: 0u64, value: test::m::Obj {id: iota::object::UID {id: iota::object::ID {bytes: _}}, value: 112u64}} -task 9 'view-object'. lines 74-77: +task 9 'view-object'. lines 75-78: Owner: Account Address ( A ) Version: 3 Contents: test::m::Obj {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,2)}}, value: 0u64} -task 10 'programmable'. lines 79-80: +task 10 'programmable'. lines 80-81: mutated: object(0,0), object(2,2) gas summary: computation_cost: 1000000, storage_cost: 2272400, storage_rebate: 2249676, non_refundable_storage_fee: 22724 diff --git a/crates/iota-adapter-transactional-tests/tests/mvcc/not_root_version.exp b/crates/iota-adapter-transactional-tests/tests/mvcc/not_root_version.exp index e46d70ca2c8..b8ebadb2810 100644 --- a/crates/iota-adapter-transactional-tests/tests/mvcc/not_root_version.exp +++ b/crates/iota-adapter-transactional-tests/tests/mvcc/not_root_version.exp @@ -3,64 +3,64 @@ processed 14 tasks init: P1: object(0,0), P2: object(0,1) -task 1 'publish'. lines 8-53: +task 1 'publish'. lines 9-54: created: object(1,0) mutated: object(0,2) gas summary: computation_cost: 1000000, storage_cost: 7432800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 55-57: +task 2 'programmable'. lines 56-58: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2196400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'programmable'. lines 59-60: +task 3 'programmable'. lines 60-61: mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 2196400, storage_rebate: 2174436, non_refundable_storage_fee: 21964 -task 4 'programmable'. lines 62-63: +task 4 'programmable'. lines 63-64: mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 2196400, storage_rebate: 2174436, non_refundable_storage_fee: 21964 -task 5 'view-object'. lines 65-68: +task 5 'view-object'. lines 66-69: Owner: Account Address ( P1 ) Version: 4 Contents: test::m::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 6 'programmable'. lines 70-72: +task 6 'programmable'. lines 71-73: created: object(6,0), object(6,1) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 3663200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 7 'view-object'. lines 74-74: +task 7 'view-object'. lines 75-75: Owner: Object ID: ( fake(6,1) ) Version: 2 Contents: iota::dynamic_field::Field {id: iota::object::UID {id: iota::object::ID {bytes: fake(6,0)}}, name: 0u64, value: 0u64} -task 8 'programmable'. lines 76-77: +task 8 'programmable'. lines 77-78: mutated: object(0,1), object(6,0), object(6,1) gas summary: computation_cost: 1000000, storage_cost: 3663200, storage_rebate: 3626568, non_refundable_storage_fee: 36632 -task 9 'view-object'. lines 79-83: +task 9 'view-object'. lines 80-84: Owner: Object ID: ( fake(6,1) ) Version: 3 Contents: iota::dynamic_field::Field {id: iota::object::UID {id: iota::object::ID {bytes: fake(6,0)}}, name: 0u64, value: 1u64} -task 10 'programmable'. lines 85-90: +task 10 'programmable'. lines 86-91: created: object(10,0) mutated: object(_), object(2,0) wrapped: object(6,1) gas summary: computation_cost: 500000, storage_cost: 4126800, storage_rebate: 2392632, non_refundable_storage_fee: 24168 -task 11 'programmable'. lines 92-96: +task 11 'programmable'. lines 93-97: created: object(10,0) mutated: object(_), object(2,0) wrapped: object(6,1) gas summary: computation_cost: 500000, storage_cost: 4126800, storage_rebate: 2392632, non_refundable_storage_fee: 24168 -task 12 'programmable'. lines 98-102: +task 12 'programmable'. lines 99-103: Error: Transaction Effects Status: MoveAbort(MoveLocation { module: ModuleId { address: test, name: Identifier("m") }, function: 4, instruction: 13, function_name: Some("check") }, 0) in command 1 Execution Error: MoveAbort(MoveLocation { module: ModuleId { address: test, name: Identifier("m") }, function: 4, instruction: 13, function_name: Some("check") }, 0) in command 1 -task 13 'programmable'. lines 104-106: +task 13 'programmable'. lines 105-107: Error: Transaction Effects Status: MoveAbort(MoveLocation { module: ModuleId { address: test, name: Identifier("m") }, function: 4, instruction: 13, function_name: Some("check") }, 0) in command 1 Execution Error: MoveAbort(MoveLocation { module: ModuleId { address: test, name: Identifier("m") }, function: 4, instruction: 13, function_name: Some("check") }, 0) in command 1 diff --git a/crates/iota-adapter-transactional-tests/tests/mvcc/not_root_version_flipped_case.exp b/crates/iota-adapter-transactional-tests/tests/mvcc/not_root_version_flipped_case.exp index 75e01454d1b..c6b68f8fd07 100644 --- a/crates/iota-adapter-transactional-tests/tests/mvcc/not_root_version_flipped_case.exp +++ b/crates/iota-adapter-transactional-tests/tests/mvcc/not_root_version_flipped_case.exp @@ -3,56 +3,56 @@ processed 12 tasks init: P1: object(0,0), P2: object(0,1) -task 1 'publish'. lines 8-53: +task 1 'publish'. lines 9-54: created: object(1,0) mutated: object(0,2) gas summary: computation_cost: 1000000, storage_cost: 7432800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 55-57: +task 2 'programmable'. lines 56-58: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2196400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'view-object'. lines 60-63: +task 3 'view-object'. lines 61-64: Owner: Account Address ( P1 ) Version: 2 Contents: test::m::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 4 'programmable'. lines 65-67: +task 4 'programmable'. lines 66-68: created: object(4,0), object(4,1) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 3663200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 5 'view-object'. lines 69-69: +task 5 'view-object'. lines 70-70: Owner: Object ID: ( fake(4,1) ) Version: 2 Contents: iota::dynamic_field::Field {id: iota::object::UID {id: iota::object::ID {bytes: fake(4,0)}}, name: 0u64, value: 0u64} -task 6 'programmable'. lines 71-72: +task 6 'programmable'. lines 72-73: mutated: object(0,1), object(4,0), object(4,1) gas summary: computation_cost: 1000000, storage_cost: 3663200, storage_rebate: 3626568, non_refundable_storage_fee: 36632 -task 7 'view-object'. lines 74-77: +task 7 'view-object'. lines 75-78: Owner: Object ID: ( fake(4,1) ) Version: 3 Contents: iota::dynamic_field::Field {id: iota::object::UID {id: iota::object::ID {bytes: fake(4,0)}}, name: 0u64, value: 1u64} -task 8 'programmable'. lines 79-84: +task 8 'programmable'. lines 80-85: created: object(8,0) mutated: object(_), object(2,0) wrapped: object(4,1) gas summary: computation_cost: 500000, storage_cost: 4126800, storage_rebate: 2392632, non_refundable_storage_fee: 24168 -task 9 'programmable'. lines 86-90: +task 9 'programmable'. lines 87-91: created: object(8,0) mutated: object(_), object(2,0) wrapped: object(4,1) gas summary: computation_cost: 500000, storage_cost: 4126800, storage_rebate: 2392632, non_refundable_storage_fee: 24168 -task 10 'programmable'. lines 92-96: +task 10 'programmable'. lines 93-97: Error: Transaction Effects Status: MoveAbort(MoveLocation { module: ModuleId { address: test, name: Identifier("m") }, function: 4, instruction: 13, function_name: Some("check") }, 0) in command 1 Execution Error: MoveAbort(MoveLocation { module: ModuleId { address: test, name: Identifier("m") }, function: 4, instruction: 13, function_name: Some("check") }, 0) in command 1 -task 11 'programmable'. lines 98-100: +task 11 'programmable'. lines 99-101: Error: Transaction Effects Status: MoveAbort(MoveLocation { module: ModuleId { address: test, name: Identifier("m") }, function: 4, instruction: 13, function_name: Some("check") }, 0) in command 1 Execution Error: MoveAbort(MoveLocation { module: ModuleId { address: test, name: Identifier("m") }, function: 4, instruction: 13, function_name: Some("check") }, 0) in command 1 diff --git a/crates/iota-adapter-transactional-tests/tests/mvcc/receive_object_access_through_parent_df.exp b/crates/iota-adapter-transactional-tests/tests/mvcc/receive_object_access_through_parent_df.exp index e7eccfe20c0..741c883bf37 100644 --- a/crates/iota-adapter-transactional-tests/tests/mvcc/receive_object_access_through_parent_df.exp +++ b/crates/iota-adapter-transactional-tests/tests/mvcc/receive_object_access_through_parent_df.exp @@ -3,68 +3,68 @@ processed 14 tasks init: A: object(0,0) -task 1 'publish'. lines 6-76: +task 1 'publish'. lines 7-77: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 12524800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 78-78: +task 2 'run'. lines 79-79: created: object(2,0), object(2,1), object(2,2), object(2,3), object(2,4), object(2,5), object(2,6), object(2,7) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 15298800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'view-object'. lines 80-80: +task 3 'view-object'. lines 81-81: Owner: Object ID: ( _ ) Version: 2 -Contents: iota::dynamic_field::Field, iota::object::ID> {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}, name: iota::dynamic_object_field::Wrapper {name: 1u64}, value: iota::object::ID {bytes: fake(2,5)}} +Contents: iota::dynamic_field::Field, iota::object::ID> {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}, name: iota::dynamic_object_field::Wrapper {name: 1u64}, value: iota::object::ID {bytes: fake(2,4)}} -task 4 'view-object'. lines 82-82: -Owner: Object ID: ( fake(2,6) ) -Version: 2 -Contents: iota::dynamic_field::Field {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}, name: 0u64, value: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: _}}, value: vector[98u8, 95u8, 99u8, 104u8, 105u8, 108u8, 100u8]}} - -task 5 'view-object'. lines 84-84: +task 4 'view-object'. lines 83-83: Owner: Object ID: ( _ ) Version: 2 -Contents: iota::dynamic_field::Field {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,2)}}, name: 0u64, value: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: _}}, value: vector[98u8, 95u8, 99u8, 104u8, 105u8, 108u8, 100u8, 95u8, 99u8, 104u8, 105u8, 108u8, 100u8]}} +Contents: iota::dynamic_field::Field {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}, name: 0u64, value: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: _}}, value: vector[98u8, 95u8, 99u8, 104u8, 105u8, 108u8, 100u8, 95u8, 99u8, 104u8, 105u8, 108u8, 100u8]}} -task 6 'view-object'. lines 86-86: +task 5 'view-object'. lines 85-85: Owner: Object ID: ( _ ) Version: 2 -Contents: iota::dynamic_field::Field {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,3)}}, name: 0u64, value: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: _}}, value: vector[119u8, 114u8, 97u8, 112u8, 112u8, 101u8, 100u8, 95u8, 100u8, 111u8, 102u8]}} +Contents: iota::dynamic_field::Field {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,2)}}, name: 0u64, value: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: _}}, value: vector[119u8, 114u8, 97u8, 112u8, 112u8, 101u8, 100u8, 95u8, 100u8, 111u8, 102u8]}} -task 7 'view-object'. lines 88-88: -Owner: Account Address ( A ) +task 6 'view-object'. lines 87-87: +Owner: Object ID: ( fake(2,5) ) Version: 2 -Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,4)}}, value: vector[97u8, 95u8, 112u8, 97u8, 114u8, 101u8, 110u8, 116u8]} +Contents: iota::dynamic_field::Field {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,3)}}, name: 0u64, value: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: _}}, value: vector[98u8, 95u8, 99u8, 104u8, 105u8, 108u8, 100u8]}} -task 8 'view-object'. lines 90-90: +task 7 'view-object'. lines 89-89: Owner: Object ID: ( fake(2,0) ) Version: 2 -Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,5)}}, value: vector[98u8, 95u8, 99u8, 104u8, 105u8, 108u8, 100u8, 95u8, 99u8, 104u8, 105u8, 108u8, 100u8, 95u8, 100u8, 111u8, 102u8]} +Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,4)}}, value: vector[98u8, 95u8, 99u8, 104u8, 105u8, 108u8, 100u8, 95u8, 99u8, 104u8, 105u8, 108u8, 100u8, 95u8, 100u8, 111u8, 102u8]} -task 9 'view-object'. lines 92-92: -Owner: Account Address ( fake(2,4) ) +task 8 'view-object'. lines 91-91: +Owner: Account Address ( fake(2,6) ) +Version: 2 +Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,5)}}, value: vector[98u8, 95u8, 112u8, 97u8, 114u8, 101u8, 110u8, 116u8]} + +task 9 'view-object'. lines 93-93: +Owner: Account Address ( A ) Version: 2 -Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,6)}}, value: vector[98u8, 95u8, 112u8, 97u8, 114u8, 101u8, 110u8, 116u8]} +Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,6)}}, value: vector[97u8, 95u8, 112u8, 97u8, 114u8, 101u8, 110u8, 116u8]} -task 10 'view-object'. lines 94-97: -Owner: Account Address ( fake(2,4) ) +task 10 'view-object'. lines 95-98: +Owner: Account Address ( fake(2,6) ) Version: 2 Contents: tto::M1::Wrapper {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,7)}}, value: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: _}}, value: vector[119u8, 114u8, 97u8, 112u8, 112u8, 101u8, 100u8]}} -task 11 'run'. lines 98-98: +task 11 'run'. lines 99-99: Error: Transaction Effects Status: Move Runtime Abort. Location: iota::transfer::receive_impl (function index 12) at offset 0, Abort Code: 2 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: iota, name: Identifier("transfer") }, function: 12, instruction: 0, function_name: Some("receive_impl") }, 2), source: Some(VMError { major_status: ABORTED, sub_status: Some(2), message: None, exec_state: None, location: Module(ModuleId { address: iota, name: Identifier("transfer") }), indices: [], offsets: [(FunctionDefinitionIndex(12), 0)] }), command: Some(0) } } -task 12 'run'. lines 100-100: +task 12 'run'. lines 101-101: created: object(12,0) -mutated: object(0,0), object(2,4) -wrapped: object(2,6) +mutated: object(0,0), object(2,6) +wrapped: object(2,5) gas summary: computation_cost: 1000000, storage_cost: 4278800, storage_rebate: 3521232, non_refundable_storage_fee: 35568 -task 13 'run'. lines 102-102: +task 13 'run'. lines 103-103: created: object(13,0) -mutated: object(0,0), object(2,4) +mutated: object(0,0), object(2,6) wrapped: object(2,7) gas summary: computation_cost: 1000000, storage_cost: 4856400, storage_rebate: 4093056, non_refundable_storage_fee: 41344 diff --git a/crates/iota-adapter-transactional-tests/tests/mvcc/receive_object_access_through_parent_df.move b/crates/iota-adapter-transactional-tests/tests/mvcc/receive_object_access_through_parent_df.move index b92fa68699e..c80f4ca6243 100644 --- a/crates/iota-adapter-transactional-tests/tests/mvcc/receive_object_access_through_parent_df.move +++ b/crates/iota-adapter-transactional-tests/tests/mvcc/receive_object_access_through_parent_df.move @@ -96,8 +96,8 @@ module tto::M1 { // E_OBJECT_TYPE_MISMATCH // Try to load an invalid type that will cause indexing to fail. -//# run tto::M1::receive_b_parent --args object(2,4) receiving(2,7) --sender A +//# run tto::M1::receive_b_parent --args object(2,6) receiving(2,7) --sender A -//# run tto::M1::receive_b_parent --args object(2,4) receiving(2,6) --sender A +//# run tto::M1::receive_b_parent --args object(2,6) receiving(2,5) --sender A -//# run tto::M1::receive_wrapped --args object(2,4) receiving(2,7) --sender A +//# run tto::M1::receive_wrapped --args object(2,6) receiving(2,7) --sender A diff --git a/crates/iota-adapter-transactional-tests/tests/mvcc/receive_object_access_through_parent_dof.exp b/crates/iota-adapter-transactional-tests/tests/mvcc/receive_object_access_through_parent_dof.exp index e1fbc0c5706..ec255023c72 100644 --- a/crates/iota-adapter-transactional-tests/tests/mvcc/receive_object_access_through_parent_dof.exp +++ b/crates/iota-adapter-transactional-tests/tests/mvcc/receive_object_access_through_parent_dof.exp @@ -3,76 +3,76 @@ processed 16 tasks init: A: object(0,0) -task 1 'publish'. lines 6-76: +task 1 'publish'. lines 7-77: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 12509600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 78-78: +task 2 'run'. lines 79-79: created: object(2,0), object(2,1), object(2,2), object(2,3), object(2,4), object(2,5), object(2,6), object(2,7), object(2,8), object(2,9) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 18749200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'view-object'. lines 80-80: -Owner: Object ID: ( fake(2,7) ) +task 3 'view-object'. lines 81-81: +Owner: Object ID: ( fake(2,6) ) Version: 2 Contents: iota::dynamic_field::Field, iota::object::ID> {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}, name: iota::dynamic_object_field::Wrapper {name: 0u64}, value: iota::object::ID {bytes: fake(2,4)}} -task 4 'view-object'. lines 82-82: -Owner: Object ID: ( _ ) +task 4 'view-object'. lines 83-83: +Owner: Object ID: ( fake(2,7) ) Version: 2 -Contents: iota::dynamic_field::Field, iota::object::ID> {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}, name: iota::dynamic_object_field::Wrapper {name: 0u64}, value: iota::object::ID {bytes: fake(2,5)}} +Contents: iota::dynamic_field::Field, iota::object::ID> {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}, name: iota::dynamic_object_field::Wrapper {name: 0u64}, value: iota::object::ID {bytes: fake(2,6)}} -task 5 'view-object'. lines 84-84: -Owner: Object ID: ( fake(2,6) ) +task 5 'view-object'. lines 85-85: +Owner: Object ID: ( _ ) Version: 2 -Contents: iota::dynamic_field::Field, iota::object::ID> {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,2)}}, name: iota::dynamic_object_field::Wrapper {name: 0u64}, value: iota::object::ID {bytes: fake(2,7)}} +Contents: iota::dynamic_field::Field, iota::object::ID> {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,2)}}, name: iota::dynamic_object_field::Wrapper {name: 0u64}, value: iota::object::ID {bytes: fake(2,5)}} -task 6 'view-object'. lines 86-86: -Owner: Object ID: ( fake(2,7) ) +task 6 'view-object'. lines 87-87: +Owner: Object ID: ( fake(2,6) ) Version: 2 Contents: iota::dynamic_field::Field {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,3)}}, name: 1u64, value: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: _}}, value: vector[98u8, 95u8, 99u8, 104u8, 105u8, 108u8, 100u8, 95u8, 99u8, 104u8, 105u8, 108u8, 100u8, 95u8, 100u8, 102u8]}} -task 7 'view-object'. lines 88-88: +task 7 'view-object'. lines 89-89: Owner: Object ID: ( fake(2,0) ) Version: 2 Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,4)}}, value: vector[98u8, 95u8, 99u8, 104u8, 105u8, 108u8, 100u8, 95u8, 99u8, 104u8, 105u8, 108u8, 100u8]} -task 8 'view-object'. lines 90-90: -Owner: Object ID: ( fake(2,1) ) +task 8 'view-object'. lines 91-91: +Owner: Object ID: ( fake(2,2) ) Version: 2 Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,5)}}, value: vector[119u8, 114u8, 97u8, 112u8, 112u8, 101u8, 100u8, 95u8, 100u8, 102u8]} -task 9 'view-object'. lines 92-92: -Owner: Account Address ( fake(2,8) ) +task 9 'view-object'. lines 93-93: +Owner: Object ID: ( fake(2,1) ) Version: 2 -Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,6)}}, value: vector[98u8, 95u8, 112u8, 97u8, 114u8, 101u8, 110u8, 116u8]} +Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,6)}}, value: vector[98u8, 95u8, 99u8, 104u8, 105u8, 108u8, 100u8]} -task 10 'view-object'. lines 94-94: -Owner: Object ID: ( fake(2,2) ) +task 10 'view-object'. lines 95-95: +Owner: Account Address ( fake(2,8) ) Version: 2 -Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,7)}}, value: vector[98u8, 95u8, 99u8, 104u8, 105u8, 108u8, 100u8]} +Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,7)}}, value: vector[98u8, 95u8, 112u8, 97u8, 114u8, 101u8, 110u8, 116u8]} -task 11 'view-object'. lines 96-96: +task 11 'view-object'. lines 97-97: Owner: Account Address ( A ) Version: 2 Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,8)}}, value: vector[97u8, 95u8, 112u8, 97u8, 114u8, 101u8, 110u8, 116u8]} -task 12 'view-object'. lines 98-101: +task 12 'view-object'. lines 99-102: Owner: Account Address ( fake(2,8) ) Version: 2 Contents: tto::M1::Wrapper {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,9)}}, value: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: _}}, value: vector[119u8, 114u8, 97u8, 112u8, 112u8, 101u8, 100u8]}} -task 13 'run'. lines 102-102: +task 13 'run'. lines 103-103: Error: Transaction Effects Status: Move Runtime Abort. Location: iota::transfer::receive_impl (function index 12) at offset 0, Abort Code: 2 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: iota, name: Identifier("transfer") }, function: 12, instruction: 0, function_name: Some("receive_impl") }, 2), source: Some(VMError { major_status: ABORTED, sub_status: Some(2), message: None, exec_state: None, location: Module(ModuleId { address: iota, name: Identifier("transfer") }), indices: [], offsets: [(FunctionDefinitionIndex(12), 0)] }), command: Some(0) } } -task 14 'run'. lines 104-104: +task 14 'run'. lines 105-105: created: object(14,0) -mutated: object(0,0), object(2,6), object(2,8) +mutated: object(0,0), object(2,7), object(2,8) gas summary: computation_cost: 1000000, storage_cost: 6011600, storage_rebate: 3521232, non_refundable_storage_fee: 35568 -task 15 'run'. lines 106-106: +task 15 'run'. lines 107-107: created: object(15,0) mutated: object(0,0), object(2,8), object(2,9) gas summary: computation_cost: 1000000, storage_cost: 6589200, storage_rebate: 4093056, non_refundable_storage_fee: 41344 diff --git a/crates/iota-adapter-transactional-tests/tests/mvcc/receive_object_access_through_parent_dof.move b/crates/iota-adapter-transactional-tests/tests/mvcc/receive_object_access_through_parent_dof.move index 00687295e8e..41310ce2f8c 100644 --- a/crates/iota-adapter-transactional-tests/tests/mvcc/receive_object_access_through_parent_dof.move +++ b/crates/iota-adapter-transactional-tests/tests/mvcc/receive_object_access_through_parent_dof.move @@ -102,6 +102,6 @@ module tto::M1 { // Try to load an invalid type that will cause indexing to fail. //# run tto::M1::receive_b_parent --args object(2,8) receiving(2,9) --sender A -//# run tto::M1::receive_b_parent --args object(2,8) receiving(2,6) --sender A +//# run tto::M1::receive_b_parent --args object(2,8) receiving(2,7) --sender A //# run tto::M1::receive_wrapped --args object(2,8) receiving(2,9) --sender A diff --git a/crates/iota-adapter-transactional-tests/tests/mvcc/receive_object_dof.exp b/crates/iota-adapter-transactional-tests/tests/mvcc/receive_object_dof.exp index 88e3acf71a6..1f45d656c6e 100644 --- a/crates/iota-adapter-transactional-tests/tests/mvcc/receive_object_dof.exp +++ b/crates/iota-adapter-transactional-tests/tests/mvcc/receive_object_dof.exp @@ -3,110 +3,110 @@ processed 24 tasks init: A: object(0,0) -task 1 'publish'. lines 6-58: +task 1 'publish'. lines 7-59: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 10533600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 60-60: +task 2 'run'. lines 61-61: created: object(2,0), object(2,1), object(2,2), object(2,3) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 7273200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'view-object'. lines 62-62: -Owner: Object ID: ( fake(2,1) ) +task 3 'view-object'. lines 63-63: +Owner: Object ID: ( fake(2,3) ) Version: 2 -Contents: iota::dynamic_field::Field, iota::object::ID> {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}, name: iota::dynamic_object_field::Wrapper {name: 0u64}, value: iota::object::ID {bytes: fake(2,3)}} +Contents: iota::dynamic_field::Field, iota::object::ID> {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}, name: iota::dynamic_object_field::Wrapper {name: 0u64}, value: iota::object::ID {bytes: fake(2,1)}} -task 4 'view-object'. lines 64-64: +task 4 'view-object'. lines 65-65: Owner: Object ID: ( fake(2,0) ) Version: 2 -Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,3)}}, value: 0u64} +Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}, value: 0u64} -task 5 'view-object'. lines 66-66: +task 5 'view-object'. lines 67-67: Owner: Account Address ( fake(2,2) ) Version: 2 -Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}, value: 0u64} +Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,3)}}, value: 0u64} -task 6 'view-object'. lines 68-68: +task 6 'view-object'. lines 69-69: Owner: Account Address ( A ) Version: 2 Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,2)}}, value: 0u64} -task 7 'run'. lines 70-70: +task 7 'run'. lines 71-71: created: object(7,0) -mutated: object(0,0), object(2,1), object(2,2) +mutated: object(0,0), object(2,2), object(2,3) gas summary: computation_cost: 1000000, storage_cost: 5996400, storage_rebate: 3506184, non_refundable_storage_fee: 35416 -task 8 'view-object'. lines 72-74: -Owner: Object ID: ( fake(2,1) ) +task 8 'view-object'. lines 73-75: +Owner: Object ID: ( fake(2,3) ) Version: 2 -Contents: iota::dynamic_field::Field, iota::object::ID> {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}, name: iota::dynamic_object_field::Wrapper {name: 0u64}, value: iota::object::ID {bytes: fake(2,3)}} +Contents: iota::dynamic_field::Field, iota::object::ID> {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}, name: iota::dynamic_object_field::Wrapper {name: 0u64}, value: iota::object::ID {bytes: fake(2,1)}} -task 9 'view-object'. lines 75-75: +task 9 'view-object'. lines 76-76: Owner: Object ID: ( fake(2,0) ) Version: 2 -Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,3)}}, value: 0u64} +Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}, value: 0u64} -task 10 'view-object'. lines 77-77: +task 10 'view-object'. lines 78-78: Owner: Object ID: ( fake(7,0) ) Version: 3 -Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}, value: 0u64} +Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,3)}}, value: 0u64} -task 11 'view-object'. lines 79-79: +task 11 'view-object'. lines 80-80: Owner: Account Address ( A ) Version: 3 Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,2)}}, value: 0u64} -task 12 'programmable'. lines 81-82: +task 12 'programmable'. lines 82-83: mutated: object(0,0), object(2,1), object(2,2), object(2,3) gas summary: computation_cost: 1000000, storage_cost: 4818400, storage_rebate: 4770216, non_refundable_storage_fee: 48184 -task 13 'view-object'. lines 84-86: -Owner: Object ID: ( fake(2,1) ) +task 13 'view-object'. lines 85-87: +Owner: Object ID: ( fake(2,3) ) Version: 2 -Contents: iota::dynamic_field::Field, iota::object::ID> {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}, name: iota::dynamic_object_field::Wrapper {name: 0u64}, value: iota::object::ID {bytes: fake(2,3)}} +Contents: iota::dynamic_field::Field, iota::object::ID> {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}, name: iota::dynamic_object_field::Wrapper {name: 0u64}, value: iota::object::ID {bytes: fake(2,1)}} -task 14 'view-object'. lines 87-87: +task 14 'view-object'. lines 88-88: Owner: Object ID: ( fake(2,0) ) Version: 4 -Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,3)}}, value: 3u64} +Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}, value: 3u64} -task 15 'view-object'. lines 89-89: +task 15 'view-object'. lines 90-90: Owner: Object ID: ( fake(7,0) ) Version: 4 -Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}, value: 2u64} +Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,3)}}, value: 2u64} -task 16 'view-object'. lines 91-91: +task 16 'view-object'. lines 92-92: Owner: Account Address ( A ) Version: 4 Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,2)}}, value: 1u64} -task 17 'programmable'. lines 93-96: +task 17 'programmable'. lines 94-97: mutated: object(0,0), object(2,2) -deleted: object(2,0), object(2,3) +deleted: object(2,0), object(2,1) gas summary: computation_cost: 1000000, storage_cost: 2264800, storage_rebate: 5936436, non_refundable_storage_fee: 59964 -task 18 'programmable'. lines 98-99: +task 18 'programmable'. lines 99-100: mutated: object(_), object(2,2) gas summary: computation_cost: 500000, storage_cost: 2264800, storage_rebate: 1264032, non_refundable_storage_fee: 12768 -task 19 'programmable'. lines 101-102: +task 19 'programmable'. lines 102-103: mutated: object(_), object(2,2) gas summary: computation_cost: 500000, storage_cost: 2264800, storage_rebate: 1264032, non_refundable_storage_fee: 12768 -task 20 'programmable'. lines 104-107: +task 20 'programmable'. lines 105-108: mutated: object(_), object(2,2) gas summary: computation_cost: 500000, storage_cost: 2264800, storage_rebate: 1264032, non_refundable_storage_fee: 12768 -task 21 'programmable'. lines 109-110: +task 21 'programmable'. lines 110-111: Error: Transaction Effects Status: MoveAbort(MoveLocation { module: ModuleId { address: tto, name: Identifier("M1") }, function: 4, instruction: 10, function_name: Some("check") }, 0) in command 0 Execution Error: MoveAbort(MoveLocation { module: ModuleId { address: tto, name: Identifier("M1") }, function: 4, instruction: 10, function_name: Some("check") }, 0) in command 0 -task 22 'programmable'. lines 112-113: +task 22 'programmable'. lines 113-114: Error: Transaction Effects Status: MoveAbort(MoveLocation { module: ModuleId { address: iota, name: Identifier("dynamic_field") }, function: 11, instruction: 0, function_name: Some("borrow_child_object") }, 1) in command 0 Execution Error: MoveAbort(MoveLocation { module: ModuleId { address: iota, name: Identifier("dynamic_field") }, function: 11, instruction: 0, function_name: Some("borrow_child_object") }, 1) in command 0 -task 23 'programmable'. lines 115-116: +task 23 'programmable'. lines 116-117: Error: Transaction Effects Status: MoveAbort(MoveLocation { module: ModuleId { address: tto, name: Identifier("M1") }, function: 4, instruction: 10, function_name: Some("check") }, 0) in command 0 Execution Error: MoveAbort(MoveLocation { module: ModuleId { address: tto, name: Identifier("M1") }, function: 4, instruction: 10, function_name: Some("check") }, 0) in command 0 diff --git a/crates/iota-adapter-transactional-tests/tests/mvcc/receive_object_dof.move b/crates/iota-adapter-transactional-tests/tests/mvcc/receive_object_dof.move index 0b51e0c68b8..e1d9ffa9374 100644 --- a/crates/iota-adapter-transactional-tests/tests/mvcc/receive_object_dof.move +++ b/crates/iota-adapter-transactional-tests/tests/mvcc/receive_object_dof.move @@ -62,21 +62,21 @@ module tto::M1 { //# view-object 2,0 -//# view-object 2,3 - //# view-object 2,1 +//# view-object 2,3 + //# view-object 2,2 -//# run tto::M1::receive --args object(2,2) receiving(2,1) --sender A +//# run tto::M1::receive --args object(2,2) receiving(2,3) --sender A //# view-object 2,0 // The grand parent -//# view-object 2,3 - //# view-object 2,1 +//# view-object 2,3 + //# view-object 2,2 //# programmable --sender A --inputs object(2,2) 1 2 3 @@ -85,10 +85,10 @@ module tto::M1 { //# view-object 2,0 // The grand parent -//# view-object 2,3 - //# view-object 2,1 +//# view-object 2,3 + //# view-object 2,2 //# programmable --sender A --inputs object(2,2) diff --git a/crates/iota-adapter-transactional-tests/tests/mvcc/v0/child_of_child.exp b/crates/iota-adapter-transactional-tests/tests/mvcc/v0/child_of_child.exp index aff3874c6ed..d7337696d12 100644 --- a/crates/iota-adapter-transactional-tests/tests/mvcc/v0/child_of_child.exp +++ b/crates/iota-adapter-transactional-tests/tests/mvcc/v0/child_of_child.exp @@ -3,60 +3,60 @@ processed 14 tasks init: A: object(0,0) -task 1 'publish'. lines 8-66: +task 1 'publish'. lines 9-67: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 9218800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 68-70: +task 2 'programmable'. lines 69-71: created: object(2,0), object(2,1), object(2,2), object(2,3), object(2,4) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 9750800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'view-object'. lines 72-72: +task 3 'view-object'. lines 73-73: Owner: Account Address ( A ) Version: 2 Contents: test::m::Obj {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,4)}}, value: 0u64} -task 4 'programmable'. lines 74-75: +task 4 'programmable'. lines 75-76: mutated: object(0,0), object(2,2), object(2,3), object(2,4) gas summary: computation_cost: 1000000, storage_cost: 4841200, storage_rebate: 4792788, non_refundable_storage_fee: 48412 -task 5 'view-object'. lines 77-77: +task 5 'view-object'. lines 78-78: Owner: Account Address ( A ) Version: 3 Contents: test::m::Obj {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,4)}}, value: 1u64} -task 6 'programmable'. lines 79-80: +task 6 'programmable'. lines 80-81: mutated: object(0,0), object(2,4) -deleted: object(2,0), object(2,2) +deleted: object(2,1), object(2,3) gas summary: computation_cost: 1000000, storage_cost: 2272400, storage_rebate: 5951484, non_refundable_storage_fee: 60116 -task 7 'view-object'. lines 82-85: +task 7 'view-object'. lines 83-86: Owner: Account Address ( A ) Version: 4 Contents: test::m::Obj {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,4)}}, value: 1u64} -task 8 'programmable'. lines 87-88: +task 8 'programmable'. lines 88-89: mutated: object(_), object(2,4) gas summary: computation_cost: 500000, storage_cost: 2272400, storage_rebate: 1271556, non_refundable_storage_fee: 12844 -task 9 'programmable'. lines 90-91: +task 9 'programmable'. lines 91-92: mutated: object(_), object(2,4) gas summary: computation_cost: 500000, storage_cost: 2272400, storage_rebate: 1271556, non_refundable_storage_fee: 12844 -task 10 'programmable'. lines 93-97: +task 10 'programmable'. lines 94-98: mutated: object(_), object(2,4) gas summary: computation_cost: 500000, storage_cost: 2272400, storage_rebate: 1271556, non_refundable_storage_fee: 12844 -task 11 'programmable'. lines 99-100: +task 11 'programmable'. lines 100-101: Error: Transaction Effects Status: MoveAbort(MoveLocation { module: ModuleId { address: test, name: Identifier("m") }, function: 3, instruction: 10, function_name: Some("check") }, 0) in command 0 Execution Error: MoveAbort(MoveLocation { module: ModuleId { address: test, name: Identifier("m") }, function: 3, instruction: 10, function_name: Some("check") }, 0) in command 0 -task 12 'programmable'. lines 102-103: +task 12 'programmable'. lines 103-104: Error: Transaction Effects Status: MoveAbort(MoveLocation { module: ModuleId { address: iota, name: Identifier("dynamic_field") }, function: 11, instruction: 0, function_name: Some("borrow_child_object") }, 1) in command 0 Execution Error: MoveAbort(MoveLocation { module: ModuleId { address: iota, name: Identifier("dynamic_field") }, function: 11, instruction: 0, function_name: Some("borrow_child_object") }, 1) in command 0 -task 13 'programmable'. lines 105-106: +task 13 'programmable'. lines 106-107: Error: Transaction Effects Status: MoveAbort(MoveLocation { module: ModuleId { address: test, name: Identifier("m") }, function: 3, instruction: 10, function_name: Some("check") }, 0) in command 0 Execution Error: MoveAbort(MoveLocation { module: ModuleId { address: test, name: Identifier("m") }, function: 3, instruction: 10, function_name: Some("check") }, 0) in command 0 diff --git a/crates/iota-adapter-transactional-tests/tests/mvcc/v0/child_of_child.move b/crates/iota-adapter-transactional-tests/tests/mvcc/v0/child_of_child.move index 36bd2dab86b..5e99adf32b1 100644 --- a/crates/iota-adapter-transactional-tests/tests/mvcc/v0/child_of_child.move +++ b/crates/iota-adapter-transactional-tests/tests/mvcc/v0/child_of_child.move @@ -4,7 +4,7 @@ // tests accessing the versions of a child of a child -//# init --addresses test=0x0 --accounts A --protocol-version 16 +//# init --addresses test=0x0 --accounts A --protocol-version 1 //# publish diff --git a/crates/iota-adapter-transactional-tests/tests/mvcc/v0/find_all_uids.exp b/crates/iota-adapter-transactional-tests/tests/mvcc/v0/find_all_uids.exp index 47954051a49..d13a7a1eb2d 100644 --- a/crates/iota-adapter-transactional-tests/tests/mvcc/v0/find_all_uids.exp +++ b/crates/iota-adapter-transactional-tests/tests/mvcc/v0/find_all_uids.exp @@ -3,60 +3,60 @@ processed 14 tasks init: A: object(0,0) -task 1 'publish'. lines 8-117: +task 1 'publish'. lines 9-118: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 12205600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 119-121: +task 2 'programmable'. lines 120-122: created: object(2,0), object(2,1), object(2,2), object(2,3), object(2,4), object(2,5), object(2,6), object(2,7), object(2,8) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 15640800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'view-object'. lines 123-123: +task 3 'view-object'. lines 124-124: Owner: Account Address ( A ) Version: 2 Contents: test::m::S {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,8)}}, other: iota::object::UID {id: iota::object::ID {bytes: _}}, wrapped: test::m::Wrapped {id: iota::object::UID {id: iota::object::ID {bytes: _}}, other: iota::object::UID {id: iota::object::ID {bytes: _}}}, many: vector[test::m::Wrapped {id: iota::object::UID {id: iota::object::ID {bytes: _}}, other: iota::object::UID {id: iota::object::ID {bytes: _}}}, test::m::Wrapped {id: iota::object::UID {id: iota::object::ID {bytes: _}}, other: iota::object::UID {id: iota::object::ID {bytes: _}}}]} -task 4 'programmable'. lines 125-126: +task 4 'programmable'. lines 126-127: mutated: object(0,0), object(2,0), object(2,1), object(2,2), object(2,3), object(2,4), object(2,5), object(2,6), object(2,7), object(2,8) gas summary: computation_cost: 1000000, storage_cost: 15640800, storage_rebate: 15484392, non_refundable_storage_fee: 156408 -task 5 'view-object'. lines 128-128: +task 5 'view-object'. lines 129-129: Owner: Account Address ( A ) Version: 3 Contents: test::m::S {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,8)}}, other: iota::object::UID {id: iota::object::ID {bytes: _}}, wrapped: test::m::Wrapped {id: iota::object::UID {id: iota::object::ID {bytes: _}}, other: iota::object::UID {id: iota::object::ID {bytes: _}}}, many: vector[test::m::Wrapped {id: iota::object::UID {id: iota::object::ID {bytes: _}}, other: iota::object::UID {id: iota::object::ID {bytes: _}}}, test::m::Wrapped {id: iota::object::UID {id: iota::object::ID {bytes: _}}, other: iota::object::UID {id: iota::object::ID {bytes: _}}}]} -task 6 'programmable'. lines 130-131: +task 6 'programmable'. lines 131-132: mutated: object(0,0), object(2,8) deleted: object(2,0), object(2,1), object(2,2), object(2,3), object(2,4), object(2,5), object(2,6), object(2,7) gas summary: computation_cost: 1000000, storage_cost: 3906400, storage_rebate: 15484392, non_refundable_storage_fee: 156408 -task 7 'view-object'. lines 133-136: +task 7 'view-object'. lines 134-137: Owner: Account Address ( A ) Version: 4 Contents: test::m::S {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,8)}}, other: iota::object::UID {id: iota::object::ID {bytes: _}}, wrapped: test::m::Wrapped {id: iota::object::UID {id: iota::object::ID {bytes: _}}, other: iota::object::UID {id: iota::object::ID {bytes: _}}}, many: vector[test::m::Wrapped {id: iota::object::UID {id: iota::object::ID {bytes: _}}, other: iota::object::UID {id: iota::object::ID {bytes: _}}}, test::m::Wrapped {id: iota::object::UID {id: iota::object::ID {bytes: _}}, other: iota::object::UID {id: iota::object::ID {bytes: _}}}]} -task 8 'programmable'. lines 138-139: +task 8 'programmable'. lines 139-140: mutated: object(_), object(2,8) gas summary: computation_cost: 500000, storage_cost: 3906400, storage_rebate: 2889216, non_refundable_storage_fee: 29184 -task 9 'programmable'. lines 141-142: +task 9 'programmable'. lines 142-143: mutated: object(_), object(2,8) gas summary: computation_cost: 500000, storage_cost: 3906400, storage_rebate: 2889216, non_refundable_storage_fee: 29184 -task 10 'programmable'. lines 144-148: +task 10 'programmable'. lines 145-149: mutated: object(_), object(2,8) gas summary: computation_cost: 500000, storage_cost: 3906400, storage_rebate: 2889216, non_refundable_storage_fee: 29184 -task 11 'programmable'. lines 150-151: +task 11 'programmable'. lines 151-152: Error: Transaction Effects Status: MoveAbort(MoveLocation { module: ModuleId { address: test, name: Identifier("m") }, function: 10, instruction: 12, function_name: Some("check_") }, 0) in command 0 Execution Error: MoveAbort(MoveLocation { module: ModuleId { address: test, name: Identifier("m") }, function: 10, instruction: 12, function_name: Some("check_") }, 0) in command 0 -task 12 'programmable'. lines 153-154: +task 12 'programmable'. lines 154-155: Error: Transaction Effects Status: MoveAbort(MoveLocation { module: ModuleId { address: iota, name: Identifier("dynamic_field") }, function: 11, instruction: 0, function_name: Some("borrow_child_object") }, 1) in command 0 Execution Error: MoveAbort(MoveLocation { module: ModuleId { address: iota, name: Identifier("dynamic_field") }, function: 11, instruction: 0, function_name: Some("borrow_child_object") }, 1) in command 0 -task 13 'programmable'. lines 156-157: +task 13 'programmable'. lines 157-158: Error: Transaction Effects Status: MoveAbort(MoveLocation { module: ModuleId { address: test, name: Identifier("m") }, function: 10, instruction: 20, function_name: Some("check_") }, 0) in command 0 Execution Error: MoveAbort(MoveLocation { module: ModuleId { address: test, name: Identifier("m") }, function: 10, instruction: 20, function_name: Some("check_") }, 0) in command 0 diff --git a/crates/iota-adapter-transactional-tests/tests/mvcc/v0/find_all_uids.move b/crates/iota-adapter-transactional-tests/tests/mvcc/v0/find_all_uids.move index 865ff0f5759..d3682a74a22 100644 --- a/crates/iota-adapter-transactional-tests/tests/mvcc/v0/find_all_uids.move +++ b/crates/iota-adapter-transactional-tests/tests/mvcc/v0/find_all_uids.move @@ -4,7 +4,7 @@ // tests finding UIDs for dynamic field access -//# init --addresses test=0x0 --accounts A --protocol-version 16 +//# init --addresses test=0x0 --accounts A --protocol-version 1 //# publish diff --git a/crates/iota-adapter-transactional-tests/tests/mvcc/v0/find_all_uids_dof.exp b/crates/iota-adapter-transactional-tests/tests/mvcc/v0/find_all_uids_dof.exp index 9c04b6a0389..0ef94bc5598 100644 --- a/crates/iota-adapter-transactional-tests/tests/mvcc/v0/find_all_uids_dof.exp +++ b/crates/iota-adapter-transactional-tests/tests/mvcc/v0/find_all_uids_dof.exp @@ -3,60 +3,60 @@ processed 14 tasks init: A: object(0,0) -task 1 'publish'. lines 8-130: +task 1 'publish'. lines 9-131: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 13353200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 132-134: +task 2 'programmable'. lines 133-135: created: object(2,0), object(2,1), object(2,2), object(2,3), object(2,4), object(2,5), object(2,6), object(2,7), object(2,8), object(2,9), object(2,10), object(2,11), object(2,12), object(2,13), object(2,14), object(2,15), object(2,16) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 33941600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'view-object'. lines 136-136: +task 3 'view-object'. lines 137-137: Owner: Account Address ( A ) Version: 2 Contents: test::m::S {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,8)}}, other: iota::object::UID {id: iota::object::ID {bytes: _}}, wrapped: test::m::Wrapped {id: iota::object::UID {id: iota::object::ID {bytes: _}}, other: iota::object::UID {id: iota::object::ID {bytes: _}}}, many: vector[test::m::Wrapped {id: iota::object::UID {id: iota::object::ID {bytes: _}}, other: iota::object::UID {id: iota::object::ID {bytes: _}}}, test::m::Wrapped {id: iota::object::UID {id: iota::object::ID {bytes: _}}, other: iota::object::UID {id: iota::object::ID {bytes: _}}}]} -task 4 'programmable'. lines 138-139: +task 4 'programmable'. lines 139-140: mutated: object(0,0), object(2,8), object(2,9), object(2,10), object(2,11), object(2,12), object(2,13), object(2,14), object(2,15), object(2,16) gas summary: computation_cost: 1000000, storage_cost: 14303200, storage_rebate: 14160168, non_refundable_storage_fee: 143032 -task 5 'view-object'. lines 141-141: +task 5 'view-object'. lines 142-142: Owner: Account Address ( A ) Version: 3 Contents: test::m::S {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,8)}}, other: iota::object::UID {id: iota::object::ID {bytes: _}}, wrapped: test::m::Wrapped {id: iota::object::UID {id: iota::object::ID {bytes: _}}, other: iota::object::UID {id: iota::object::ID {bytes: _}}}, many: vector[test::m::Wrapped {id: iota::object::UID {id: iota::object::ID {bytes: _}}, other: iota::object::UID {id: iota::object::ID {bytes: _}}}, test::m::Wrapped {id: iota::object::UID {id: iota::object::ID {bytes: _}}, other: iota::object::UID {id: iota::object::ID {bytes: _}}}]} -task 6 'programmable'. lines 143-144: +task 6 'programmable'. lines 144-145: mutated: object(0,0), object(2,8) deleted: object(2,0), object(2,1), object(2,2), object(2,3), object(2,4), object(2,5), object(2,6), object(2,7), object(2,9), object(2,10), object(2,11), object(2,12), object(2,13), object(2,14), object(2,15), object(2,16) gas summary: computation_cost: 1000000, storage_cost: 3906400, storage_rebate: 33602184, non_refundable_storage_fee: 339416 -task 7 'view-object'. lines 146-149: +task 7 'view-object'. lines 147-150: Owner: Account Address ( A ) Version: 4 Contents: test::m::S {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,8)}}, other: iota::object::UID {id: iota::object::ID {bytes: _}}, wrapped: test::m::Wrapped {id: iota::object::UID {id: iota::object::ID {bytes: _}}, other: iota::object::UID {id: iota::object::ID {bytes: _}}}, many: vector[test::m::Wrapped {id: iota::object::UID {id: iota::object::ID {bytes: _}}, other: iota::object::UID {id: iota::object::ID {bytes: _}}}, test::m::Wrapped {id: iota::object::UID {id: iota::object::ID {bytes: _}}, other: iota::object::UID {id: iota::object::ID {bytes: _}}}]} -task 8 'programmable'. lines 151-152: +task 8 'programmable'. lines 152-153: mutated: object(_), object(2,8) gas summary: computation_cost: 500000, storage_cost: 3906400, storage_rebate: 2889216, non_refundable_storage_fee: 29184 -task 9 'programmable'. lines 154-155: +task 9 'programmable'. lines 155-156: mutated: object(_), object(2,8) gas summary: computation_cost: 500000, storage_cost: 3906400, storage_rebate: 2889216, non_refundable_storage_fee: 29184 -task 10 'programmable'. lines 157-161: +task 10 'programmable'. lines 158-162: mutated: object(_), object(2,8) gas summary: computation_cost: 500000, storage_cost: 3906400, storage_rebate: 2889216, non_refundable_storage_fee: 29184 -task 11 'programmable'. lines 163-164: +task 11 'programmable'. lines 164-165: Error: Transaction Effects Status: MoveAbort(MoveLocation { module: ModuleId { address: test, name: Identifier("m") }, function: 11, instruction: 18, function_name: Some("check_") }, 0) in command 0 Execution Error: MoveAbort(MoveLocation { module: ModuleId { address: test, name: Identifier("m") }, function: 11, instruction: 18, function_name: Some("check_") }, 0) in command 0 -task 12 'programmable'. lines 166-167: +task 12 'programmable'. lines 167-168: Error: Transaction Effects Status: MoveAbort(MoveLocation { module: ModuleId { address: iota, name: Identifier("dynamic_field") }, function: 11, instruction: 0, function_name: Some("borrow_child_object") }, 1) in command 0 Execution Error: MoveAbort(MoveLocation { module: ModuleId { address: iota, name: Identifier("dynamic_field") }, function: 11, instruction: 0, function_name: Some("borrow_child_object") }, 1) in command 0 -task 13 'programmable'. lines 169-170: +task 13 'programmable'. lines 170-171: Error: Transaction Effects Status: MoveAbort(MoveLocation { module: ModuleId { address: test, name: Identifier("m") }, function: 11, instruction: 26, function_name: Some("check_") }, 0) in command 0 Execution Error: MoveAbort(MoveLocation { module: ModuleId { address: test, name: Identifier("m") }, function: 11, instruction: 26, function_name: Some("check_") }, 0) in command 0 diff --git a/crates/iota-adapter-transactional-tests/tests/mvcc/v0/find_all_uids_dof.move b/crates/iota-adapter-transactional-tests/tests/mvcc/v0/find_all_uids_dof.move index a2a77b57cfa..f25183af6ca 100644 --- a/crates/iota-adapter-transactional-tests/tests/mvcc/v0/find_all_uids_dof.move +++ b/crates/iota-adapter-transactional-tests/tests/mvcc/v0/find_all_uids_dof.move @@ -4,7 +4,7 @@ // tests finding UIDs for dynamic object field access -//# init --addresses test=0x0 --accounts A --protocol-version 16 +//# init --addresses test=0x0 --accounts A --protocol-version 1 //# publish diff --git a/crates/iota-adapter-transactional-tests/tests/mvcc/v0/find_all_uids_on_child.exp b/crates/iota-adapter-transactional-tests/tests/mvcc/v0/find_all_uids_on_child.exp index d6a2494586f..d0e8f971df9 100644 --- a/crates/iota-adapter-transactional-tests/tests/mvcc/v0/find_all_uids_on_child.exp +++ b/crates/iota-adapter-transactional-tests/tests/mvcc/v0/find_all_uids_on_child.exp @@ -3,60 +3,60 @@ processed 14 tasks init: A: object(0,0) -task 1 'publish'. lines 8-140: +task 1 'publish'. lines 9-141: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 13862400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 142-144: +task 2 'programmable'. lines 143-145: created: object(2,0), object(2,1), object(2,2), object(2,3), object(2,4), object(2,5), object(2,6), object(2,7), object(2,8), object(2,9) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 17609200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'view-object'. lines 146-146: +task 3 'view-object'. lines 147-147: Owner: Account Address ( A ) Version: 2 Contents: test::m::Parent {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,9)}}} -task 4 'programmable'. lines 148-149: +task 4 'programmable'. lines 149-150: mutated: object(0,0), object(2,1), object(2,2), object(2,3), object(2,4), object(2,5), object(2,6), object(2,7), object(2,8), object(2,9) gas summary: computation_cost: 1000000, storage_cost: 13968800, storage_rebate: 13829112, non_refundable_storage_fee: 139688 -task 5 'view-object'. lines 151-151: +task 5 'view-object'. lines 152-152: Owner: Account Address ( A ) Version: 3 Contents: test::m::Parent {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,9)}}} -task 6 'programmable'. lines 153-154: +task 6 'programmable'. lines 154-155: mutated: object(0,0), object(2,9) deleted: object(2,1), object(2,2), object(2,3), object(2,4), object(2,5), object(2,6), object(2,7), object(2,8) gas summary: computation_cost: 1000000, storage_cost: 2234400, storage_rebate: 13829112, non_refundable_storage_fee: 139688 -task 7 'view-object'. lines 156-159: +task 7 'view-object'. lines 157-160: Owner: Account Address ( A ) Version: 4 Contents: test::m::Parent {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,9)}}} -task 8 'programmable'. lines 161-162: +task 8 'programmable'. lines 162-163: mutated: object(_), object(2,9) gas summary: computation_cost: 500000, storage_cost: 2234400, storage_rebate: 1233936, non_refundable_storage_fee: 12464 -task 9 'programmable'. lines 164-165: +task 9 'programmable'. lines 165-166: mutated: object(_), object(2,9) gas summary: computation_cost: 500000, storage_cost: 2234400, storage_rebate: 1233936, non_refundable_storage_fee: 12464 -task 10 'programmable'. lines 167-171: +task 10 'programmable'. lines 168-172: mutated: object(_), object(2,9) gas summary: computation_cost: 500000, storage_cost: 2234400, storage_rebate: 1233936, non_refundable_storage_fee: 12464 -task 11 'programmable'. lines 173-174: +task 11 'programmable'. lines 174-175: Error: Transaction Effects Status: MoveAbort(MoveLocation { module: ModuleId { address: test, name: Identifier("m") }, function: 14, instruction: 12, function_name: Some("check_") }, 0) in command 0 Execution Error: MoveAbort(MoveLocation { module: ModuleId { address: test, name: Identifier("m") }, function: 14, instruction: 12, function_name: Some("check_") }, 0) in command 0 -task 12 'programmable'. lines 176-177: +task 12 'programmable'. lines 177-178: Error: Transaction Effects Status: MoveAbort(MoveLocation { module: ModuleId { address: iota, name: Identifier("dynamic_field") }, function: 11, instruction: 0, function_name: Some("borrow_child_object") }, 1) in command 0 Execution Error: MoveAbort(MoveLocation { module: ModuleId { address: iota, name: Identifier("dynamic_field") }, function: 11, instruction: 0, function_name: Some("borrow_child_object") }, 1) in command 0 -task 13 'programmable'. lines 179-180: +task 13 'programmable'. lines 180-181: Error: Transaction Effects Status: MoveAbort(MoveLocation { module: ModuleId { address: test, name: Identifier("m") }, function: 14, instruction: 20, function_name: Some("check_") }, 0) in command 0 Execution Error: MoveAbort(MoveLocation { module: ModuleId { address: test, name: Identifier("m") }, function: 14, instruction: 20, function_name: Some("check_") }, 0) in command 0 diff --git a/crates/iota-adapter-transactional-tests/tests/mvcc/v0/find_all_uids_on_child.move b/crates/iota-adapter-transactional-tests/tests/mvcc/v0/find_all_uids_on_child.move index bb4b50bd745..b68c8e5260e 100644 --- a/crates/iota-adapter-transactional-tests/tests/mvcc/v0/find_all_uids_on_child.move +++ b/crates/iota-adapter-transactional-tests/tests/mvcc/v0/find_all_uids_on_child.move @@ -4,7 +4,7 @@ // tests finding UIDs for dynamic field access on a child object (non-input) -//# init --addresses test=0x0 --accounts A --protocol-version 16 +//# init --addresses test=0x0 --accounts A --protocol-version 1 //# publish diff --git a/crates/iota-adapter-transactional-tests/tests/mvcc/v0/middle_version_less_than_child.exp b/crates/iota-adapter-transactional-tests/tests/mvcc/v0/middle_version_less_than_child.exp index ca19df92b5d..b90487ac476 100644 --- a/crates/iota-adapter-transactional-tests/tests/mvcc/v0/middle_version_less_than_child.exp +++ b/crates/iota-adapter-transactional-tests/tests/mvcc/v0/middle_version_less_than_child.exp @@ -3,50 +3,50 @@ processed 11 tasks init: A: object(0,0) -task 1 'publish'. lines 8-51: +task 1 'publish'. lines 9-52: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 7493600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 53-57: +task 2 'programmable'. lines 54-58: created: object(2,0), object(2,1), object(2,2) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 6285200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'view-object'. lines 59-59: -Owner: Object ID: ( _ ) +task 3 'view-object'. lines 60-60: +Owner: Object ID: ( fake(2,2) ) Version: 2 Contents: iota::dynamic_field::Field {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}, name: 0u64, value: test::m::Obj {id: iota::object::UID {id: iota::object::ID {bytes: _}}, value: 0u64}} -task 4 'view-object'. lines 61-61: -Owner: Object ID: ( fake(2,2) ) +task 4 'view-object'. lines 62-62: +Owner: Object ID: ( _ ) Version: 2 Contents: iota::dynamic_field::Field {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}, name: 0u64, value: test::m::Obj {id: iota::object::UID {id: iota::object::ID {bytes: _}}, value: 0u64}} -task 5 'view-object'. lines 63-63: +task 5 'view-object'. lines 64-64: Owner: Account Address ( A ) Version: 2 Contents: test::m::Obj {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,2)}}, value: 0u64} -task 6 'programmable'. lines 65-68: -mutated: object(0,0), object(2,0), object(2,2) +task 6 'programmable'. lines 66-69: +mutated: object(0,0), object(2,1), object(2,2) gas summary: computation_cost: 1000000, storage_cost: 4278800, storage_rebate: 4236012, non_refundable_storage_fee: 42788 -task 7 'view-object'. lines 70-70: -Owner: Object ID: ( _ ) -Version: 3 -Contents: iota::dynamic_field::Field {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}, name: 0u64, value: test::m::Obj {id: iota::object::UID {id: iota::object::ID {bytes: _}}, value: 112u64}} - -task 8 'view-object'. lines 72-72: +task 7 'view-object'. lines 71-71: Owner: Object ID: ( fake(2,2) ) Version: 2 -Contents: iota::dynamic_field::Field {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}, name: 0u64, value: test::m::Obj {id: iota::object::UID {id: iota::object::ID {bytes: _}}, value: 0u64}} +Contents: iota::dynamic_field::Field {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}, name: 0u64, value: test::m::Obj {id: iota::object::UID {id: iota::object::ID {bytes: _}}, value: 0u64}} + +task 8 'view-object'. lines 73-73: +Owner: Object ID: ( _ ) +Version: 3 +Contents: iota::dynamic_field::Field {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}, name: 0u64, value: test::m::Obj {id: iota::object::UID {id: iota::object::ID {bytes: _}}, value: 112u64}} -task 9 'view-object'. lines 74-77: +task 9 'view-object'. lines 75-78: Owner: Account Address ( A ) Version: 3 Contents: test::m::Obj {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,2)}}, value: 0u64} -task 10 'programmable'. lines 79-80: +task 10 'programmable'. lines 80-81: mutated: object(0,0), object(2,2) gas summary: computation_cost: 1000000, storage_cost: 2272400, storage_rebate: 2249676, non_refundable_storage_fee: 22724 diff --git a/crates/iota-adapter-transactional-tests/tests/mvcc/v0/middle_version_less_than_child.move b/crates/iota-adapter-transactional-tests/tests/mvcc/v0/middle_version_less_than_child.move index 7506abc83c3..a8365574ed3 100644 --- a/crates/iota-adapter-transactional-tests/tests/mvcc/v0/middle_version_less_than_child.move +++ b/crates/iota-adapter-transactional-tests/tests/mvcc/v0/middle_version_less_than_child.move @@ -4,7 +4,7 @@ // tests accessing the versions of a child of a child -//# init --addresses test=0x0 --accounts A --protocol-version 16 +//# init --addresses test=0x0 --accounts A --protocol-version 1 //# publish diff --git a/crates/iota-adapter-transactional-tests/tests/mvcc/v0/not_root_version.exp b/crates/iota-adapter-transactional-tests/tests/mvcc/v0/not_root_version.exp index e46d70ca2c8..b8ebadb2810 100644 --- a/crates/iota-adapter-transactional-tests/tests/mvcc/v0/not_root_version.exp +++ b/crates/iota-adapter-transactional-tests/tests/mvcc/v0/not_root_version.exp @@ -3,64 +3,64 @@ processed 14 tasks init: P1: object(0,0), P2: object(0,1) -task 1 'publish'. lines 8-53: +task 1 'publish'. lines 9-54: created: object(1,0) mutated: object(0,2) gas summary: computation_cost: 1000000, storage_cost: 7432800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 55-57: +task 2 'programmable'. lines 56-58: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2196400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'programmable'. lines 59-60: +task 3 'programmable'. lines 60-61: mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 2196400, storage_rebate: 2174436, non_refundable_storage_fee: 21964 -task 4 'programmable'. lines 62-63: +task 4 'programmable'. lines 63-64: mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 2196400, storage_rebate: 2174436, non_refundable_storage_fee: 21964 -task 5 'view-object'. lines 65-68: +task 5 'view-object'. lines 66-69: Owner: Account Address ( P1 ) Version: 4 Contents: test::m::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 6 'programmable'. lines 70-72: +task 6 'programmable'. lines 71-73: created: object(6,0), object(6,1) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 3663200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 7 'view-object'. lines 74-74: +task 7 'view-object'. lines 75-75: Owner: Object ID: ( fake(6,1) ) Version: 2 Contents: iota::dynamic_field::Field {id: iota::object::UID {id: iota::object::ID {bytes: fake(6,0)}}, name: 0u64, value: 0u64} -task 8 'programmable'. lines 76-77: +task 8 'programmable'. lines 77-78: mutated: object(0,1), object(6,0), object(6,1) gas summary: computation_cost: 1000000, storage_cost: 3663200, storage_rebate: 3626568, non_refundable_storage_fee: 36632 -task 9 'view-object'. lines 79-83: +task 9 'view-object'. lines 80-84: Owner: Object ID: ( fake(6,1) ) Version: 3 Contents: iota::dynamic_field::Field {id: iota::object::UID {id: iota::object::ID {bytes: fake(6,0)}}, name: 0u64, value: 1u64} -task 10 'programmable'. lines 85-90: +task 10 'programmable'. lines 86-91: created: object(10,0) mutated: object(_), object(2,0) wrapped: object(6,1) gas summary: computation_cost: 500000, storage_cost: 4126800, storage_rebate: 2392632, non_refundable_storage_fee: 24168 -task 11 'programmable'. lines 92-96: +task 11 'programmable'. lines 93-97: created: object(10,0) mutated: object(_), object(2,0) wrapped: object(6,1) gas summary: computation_cost: 500000, storage_cost: 4126800, storage_rebate: 2392632, non_refundable_storage_fee: 24168 -task 12 'programmable'. lines 98-102: +task 12 'programmable'. lines 99-103: Error: Transaction Effects Status: MoveAbort(MoveLocation { module: ModuleId { address: test, name: Identifier("m") }, function: 4, instruction: 13, function_name: Some("check") }, 0) in command 1 Execution Error: MoveAbort(MoveLocation { module: ModuleId { address: test, name: Identifier("m") }, function: 4, instruction: 13, function_name: Some("check") }, 0) in command 1 -task 13 'programmable'. lines 104-106: +task 13 'programmable'. lines 105-107: Error: Transaction Effects Status: MoveAbort(MoveLocation { module: ModuleId { address: test, name: Identifier("m") }, function: 4, instruction: 13, function_name: Some("check") }, 0) in command 1 Execution Error: MoveAbort(MoveLocation { module: ModuleId { address: test, name: Identifier("m") }, function: 4, instruction: 13, function_name: Some("check") }, 0) in command 1 diff --git a/crates/iota-adapter-transactional-tests/tests/mvcc/v0/not_root_version.move b/crates/iota-adapter-transactional-tests/tests/mvcc/v0/not_root_version.move index 49211202abf..9f4aa1bc7ff 100644 --- a/crates/iota-adapter-transactional-tests/tests/mvcc/v0/not_root_version.move +++ b/crates/iota-adapter-transactional-tests/tests/mvcc/v0/not_root_version.move @@ -4,7 +4,7 @@ // tests accessing version of the input parent, not the runtime parent -//# init --addresses test=0x0 --accounts P1 P2 --protocol-version 16 +//# init --addresses test=0x0 --accounts P1 P2 --protocol-version 1 //# publish diff --git a/crates/iota-adapter-transactional-tests/tests/mvcc/v0/not_root_version_flipped_case.exp b/crates/iota-adapter-transactional-tests/tests/mvcc/v0/not_root_version_flipped_case.exp index 75e01454d1b..c6b68f8fd07 100644 --- a/crates/iota-adapter-transactional-tests/tests/mvcc/v0/not_root_version_flipped_case.exp +++ b/crates/iota-adapter-transactional-tests/tests/mvcc/v0/not_root_version_flipped_case.exp @@ -3,56 +3,56 @@ processed 12 tasks init: P1: object(0,0), P2: object(0,1) -task 1 'publish'. lines 8-53: +task 1 'publish'. lines 9-54: created: object(1,0) mutated: object(0,2) gas summary: computation_cost: 1000000, storage_cost: 7432800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 55-57: +task 2 'programmable'. lines 56-58: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2196400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'view-object'. lines 60-63: +task 3 'view-object'. lines 61-64: Owner: Account Address ( P1 ) Version: 2 Contents: test::m::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 4 'programmable'. lines 65-67: +task 4 'programmable'. lines 66-68: created: object(4,0), object(4,1) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 3663200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 5 'view-object'. lines 69-69: +task 5 'view-object'. lines 70-70: Owner: Object ID: ( fake(4,1) ) Version: 2 Contents: iota::dynamic_field::Field {id: iota::object::UID {id: iota::object::ID {bytes: fake(4,0)}}, name: 0u64, value: 0u64} -task 6 'programmable'. lines 71-72: +task 6 'programmable'. lines 72-73: mutated: object(0,1), object(4,0), object(4,1) gas summary: computation_cost: 1000000, storage_cost: 3663200, storage_rebate: 3626568, non_refundable_storage_fee: 36632 -task 7 'view-object'. lines 74-77: +task 7 'view-object'. lines 75-78: Owner: Object ID: ( fake(4,1) ) Version: 3 Contents: iota::dynamic_field::Field {id: iota::object::UID {id: iota::object::ID {bytes: fake(4,0)}}, name: 0u64, value: 1u64} -task 8 'programmable'. lines 79-84: +task 8 'programmable'. lines 80-85: created: object(8,0) mutated: object(_), object(2,0) wrapped: object(4,1) gas summary: computation_cost: 500000, storage_cost: 4126800, storage_rebate: 2392632, non_refundable_storage_fee: 24168 -task 9 'programmable'. lines 86-90: +task 9 'programmable'. lines 87-91: created: object(8,0) mutated: object(_), object(2,0) wrapped: object(4,1) gas summary: computation_cost: 500000, storage_cost: 4126800, storage_rebate: 2392632, non_refundable_storage_fee: 24168 -task 10 'programmable'. lines 92-96: +task 10 'programmable'. lines 93-97: Error: Transaction Effects Status: MoveAbort(MoveLocation { module: ModuleId { address: test, name: Identifier("m") }, function: 4, instruction: 13, function_name: Some("check") }, 0) in command 1 Execution Error: MoveAbort(MoveLocation { module: ModuleId { address: test, name: Identifier("m") }, function: 4, instruction: 13, function_name: Some("check") }, 0) in command 1 -task 11 'programmable'. lines 98-100: +task 11 'programmable'. lines 99-101: Error: Transaction Effects Status: MoveAbort(MoveLocation { module: ModuleId { address: test, name: Identifier("m") }, function: 4, instruction: 13, function_name: Some("check") }, 0) in command 1 Execution Error: MoveAbort(MoveLocation { module: ModuleId { address: test, name: Identifier("m") }, function: 4, instruction: 13, function_name: Some("check") }, 0) in command 1 diff --git a/crates/iota-adapter-transactional-tests/tests/mvcc/v0/not_root_version_flipped_case.move b/crates/iota-adapter-transactional-tests/tests/mvcc/v0/not_root_version_flipped_case.move index 667c3ca2b47..8ded71ee47d 100644 --- a/crates/iota-adapter-transactional-tests/tests/mvcc/v0/not_root_version_flipped_case.move +++ b/crates/iota-adapter-transactional-tests/tests/mvcc/v0/not_root_version_flipped_case.move @@ -4,7 +4,7 @@ // tests accessing version of the input parent, not the runtime parent -//# init --addresses test=0x0 --accounts P1 P2 --protocol-version 16 +//# init --addresses test=0x0 --accounts P1 P2 --protocol-version 1 //# publish diff --git a/crates/iota-adapter-transactional-tests/tests/programmable/borrowed_arg_copyable_invalid.exp b/crates/iota-adapter-transactional-tests/tests/programmable/borrowed_arg_copyable_invalid.exp index d30efaa3979..7e4efaa4908 100644 --- a/crates/iota-adapter-transactional-tests/tests/programmable/borrowed_arg_copyable_invalid.exp +++ b/crates/iota-adapter-transactional-tests/tests/programmable/borrowed_arg_copyable_invalid.exp @@ -3,23 +3,23 @@ processed 6 tasks init: A: object(0,0) -task 1 'publish'. lines 8-15: +task 1 'publish'. lines 9-16: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 4461200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 17-18: +task 2 'programmable'. lines 18-19: Error: Transaction Effects Status: Invalid command argument at 1. Invalid usage of value. Mutably borrowed values require unique usage. Immutably borrowed values cannot be taken or borrowed mutably. Taken values cannot be used again. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: InvalidValueUsage }, source: None, command: Some(0) } } -task 3 'programmable'. lines 20-21: +task 3 'programmable'. lines 21-22: Error: Transaction Effects Status: Invalid command argument at 1. Invalid usage of value. Mutably borrowed values require unique usage. Immutably borrowed values cannot be taken or borrowed mutably. Taken values cannot be used again. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: InvalidValueUsage }, source: None, command: Some(0) } } -task 4 'programmable'. lines 23-24: +task 4 'programmable'. lines 24-25: Error: Transaction Effects Status: Invalid command argument at 1. Invalid usage of value. Mutably borrowed values require unique usage. Immutably borrowed values cannot be taken or borrowed mutably. Taken values cannot be used again. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: InvalidValueUsage }, source: None, command: Some(0) } } -task 5 'programmable'. lines 26-27: +task 5 'programmable'. lines 27-28: Error: Transaction Effects Status: Invalid command argument at 2. Invalid usage of value. Mutably borrowed values require unique usage. Immutably borrowed values cannot be taken or borrowed mutably. Taken values cannot be used again. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 2, kind: InvalidValueUsage }, source: None, command: Some(0) } } diff --git a/crates/iota-adapter-transactional-tests/tests/programmable/borrowed_arg_non_copyable_invalid.exp b/crates/iota-adapter-transactional-tests/tests/programmable/borrowed_arg_non_copyable_invalid.exp index 9350fc34bc3..786f1e9eca7 100644 --- a/crates/iota-adapter-transactional-tests/tests/programmable/borrowed_arg_non_copyable_invalid.exp +++ b/crates/iota-adapter-transactional-tests/tests/programmable/borrowed_arg_non_copyable_invalid.exp @@ -3,39 +3,39 @@ processed 10 tasks init: A: object(0,0) -task 1 'publish'. lines 8-24: +task 1 'publish'. lines 9-25: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 6414400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 26-28: +task 2 'programmable'. lines 27-29: Error: Transaction Effects Status: Invalid command argument at 1. Invalid usage of value. Mutably borrowed values require unique usage. Immutably borrowed values cannot be taken or borrowed mutably. Taken values cannot be used again. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: InvalidValueUsage }, source: None, command: Some(1) } } -task 3 'programmable'. lines 30-32: +task 3 'programmable'. lines 31-33: Error: Transaction Effects Status: Invalid command argument at 1. Invalid usage of value. Mutably borrowed values require unique usage. Immutably borrowed values cannot be taken or borrowed mutably. Taken values cannot be used again. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: InvalidValueUsage }, source: None, command: Some(1) } } -task 4 'programmable'. lines 34-36: +task 4 'programmable'. lines 35-37: Error: Transaction Effects Status: Invalid command argument at 1. Invalid usage of value. Mutably borrowed values require unique usage. Immutably borrowed values cannot be taken or borrowed mutably. Taken values cannot be used again. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: InvalidValueUsage }, source: None, command: Some(1) } } -task 5 'programmable'. lines 38-40: +task 5 'programmable'. lines 39-41: Error: Transaction Effects Status: Invalid command argument at 1. Invalid usage of value. Mutably borrowed values require unique usage. Immutably borrowed values cannot be taken or borrowed mutably. Taken values cannot be used again. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: InvalidValueUsage }, source: None, command: Some(1) } } -task 6 'programmable'. lines 42-44: +task 6 'programmable'. lines 43-45: Error: Transaction Effects Status: Invalid command argument at 1. Invalid usage of value. Mutably borrowed values require unique usage. Immutably borrowed values cannot be taken or borrowed mutably. Taken values cannot be used again. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: InvalidValueUsage }, source: None, command: Some(1) } } -task 7 'programmable'. lines 46-48: +task 7 'programmable'. lines 47-49: Error: Transaction Effects Status: Invalid command argument at 1. Invalid usage of value. Mutably borrowed values require unique usage. Immutably borrowed values cannot be taken or borrowed mutably. Taken values cannot be used again. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: InvalidValueUsage }, source: None, command: Some(1) } } -task 8 'programmable'. lines 50-52: +task 8 'programmable'. lines 51-53: Error: Transaction Effects Status: Invalid command argument at 1. Invalid usage of value. Mutably borrowed values require unique usage. Immutably borrowed values cannot be taken or borrowed mutably. Taken values cannot be used again. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: InvalidValueUsage }, source: None, command: Some(1) } } -task 9 'programmable'. lines 54-56: +task 9 'programmable'. lines 55-57: Error: Transaction Effects Status: Invalid command argument at 1. Invalid usage of value. Mutably borrowed values require unique usage. Immutably borrowed values cannot be taken or borrowed mutably. Taken values cannot be used again. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: InvalidValueUsage }, source: None, command: Some(1) } } diff --git a/crates/iota-adapter-transactional-tests/tests/programmable/borrowed_arg_primitives_invalid.exp b/crates/iota-adapter-transactional-tests/tests/programmable/borrowed_arg_primitives_invalid.exp index 8acb01b475a..49deebf5c13 100644 --- a/crates/iota-adapter-transactional-tests/tests/programmable/borrowed_arg_primitives_invalid.exp +++ b/crates/iota-adapter-transactional-tests/tests/programmable/borrowed_arg_primitives_invalid.exp @@ -3,18 +3,18 @@ processed 5 tasks init: A: object(0,0), B: object(0,1) -task 1 'programmable'. lines 8-9: +task 1 'programmable'. lines 9-10: Error: Transaction Effects Status: Invalid command argument at 1. Invalid usage of value. Mutably borrowed values require unique usage. Immutably borrowed values cannot be taken or borrowed mutably. Taken values cannot be used again. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: InvalidValueUsage }, source: None, command: Some(0) } } -task 2 'programmable'. lines 11-12: +task 2 'programmable'. lines 12-13: mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'programmable'. lines 14-15: +task 3 'programmable'. lines 15-16: Error: Transaction Effects Status: Invalid command argument at 1. Invalid usage of value. Mutably borrowed values require unique usage. Immutably borrowed values cannot be taken or borrowed mutably. Taken values cannot be used again. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: InvalidValueUsage }, source: None, command: Some(0) } } -task 4 'programmable'. lines 17-18: +task 4 'programmable'. lines 18-19: Error: Transaction Effects Status: Invalid command argument at 1. Invalid usage of value. Mutably borrowed values require unique usage. Immutably borrowed values cannot be taken or borrowed mutably. Taken values cannot be used again. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: InvalidValueUsage }, source: None, command: Some(0) } } diff --git a/crates/iota-adapter-transactional-tests/tests/programmable/borrowed_arg_valid.exp b/crates/iota-adapter-transactional-tests/tests/programmable/borrowed_arg_valid.exp index bcd5f023bbc..4c19975c141 100644 --- a/crates/iota-adapter-transactional-tests/tests/programmable/borrowed_arg_valid.exp +++ b/crates/iota-adapter-transactional-tests/tests/programmable/borrowed_arg_valid.exp @@ -3,15 +3,15 @@ processed 4 tasks init: A: object(0,0) -task 1 'publish'. lines 8-24: +task 1 'publish'. lines 9-25: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 5388400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 26-35: +task 2 'programmable'. lines 27-36: mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'programmable'. lines 37-40: +task 3 'programmable'. lines 38-41: mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 diff --git a/crates/iota-adapter-transactional-tests/tests/programmable/cannot_call_emit.exp b/crates/iota-adapter-transactional-tests/tests/programmable/cannot_call_emit.exp index 9181dc8d904..88846780af9 100644 --- a/crates/iota-adapter-transactional-tests/tests/programmable/cannot_call_emit.exp +++ b/crates/iota-adapter-transactional-tests/tests/programmable/cannot_call_emit.exp @@ -3,19 +3,19 @@ processed 5 tasks init: A: object(0,0) -task 1 'publish'. lines 8-12: +task 1 'publish'. lines 9-13: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 3906400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 14-16: +task 2 'programmable'. lines 15-17: Error: Transaction Effects Status: Non Entry Function Invoked. Move Call must start with an entry function Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: NonEntryFunctionInvoked, source: Some("Cannot directly call functions in iota::event"), command: Some(1) } } -task 3 'programmable'. lines 18-21: +task 3 'programmable'. lines 19-22: Error: Transaction Effects Status: Non Entry Function Invoked. Move Call must start with an entry function Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: NonEntryFunctionInvoked, source: Some("Cannot directly call functions in iota::event"), command: Some(1) } } -task 4 'programmable'. lines 23-26: +task 4 'programmable'. lines 24-27: Error: Transaction Effects Status: Function Not Found. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: FunctionNotFound, source: Some("Could not resolve function 'does_not_exist' in module iota::event"), command: Some(1) } } diff --git a/crates/iota-adapter-transactional-tests/tests/programmable/cannot_call_init.exp b/crates/iota-adapter-transactional-tests/tests/programmable/cannot_call_init.exp index db77f588725..af13adfe801 100644 --- a/crates/iota-adapter-transactional-tests/tests/programmable/cannot_call_init.exp +++ b/crates/iota-adapter-transactional-tests/tests/programmable/cannot_call_init.exp @@ -3,11 +3,11 @@ processed 3 tasks init: A: object(0,0) -task 1 'publish'. lines 8-11: +task 1 'publish'. lines 9-12: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 3898800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 13-14: +task 2 'programmable'. lines 14-15: Error: Transaction Effects Status: Non Entry Function Invoked. Move Call must start with an entry function Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: NonEntryFunctionInvoked, source: Some("Cannot call 'init'"), command: Some(0) } } diff --git a/crates/iota-adapter-transactional-tests/tests/programmable/cannot_call_private.exp b/crates/iota-adapter-transactional-tests/tests/programmable/cannot_call_private.exp index 098b779ff45..f27877f8e28 100644 --- a/crates/iota-adapter-transactional-tests/tests/programmable/cannot_call_private.exp +++ b/crates/iota-adapter-transactional-tests/tests/programmable/cannot_call_private.exp @@ -3,11 +3,11 @@ processed 3 tasks init: A: object(0,0) -task 1 'publish'. lines 8-11: +task 1 'publish'. lines 9-12: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 3898800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 13-14: +task 2 'programmable'. lines 14-15: Error: Transaction Effects Status: Non Entry Function Invoked. Move Call must start with an entry function Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: NonEntryFunctionInvoked, source: Some("Can only call `entry` or `public` functions"), command: Some(0) } } diff --git a/crates/iota-adapter-transactional-tests/tests/programmable/coin_negative.exp b/crates/iota-adapter-transactional-tests/tests/programmable/coin_negative.exp index 7a63cd41fa4..898600554e3 100644 --- a/crates/iota-adapter-transactional-tests/tests/programmable/coin_negative.exp +++ b/crates/iota-adapter-transactional-tests/tests/programmable/coin_negative.exp @@ -3,20 +3,20 @@ processed 5 tasks init: A: object(0,0) -task 1 'publish'. lines 8-20: +task 1 'publish'. lines 9-21: created: object(1,0), object(1,1), object(1,2) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 10617200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 22-24: +task 2 'programmable'. lines 23-25: created: object(2,0) mutated: object(0,0), object(1,2) gas summary: computation_cost: 1000000, storage_cost: 4012800, storage_rebate: 2663496, non_refundable_storage_fee: 26904 -task 3 'programmable'. lines 26-27: +task 3 'programmable'. lines 27-28: Error: Transaction Effects Status: Insufficient coin balance for operation. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: InsufficientCoinBalance, source: Some("balance: 1 required: 2"), command: Some(0) } } -task 4 'programmable'. lines 29-30: +task 4 'programmable'. lines 30-31: Error: Transaction Effects Status: Insufficient coin balance for operation. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: InsufficientCoinBalance, source: Some("balance: 299989985010392 required: 18446744073709551615"), command: Some(0) } } diff --git a/crates/iota-adapter-transactional-tests/tests/programmable/coin_operations_custom_coin.exp b/crates/iota-adapter-transactional-tests/tests/programmable/coin_operations_custom_coin.exp index 5064d1e70ea..e26682575ee 100644 --- a/crates/iota-adapter-transactional-tests/tests/programmable/coin_operations_custom_coin.exp +++ b/crates/iota-adapter-transactional-tests/tests/programmable/coin_operations_custom_coin.exp @@ -3,22 +3,22 @@ processed 5 tasks init: A: object(0,0) -task 1 'publish'. lines 8-20: +task 1 'publish'. lines 9-21: created: object(1,0), object(1,1), object(1,2) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 10617200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 22-24: +task 2 'programmable'. lines 23-25: created: object(2,0) mutated: object(0,0), object(1,2) gas summary: computation_cost: 1000000, storage_cost: 4012800, storage_rebate: 2663496, non_refundable_storage_fee: 26904 -task 3 'view-object'. lines 26-26: +task 3 'view-object'. lines 27-27: Owner: Account Address ( A ) Version: 3 Contents: iota::coin::Coin {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}, balance: iota::balance::Balance {value: 100u64}} -task 4 'programmable'. lines 28-34: +task 4 'programmable'. lines 29-35: created: object(4,0) mutated: object(0,0), object(1,2) deleted: object(2,0) diff --git a/crates/iota-adapter-transactional-tests/tests/programmable/coin_operations_non_coins.exp b/crates/iota-adapter-transactional-tests/tests/programmable/coin_operations_non_coins.exp index d9b20f8bed7..0599e7c93f5 100644 --- a/crates/iota-adapter-transactional-tests/tests/programmable/coin_operations_non_coins.exp +++ b/crates/iota-adapter-transactional-tests/tests/programmable/coin_operations_non_coins.exp @@ -3,27 +3,27 @@ processed 7 tasks init: A: object(0,0) -task 1 'publish'. lines 8-25: +task 1 'publish'. lines 9-26: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 4894400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 26-30: +task 2 'programmable'. lines 27-31: Error: Transaction Effects Status: Invalid command argument at 0. The type of the value does not match the expected type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: TypeMismatch }, source: Some("Expected a coin but got an non coin object"), command: Some(1) } } -task 3 'programmable'. lines 31-35: +task 3 'programmable'. lines 32-36: Error: Transaction Effects Status: Invalid command argument at 0. The type of the value does not match the expected type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: TypeMismatch }, source: Some("Expected a coin but got an non coin object"), command: Some(1) } } -task 4 'programmable'. lines 36-38: +task 4 'programmable'. lines 37-39: Error: Transaction Effects Status: Invalid command argument at 1. The type of the value does not match the expected type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: TypeMismatch }, source: Some("Coins do not have the same type"), command: Some(1) } } -task 5 'programmable'. lines 40-41: +task 5 'programmable'. lines 41-42: Error: Transaction Effects Status: Invalid command argument at 1. The type of the value does not match the expected type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: TypeMismatch }, source: None, command: Some(0) } } -task 6 'programmable'. lines 43-44: +task 6 'programmable'. lines 44-45: Error: Transaction Effects Status: Invalid command argument at 1. The type of the value does not match the expected type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: TypeMismatch }, source: None, command: Some(0) } } diff --git a/crates/iota-adapter-transactional-tests/tests/programmable/coin_overflow.exp b/crates/iota-adapter-transactional-tests/tests/programmable/coin_overflow.exp index 174fdf88b6a..e2f05207574 100644 --- a/crates/iota-adapter-transactional-tests/tests/programmable/coin_overflow.exp +++ b/crates/iota-adapter-transactional-tests/tests/programmable/coin_overflow.exp @@ -3,20 +3,20 @@ processed 5 tasks init: A: object(0,0) -task 1 'publish'. lines 8-20: +task 1 'publish'. lines 9-21: created: object(1,0), object(1,1), object(1,2) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 10617200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 22-24: +task 2 'programmable'. lines 23-25: created: object(2,0) mutated: object(0,0), object(1,2) gas summary: computation_cost: 1000000, storage_cost: 4012800, storage_rebate: 2663496, non_refundable_storage_fee: 26904 -task 3 'programmable'. lines 26-28: +task 3 'programmable'. lines 27-29: Error: Transaction Effects Status: Move Runtime Abort. Location: iota::balance::increase_supply (function index 3) at offset 12, Abort Code: 1 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: iota, name: Identifier("balance") }, function: 3, instruction: 12, function_name: Some("increase_supply") }, 1), source: Some(VMError { major_status: ABORTED, sub_status: Some(1), message: Some("iota::balance::increase_supply at offset 12"), exec_state: None, location: Module(ModuleId { address: iota, name: Identifier("balance") }), indices: [], offsets: [(FunctionDefinitionIndex(3), 12)] }), command: Some(0) } } -task 4 'programmable'. lines 30-31: +task 4 'programmable'. lines 31-32: Error: Transaction Effects Status: Invalid command argument at 1. Invalid usage of value. Mutably borrowed values require unique usage. Immutably borrowed values cannot be taken or borrowed mutably. Taken values cannot be used again. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: InvalidValueUsage }, source: None, command: Some(0) } } diff --git a/crates/iota-adapter-transactional-tests/tests/programmable/delayed_invalid_gas_by_value.exp b/crates/iota-adapter-transactional-tests/tests/programmable/delayed_invalid_gas_by_value.exp index 2443e1dd02e..70fa0dcb0c2 100644 --- a/crates/iota-adapter-transactional-tests/tests/programmable/delayed_invalid_gas_by_value.exp +++ b/crates/iota-adapter-transactional-tests/tests/programmable/delayed_invalid_gas_by_value.exp @@ -3,19 +3,19 @@ processed 5 tasks init: A: object(0,0) -task 1 'publish'. lines 8-13: +task 1 'publish'. lines 9-14: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 3990000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 15-17: +task 2 'programmable'. lines 16-18: Error: Transaction Effects Status: Invalid command argument at 0. Invalid usage of value. Mutably borrowed values require unique usage. Immutably borrowed values cannot be taken or borrowed mutably. Taken values cannot be used again. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: InvalidValueUsage }, source: None, command: Some(1) } } -task 3 'programmable'. lines 19-20: +task 3 'programmable'. lines 20-21: Error: Transaction Effects Status: Invalid command argument at 1. Invalid usage of value. Mutably borrowed values require unique usage. Immutably borrowed values cannot be taken or borrowed mutably. Taken values cannot be used again. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: InvalidValueUsage }, source: None, command: Some(0) } } -task 4 'programmable'. lines 22-23: +task 4 'programmable'. lines 23-24: Error: Transaction Effects Status: Invalid command argument at 1. Invalid usage of value. Mutably borrowed values require unique usage. Immutably borrowed values cannot be taken or borrowed mutably. Taken values cannot be used again. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: InvalidValueUsage }, source: None, command: Some(0) } } diff --git a/crates/iota-adapter-transactional-tests/tests/programmable/delayed_invalid_object_by_value.exp b/crates/iota-adapter-transactional-tests/tests/programmable/delayed_invalid_object_by_value.exp index 79e049acd9e..57f92ca744e 100644 --- a/crates/iota-adapter-transactional-tests/tests/programmable/delayed_invalid_object_by_value.exp +++ b/crates/iota-adapter-transactional-tests/tests/programmable/delayed_invalid_object_by_value.exp @@ -3,33 +3,33 @@ processed 8 tasks init: A: object(0,0) -task 1 'publish'. lines 8-28: +task 1 'publish'. lines 9-29: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 5760800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 30-31: +task 2 'programmable'. lines 31-32: created: object(2,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 2204000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'programmable'. lines 33-34: +task 3 'programmable'. lines 34-35: Error: Transaction Effects Status: Invalid command argument at 1. Invalid usage of value. Mutably borrowed values require unique usage. Immutably borrowed values cannot be taken or borrowed mutably. Taken values cannot be used again. Debug of error: CommandArgumentError { arg_idx: 1, kind: InvalidValueUsage } at command Some(0) -task 4 'programmable'. lines 36-37: +task 4 'programmable'. lines 37-38: Error: Transaction Effects Status: Invalid command argument at 1. Invalid usage of value. Mutably borrowed values require unique usage. Immutably borrowed values cannot be taken or borrowed mutably. Taken values cannot be used again. Debug of error: CommandArgumentError { arg_idx: 1, kind: InvalidValueUsage } at command Some(0) -task 5 'programmable'. lines 39-40: +task 5 'programmable'. lines 40-41: created: object(5,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 2204000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 6 'programmable'. lines 42-43: +task 6 'programmable'. lines 43-44: Error: Transaction Effects Status: Invalid command argument at 1. Invalid usage of value. Mutably borrowed values require unique usage. Immutably borrowed values cannot be taken or borrowed mutably. Taken values cannot be used again. Debug of error: CommandArgumentError { arg_idx: 1, kind: InvalidValueUsage } at command Some(0) -task 7 'programmable'. lines 45-46: +task 7 'programmable'. lines 46-47: Error: Transaction Effects Status: Invalid command argument at 1. Invalid usage of value. Mutably borrowed values require unique usage. Immutably borrowed values cannot be taken or borrowed mutably. Taken values cannot be used again. Debug of error: CommandArgumentError { arg_idx: 1, kind: InvalidValueUsage } at command Some(0) diff --git a/crates/iota-adapter-transactional-tests/tests/programmable/gas_coin_by_reference.exp b/crates/iota-adapter-transactional-tests/tests/programmable/gas_coin_by_reference.exp index f685124dc99..ed42f9db657 100644 --- a/crates/iota-adapter-transactional-tests/tests/programmable/gas_coin_by_reference.exp +++ b/crates/iota-adapter-transactional-tests/tests/programmable/gas_coin_by_reference.exp @@ -3,35 +3,35 @@ processed 9 tasks init: A: object(0,0) -task 1 'publish'. lines 8-24: +task 1 'publish'. lines 9-25: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 4058400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 25-26: +task 2 'programmable'. lines 26-27: mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'programmable'. lines 28-29: +task 3 'programmable'. lines 29-30: mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 4 'programmable'. lines 31-32: +task 4 'programmable'. lines 32-33: mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 5 'programmable'. lines 34-35: +task 5 'programmable'. lines 35-36: mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 6 'programmable'. lines 37-38: +task 6 'programmable'. lines 38-39: mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 7 'programmable'. lines 40-43: +task 7 'programmable'. lines 41-44: mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 8 'programmable'. lines 44-46: +task 8 'programmable'. lines 45-47: mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 diff --git a/crates/iota-adapter-transactional-tests/tests/programmable/gas_coin_by_value.exp b/crates/iota-adapter-transactional-tests/tests/programmable/gas_coin_by_value.exp index ad596784800..52454bf478d 100644 --- a/crates/iota-adapter-transactional-tests/tests/programmable/gas_coin_by_value.exp +++ b/crates/iota-adapter-transactional-tests/tests/programmable/gas_coin_by_value.exp @@ -3,11 +3,11 @@ processed 3 tasks init: A: object(0,0), B: object(0,1) -task 1 'programmable'. lines 8-9: +task 1 'programmable'. lines 9-10: mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'view-object'. lines 11-11: +task 2 'view-object'. lines 12-12: Owner: Account Address ( B ) Version: 2 Contents: iota::coin::Coin {id: iota::object::UID {id: iota::object::ID {bytes: fake(0,0)}}, balance: iota::balance::Balance {value: 299999998012000u64}} diff --git a/crates/iota-adapter-transactional-tests/tests/programmable/gas_coin_by_value_invalid.exp b/crates/iota-adapter-transactional-tests/tests/programmable/gas_coin_by_value_invalid.exp index f6e6c531add..8ee4fd07b01 100644 --- a/crates/iota-adapter-transactional-tests/tests/programmable/gas_coin_by_value_invalid.exp +++ b/crates/iota-adapter-transactional-tests/tests/programmable/gas_coin_by_value_invalid.exp @@ -3,31 +3,31 @@ processed 8 tasks init: A: object(0,0) -task 1 'publish'. lines 8-23: +task 1 'publish'. lines 9-24: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 3860800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 24-25: +task 2 'programmable'. lines 25-26: Error: Transaction Effects Status: Invalid command argument at 0. Invalid taking of the Gas coin. It can only be used by-value with TransferObjects Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: InvalidGasCoinUsage }, source: None, command: Some(0) } } -task 3 'programmable'. lines 27-28: +task 3 'programmable'. lines 28-29: Error: Transaction Effects Status: Invalid command argument at 0. Invalid taking of the Gas coin. It can only be used by-value with TransferObjects Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: InvalidGasCoinUsage }, source: None, command: Some(0) } } -task 4 'programmable'. lines 30-33: +task 4 'programmable'. lines 31-34: Error: Transaction Effects Status: Invalid command argument at 0. Invalid taking of the Gas coin. It can only be used by-value with TransferObjects Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: InvalidGasCoinUsage }, source: None, command: Some(0) } } -task 5 'programmable'. lines 34-38: +task 5 'programmable'. lines 35-39: Error: Transaction Effects Status: Invalid command argument at 1. Invalid taking of the Gas coin. It can only be used by-value with TransferObjects Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: InvalidGasCoinUsage }, source: None, command: Some(1) } } -task 6 'programmable'. lines 39-42: +task 6 'programmable'. lines 40-43: Error: Transaction Effects Status: Invalid command argument at 0. Invalid taking of the Gas coin. It can only be used by-value with TransferObjects Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: InvalidGasCoinUsage }, source: None, command: Some(0) } } -task 7 'programmable'. lines 43-45: +task 7 'programmable'. lines 44-46: Error: Transaction Effects Status: Invalid command argument at 0. Invalid usage of value. Mutably borrowed values require unique usage. Immutably borrowed values cannot be taken or borrowed mutably. Taken values cannot be used again. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: InvalidValueUsage }, source: None, command: Some(1) } } diff --git a/crates/iota-adapter-transactional-tests/tests/programmable/generics_substitution.exp b/crates/iota-adapter-transactional-tests/tests/programmable/generics_substitution.exp index d29462e8492..c956e149f7c 100644 --- a/crates/iota-adapter-transactional-tests/tests/programmable/generics_substitution.exp +++ b/crates/iota-adapter-transactional-tests/tests/programmable/generics_substitution.exp @@ -3,15 +3,15 @@ processed 4 tasks init: A: object(0,0) -task 1 'publish'. lines 8-26: +task 1 'publish'. lines 9-27: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 5456800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 27-36: +task 2 'programmable'. lines 28-37: mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'programmable'. lines 37-44: +task 3 'programmable'. lines 38-45: Error: Transaction Effects Status: Invalid command argument at 0. The type of the value does not match the expected type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: TypeMismatch }, source: None, command: Some(5) } } diff --git a/crates/iota-adapter-transactional-tests/tests/programmable/invalid_option.exp b/crates/iota-adapter-transactional-tests/tests/programmable/invalid_option.exp index a49ec725348..a15576df022 100644 --- a/crates/iota-adapter-transactional-tests/tests/programmable/invalid_option.exp +++ b/crates/iota-adapter-transactional-tests/tests/programmable/invalid_option.exp @@ -3,79 +3,79 @@ processed 20 tasks init: A: object(0,0) -task 1 'publish'. lines 8-15: +task 1 'publish'. lines 9-16: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 4423200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 17-18: +task 2 'programmable'. lines 18-19: Error: Transaction Effects Status: Invalid command argument at 0. The argument cannot be deserialized into a value of the specified type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: InvalidBCSBytes }, source: Some("Function expects std::option::Option but provided argument's value does not match"), command: Some(0) } } -task 3 'programmable'. lines 20-21: +task 3 'programmable'. lines 21-22: Error: Transaction Effects Status: Invalid command argument at 0. The argument cannot be deserialized into a value of the specified type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: InvalidBCSBytes }, source: Some("Function expects std::option::Option but provided argument's value does not match"), command: Some(0) } } -task 4 'programmable'. lines 23-24: +task 4 'programmable'. lines 24-25: Error: Transaction Effects Status: Invalid command argument at 0. The argument cannot be deserialized into a value of the specified type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: InvalidBCSBytes }, source: Some("Function expects std::option::Option but provided argument's value does not match"), command: Some(0) } } -task 5 'programmable'. lines 26-27: +task 5 'programmable'. lines 27-28: Error: Transaction Effects Status: Invalid command argument at 0. The argument cannot be deserialized into a value of the specified type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: InvalidBCSBytes }, source: Some("Function expects std::option::Option but provided argument's value does not match"), command: Some(0) } } -task 6 'programmable'. lines 29-30: +task 6 'programmable'. lines 30-31: Error: Transaction Effects Status: Invalid command argument at 0. The argument cannot be deserialized into a value of the specified type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: InvalidBCSBytes }, source: Some("Function expects std::option::Option but provided argument's value does not match"), command: Some(0) } } -task 7 'programmable'. lines 32-33: +task 7 'programmable'. lines 33-34: Error: Transaction Effects Status: Invalid command argument at 0. The argument cannot be deserialized into a value of the specified type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: InvalidBCSBytes }, source: Some("Function expects std::option::Option but provided argument's value does not match"), command: Some(0) } } -task 8 'programmable'. lines 35-36: +task 8 'programmable'. lines 36-37: Error: Transaction Effects Status: Invalid command argument at 0. The argument cannot be deserialized into a value of the specified type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: InvalidBCSBytes }, source: Some("Function expects std::option::Option but provided argument's value does not match"), command: Some(0) } } -task 9 'programmable'. lines 38-39: +task 9 'programmable'. lines 39-40: Error: Transaction Effects Status: Invalid command argument at 0. The argument cannot be deserialized into a value of the specified type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: InvalidBCSBytes }, source: Some("Function expects std::option::Option
but provided argument's value does not match"), command: Some(0) } } -task 10 'programmable'. lines 41-45: +task 10 'programmable'. lines 42-46: Error: Transaction Effects Status: Invalid command argument at 0. The argument cannot be deserialized into a value of the specified type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: InvalidBCSBytes }, source: Some("Function expects std::option::Option
but provided argument's value does not match"), command: Some(0) } } -task 11 'programmable'. lines 47-48: +task 11 'programmable'. lines 48-49: Error: Transaction Effects Status: Invalid command argument at 0. The argument cannot be deserialized into a value of the specified type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: InvalidBCSBytes }, source: Some("Function expects std::option::Option> but provided argument's value does not match"), command: Some(0) } } -task 12 'programmable'. lines 50-51: +task 12 'programmable'. lines 51-52: Error: Transaction Effects Status: Invalid command argument at 0. The argument cannot be deserialized into a value of the specified type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: InvalidBCSBytes }, source: Some("Function expects std::option::Option> but provided argument's value does not match"), command: Some(0) } } -task 13 'programmable'. lines 53-54: +task 13 'programmable'. lines 54-55: Error: Transaction Effects Status: Invalid command argument at 0. The argument cannot be deserialized into a value of the specified type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: InvalidBCSBytes }, source: Some("Function expects std::option::Option> but provided argument's value does not match"), command: Some(0) } } -task 14 'programmable'. lines 56-57: +task 14 'programmable'. lines 57-58: Error: Transaction Effects Status: Invalid command argument at 0. The argument cannot be deserialized into a value of the specified type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: InvalidBCSBytes }, source: Some("Function expects std::option::Option> but provided argument's value does not match"), command: Some(0) } } -task 15 'programmable'. lines 59-60: +task 15 'programmable'. lines 60-61: Error: Transaction Effects Status: Invalid command argument at 0. The argument cannot be deserialized into a value of the specified type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: InvalidBCSBytes }, source: Some("Function expects std::option::Option> but provided argument's value does not match"), command: Some(0) } } -task 16 'programmable'. lines 62-63: +task 16 'programmable'. lines 63-64: Error: Transaction Effects Status: Invalid command argument at 0. The argument cannot be deserialized into a value of the specified type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: InvalidBCSBytes }, source: Some("Function expects std::option::Option> but provided argument's value does not match"), command: Some(0) } } -task 17 'programmable'. lines 65-66: +task 17 'programmable'. lines 66-67: Error: Transaction Effects Status: Invalid command argument at 0. The argument cannot be deserialized into a value of the specified type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: InvalidBCSBytes }, source: Some("Function expects std::option::Option> but provided argument's value does not match"), command: Some(0) } } -task 18 'programmable'. lines 68-69: +task 18 'programmable'. lines 69-70: Error: Transaction Effects Status: Invalid command argument at 0. The argument cannot be deserialized into a value of the specified type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: InvalidBCSBytes }, source: Some("Function expects std::option::Option> but provided argument's value does not match"), command: Some(0) } } -task 19 'programmable'. lines 71-72: +task 19 'programmable'. lines 72-73: Error: Transaction Effects Status: Invalid command argument at 0. The argument cannot be deserialized into a value of the specified type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: InvalidBCSBytes }, source: Some("Function expects std::option::Option> but provided argument's value does not match"), command: Some(0) } } diff --git a/crates/iota-adapter-transactional-tests/tests/programmable/invalid_public_function_return.exp b/crates/iota-adapter-transactional-tests/tests/programmable/invalid_public_function_return.exp index 8eaa4a089e7..df93b44baa4 100644 --- a/crates/iota-adapter-transactional-tests/tests/programmable/invalid_public_function_return.exp +++ b/crates/iota-adapter-transactional-tests/tests/programmable/invalid_public_function_return.exp @@ -3,19 +3,19 @@ processed 5 tasks init: A: object(0,0) -task 1 'publish'. lines 8-16: +task 1 'publish'. lines 9-17: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 4681600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 18-19: +task 2 'programmable'. lines 19-20: Error: Transaction Effects Status: Invalid public Move function signature. Unsupported return type for return value 0 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: InvalidPublicFunctionReturnType { idx: 0 }, source: None, command: Some(0) } } -task 3 'programmable'. lines 21-22: +task 3 'programmable'. lines 22-23: Error: Transaction Effects Status: Invalid public Move function signature. Unsupported return type for return value 0 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: InvalidPublicFunctionReturnType { idx: 0 }, source: None, command: Some(0) } } -task 4 'programmable'. lines 24-25: +task 4 'programmable'. lines 25-26: Error: Transaction Effects Status: Invalid public Move function signature. Unsupported return type for return value 1 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: InvalidPublicFunctionReturnType { idx: 1 }, source: None, command: Some(0) } } diff --git a/crates/iota-adapter-transactional-tests/tests/programmable/invalid_result_arity.exp b/crates/iota-adapter-transactional-tests/tests/programmable/invalid_result_arity.exp index a33b9e0d33d..855d5b751d6 100644 --- a/crates/iota-adapter-transactional-tests/tests/programmable/invalid_result_arity.exp +++ b/crates/iota-adapter-transactional-tests/tests/programmable/invalid_result_arity.exp @@ -3,31 +3,31 @@ processed 8 tasks init: A: object(0,0) -task 1 'publish'. lines 8-15: +task 1 'publish'. lines 9-16: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 4544800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 17-19: +task 2 'programmable'. lines 18-20: Error: Transaction Effects Status: Invalid command argument at 0. Invalid usage of result 0, expected a single result but found either no return values or multiple. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: InvalidResultArity { result_idx: 0 } }, source: None, command: Some(1) } } -task 3 'programmable'. lines 20-22: +task 3 'programmable'. lines 21-23: Error: Transaction Effects Status: Invalid command argument at 0. Invalid usage of result 0, expected a single result but found either no return values or multiple. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: InvalidResultArity { result_idx: 0 } }, source: None, command: Some(1) } } -task 4 'programmable'. lines 24-26: +task 4 'programmable'. lines 25-27: Error: Transaction Effects Status: Invalid command argument at 0. Invalid usage of result 0, expected a single result but found either no return values or multiple. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: InvalidResultArity { result_idx: 0 } }, source: None, command: Some(1) } } -task 5 'programmable'. lines 27-29: +task 5 'programmable'. lines 28-30: Error: Transaction Effects Status: Invalid command argument at 0. Invalid usage of result 0, expected a single result but found either no return values or multiple. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: InvalidResultArity { result_idx: 0 } }, source: None, command: Some(1) } } -task 6 'programmable'. lines 31-33: +task 6 'programmable'. lines 32-34: Error: Transaction Effects Status: Invalid command argument at 0. Invalid usage of result 0, expected a single result but found either no return values or multiple. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: InvalidResultArity { result_idx: 0 } }, source: None, command: Some(1) } } -task 7 'programmable'. lines 34-36: +task 7 'programmable'. lines 35-37: Error: Transaction Effects Status: Invalid command argument at 0. Invalid usage of result 0, expected a single result but found either no return values or multiple. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: InvalidResultArity { result_idx: 0 } }, source: None, command: Some(1) } } diff --git a/crates/iota-adapter-transactional-tests/tests/programmable/make_vec_objects.exp b/crates/iota-adapter-transactional-tests/tests/programmable/make_vec_objects.exp index 159781d06ea..2e9de4f919c 100644 --- a/crates/iota-adapter-transactional-tests/tests/programmable/make_vec_objects.exp +++ b/crates/iota-adapter-transactional-tests/tests/programmable/make_vec_objects.exp @@ -3,34 +3,34 @@ processed 8 tasks init: A: object(0,0), B: object(0,1) -task 1 'publish'. lines 8-44: +task 1 'publish'. lines 9-45: created: object(1,0) mutated: object(0,2) gas summary: computation_cost: 1000000, storage_cost: 7159200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 45-52: +task 2 'programmable'. lines 46-53: mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'programmable'. lines 53-60: +task 3 'programmable'. lines 54-61: mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 4 'programmable'. lines 61-65: +task 4 'programmable'. lines 62-66: mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 5 'programmable'. lines 66-68: +task 5 'programmable'. lines 67-69: created: object(5,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2280000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 6 'view-object'. lines 70-70: +task 6 'view-object'. lines 71-71: Owner: Account Address ( A ) Version: 5 Contents: test::m1::Pub {id: iota::object::UID {id: iota::object::ID {bytes: fake(5,0)}}, value: 112u64} -task 7 'programmable'. lines 72-78: +task 7 'programmable'. lines 73-79: mutated: object(0,0) deleted: object(5,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 2257200, non_refundable_storage_fee: 22800 diff --git a/crates/iota-adapter-transactional-tests/tests/programmable/make_vec_special_validation_invalid.exp b/crates/iota-adapter-transactional-tests/tests/programmable/make_vec_special_validation_invalid.exp index cdef015a7e4..3e62d47796b 100644 --- a/crates/iota-adapter-transactional-tests/tests/programmable/make_vec_special_validation_invalid.exp +++ b/crates/iota-adapter-transactional-tests/tests/programmable/make_vec_special_validation_invalid.exp @@ -3,15 +3,15 @@ processed 4 tasks init: A: object(0,0) -task 1 'publish'. lines 8-29: +task 1 'publish'. lines 9-30: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 6049600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 31-34: +task 2 'programmable'. lines 32-35: Error: Transaction Effects Status: Invalid command argument at 0. The argument cannot be deserialized into a value of the specified type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: InvalidBCSBytes }, source: Some("Function expects std::option::Option but provided argument's value does not match"), command: Some(0) } } -task 3 'programmable'. lines 36-39: +task 3 'programmable'. lines 37-40: Error: Transaction Effects Status: Invalid command argument at 0. The argument cannot be deserialized into a value of the specified type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: InvalidBCSBytes }, source: Some("Function expects std::string::String but provided argument's value does not match"), command: Some(0) } } diff --git a/crates/iota-adapter-transactional-tests/tests/programmable/merge_coin_mismatched_coin.exp b/crates/iota-adapter-transactional-tests/tests/programmable/merge_coin_mismatched_coin.exp index d7bceb0c4ad..5df02982047 100644 --- a/crates/iota-adapter-transactional-tests/tests/programmable/merge_coin_mismatched_coin.exp +++ b/crates/iota-adapter-transactional-tests/tests/programmable/merge_coin_mismatched_coin.exp @@ -3,33 +3,33 @@ processed 8 tasks init: A: object(0,0) -task 1 'publish'. lines 8-20: +task 1 'publish'. lines 9-21: created: object(1,0), object(1,1), object(1,2) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 10617200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 22-24: +task 2 'programmable'. lines 23-25: created: object(2,0) mutated: object(0,0), object(1,2) gas summary: computation_cost: 1000000, storage_cost: 4012800, storage_rebate: 2663496, non_refundable_storage_fee: 26904 -task 3 'view-object'. lines 26-26: +task 3 'view-object'. lines 27-27: Owner: Account Address ( A ) Version: 3 Contents: iota::coin::Coin {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}, balance: iota::balance::Balance {value: 100u64}} -task 4 'programmable'. lines 28-30: +task 4 'programmable'. lines 29-31: Error: Transaction Effects Status: Invalid command argument at 1. The type of the value does not match the expected type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: TypeMismatch }, source: Some("Coins do not have the same type"), command: Some(1) } } -task 5 'programmable'. lines 32-33: +task 5 'programmable'. lines 33-34: Error: Transaction Effects Status: Invalid command argument at 1. The type of the value does not match the expected type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: TypeMismatch }, source: Some("Coins do not have the same type"), command: Some(0) } } -task 6 'programmable'. lines 36-39: +task 6 'programmable'. lines 37-40: Error: Transaction Effects Status: Invalid command argument at 2. The type of the value does not match the expected type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 2, kind: TypeMismatch }, source: Some("Coins do not have the same type"), command: Some(2) } } -task 7 'programmable'. lines 41-44: +task 7 'programmable'. lines 42-45: Error: Transaction Effects Status: Invalid command argument at 1. The type of the value does not match the expected type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: TypeMismatch }, source: Some("Coins do not have the same type"), command: Some(2) } } diff --git a/crates/iota-adapter-transactional-tests/tests/programmable/nested_result_zero_zero.exp b/crates/iota-adapter-transactional-tests/tests/programmable/nested_result_zero_zero.exp index 996e9f4130c..a989feb707d 100644 --- a/crates/iota-adapter-transactional-tests/tests/programmable/nested_result_zero_zero.exp +++ b/crates/iota-adapter-transactional-tests/tests/programmable/nested_result_zero_zero.exp @@ -3,11 +3,11 @@ processed 3 tasks init: A: object(0,0) -task 1 'publish'. lines 8-13: +task 1 'publish'. lines 9-14: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 4043200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 15-18: +task 2 'programmable'. lines 16-19: mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 diff --git a/crates/iota-adapter-transactional-tests/tests/programmable/non_primitive_non_object_arguments.exp b/crates/iota-adapter-transactional-tests/tests/programmable/non_primitive_non_object_arguments.exp index eed070956bf..65fcc8c2722 100644 --- a/crates/iota-adapter-transactional-tests/tests/programmable/non_primitive_non_object_arguments.exp +++ b/crates/iota-adapter-transactional-tests/tests/programmable/non_primitive_non_object_arguments.exp @@ -3,11 +3,11 @@ processed 3 tasks init: A: object(0,0) -task 1 'publish'. lines 8-19: +task 1 'publish'. lines 9-20: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 4666400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 21-26: +task 2 'programmable'. lines 22-27: mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 diff --git a/crates/iota-adapter-transactional-tests/tests/programmable/out_of_bounds_input.exp b/crates/iota-adapter-transactional-tests/tests/programmable/out_of_bounds_input.exp index cd1c6c924f9..a3e5340185a 100644 --- a/crates/iota-adapter-transactional-tests/tests/programmable/out_of_bounds_input.exp +++ b/crates/iota-adapter-transactional-tests/tests/programmable/out_of_bounds_input.exp @@ -3,71 +3,71 @@ processed 18 tasks init: A: object(0,0) -task 1 'publish'. lines 8-15: +task 1 'publish'. lines 9-16: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 4666400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 17-18: +task 2 'programmable'. lines 18-19: Error: Transaction Effects Status: Invalid command argument at 0. Out of bounds access to input or result vector 0 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: IndexOutOfBounds { idx: 0 } }, source: None, command: Some(0) } } -task 3 'programmable'. lines 19-20: +task 3 'programmable'. lines 20-21: Error: Transaction Effects Status: Invalid command argument at 0. Out of bounds access to input or result vector 1 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: IndexOutOfBounds { idx: 1 } }, source: None, command: Some(0) } } -task 4 'programmable'. lines 22-23: +task 4 'programmable'. lines 23-24: Error: Transaction Effects Status: Invalid command argument at 0. Out of bounds access to input or result vector 0 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: IndexOutOfBounds { idx: 0 } }, source: None, command: Some(0) } } -task 5 'programmable'. lines 24-25: +task 5 'programmable'. lines 25-26: Error: Transaction Effects Status: Invalid command argument at 0. Out of bounds access to input or result vector 2 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: IndexOutOfBounds { idx: 2 } }, source: None, command: Some(0) } } -task 6 'programmable'. lines 27-28: +task 6 'programmable'. lines 28-29: Error: Transaction Effects Status: Invalid command argument at 0. Out of bounds access to input or result vector 0 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: IndexOutOfBounds { idx: 0 } }, source: None, command: Some(0) } } -task 7 'programmable'. lines 29-30: +task 7 'programmable'. lines 30-31: Error: Transaction Effects Status: Invalid command argument at 0. Out of bounds access to input or result vector 1 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: IndexOutOfBounds { idx: 1 } }, source: None, command: Some(0) } } -task 8 'programmable'. lines 32-33: +task 8 'programmable'. lines 33-34: Error: Transaction Effects Status: Invalid command argument at 0. Out of bounds access to input or result vector 0 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: IndexOutOfBounds { idx: 0 } }, source: None, command: Some(0) } } -task 9 'programmable'. lines 34-35: +task 9 'programmable'. lines 35-36: Error: Transaction Effects Status: Invalid command argument at 0. Out of bounds access to input or result vector 1 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: IndexOutOfBounds { idx: 1 } }, source: None, command: Some(0) } } -task 10 'programmable'. lines 37-38: +task 10 'programmable'. lines 38-39: Error: Transaction Effects Status: Invalid command argument at 0. Out of bounds access to input or result vector 0 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: IndexOutOfBounds { idx: 0 } }, source: None, command: Some(0) } } -task 11 'programmable'. lines 39-40: +task 11 'programmable'. lines 40-41: Error: Transaction Effects Status: Invalid command argument at 1. Out of bounds access to input or result vector 1 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: IndexOutOfBounds { idx: 1 } }, source: None, command: Some(0) } } -task 12 'programmable'. lines 42-43: +task 12 'programmable'. lines 43-44: Error: Transaction Effects Status: Invalid command argument at 0. Out of bounds access to input or result vector 0 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: IndexOutOfBounds { idx: 0 } }, source: None, command: Some(0) } } -task 13 'programmable'. lines 44-45: +task 13 'programmable'. lines 45-46: Error: Transaction Effects Status: Invalid command argument at 1. Out of bounds access to input or result vector 1 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: IndexOutOfBounds { idx: 1 } }, source: None, command: Some(0) } } -task 14 'programmable'. lines 47-48: +task 14 'programmable'. lines 48-49: Error: Transaction Effects Status: Invalid command argument at 0. Out of bounds access to input or result vector 0 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: IndexOutOfBounds { idx: 0 } }, source: None, command: Some(0) } } -task 15 'programmable'. lines 49-50: +task 15 'programmable'. lines 50-51: Error: Transaction Effects Status: Invalid command argument at 1. Out of bounds access to input or result vector 1 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: IndexOutOfBounds { idx: 1 } }, source: None, command: Some(0) } } -task 16 'programmable'. lines 52-53: +task 16 'programmable'. lines 53-54: Error: Transaction Effects Status: Invalid command argument at 0. Out of bounds access to input or result vector 0 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: IndexOutOfBounds { idx: 0 } }, source: None, command: Some(0) } } -task 17 'programmable'. lines 54-55: +task 17 'programmable'. lines 55-56: Error: Transaction Effects Status: Invalid command argument at 1. Out of bounds access to input or result vector 1 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: IndexOutOfBounds { idx: 1 } }, source: None, command: Some(0) } } diff --git a/crates/iota-adapter-transactional-tests/tests/programmable/out_of_bounds_nested.exp b/crates/iota-adapter-transactional-tests/tests/programmable/out_of_bounds_nested.exp index e343a8b4a8d..2a34d279bd4 100644 --- a/crates/iota-adapter-transactional-tests/tests/programmable/out_of_bounds_nested.exp +++ b/crates/iota-adapter-transactional-tests/tests/programmable/out_of_bounds_nested.exp @@ -3,71 +3,71 @@ processed 18 tasks init: A: object(0,0) -task 1 'publish'. lines 8-16: +task 1 'publish'. lines 9-17: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 4864000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 18-20: +task 2 'programmable'. lines 19-21: Error: Transaction Effects Status: Invalid command argument at 0. Out of bounds secondary access to result vector 0 at secondary index 2 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: SecondaryIndexOutOfBounds { result_idx: 0, secondary_idx: 2 } }, source: None, command: Some(1) } } -task 3 'programmable'. lines 21-23: +task 3 'programmable'. lines 22-24: Error: Transaction Effects Status: Invalid command argument at 0. Out of bounds access to input or result vector 1 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: IndexOutOfBounds { idx: 1 } }, source: None, command: Some(1) } } -task 4 'programmable'. lines 25-27: +task 4 'programmable'. lines 26-28: Error: Transaction Effects Status: Invalid command argument at 0. Out of bounds secondary access to result vector 0 at secondary index 2 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: SecondaryIndexOutOfBounds { result_idx: 0, secondary_idx: 2 } }, source: None, command: Some(1) } } -task 5 'programmable'. lines 28-30: +task 5 'programmable'. lines 29-31: Error: Transaction Effects Status: Invalid command argument at 0. Out of bounds access to input or result vector 1 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: IndexOutOfBounds { idx: 1 } }, source: None, command: Some(1) } } -task 6 'programmable'. lines 32-34: +task 6 'programmable'. lines 33-35: Error: Transaction Effects Status: Invalid command argument at 0. Out of bounds secondary access to result vector 0 at secondary index 2 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: SecondaryIndexOutOfBounds { result_idx: 0, secondary_idx: 2 } }, source: None, command: Some(1) } } -task 7 'programmable'. lines 35-37: +task 7 'programmable'. lines 36-38: Error: Transaction Effects Status: Invalid command argument at 0. Out of bounds access to input or result vector 1 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: IndexOutOfBounds { idx: 1 } }, source: None, command: Some(1) } } -task 8 'programmable'. lines 39-41: +task 8 'programmable'. lines 40-42: Error: Transaction Effects Status: Invalid command argument at 0. Out of bounds secondary access to result vector 0 at secondary index 2 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: SecondaryIndexOutOfBounds { result_idx: 0, secondary_idx: 2 } }, source: None, command: Some(1) } } -task 9 'programmable'. lines 42-44: +task 9 'programmable'. lines 43-45: Error: Transaction Effects Status: Invalid command argument at 0. Out of bounds access to input or result vector 1 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: IndexOutOfBounds { idx: 1 } }, source: None, command: Some(1) } } -task 10 'programmable'. lines 46-48: +task 10 'programmable'. lines 47-49: Error: Transaction Effects Status: Invalid command argument at 0. Out of bounds secondary access to result vector 0 at secondary index 2 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: SecondaryIndexOutOfBounds { result_idx: 0, secondary_idx: 2 } }, source: None, command: Some(1) } } -task 11 'programmable'. lines 49-51: +task 11 'programmable'. lines 50-52: Error: Transaction Effects Status: Invalid command argument at 0. Out of bounds secondary access to result vector 0 at secondary index 2 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: SecondaryIndexOutOfBounds { result_idx: 0, secondary_idx: 2 } }, source: None, command: Some(1) } } -task 12 'programmable'. lines 53-55: +task 12 'programmable'. lines 54-56: Error: Transaction Effects Status: Invalid command argument at 0. Out of bounds secondary access to result vector 0 at secondary index 2 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: SecondaryIndexOutOfBounds { result_idx: 0, secondary_idx: 2 } }, source: None, command: Some(1) } } -task 13 'programmable'. lines 56-58: +task 13 'programmable'. lines 57-59: Error: Transaction Effects Status: Invalid command argument at 1. Out of bounds access to input or result vector 1 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: IndexOutOfBounds { idx: 1 } }, source: None, command: Some(1) } } -task 14 'programmable'. lines 60-62: +task 14 'programmable'. lines 61-63: Error: Transaction Effects Status: Invalid command argument at 0. Out of bounds secondary access to result vector 0 at secondary index 2 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: SecondaryIndexOutOfBounds { result_idx: 0, secondary_idx: 2 } }, source: None, command: Some(1) } } -task 15 'programmable'. lines 63-65: +task 15 'programmable'. lines 64-66: Error: Transaction Effects Status: Invalid command argument at 1. Out of bounds access to input or result vector 1 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: IndexOutOfBounds { idx: 1 } }, source: None, command: Some(1) } } -task 16 'programmable'. lines 67-69: +task 16 'programmable'. lines 68-70: Error: Transaction Effects Status: Invalid command argument at 0. Out of bounds secondary access to result vector 0 at secondary index 2 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: SecondaryIndexOutOfBounds { result_idx: 0, secondary_idx: 2 } }, source: None, command: Some(1) } } -task 17 'programmable'. lines 70-72: +task 17 'programmable'. lines 71-73: Error: Transaction Effects Status: Invalid command argument at 1. Out of bounds access to input or result vector 1 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: IndexOutOfBounds { idx: 1 } }, source: None, command: Some(1) } } diff --git a/crates/iota-adapter-transactional-tests/tests/programmable/out_of_bounds_result.exp b/crates/iota-adapter-transactional-tests/tests/programmable/out_of_bounds_result.exp index b4f85755549..567a9bc3272 100644 --- a/crates/iota-adapter-transactional-tests/tests/programmable/out_of_bounds_result.exp +++ b/crates/iota-adapter-transactional-tests/tests/programmable/out_of_bounds_result.exp @@ -3,71 +3,71 @@ processed 18 tasks init: A: object(0,0) -task 1 'publish'. lines 8-16: +task 1 'publish'. lines 9-17: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 4795600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 18-19: +task 2 'programmable'. lines 19-20: Error: Transaction Effects Status: Invalid command argument at 0. Out of bounds access to input or result vector 0 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: IndexOutOfBounds { idx: 0 } }, source: None, command: Some(0) } } -task 3 'programmable'. lines 20-22: +task 3 'programmable'. lines 21-23: Error: Transaction Effects Status: Invalid command argument at 0. Out of bounds access to input or result vector 1 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: IndexOutOfBounds { idx: 1 } }, source: None, command: Some(1) } } -task 4 'programmable'. lines 24-25: +task 4 'programmable'. lines 25-26: Error: Transaction Effects Status: Invalid command argument at 0. Out of bounds access to input or result vector 0 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: IndexOutOfBounds { idx: 0 } }, source: None, command: Some(0) } } -task 5 'programmable'. lines 26-28: +task 5 'programmable'. lines 27-29: Error: Transaction Effects Status: Invalid command argument at 0. Out of bounds access to input or result vector 2 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: IndexOutOfBounds { idx: 2 } }, source: None, command: Some(1) } } -task 6 'programmable'. lines 30-31: +task 6 'programmable'. lines 31-32: Error: Transaction Effects Status: Invalid command argument at 0. Out of bounds access to input or result vector 0 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: IndexOutOfBounds { idx: 0 } }, source: None, command: Some(0) } } -task 7 'programmable'. lines 32-34: +task 7 'programmable'. lines 33-35: Error: Transaction Effects Status: Invalid command argument at 0. Out of bounds access to input or result vector 1 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: IndexOutOfBounds { idx: 1 } }, source: None, command: Some(1) } } -task 8 'programmable'. lines 36-37: +task 8 'programmable'. lines 37-38: Error: Transaction Effects Status: Invalid command argument at 0. Out of bounds access to input or result vector 0 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: IndexOutOfBounds { idx: 0 } }, source: None, command: Some(0) } } -task 9 'programmable'. lines 38-40: +task 9 'programmable'. lines 39-41: Error: Transaction Effects Status: Invalid command argument at 0. Out of bounds access to input or result vector 1 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: IndexOutOfBounds { idx: 1 } }, source: None, command: Some(1) } } -task 10 'programmable'. lines 42-43: +task 10 'programmable'. lines 43-44: Error: Transaction Effects Status: Invalid command argument at 0. Out of bounds access to input or result vector 0 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: IndexOutOfBounds { idx: 0 } }, source: None, command: Some(0) } } -task 11 'programmable'. lines 44-46: +task 11 'programmable'. lines 45-47: Error: Transaction Effects Status: Invalid command argument at 0. The type of the value does not match the expected type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: TypeMismatch }, source: None, command: Some(1) } } -task 12 'programmable'. lines 48-49: +task 12 'programmable'. lines 49-50: Error: Transaction Effects Status: Invalid command argument at 0. Out of bounds access to input or result vector 0 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: IndexOutOfBounds { idx: 0 } }, source: None, command: Some(0) } } -task 13 'programmable'. lines 50-52: +task 13 'programmable'. lines 51-53: Error: Transaction Effects Status: Invalid command argument at 1. Out of bounds access to input or result vector 1 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: IndexOutOfBounds { idx: 1 } }, source: None, command: Some(1) } } -task 14 'programmable'. lines 54-55: +task 14 'programmable'. lines 55-56: Error: Transaction Effects Status: Invalid command argument at 0. Out of bounds access to input or result vector 0 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: IndexOutOfBounds { idx: 0 } }, source: None, command: Some(0) } } -task 15 'programmable'. lines 56-58: +task 15 'programmable'. lines 57-59: Error: Transaction Effects Status: Invalid command argument at 1. Out of bounds access to input or result vector 1 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: IndexOutOfBounds { idx: 1 } }, source: None, command: Some(1) } } -task 16 'programmable'. lines 60-61: +task 16 'programmable'. lines 61-62: Error: Transaction Effects Status: Invalid command argument at 0. Out of bounds access to input or result vector 0 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: IndexOutOfBounds { idx: 0 } }, source: None, command: Some(0) } } -task 17 'programmable'. lines 62-64: +task 17 'programmable'. lines 63-65: Error: Transaction Effects Status: Invalid command argument at 1. Out of bounds access to input or result vector 1 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: IndexOutOfBounds { idx: 1 } }, source: None, command: Some(1) } } diff --git a/crates/iota-adapter-transactional-tests/tests/programmable/private_entry_value_restriction_by_ref_input_invalid.exp b/crates/iota-adapter-transactional-tests/tests/programmable/private_entry_value_restriction_by_ref_input_invalid.exp index 77f55947b16..8d953d003cc 100644 --- a/crates/iota-adapter-transactional-tests/tests/programmable/private_entry_value_restriction_by_ref_input_invalid.exp +++ b/crates/iota-adapter-transactional-tests/tests/programmable/private_entry_value_restriction_by_ref_input_invalid.exp @@ -3,24 +3,24 @@ processed 6 tasks init: A: object(0,0) -task 1 'publish'. lines 9-18: +task 1 'publish'. lines 10-19: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 5054000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 20-25: +task 2 'programmable'. lines 21-26: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2204000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'programmable'. lines 27-29: +task 3 'programmable'. lines 28-30: Error: Transaction Effects Status: Invalid command argument at 0. Invalid argument to private entry function. These functions cannot take arguments from other Move functions Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: InvalidArgumentToPrivateEntryFunction }, source: None, command: Some(1) } } -task 4 'programmable'. lines 31-35: +task 4 'programmable'. lines 32-36: Error: Transaction Effects Status: Invalid command argument at 0. Invalid argument to private entry function. These functions cannot take arguments from other Move functions Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: InvalidArgumentToPrivateEntryFunction }, source: None, command: Some(1) } } -task 5 'programmable'. lines 37-39: +task 5 'programmable'. lines 38-40: Error: Transaction Effects Status: Invalid command argument at 0. Invalid argument to private entry function. These functions cannot take arguments from other Move functions Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: InvalidArgumentToPrivateEntryFunction }, source: None, command: Some(1) } } diff --git a/crates/iota-adapter-transactional-tests/tests/programmable/private_entry_value_restriction_by_ref_input_valid.exp b/crates/iota-adapter-transactional-tests/tests/programmable/private_entry_value_restriction_by_ref_input_valid.exp index 2f2e2a8c650..7619d71e522 100644 --- a/crates/iota-adapter-transactional-tests/tests/programmable/private_entry_value_restriction_by_ref_input_valid.exp +++ b/crates/iota-adapter-transactional-tests/tests/programmable/private_entry_value_restriction_by_ref_input_valid.exp @@ -3,21 +3,21 @@ processed 5 tasks init: A: object(0,0) -task 1 'publish'. lines 9-23: +task 1 'publish'. lines 10-24: created: object(1,0) mutated: object(0,1) -gas summary: computation_cost: 1000000, storage_cost: 5502400, storage_rebate: 0, non_refundable_storage_fee: 0 +gas summary: computation_cost: 1000000, storage_cost: 5517600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 25-27: +task 2 'programmable'. lines 26-28: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2204000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'programmable'. lines 29-36: +task 3 'programmable'. lines 30-37: mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 2204000, storage_rebate: 2181960, non_refundable_storage_fee: 22040 -task 4 'programmable'. lines 38-43: +task 4 'programmable'. lines 39-44: created: object(4,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 1976000, storage_rebate: 978120, non_refundable_storage_fee: 9880 diff --git a/crates/iota-adapter-transactional-tests/tests/programmable/private_entry_value_restriction_copied_input_valid.exp b/crates/iota-adapter-transactional-tests/tests/programmable/private_entry_value_restriction_copied_input_valid.exp index 628292c34cb..1ea69657eab 100644 --- a/crates/iota-adapter-transactional-tests/tests/programmable/private_entry_value_restriction_copied_input_valid.exp +++ b/crates/iota-adapter-transactional-tests/tests/programmable/private_entry_value_restriction_copied_input_valid.exp @@ -3,11 +3,11 @@ processed 3 tasks init: A: object(0,0) -task 1 'publish'. lines 9-13: +task 1 'publish'. lines 10-14: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 3549200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 15-17: +task 2 'programmable'. lines 16-18: mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 diff --git a/crates/iota-adapter-transactional-tests/tests/programmable/private_entry_value_restriction_make_move_vec_invalid.exp b/crates/iota-adapter-transactional-tests/tests/programmable/private_entry_value_restriction_make_move_vec_invalid.exp index 0022f442741..1218f04eda9 100644 --- a/crates/iota-adapter-transactional-tests/tests/programmable/private_entry_value_restriction_make_move_vec_invalid.exp +++ b/crates/iota-adapter-transactional-tests/tests/programmable/private_entry_value_restriction_make_move_vec_invalid.exp @@ -3,20 +3,20 @@ processed 5 tasks init: A: object(0,0) -task 1 'publish'. lines 9-18: +task 1 'publish'. lines 10-19: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 5403600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 20-24: +task 2 'programmable'. lines 21-25: created: object(2,0), object(2,1), object(2,2) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 4636000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'programmable'. lines 26-29: +task 3 'programmable'. lines 27-30: Error: Transaction Effects Status: Invalid command argument at 0. Invalid argument to private entry function. These functions cannot take arguments from other Move functions Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: InvalidArgumentToPrivateEntryFunction }, source: None, command: Some(2) } } -task 4 'programmable'. lines 31-34: +task 4 'programmable'. lines 32-35: Error: Transaction Effects Status: Invalid command argument at 0. Invalid argument to private entry function. These functions cannot take arguments from other Move functions Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: InvalidArgumentToPrivateEntryFunction }, source: None, command: Some(2) } } diff --git a/crates/iota-adapter-transactional-tests/tests/programmable/private_entry_value_restriction_make_move_vec_valid.exp b/crates/iota-adapter-transactional-tests/tests/programmable/private_entry_value_restriction_make_move_vec_valid.exp index 0394a8c90fe..3acbdee030e 100644 --- a/crates/iota-adapter-transactional-tests/tests/programmable/private_entry_value_restriction_make_move_vec_valid.exp +++ b/crates/iota-adapter-transactional-tests/tests/programmable/private_entry_value_restriction_make_move_vec_valid.exp @@ -3,21 +3,21 @@ processed 5 tasks init: A: object(0,0) -task 1 'publish'. lines 9-26: +task 1 'publish'. lines 10-27: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 6247200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 28-32: +task 2 'programmable'. lines 29-33: created: object(2,0), object(2,1), object(2,2) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 4636000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'programmable'. lines 34-38: +task 3 'programmable'. lines 35-39: mutated: object(0,0) deleted: object(2,0), object(2,1), object(2,2) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 4589640, non_refundable_storage_fee: 46360 -task 4 'programmable'. lines 40-43: +task 4 'programmable'. lines 41-44: mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 diff --git a/crates/iota-adapter-transactional-tests/tests/programmable/private_entry_value_restriction_non_pure_input_invalid.exp b/crates/iota-adapter-transactional-tests/tests/programmable/private_entry_value_restriction_non_pure_input_invalid.exp index aea26fc75bc..83ef09dc9af 100644 --- a/crates/iota-adapter-transactional-tests/tests/programmable/private_entry_value_restriction_non_pure_input_invalid.exp +++ b/crates/iota-adapter-transactional-tests/tests/programmable/private_entry_value_restriction_non_pure_input_invalid.exp @@ -3,19 +3,19 @@ processed 5 tasks init: A: object(0,0) -task 1 'publish'. lines 8-16: +task 1 'publish'. lines 9-17: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 4005200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 17-19: +task 2 'programmable'. lines 18-20: Error: Transaction Effects Status: Invalid command argument at 0. Invalid argument to private entry function. These functions cannot take arguments from other Move functions Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: InvalidArgumentToPrivateEntryFunction }, source: None, command: Some(1) } } -task 3 'programmable'. lines 21-25: +task 3 'programmable'. lines 22-26: Error: Transaction Effects Status: Invalid command argument at 0. Invalid argument to private entry function. These functions cannot take arguments from other Move functions Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: InvalidArgumentToPrivateEntryFunction }, source: None, command: Some(1) } } -task 4 'programmable'. lines 26-28: +task 4 'programmable'. lines 27-29: Error: Transaction Effects Status: Invalid command argument at 0. Invalid argument to private entry function. These functions cannot take arguments from other Move functions Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: InvalidArgumentToPrivateEntryFunction }, source: None, command: Some(1) } } diff --git a/crates/iota-adapter-transactional-tests/tests/programmable/private_entry_value_restriction_per_argument.exp b/crates/iota-adapter-transactional-tests/tests/programmable/private_entry_value_restriction_per_argument.exp index da01665434c..e6fae87cc25 100644 --- a/crates/iota-adapter-transactional-tests/tests/programmable/private_entry_value_restriction_per_argument.exp +++ b/crates/iota-adapter-transactional-tests/tests/programmable/private_entry_value_restriction_per_argument.exp @@ -3,20 +3,20 @@ processed 5 tasks init: A: object(0,0) -task 1 'publish'. lines 8-15: +task 1 'publish'. lines 9-16: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 4932400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 17-20: +task 2 'programmable'. lines 18-21: created: object(2,0), object(2,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 3420000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'programmable'. lines 22-24: +task 3 'programmable'. lines 23-25: Error: Transaction Effects Status: Invalid command argument at 1. Invalid argument to private entry function. These functions cannot take arguments from other Move functions Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: InvalidArgumentToPrivateEntryFunction }, source: None, command: Some(1) } } -task 4 'programmable'. lines 26-29: +task 4 'programmable'. lines 27-30: Error: Transaction Effects Status: Invalid command argument at 0. The argument cannot be instantiated from raw bytes Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: InvalidUsageOfPureArg }, source: Some("Non-primitive argument at index 0. If it is an object, it must be populated by an object"), command: Some(1) } } diff --git a/crates/iota-adapter-transactional-tests/tests/programmable/private_entry_value_restriction_type_check.exp b/crates/iota-adapter-transactional-tests/tests/programmable/private_entry_value_restriction_type_check.exp index 96dd915304d..4020ecc6833 100644 --- a/crates/iota-adapter-transactional-tests/tests/programmable/private_entry_value_restriction_type_check.exp +++ b/crates/iota-adapter-transactional-tests/tests/programmable/private_entry_value_restriction_type_check.exp @@ -3,20 +3,20 @@ processed 5 tasks init: A: object(0,0) -task 1 'publish'. lines 8-15: +task 1 'publish'. lines 9-16: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 4902000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 17-19: +task 2 'programmable'. lines 18-20: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2204000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'programmable'. lines 21-23: +task 3 'programmable'. lines 22-24: Error: Transaction Effects Status: Invalid command argument at 0. Invalid argument to private entry function. These functions cannot take arguments from other Move functions Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: InvalidArgumentToPrivateEntryFunction }, source: None, command: Some(1) } } -task 4 'programmable'. lines 25-26: +task 4 'programmable'. lines 26-27: Error: Transaction Effects Status: Invalid command argument at 0. The type of the value does not match the expected type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: TypeMismatch }, source: None, command: Some(0) } } diff --git a/crates/iota-adapter-transactional-tests/tests/programmable/private_transfer_invalid.exp b/crates/iota-adapter-transactional-tests/tests/programmable/private_transfer_invalid.exp index d485b81e25a..0cbefde4568 100644 --- a/crates/iota-adapter-transactional-tests/tests/programmable/private_transfer_invalid.exp +++ b/crates/iota-adapter-transactional-tests/tests/programmable/private_transfer_invalid.exp @@ -3,43 +3,43 @@ processed 11 tasks init: A: object(0,0) -task 1 'publish'. lines 8-17: +task 1 'publish'. lines 9-18: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 5228800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 19-21: +task 2 'programmable'. lines 20-22: Error: Transaction Effects Status: Non Entry Function Invoked. Move Call must start with an entry function Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: NonEntryFunctionInvoked, source: Some("Cannot directly call iota::transfer::transfer. Use the public variant instead, iota::transfer::public_transfer"), command: Some(1) } } -task 3 'programmable'. lines 23-25: +task 3 'programmable'. lines 24-26: Error: Transaction Effects Status: Non Entry Function Invoked. Move Call must start with an entry function Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: NonEntryFunctionInvoked, source: Some("Cannot directly call iota::transfer::share_object. Use the public variant instead, iota::transfer::public_share_object"), command: Some(1) } } -task 4 'programmable'. lines 27-32: +task 4 'programmable'. lines 28-33: Error: Transaction Effects Status: Non Entry Function Invoked. Move Call must start with an entry function Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: NonEntryFunctionInvoked, source: Some("Cannot directly call iota::transfer::freeze_object. Use the public variant instead, iota::transfer::public_freeze_object"), command: Some(1) } } -task 5 'programmable'. lines 34-36: +task 5 'programmable'. lines 35-37: Error: Transaction Effects Status: Non Entry Function Invoked. Move Call must start with an entry function Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: NonEntryFunctionInvoked, source: Some("Cannot directly call iota::transfer::transfer. Use the public variant instead, iota::transfer::public_transfer"), command: Some(1) } } -task 6 'programmable'. lines 38-40: +task 6 'programmable'. lines 39-41: Error: Transaction Effects Status: Non Entry Function Invoked. Move Call must start with an entry function Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: NonEntryFunctionInvoked, source: Some("Cannot directly call iota::transfer::share_object. Use the public variant instead, iota::transfer::public_share_object"), command: Some(1) } } -task 7 'programmable'. lines 42-47: +task 7 'programmable'. lines 43-48: Error: Transaction Effects Status: Non Entry Function Invoked. Move Call must start with an entry function Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: NonEntryFunctionInvoked, source: Some("Cannot directly call iota::transfer::freeze_object. Use the public variant instead, iota::transfer::public_freeze_object"), command: Some(1) } } -task 8 'programmable'. lines 49-51: +task 8 'programmable'. lines 50-52: Error: Transaction Effects Status: Move Bytecode Verification Error. Please run the Bytecode Verifier for more information. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: VMVerificationOrDeserializationError, source: Some(VMError { major_status: CONSTRAINT_NOT_SATISFIED, sub_status: None, message: None, exec_state: None, location: Module(ModuleId { address: iota, name: Identifier("transfer") }), indices: [], offsets: [] }), command: Some(1) } } -task 9 'programmable'. lines 53-55: +task 9 'programmable'. lines 54-56: Error: Transaction Effects Status: Move Bytecode Verification Error. Please run the Bytecode Verifier for more information. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: VMVerificationOrDeserializationError, source: Some(VMError { major_status: CONSTRAINT_NOT_SATISFIED, sub_status: None, message: None, exec_state: None, location: Module(ModuleId { address: iota, name: Identifier("transfer") }), indices: [], offsets: [] }), command: Some(1) } } -task 10 'programmable'. lines 57-59: +task 10 'programmable'. lines 58-60: Error: Transaction Effects Status: Move Bytecode Verification Error. Please run the Bytecode Verifier for more information. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: VMVerificationOrDeserializationError, source: Some(VMError { major_status: CONSTRAINT_NOT_SATISFIED, sub_status: None, message: None, exec_state: None, location: Module(ModuleId { address: iota, name: Identifier("transfer") }), indices: [], offsets: [] }), command: Some(1) } } diff --git a/crates/iota-adapter-transactional-tests/tests/programmable/private_transfer_valid.exp b/crates/iota-adapter-transactional-tests/tests/programmable/private_transfer_valid.exp index b6665aeec6e..bc83884f8b5 100644 --- a/crates/iota-adapter-transactional-tests/tests/programmable/private_transfer_valid.exp +++ b/crates/iota-adapter-transactional-tests/tests/programmable/private_transfer_valid.exp @@ -3,37 +3,37 @@ processed 8 tasks init: A: object(0,0) -task 1 'publish'. lines 8-12: +task 1 'publish'. lines 9-13: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 4628400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 14-16: +task 2 'programmable'. lines 15-17: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2219200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'view-object'. lines 18-18: +task 3 'view-object'. lines 19-19: Owner: Account Address ( A ) Version: 2 Contents: test::m1::Pub {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 4 'programmable'. lines 20-22: +task 4 'programmable'. lines 21-23: created: object(4,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 2219200, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 5 'view-object'. lines 24-24: +task 5 'view-object'. lines 25-25: Owner: Shared Version: 3 Contents: test::m1::Pub {id: iota::object::UID {id: iota::object::ID {bytes: fake(4,0)}}} -task 6 'programmable'. lines 26-28: +task 6 'programmable'. lines 27-29: created: object(6,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 2219200, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 7 'view-object'. lines 30-30: +task 7 'view-object'. lines 31-31: Owner: Immutable Version: 4 Contents: test::m1::Pub {id: iota::object::UID {id: iota::object::ID {bytes: fake(6,0)}}} diff --git a/crates/iota-adapter-transactional-tests/tests/programmable/pure_arg_type_change.exp b/crates/iota-adapter-transactional-tests/tests/programmable/pure_arg_type_change.exp index db88b31595f..5495be862c6 100644 --- a/crates/iota-adapter-transactional-tests/tests/programmable/pure_arg_type_change.exp +++ b/crates/iota-adapter-transactional-tests/tests/programmable/pure_arg_type_change.exp @@ -3,23 +3,23 @@ processed 6 tasks init: A: object(0,0) -task 1 'publish'. lines 8-25: +task 1 'publish'. lines 9-26: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 5380800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 27-33: +task 2 'programmable'. lines 28-34: Error: Transaction Effects Status: Invalid command argument at 0. The type of the value does not match the expected type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: TypeMismatch }, source: None, command: Some(3) } } -task 3 'programmable'. lines 35-41: +task 3 'programmable'. lines 36-42: Error: Transaction Effects Status: Invalid command argument at 0. The type of the value does not match the expected type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: TypeMismatch }, source: None, command: Some(3) } } -task 4 'programmable'. lines 43-49: +task 4 'programmable'. lines 44-50: Error: Transaction Effects Status: Invalid command argument at 0. The type of the value does not match the expected type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: TypeMismatch }, source: None, command: Some(3) } } -task 5 'programmable'. lines 51-57: +task 5 'programmable'. lines 52-58: Error: Transaction Effects Status: Invalid command argument at 0. The type of the value does not match the expected type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: TypeMismatch }, source: None, command: Some(3) } } diff --git a/crates/iota-adapter-transactional-tests/tests/programmable/split_coins.exp b/crates/iota-adapter-transactional-tests/tests/programmable/split_coins.exp index b5b4292351c..529568f70eb 100644 --- a/crates/iota-adapter-transactional-tests/tests/programmable/split_coins.exp +++ b/crates/iota-adapter-transactional-tests/tests/programmable/split_coins.exp @@ -3,97 +3,97 @@ processed 20 tasks init: A: object(0,0), B: object(0,1) -task 1 'publish'. lines 9-24: +task 1 'publish'. lines 10-25: created: object(1,0) mutated: object(0,2) -gas summary: computation_cost: 1000000, storage_cost: 5403600, storage_rebate: 0, non_refundable_storage_fee: 0 +gas summary: computation_cost: 1000000, storage_cost: 5418800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 26-30: +task 2 'programmable'. lines 27-31: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 1976000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'run'. lines 31-31: +task 3 'run'. lines 32-32: created: object(3,0) mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 2964000, storage_rebate: 1956240, non_refundable_storage_fee: 19760 -task 4 'view-object'. lines 33-35: +task 4 'view-object'. lines 34-36: Owner: Account Address ( A ) Version: 3 Contents: iota::coin::Coin {id: iota::object::UID {id: iota::object::ID {bytes: fake(3,0)}}, balance: iota::balance::Balance {value: 1000u64}} -task 5 'programmable'. lines 36-38: +task 5 'programmable'. lines 37-39: created: object(5,0) mutated: object(0,0), object(3,0) gas summary: computation_cost: 1000000, storage_cost: 2964000, storage_rebate: 1956240, non_refundable_storage_fee: 19760 -task 6 'view-object'. lines 40-40: +task 6 'view-object'. lines 41-41: Owner: Account Address ( A ) Version: 4 Contents: iota::coin::Coin {id: iota::object::UID {id: iota::object::ID {bytes: fake(3,0)}}, balance: iota::balance::Balance {value: 900u64}} -task 7 'view-object'. lines 42-45: +task 7 'view-object'. lines 43-46: Owner: Account Address ( B ) Version: 4 Contents: iota::coin::Coin {id: iota::object::UID {id: iota::object::ID {bytes: fake(5,0)}}, balance: iota::balance::Balance {value: 100u64}} -task 8 'programmable'. lines 46-48: +task 8 'programmable'. lines 47-49: created: object(8,0), object(8,1) mutated: object(0,0), object(3,0) gas summary: computation_cost: 1000000, storage_cost: 3952000, storage_rebate: 1956240, non_refundable_storage_fee: 19760 -task 9 'view-object'. lines 50-50: +task 9 'view-object'. lines 51-51: Owner: Account Address ( A ) Version: 5 Contents: iota::coin::Coin {id: iota::object::UID {id: iota::object::ID {bytes: fake(3,0)}}, balance: iota::balance::Balance {value: 700u64}} -task 10 'view-object'. lines 52-52: +task 10 'view-object'. lines 53-53: Owner: Account Address ( B ) Version: 5 Contents: iota::coin::Coin {id: iota::object::UID {id: iota::object::ID {bytes: fake(8,0)}}, balance: iota::balance::Balance {value: 100u64}} -task 11 'view-object'. lines 54-56: +task 11 'view-object'. lines 55-57: Owner: Account Address ( B ) Version: 5 Contents: iota::coin::Coin {id: iota::object::UID {id: iota::object::ID {bytes: fake(8,1)}}, balance: iota::balance::Balance {value: 100u64}} -task 12 'programmable'. lines 57-60: +task 12 'programmable'. lines 58-61: created: object(12,0), object(12,1) mutated: object(0,0), object(3,0) gas summary: computation_cost: 1000000, storage_cost: 3952000, storage_rebate: 1956240, non_refundable_storage_fee: 19760 -task 13 'view-object'. lines 62-62: +task 13 'view-object'. lines 63-63: Owner: Account Address ( A ) Version: 6 Contents: iota::coin::Coin {id: iota::object::UID {id: iota::object::ID {bytes: fake(3,0)}}, balance: iota::balance::Balance {value: 500u64}} -task 14 'view-object'. lines 64-64: +task 14 'view-object'. lines 65-65: Owner: Account Address ( B ) Version: 6 Contents: iota::coin::Coin {id: iota::object::UID {id: iota::object::ID {bytes: fake(12,0)}}, balance: iota::balance::Balance {value: 100u64}} -task 15 'view-object'. lines 66-69: +task 15 'view-object'. lines 67-70: Owner: Account Address ( B ) Version: 6 Contents: iota::coin::Coin {id: iota::object::UID {id: iota::object::ID {bytes: fake(12,1)}}, balance: iota::balance::Balance {value: 100u64}} -task 16 'programmable'. lines 70-74: +task 16 'programmable'. lines 71-75: created: object(16,0), object(16,1) mutated: object(0,0), object(3,0) gas summary: computation_cost: 1000000, storage_cost: 3952000, storage_rebate: 1956240, non_refundable_storage_fee: 19760 -task 17 'view-object'. lines 76-76: +task 17 'view-object'. lines 77-77: Owner: Account Address ( A ) Version: 7 Contents: iota::coin::Coin {id: iota::object::UID {id: iota::object::ID {bytes: fake(3,0)}}, balance: iota::balance::Balance {value: 300u64}} -task 18 'view-object'. lines 78-78: +task 18 'view-object'. lines 79-79: Owner: Account Address ( B ) Version: 7 Contents: iota::coin::Coin {id: iota::object::UID {id: iota::object::ID {bytes: fake(16,0)}}, balance: iota::balance::Balance {value: 100u64}} -task 19 'view-object'. lines 80-80: +task 19 'view-object'. lines 81-81: Owner: Account Address ( B ) Version: 7 Contents: iota::coin::Coin {id: iota::object::UID {id: iota::object::ID {bytes: fake(16,1)}}, balance: iota::balance::Balance {value: 100u64}} diff --git a/crates/iota-adapter-transactional-tests/tests/programmable/split_coins_invalid.exp b/crates/iota-adapter-transactional-tests/tests/programmable/split_coins_invalid.exp index acc556224b7..b89ee94dbd2 100644 --- a/crates/iota-adapter-transactional-tests/tests/programmable/split_coins_invalid.exp +++ b/crates/iota-adapter-transactional-tests/tests/programmable/split_coins_invalid.exp @@ -3,50 +3,50 @@ processed 12 tasks init: A: object(0,0), B: object(0,1), C: object(0,2) -task 1 'publish'. lines 9-24: +task 1 'publish'. lines 10-25: created: object(1,0) mutated: object(0,3) -gas summary: computation_cost: 1000000, storage_cost: 5639200, storage_rebate: 0, non_refundable_storage_fee: 0 +gas summary: computation_cost: 1000000, storage_cost: 5654400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 26-30: +task 2 'programmable'. lines 27-31: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 1976000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'run'. lines 31-31: +task 3 'run'. lines 32-32: created: object(3,0) mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 2964000, storage_rebate: 1956240, non_refundable_storage_fee: 19760 -task 4 'view-object'. lines 33-35: +task 4 'view-object'. lines 34-36: Owner: Account Address ( A ) Version: 3 Contents: iota::coin::Coin {id: iota::object::UID {id: iota::object::ID {bytes: fake(3,0)}}, balance: iota::balance::Balance {value: 1000u64}} -task 5 'programmable'. lines 36-39: +task 5 'programmable'. lines 37-40: Error: Transaction Effects Status: Insufficient coin balance for operation. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: InsufficientCoinBalance, source: Some("balance: 1000 required: 10001"), command: Some(0) } } -task 6 'programmable'. lines 40-43: +task 6 'programmable'. lines 41-44: Error: Transaction Effects Status: Insufficient coin balance for operation. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: InsufficientCoinBalance, source: Some("balance: 334 required: 335"), command: Some(0) } } -task 7 'programmable'. lines 44-47: +task 7 'programmable'. lines 45-48: Error: Transaction Effects Status: Invalid command argument at 1. The argument cannot be deserialized into a value of the specified type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: InvalidBCSBytes }, source: None, command: Some(0) } } -task 8 'programmable'. lines 48-51: +task 8 'programmable'. lines 49-52: Error: Transaction Effects Status: Invalid command argument at 1. The argument cannot be deserialized into a value of the specified type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: InvalidBCSBytes }, source: None, command: Some(0) } } -task 9 'programmable'. lines 52-56: +task 9 'programmable'. lines 53-57: Error: Transaction Effects Status: Invalid command argument at 1. The type of the value does not match the expected type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: TypeMismatch }, source: None, command: Some(1) } } -task 10 'programmable'. lines 57-62: +task 10 'programmable'. lines 58-63: Error: Transaction Effects Status: Invalid command argument at 1. The type of the value does not match the expected type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: TypeMismatch }, source: None, command: Some(1) } } -task 11 'programmable'. lines 63-65: +task 11 'programmable'. lines 64-66: Error: Transaction Effects Status: Invalid command argument at 0. Invalid usage of result 0, expected a single result but found either no return values or multiple. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: InvalidResultArity { result_idx: 0 } }, source: None, command: Some(1) } } diff --git a/crates/iota-adapter-transactional-tests/tests/programmable/transfer_objects.exp b/crates/iota-adapter-transactional-tests/tests/programmable/transfer_objects.exp index fd637c65207..6fa6690dd7e 100644 --- a/crates/iota-adapter-transactional-tests/tests/programmable/transfer_objects.exp +++ b/crates/iota-adapter-transactional-tests/tests/programmable/transfer_objects.exp @@ -3,57 +3,57 @@ processed 12 tasks init: A: object(0,0), B: object(0,1) -task 1 'publish'. lines 8-32: +task 1 'publish'. lines 9-33: created: object(1,0) mutated: object(0,2) gas summary: computation_cost: 1000000, storage_cost: 6004000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 33-35: +task 2 'programmable'. lines 34-36: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2280000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'view-object'. lines 37-39: +task 3 'view-object'. lines 38-40: Owner: Account Address ( A ) Version: 2 Contents: iota::coin::Coin {id: iota::object::UID {id: iota::object::ID {bytes: fake(0,0)}}, balance: iota::balance::Balance {value: 299999996720000u64}} -task 4 'programmable'. lines 40-43: +task 4 'programmable'. lines 41-44: created: object(4,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2280000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 5 'view-object'. lines 45-47: +task 5 'view-object'. lines 46-48: Owner: Account Address ( _ ) Version: 3 Contents: test::m1::Pub {id: iota::object::UID {id: iota::object::ID {bytes: fake(4,0)}}, value: 112u64} -task 6 'programmable'. lines 48-53: +task 6 'programmable'. lines 49-54: created: object(6,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2280000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 7 'view-object'. lines 55-57: +task 7 'view-object'. lines 56-58: Owner: Account Address ( B ) Version: 4 Contents: test::m1::Pub {id: iota::object::UID {id: iota::object::ID {bytes: fake(6,0)}}, value: 112u64} -task 8 'programmable'. lines 58-65: +task 8 'programmable'. lines 59-66: created: object(8,0), object(8,1), object(8,2) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 5388400, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 9 'view-object'. lines 67-67: +task 9 'view-object'. lines 68-68: Owner: Account Address ( B ) Version: 5 Contents: test::m1::Cup {id: iota::object::UID {id: iota::object::ID {bytes: fake(8,0)}}} -task 10 'view-object'. lines 69-69: +task 10 'view-object'. lines 70-70: Owner: Account Address ( B ) Version: 5 Contents: test::m1::Cup {id: iota::object::UID {id: iota::object::ID {bytes: fake(8,1)}}} -task 11 'view-object'. lines 71-71: +task 11 'view-object'. lines 72-72: Owner: Account Address ( B ) Version: 5 Contents: test::m1::Pub {id: iota::object::UID {id: iota::object::ID {bytes: fake(8,2)}}, value: 112u64} diff --git a/crates/iota-adapter-transactional-tests/tests/programmable/transfer_objects_invalid_address.exp b/crates/iota-adapter-transactional-tests/tests/programmable/transfer_objects_invalid_address.exp index 32273119e33..f8c8971b198 100644 --- a/crates/iota-adapter-transactional-tests/tests/programmable/transfer_objects_invalid_address.exp +++ b/crates/iota-adapter-transactional-tests/tests/programmable/transfer_objects_invalid_address.exp @@ -3,19 +3,19 @@ processed 5 tasks init: A: object(0,0), B: object(0,1) -task 1 'publish'. lines 8-28: +task 1 'publish'. lines 9-29: created: object(1,0) mutated: object(0,2) gas summary: computation_cost: 1000000, storage_cost: 5631600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 29-33: +task 2 'programmable'. lines 30-34: Error: Transaction Effects Status: Invalid command argument at 1. The argument cannot be deserialized into a value of the specified type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: InvalidBCSBytes }, source: None, command: Some(1) } } -task 3 'programmable'. lines 34-39: +task 3 'programmable'. lines 35-40: Error: Transaction Effects Status: Invalid command argument at 1. The type of the value does not match the expected type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: TypeMismatch }, source: None, command: Some(2) } } -task 4 'programmable'. lines 40-43: +task 4 'programmable'. lines 41-44: Error: Transaction Effects Status: Invalid command argument at 1. The type of the value does not match the expected type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: TypeMismatch }, source: None, command: Some(2) } } diff --git a/crates/iota-adapter-transactional-tests/tests/programmable/transfer_objects_invalid_object.exp b/crates/iota-adapter-transactional-tests/tests/programmable/transfer_objects_invalid_object.exp index 44b1d6fe874..b4a9beb0ebb 100644 --- a/crates/iota-adapter-transactional-tests/tests/programmable/transfer_objects_invalid_object.exp +++ b/crates/iota-adapter-transactional-tests/tests/programmable/transfer_objects_invalid_object.exp @@ -3,26 +3,26 @@ processed 7 tasks init: A: object(0,0), B: object(0,1) -task 1 'publish'. lines 8-35: +task 1 'publish'. lines 9-36: created: object(1,0) mutated: object(0,2) gas summary: computation_cost: 1000000, storage_cost: 6148400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 36-39: +task 2 'programmable'. lines 37-40: Error: Error checking transaction input objects: EmptyCommandInput -task 3 'programmable'. lines 40-44: +task 3 'programmable'. lines 41-45: Error: Transaction Effects Status: Invalid command argument at 0. The type of the value does not match the expected type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: TypeMismatch }, source: None, command: Some(1) } } -task 4 'programmable'. lines 45-51: +task 4 'programmable'. lines 46-52: Error: Transaction Effects Status: Invalid command argument at 0. The type of the value does not match the expected type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: TypeMismatch }, source: None, command: Some(2) } } -task 5 'programmable'. lines 52-57: +task 5 'programmable'. lines 53-58: Error: Transaction Effects Status: Invalid command argument at 1. The type of the value does not match the expected type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: TypeMismatch }, source: None, command: Some(2) } } -task 6 'programmable'. lines 58-63: +task 6 'programmable'. lines 59-64: Error: Transaction Effects Status: Invalid command argument at 0. The type of the value does not match the expected type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: TypeMismatch }, source: None, command: Some(2) } } diff --git a/crates/iota-adapter-transactional-tests/tests/programmable/unused_values_invalid.exp b/crates/iota-adapter-transactional-tests/tests/programmable/unused_values_invalid.exp index 25cdcb13baf..d533557d401 100644 --- a/crates/iota-adapter-transactional-tests/tests/programmable/unused_values_invalid.exp +++ b/crates/iota-adapter-transactional-tests/tests/programmable/unused_values_invalid.exp @@ -3,19 +3,19 @@ processed 5 tasks init: A: object(0,0) -task 1 'publish'. lines 8-24: +task 1 'publish'. lines 9-25: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 6604400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 26-31: +task 2 'programmable'. lines 27-32: Error: Transaction Effects Status: Unused result without the drop ability. Command result 2, return value 0 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: UnusedValueWithoutDrop { result_idx: 2, secondary_idx: 0 }, source: None, command: None } } -task 3 'programmable'. lines 32-40: +task 3 'programmable'. lines 33-41: Error: Transaction Effects Status: Unused result without the drop ability. Command result 0, return value 0 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: UnusedValueWithoutDrop { result_idx: 0, secondary_idx: 0 }, source: Some("The value has copy, but not drop. Its last usage must be by-value so it can be taken."), command: None } } -task 4 'programmable'. lines 41-44: +task 4 'programmable'. lines 42-45: Error: Transaction Effects Status: Unused result without the drop ability. Command result 2, return value 0 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: UnusedValueWithoutDrop { result_idx: 2, secondary_idx: 0 }, source: Some("The value has copy, but not drop. Its last usage must be by-value so it can be taken."), command: None } } diff --git a/crates/iota-adapter-transactional-tests/tests/programmable/unused_values_valid.exp b/crates/iota-adapter-transactional-tests/tests/programmable/unused_values_valid.exp index de1d60fa19f..180afef321e 100644 --- a/crates/iota-adapter-transactional-tests/tests/programmable/unused_values_valid.exp +++ b/crates/iota-adapter-transactional-tests/tests/programmable/unused_values_valid.exp @@ -3,24 +3,24 @@ processed 6 tasks init: A: object(0,0) -task 1 'publish'. lines 8-30: +task 1 'publish'. lines 9-31: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 7242800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 31-35: +task 2 'programmable'. lines 32-36: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2204000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'programmable'. lines 36-41: +task 3 'programmable'. lines 37-42: mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 2204000, storage_rebate: 2181960, non_refundable_storage_fee: 22040 -task 4 'programmable'. lines 42-49: +task 4 'programmable'. lines 43-50: mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 5 'programmable'. lines 50-51: +task 5 'programmable'. lines 51-52: mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 diff --git a/crates/iota-adapter-transactional-tests/tests/programmable_transaction_examples/bad_syntax.exp b/crates/iota-adapter-transactional-tests/tests/programmable_transaction_examples/bad_syntax.exp index d69ba7650e2..6ca5d205e72 100644 --- a/crates/iota-adapter-transactional-tests/tests/programmable_transaction_examples/bad_syntax.exp +++ b/crates/iota-adapter-transactional-tests/tests/programmable_transaction_examples/bad_syntax.exp @@ -1,7 +1,7 @@ processed 2 tasks -task 0 'programmable'. lines 4-5: +task 0 'programmable'. lines 5-6: Error: Remove whitespace between // and > to start a command -task 1 'programmable'. lines 7-8: +task 1 'programmable'. lines 8-9: Error: Actual command index of 0 does not match annotated index 1 diff --git a/crates/iota-adapter-transactional-tests/tests/programmable_transaction_examples/coin_limit.exp b/crates/iota-adapter-transactional-tests/tests/programmable_transaction_examples/coin_limit.exp index beede5c5e79..dc45bbcebd7 100644 --- a/crates/iota-adapter-transactional-tests/tests/programmable_transaction_examples/coin_limit.exp +++ b/crates/iota-adapter-transactional-tests/tests/programmable_transaction_examples/coin_limit.exp @@ -3,51 +3,51 @@ processed 11 tasks init: A: object(0,0) -task 1 'publish'. lines 6-25: +task 1 'publish'. lines 7-26: created: object(1,0) mutated: object(0,1) -gas summary: computation_cost: 1000000, storage_cost: 6650000, storage_rebate: 0, non_refundable_storage_fee: 0 +gas summary: computation_cost: 1000000, storage_cost: 6665200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 26-29: +task 2 'programmable'. lines 27-30: created: object(2,0), object(2,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 3260400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'view-object'. lines 31-31: +task 3 'view-object'. lines 32-32: Owner: Account Address ( _ ) Version: 2 Contents: iota::coin::Coin {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}, balance: iota::balance::Balance {value: 100u64}} -task 4 'view-object'. lines 33-35: +task 4 'view-object'. lines 34-36: Owner: Account Address ( A ) Version: 2 Contents: test::m1::CoolMarker {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}} -task 5 'programmable'. lines 36-41: +task 5 'programmable'. lines 37-42: Error: Transaction Effects Status: Unused result without the drop ability. Command result 1, return value 0 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: UnusedValueWithoutDrop { result_idx: 1, secondary_idx: 0 }, source: None, command: None } } -task 6 'programmable'. lines 42-47: +task 6 'programmable'. lines 43-48: created: object(6,0), object(6,1), object(6,2), object(6,3) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 5532800, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 7 'view-object'. lines 49-49: +task 7 'view-object'. lines 50-50: Owner: Account Address ( _ ) Version: 4 Contents: iota::coin::Coin {id: iota::object::UID {id: iota::object::ID {bytes: fake(6,0)}}, balance: iota::balance::Balance {value: 100u64}} -task 8 'view-object'. lines 51-51: +task 8 'view-object'. lines 52-52: Owner: Account Address ( _ ) Version: 4 Contents: iota::coin::Coin {id: iota::object::UID {id: iota::object::ID {bytes: fake(6,1)}}, balance: iota::balance::Balance {value: 100u64}} -task 9 'view-object'. lines 53-53: +task 9 'view-object'. lines 54-54: Owner: Account Address ( A ) Version: 4 Contents: test::m1::CoolMarker {id: iota::object::UID {id: iota::object::ID {bytes: fake(6,2)}}} -task 10 'view-object'. lines 55-55: +task 10 'view-object'. lines 56-56: Owner: Account Address ( A ) Version: 4 Contents: test::m1::CoolMarker {id: iota::object::UID {id: iota::object::ID {bytes: fake(6,3)}}} diff --git a/crates/iota-adapter-transactional-tests/tests/programmable_transaction_examples/make_vec.exp b/crates/iota-adapter-transactional-tests/tests/programmable_transaction_examples/make_vec.exp index 3a9e946b5d8..fc112108fa8 100644 --- a/crates/iota-adapter-transactional-tests/tests/programmable_transaction_examples/make_vec.exp +++ b/crates/iota-adapter-transactional-tests/tests/programmable_transaction_examples/make_vec.exp @@ -3,27 +3,27 @@ processed 7 tasks init: A: object(0,0) -task 1 'publish'. lines 6-49: +task 1 'publish'. lines 7-50: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 8709600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 51-57: +task 2 'programmable'. lines 52-58: mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'programmable'. lines 59-65: +task 3 'programmable'. lines 60-66: mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 4 'programmable'. lines 67-70: +task 4 'programmable'. lines 68-71: mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 5 'programmable'. lines 72-75: +task 5 'programmable'. lines 73-76: Error: Transaction Effects Status: Invalid command argument at 0. The argument cannot be deserialized into a value of the specified type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: InvalidBCSBytes }, source: Some("Function expects std::string::String but provided argument's value does not match"), command: Some(0) } } -task 6 'programmable'. lines 77-81: +task 6 'programmable'. lines 78-82: mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 0, non_refundable_storage_fee: 0 diff --git a/crates/iota-adapter-transactional-tests/tests/programmable_transaction_examples/make_vec_shared.exp b/crates/iota-adapter-transactional-tests/tests/programmable_transaction_examples/make_vec_shared.exp index 2acf82e1cd2..7d5bc06c47a 100644 --- a/crates/iota-adapter-transactional-tests/tests/programmable_transaction_examples/make_vec_shared.exp +++ b/crates/iota-adapter-transactional-tests/tests/programmable_transaction_examples/make_vec_shared.exp @@ -3,22 +3,22 @@ processed 5 tasks init: A: object(0,0), B: object(0,1) -task 1 'publish'. lines 8-29: +task 1 'publish'. lines 9-30: created: object(1,0) mutated: object(0,2) gas summary: computation_cost: 1000000, storage_cost: 6034400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 31-31: +task 2 'run'. lines 32-32: created: object(2,0) mutated: object(0,2) gas summary: computation_cost: 1000000, storage_cost: 2226800, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'view-object'. lines 33-33: +task 3 'view-object'. lines 34-34: Owner: Shared Version: 3 Contents: t2::o2::Obj2 {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 4 'programmable'. lines 35-37: +task 4 'programmable'. lines 36-38: mutated: object(0,0) deleted: object(2,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 1226412, non_refundable_storage_fee: 12388 diff --git a/crates/iota-adapter-transactional-tests/tests/programmable_transaction_examples/merge_coin_shared.exp b/crates/iota-adapter-transactional-tests/tests/programmable_transaction_examples/merge_coin_shared.exp index ec8d9a98785..b0a003a39f8 100644 --- a/crates/iota-adapter-transactional-tests/tests/programmable_transaction_examples/merge_coin_shared.exp +++ b/crates/iota-adapter-transactional-tests/tests/programmable_transaction_examples/merge_coin_shared.exp @@ -3,21 +3,21 @@ processed 5 tasks init: A: object(0,0) -task 1 'publish'. lines 8-26: +task 1 'publish'. lines 9-27: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 5198400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 28-28: +task 2 'run'. lines 29-29: created: object(2,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 2287600, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'view-object'. lines 30-30: +task 3 'view-object'. lines 31-31: Owner: Shared Version: 3 Contents: test::m1::Coin {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}, value: 1000000u64} -task 4 'programmable'. lines 32-33: +task 4 'programmable'. lines 33-34: Error: Transaction Effects Status: Invalid command argument at 1. The type of the value does not match the expected type Debug of error: CommandArgumentError { arg_idx: 1, kind: TypeMismatch } at command Some(0) diff --git a/crates/iota-adapter-transactional-tests/tests/programmable_transaction_examples/merge_coin_shared_real_coin.exp b/crates/iota-adapter-transactional-tests/tests/programmable_transaction_examples/merge_coin_shared_real_coin.exp index 5a442066b61..4740c577f80 100644 --- a/crates/iota-adapter-transactional-tests/tests/programmable_transaction_examples/merge_coin_shared_real_coin.exp +++ b/crates/iota-adapter-transactional-tests/tests/programmable_transaction_examples/merge_coin_shared_real_coin.exp @@ -3,22 +3,22 @@ processed 5 tasks init: A: object(0,0) -task 1 'publish'. lines 8-17: +task 1 'publish'. lines 9-18: created: object(1,0) mutated: object(0,1) -gas summary: computation_cost: 1000000, storage_cost: 4810800, storage_rebate: 0, non_refundable_storage_fee: 0 +gas summary: computation_cost: 1000000, storage_cost: 4826000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 19-19: +task 2 'run'. lines 20-20: created: object(2,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 1976000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'view-object'. lines 21-21: +task 3 'view-object'. lines 22-22: Owner: Shared Version: 3 Contents: iota::coin::Coin {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}, balance: iota::balance::Balance {value: 0u64}} -task 4 'programmable'. lines 23-24: +task 4 'programmable'. lines 24-25: mutated: object(0,0) deleted: object(2,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 diff --git a/crates/iota-adapter-transactional-tests/tests/programmable_transaction_examples/publish.exp b/crates/iota-adapter-transactional-tests/tests/programmable_transaction_examples/publish.exp index b4021cac1a9..f5032aa8cd1 100644 --- a/crates/iota-adapter-transactional-tests/tests/programmable_transaction_examples/publish.exp +++ b/crates/iota-adapter-transactional-tests/tests/programmable_transaction_examples/publish.exp @@ -1,22 +1,28 @@ -processed 9 tasks +processed 11 tasks init: A: object(0,0) -task 3 'programmable'. lines 27-32: +task 3 'programmable'. lines 29-34: created: object(3,0), object(3,1), object(3,2), object(3,3), object(3,4) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 8876800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 6 'programmable'. lines 38-40: +task 4 'view-object'. lines 36-36: +3,3::m + +task 5 'view-object'. lines 38-38: +3,4::{m, n} + +task 8 'programmable'. lines 44-46: mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 7 'publish'. lines 42-47: -created: object(7,0) +task 9 'publish'. lines 48-53: +created: object(9,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 5221200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 8 'run'. lines 49-49: +task 10 'run'. lines 55-55: mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 diff --git a/crates/iota-adapter-transactional-tests/tests/programmable_transaction_examples/publish.move b/crates/iota-adapter-transactional-tests/tests/programmable_transaction_examples/publish.move index 2fee263cdf1..fc8f84c6afe 100644 --- a/crates/iota-adapter-transactional-tests/tests/programmable_transaction_examples/publish.move +++ b/crates/iota-adapter-transactional-tests/tests/programmable_transaction_examples/publish.move @@ -25,6 +25,7 @@ module q::m { } + //# programmable --sender A --inputs 10 @A //> 0: SplitCoins(Gas, [Input(0)]); //> 1: Publish(q, []); @@ -32,9 +33,13 @@ module q::m { //> 3: Publish(p, []); //> TransferObjects([Result(1), Result(3)], Input(1)) -//# set-address p object(3,1) +//# view-object 3,3 + +//# view-object 3,4 + +//# set-address p object(3,4) -//# set-address q object(3,0) +//# set-address q object(3,3) //# programmable --sender A //> 0: q::m::x(); diff --git a/crates/iota-adapter-transactional-tests/tests/programmable_transaction_examples/receipt.exp b/crates/iota-adapter-transactional-tests/tests/programmable_transaction_examples/receipt.exp index 20bd1de2f0b..fb7fb34ed35 100644 --- a/crates/iota-adapter-transactional-tests/tests/programmable_transaction_examples/receipt.exp +++ b/crates/iota-adapter-transactional-tests/tests/programmable_transaction_examples/receipt.exp @@ -1,16 +1,16 @@ processed 4 tasks -task 1 'publish'. lines 6-23: +task 1 'publish'. lines 7-24: created: object(1,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 6224400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 25-29: +task 2 'programmable'. lines 26-30: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2249600, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'view-object'. lines 31-31: +task 3 'view-object'. lines 32-32: Owner: Account Address ( _ ) Version: 3 Contents: test::m1::Witness {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} diff --git a/crates/iota-adapter-transactional-tests/tests/programmable_transaction_examples/split_coin_share.exp b/crates/iota-adapter-transactional-tests/tests/programmable_transaction_examples/split_coin_share.exp index 600a1fe809e..c2093825086 100644 --- a/crates/iota-adapter-transactional-tests/tests/programmable_transaction_examples/split_coin_share.exp +++ b/crates/iota-adapter-transactional-tests/tests/programmable_transaction_examples/split_coin_share.exp @@ -3,36 +3,36 @@ processed 8 tasks init: A: object(0,0) -task 1 'publish'. lines 6-18: +task 1 'publish'. lines 7-19: created: object(1,0) mutated: object(0,1) -gas summary: computation_cost: 1000000, storage_cost: 4993200, storage_rebate: 0, non_refundable_storage_fee: 0 +gas summary: computation_cost: 1000000, storage_cost: 5008400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 20-22: +task 2 'programmable'. lines 21-23: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 1976000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'programmable'. lines 24-26: +task 3 'programmable'. lines 25-27: created: object(3,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 1976000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 4 'run'. lines 28-28: +task 4 'run'. lines 29-29: created: object(4,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 1976000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 5 'view-object'. lines 30-32: +task 5 'view-object'. lines 31-33: Owner: Shared Version: 3 Contents: iota::coin::Coin {id: iota::object::UID {id: iota::object::ID {bytes: fake(4,0)}}, balance: iota::balance::Balance {value: 0u64}} -task 6 'programmable'. lines 33-37: +task 6 'programmable'. lines 34-38: created: object(6,0) mutated: object(0,0), object(4,0) gas summary: computation_cost: 1000000, storage_cost: 2964000, storage_rebate: 1956240, non_refundable_storage_fee: 19760 -task 7 'programmable'. lines 38-41: +task 7 'programmable'. lines 39-42: Error: Transaction Effects Status: The shared object operation is not allowed. Debug of error: SharedObjectOperationNotAllowed at command None diff --git a/crates/iota-adapter-transactional-tests/tests/programmable_transaction_examples/transfer_shared.exp b/crates/iota-adapter-transactional-tests/tests/programmable_transaction_examples/transfer_shared.exp index 5342c406037..06e4ec24556 100644 --- a/crates/iota-adapter-transactional-tests/tests/programmable_transaction_examples/transfer_shared.exp +++ b/crates/iota-adapter-transactional-tests/tests/programmable_transaction_examples/transfer_shared.exp @@ -3,21 +3,21 @@ processed 5 tasks init: A: object(0,0), B: object(0,1) -task 1 'publish'. lines 8-22: +task 1 'publish'. lines 9-23: created: object(1,0) mutated: object(0,2) gas summary: computation_cost: 1000000, storage_cost: 5031200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 24-24: +task 2 'run'. lines 25-25: created: object(2,0) mutated: object(0,2) gas summary: computation_cost: 1000000, storage_cost: 2226800, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'view-object'. lines 26-26: +task 3 'view-object'. lines 27-27: Owner: Shared Version: 3 Contents: t2::o2::Obj2 {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 4 'programmable'. lines 28-29: +task 4 'programmable'. lines 29-30: Error: Transaction Effects Status: The shared object operation is not allowed. Debug of error: SharedObjectOperationNotAllowed at command None diff --git a/crates/iota-adapter-transactional-tests/tests/programmable_transaction_examples/upgrade.exp b/crates/iota-adapter-transactional-tests/tests/programmable_transaction_examples/upgrade.exp index ae6251ac9be..ced5f16527e 100644 --- a/crates/iota-adapter-transactional-tests/tests/programmable_transaction_examples/upgrade.exp +++ b/crates/iota-adapter-transactional-tests/tests/programmable_transaction_examples/upgrade.exp @@ -3,39 +3,39 @@ processed 11 tasks init: A: object(0,0) -task 1 'publish'. lines 8-18: +task 1 'publish'. lines 9-19: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 4354800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'publish'. lines 20-23: +task 2 'publish'. lines 21-24: created: object(2,0), object(2,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 5076800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'publish'. lines 25-28: +task 3 'publish'. lines 26-29: created: object(3,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 3442800, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 5 'programmable'. lines 36-41: +task 5 'programmable'. lines 37-42: created: object(5,0), object(5,1) -mutated: object(0,0), object(2,1) +mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 7052800, storage_rebate: 2595780, non_refundable_storage_fee: 26220 -task 6 'programmable'. lines 43-45: +task 6 'programmable'. lines 44-46: Error: Transaction Effects Status: Move Runtime Abort. Location: p::n::bar (function index 0) at offset 6, Abort Code: 0 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: p, name: Identifier("n") }, function: 0, instruction: 6, function_name: Some("bar") }, 0), source: Some(VMError { major_status: ABORTED, sub_status: Some(0), message: Some("p::n::bar at offset 6"), exec_state: None, location: Module(ModuleId { address: p, name: Identifier("n") }), indices: [], offsets: [(FunctionDefinitionIndex(0), 6)] }), command: Some(1) } } -task 8 'programmable'. lines 49-51: +task 8 'programmable'. lines 50-52: mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 9 'publish'. lines 53-58: +task 9 'publish'. lines 54-59: created: object(9,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 5768400, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 10 'run'. lines 60-60: +task 10 'run'. lines 61-61: mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 diff --git a/crates/iota-adapter-transactional-tests/tests/programmable_transaction_examples/upgrade.move b/crates/iota-adapter-transactional-tests/tests/programmable_transaction_examples/upgrade.move index ef53172e24b..beb320f2cdc 100644 --- a/crates/iota-adapter-transactional-tests/tests/programmable_transaction_examples/upgrade.move +++ b/crates/iota-adapter-transactional-tests/tests/programmable_transaction_examples/upgrade.move @@ -34,7 +34,7 @@ module q_2::m { public fun y(): u64 { r::m::y() } } -//# programmable --sender A --inputs 10 @A object(2,1) 0u8 digest(q_2) +//# programmable --sender A --inputs 10 @A object(2,0) 0u8 digest(q_2) //> 0: iota::package::authorize_upgrade(Input(2), Input(3), Input(4)); //> 1: SplitCoins(Gas, [Input(0)]); //> 2: Upgrade(q_2, [iota,std,r], q, Result(0)); @@ -45,7 +45,7 @@ module q_2::m { //> 0: q::m::x(); //> p::m::foo(Result(0)) -//# set-address q_2 object(5,0) +//# set-address q_2 object(5,1) //# programmable --sender A //> 0: q_2::m::x(); diff --git a/crates/iota-adapter-transactional-tests/tests/publish/init.exp b/crates/iota-adapter-transactional-tests/tests/publish/init.exp index c992784cc9e..2071cc86403 100644 --- a/crates/iota-adapter-transactional-tests/tests/publish/init.exp +++ b/crates/iota-adapter-transactional-tests/tests/publish/init.exp @@ -1,14 +1,14 @@ processed 4 tasks -task 1 'publish'. lines 6-19: +task 1 'publish'. lines 7-20: created: object(1,0), object(1,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 6642400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'view-object'. lines 21-21: +task 2 'view-object'. lines 22-22: Owner: Account Address ( _ ) Version: 2 Contents: Test::M1::Object {id: iota::object::UID {id: iota::object::ID {bytes: fake(1,1)}}, value: 42u64} -task 3 'view-object'. lines 23-23: +task 3 'view-object'. lines 24-24: 1,0::M1 diff --git a/crates/iota-adapter-transactional-tests/tests/publish/init_param.exp b/crates/iota-adapter-transactional-tests/tests/publish/init_param.exp index a41315be23c..eb52e7c2edd 100644 --- a/crates/iota-adapter-transactional-tests/tests/publish/init_param.exp +++ b/crates/iota-adapter-transactional-tests/tests/publish/init_param.exp @@ -1,5 +1,5 @@ processed 2 tasks -task 1 'publish'. lines 5-27: +task 1 'publish'. lines 6-28: Error: Transaction Effects Status: Iota Move Bytecode Verification Error. Please run the Iota Move Verifier for more information. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: IotaMoveVerificationError, source: Some("Expected last parameter for _::M1::init to be &mut iota::tx_context::TxContext or &iota::tx_context::TxContext, but found &mut iota::tx_context::TxContext"), command: Some(0) } } diff --git a/crates/iota-adapter-transactional-tests/tests/publish/init_public.exp b/crates/iota-adapter-transactional-tests/tests/publish/init_public.exp index ce0f0e64a9b..f2e3e3edd34 100644 --- a/crates/iota-adapter-transactional-tests/tests/publish/init_public.exp +++ b/crates/iota-adapter-transactional-tests/tests/publish/init_public.exp @@ -1,5 +1,5 @@ processed 2 tasks -task 1 'publish'. lines 5-27: +task 1 'publish'. lines 6-28: Error: Transaction Effects Status: Iota Move Bytecode Verification Error. Please run the Iota Move Verifier for more information. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: IotaMoveVerificationError, source: Some("_::M1. 'init' function must be private"), command: Some(0) } } diff --git a/crates/iota-adapter-transactional-tests/tests/publish/init_ret.exp b/crates/iota-adapter-transactional-tests/tests/publish/init_ret.exp index e479726bf25..ee8aef17d6e 100644 --- a/crates/iota-adapter-transactional-tests/tests/publish/init_ret.exp +++ b/crates/iota-adapter-transactional-tests/tests/publish/init_ret.exp @@ -1,5 +1,5 @@ processed 2 tasks -task 1 'publish'. lines 5-27: +task 1 'publish'. lines 6-28: Error: Transaction Effects Status: Iota Move Bytecode Verification Error. Please run the Iota Move Verifier for more information. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: IotaMoveVerificationError, source: Some("_::M1, 'init' function cannot have return values"), command: Some(0) } } diff --git a/crates/iota-adapter-transactional-tests/tests/publish/multi_module_publish.exp b/crates/iota-adapter-transactional-tests/tests/publish/multi_module_publish.exp index de747ee98fc..63c76614b0b 100644 --- a/crates/iota-adapter-transactional-tests/tests/publish/multi_module_publish.exp +++ b/crates/iota-adapter-transactional-tests/tests/publish/multi_module_publish.exp @@ -1,9 +1,9 @@ processed 3 tasks -task 1 'publish'. lines 6-13: +task 1 'publish'. lines 7-14: created: object(1,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 5046400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'view-object'. lines 15-15: +task 2 'view-object'. lines 16-16: 1,0::{M1, M2} diff --git a/crates/iota-adapter-transactional-tests/tests/publish/publish_with_upgrade.exp b/crates/iota-adapter-transactional-tests/tests/publish/publish_with_upgrade.exp index b5b029c0620..03f24413d0a 100644 --- a/crates/iota-adapter-transactional-tests/tests/publish/publish_with_upgrade.exp +++ b/crates/iota-adapter-transactional-tests/tests/publish/publish_with_upgrade.exp @@ -1,11 +1,11 @@ processed 3 tasks -task 1 'publish'. lines 6-9: +task 1 'publish'. lines 7-10: created: object(1,0), object(1,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 5532800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'view-object'. lines 11-11: +task 2 'view-object'. lines 12-12: Owner: Account Address ( _ ) Version: 2 Contents: iota::package::UpgradeCap {id: iota::object::UID {id: iota::object::ID {bytes: fake(1,1)}}, package: iota::object::ID {bytes: Test}, version: 1u64, policy: 0u8} diff --git a/crates/iota-adapter-transactional-tests/tests/random/happy_flows.exp b/crates/iota-adapter-transactional-tests/tests/random/happy_flows.exp index 86a706f8ca6..42a54cbcad4 100644 --- a/crates/iota-adapter-transactional-tests/tests/random/happy_flows.exp +++ b/crates/iota-adapter-transactional-tests/tests/random/happy_flows.exp @@ -3,32 +3,32 @@ processed 8 tasks init: A: object(0,0), B: object(0,1) -task 1 'publish'. lines 6-25: +task 1 'publish'. lines 7-26: created: object(1,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 6209200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 26-29: +task 2 'programmable'. lines 27-30: mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'programmable'. lines 30-34: +task 3 'programmable'. lines 31-35: mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 4 'programmable'. lines 35-39: +task 4 'programmable'. lines 36-40: mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 5 'programmable'. lines 40-46: +task 5 'programmable'. lines 41-47: created: object(5,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 1976000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 6 'programmable'. lines 47-53: +task 6 'programmable'. lines 48-54: mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 7 'programmable'. lines 54-55: +task 7 'programmable'. lines 55-56: mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 diff --git a/crates/iota-adapter-transactional-tests/tests/random/move_call_clock_after_random.exp b/crates/iota-adapter-transactional-tests/tests/random/move_call_clock_after_random.exp index 7ae9807f095..509bc9861d9 100644 --- a/crates/iota-adapter-transactional-tests/tests/random/move_call_clock_after_random.exp +++ b/crates/iota-adapter-transactional-tests/tests/random/move_call_clock_after_random.exp @@ -3,10 +3,10 @@ processed 3 tasks init: A: object(0,0), B: object(0,1) -task 1 'publish'. lines 6-15: +task 1 'publish'. lines 7-16: created: object(1,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 4240800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 16-18: +task 2 'programmable'. lines 17-19: Error: Error checking transaction input objects: PostRandomCommandRestrictions diff --git a/crates/iota-adapter-transactional-tests/tests/random/move_call_clock_after_random_and_transfer.exp b/crates/iota-adapter-transactional-tests/tests/random/move_call_clock_after_random_and_transfer.exp index 19c06b65a91..d2a3b2f6f2f 100644 --- a/crates/iota-adapter-transactional-tests/tests/random/move_call_clock_after_random_and_transfer.exp +++ b/crates/iota-adapter-transactional-tests/tests/random/move_call_clock_after_random_and_transfer.exp @@ -3,10 +3,10 @@ processed 3 tasks init: A: object(0,0), B: object(0,1) -task 1 'publish'. lines 6-15: +task 1 'publish'. lines 7-16: created: object(1,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 4240800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 16-20: +task 2 'programmable'. lines 17-21: Error: Error checking transaction input objects: PostRandomCommandRestrictions diff --git a/crates/iota-adapter-transactional-tests/tests/random/move_call_u64_after_random.exp b/crates/iota-adapter-transactional-tests/tests/random/move_call_u64_after_random.exp index fed3b481b61..a8b8c66b312 100644 --- a/crates/iota-adapter-transactional-tests/tests/random/move_call_u64_after_random.exp +++ b/crates/iota-adapter-transactional-tests/tests/random/move_call_u64_after_random.exp @@ -3,10 +3,10 @@ processed 3 tasks init: A: object(0,0), B: object(0,1) -task 1 'publish'. lines 6-14: +task 1 'publish'. lines 7-15: created: object(1,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 4081200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 15-17: +task 2 'programmable'. lines 16-18: Error: Error checking transaction input objects: PostRandomCommandRestrictions diff --git a/crates/iota-adapter-transactional-tests/tests/random/two_move_calls_with_random.exp b/crates/iota-adapter-transactional-tests/tests/random/two_move_calls_with_random.exp index 7f83c1dd1b5..8061e534737 100644 --- a/crates/iota-adapter-transactional-tests/tests/random/two_move_calls_with_random.exp +++ b/crates/iota-adapter-transactional-tests/tests/random/two_move_calls_with_random.exp @@ -3,10 +3,10 @@ processed 3 tasks init: A: object(0,0), B: object(0,1) -task 1 'publish'. lines 6-13: +task 1 'publish'. lines 7-14: created: object(1,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 3898800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'programmable'. lines 14-16: +task 2 'programmable'. lines 15-17: Error: Error checking transaction input objects: PostRandomCommandRestrictions diff --git a/crates/iota-adapter-transactional-tests/tests/receive_object/basic_receive.exp b/crates/iota-adapter-transactional-tests/tests/receive_object/basic_receive.exp index 15307cabdba..7a60b1c0696 100644 --- a/crates/iota-adapter-transactional-tests/tests/receive_object/basic_receive.exp +++ b/crates/iota-adapter-transactional-tests/tests/receive_object/basic_receive.exp @@ -1,39 +1,39 @@ processed 9 tasks -task 1 'publish'. lines 6-30: +task 1 'publish'. lines 7-31: created: object(1,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 6923600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 32-32: +task 2 'run'. lines 33-33: created: object(2,0), object(2,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 3420000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'view-object'. lines 34-34: +task 3 'view-object'. lines 35-35: Owner: Account Address ( _ ) Version: 3 Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 4 'view-object'. lines 36-38: +task 4 'view-object'. lines 37-39: Owner: Account Address ( fake(2,0) ) Version: 3 Contents: tto::M1::B {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}} -task 5 'run'. lines 39-39: +task 5 'run'. lines 40-40: mutated: object(0,0), object(2,0), object(2,1) gas summary: computation_cost: 1000000, storage_cost: 3420000, storage_rebate: 3385800, non_refundable_storage_fee: 34200 -task 6 'view-object'. lines 41-41: +task 6 'view-object'. lines 42-42: Owner: Account Address ( _ ) Version: 4 Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 7 'view-object'. lines 43-45: +task 7 'view-object'. lines 44-46: Owner: Account Address ( _ ) Version: 4 Contents: tto::M1::B {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}} -task 8 'run'. lines 46-46: +task 8 'run'. lines 47-47: Error: Transaction Effects Status: Move Runtime Abort. Location: iota::transfer::receive_impl (function index 12) at offset 0, Abort Code: 3 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: iota, name: Identifier("transfer") }, function: 12, instruction: 0, function_name: Some("receive_impl") }, 3), source: Some(VMError { major_status: ABORTED, sub_status: Some(3), message: None, exec_state: None, location: Module(ModuleId { address: iota, name: Identifier("transfer") }), indices: [], offsets: [(FunctionDefinitionIndex(12), 0)] }), command: Some(0) } } diff --git a/crates/iota-adapter-transactional-tests/tests/receive_object/drop_receiving.exp b/crates/iota-adapter-transactional-tests/tests/receive_object/drop_receiving.exp index 3826a2a6b6d..be3704854f7 100644 --- a/crates/iota-adapter-transactional-tests/tests/receive_object/drop_receiving.exp +++ b/crates/iota-adapter-transactional-tests/tests/receive_object/drop_receiving.exp @@ -1,23 +1,23 @@ processed 6 tasks -task 1 'publish'. lines 6-34: +task 1 'publish'. lines 7-35: created: object(1,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 7144000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 36-36: +task 2 'run'. lines 37-37: created: object(2,0), object(2,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 3420000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'programmable'. lines 38-41: +task 3 'programmable'. lines 39-42: mutated: object(0,0), object(2,0), object(2,1) gas summary: computation_cost: 1000000, storage_cost: 3420000, storage_rebate: 3385800, non_refundable_storage_fee: 34200 -task 4 'programmable'. lines 42-46: +task 4 'programmable'. lines 43-47: mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 2204000, storage_rebate: 2181960, non_refundable_storage_fee: 22040 -task 5 'programmable'. lines 47-48: +task 5 'programmable'. lines 48-49: mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 2204000, storage_rebate: 2181960, non_refundable_storage_fee: 22040 diff --git a/crates/iota-adapter-transactional-tests/tests/receive_object/duplicate_receive_argument.exp b/crates/iota-adapter-transactional-tests/tests/receive_object/duplicate_receive_argument.exp index 76734f173e7..13b866e4005 100644 --- a/crates/iota-adapter-transactional-tests/tests/receive_object/duplicate_receive_argument.exp +++ b/crates/iota-adapter-transactional-tests/tests/receive_object/duplicate_receive_argument.exp @@ -1,21 +1,21 @@ processed 6 tasks -task 1 'publish'. lines 6-31: +task 1 'publish'. lines 7-32: created: object(1,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 6756400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 33-33: +task 2 'run'. lines 34-34: created: object(2,0), object(2,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 3420000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'programmable'. lines 35-38: +task 3 'programmable'. lines 36-39: mutated: object(0,0), object(2,0), object(2,1) gas summary: computation_cost: 1000000, storage_cost: 3420000, storage_rebate: 3385800, non_refundable_storage_fee: 34200 -task 4 'programmable'. lines 39-42: +task 4 'programmable'. lines 40-43: Error: Error checking transaction input objects: DuplicateObjectRefInput -task 5 'programmable'. lines 43-44: -Error: Error checking transaction input objects: IncorrectUserSignature { error: "Object object(2,1) is owned by account address object(2,0), but given owner/signer address is 0xfccc9a421bbb13c1a66a1aa98f0ad75029ede94857779c6915b44f94068b921e" } +task 5 'programmable'. lines 44-45: +Error: Error checking transaction input objects: IncorrectUserSignature { error: "Object object(2,1) is owned by account address object(2,0), but given owner/signer address is 0x8cca4e1ce0ba5904cea61df9242da2f7d29e3ef328fb7ec07c086b3bf47ca61a" } diff --git a/crates/iota-adapter-transactional-tests/tests/receive_object/move_vec_receiving_types.exp b/crates/iota-adapter-transactional-tests/tests/receive_object/move_vec_receiving_types.exp index 28f0a0146e9..1c972a14dd9 100644 --- a/crates/iota-adapter-transactional-tests/tests/receive_object/move_vec_receiving_types.exp +++ b/crates/iota-adapter-transactional-tests/tests/receive_object/move_vec_receiving_types.exp @@ -1,60 +1,60 @@ processed 14 tasks -task 1 'publish'. lines 6-63: +task 1 'publish'. lines 7-64: created: object(1,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 10579200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 65-65: +task 2 'run'. lines 66-66: created: object(2,0), object(2,1), object(2,2), object(2,3), object(2,4) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 7068000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'view-object'. lines 67-67: +task 3 'view-object'. lines 68-68: Owner: Account Address ( _ ) Version: 3 Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 4 'view-object'. lines 69-69: +task 4 'view-object'. lines 70-70: Owner: Account Address ( fake(2,0) ) Version: 3 Contents: tto::M1::B {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}} -task 5 'view-object'. lines 71-71: +task 5 'view-object'. lines 72-72: Owner: Account Address ( fake(2,0) ) Version: 3 Contents: tto::M1::B {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,2)}}} -task 6 'view-object'. lines 73-73: +task 6 'view-object'. lines 74-74: Owner: Account Address ( fake(2,0) ) Version: 3 Contents: tto::M1::C {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,3)}}} -task 7 'view-object'. lines 75-77: +task 7 'view-object'. lines 76-78: Owner: Account Address ( fake(2,0) ) Version: 3 Contents: tto::M1::C {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,4)}}} -task 8 'programmable'. lines 78-81: +task 8 'programmable'. lines 79-82: mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 2204000, storage_rebate: 2181960, non_refundable_storage_fee: 22040 -task 9 'programmable'. lines 82-86: +task 9 'programmable'. lines 83-87: mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 2204000, storage_rebate: 2181960, non_refundable_storage_fee: 22040 -task 10 'programmable'. lines 87-92: +task 10 'programmable'. lines 88-93: Error: Transaction Effects Status: Invalid command argument at 0. The type of the value does not match the expected type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: TypeMismatch }, source: None, command: Some(1) } } -task 11 'programmable'. lines 93-97: +task 11 'programmable'. lines 94-98: Error: Transaction Effects Status: Move Runtime Abort. Location: iota::transfer::receive_impl (function index 12) at offset 0, Abort Code: 2 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: iota, name: Identifier("transfer") }, function: 12, instruction: 0, function_name: Some("receive_impl") }, 2), source: Some(VMError { major_status: ABORTED, sub_status: Some(2), message: None, exec_state: None, location: Module(ModuleId { address: iota, name: Identifier("transfer") }), indices: [], offsets: [(FunctionDefinitionIndex(12), 0)] }), command: Some(1) } } -task 12 'programmable'. lines 98-100: +task 12 'programmable'. lines 99-101: Error: Transaction Effects Status: Invalid command argument at 4. The type of the value does not match the expected type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 4, kind: TypeMismatch }, source: None, command: Some(1) } } -task 13 'programmable'. lines 102-105: +task 13 'programmable'. lines 103-106: Error: Transaction Effects Status: Invalid command argument at 4. The type of the value does not match the expected type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 4, kind: TypeMismatch }, source: None, command: Some(2) } } diff --git a/crates/iota-adapter-transactional-tests/tests/receive_object/pass_receiver_immut_then_reuse.exp b/crates/iota-adapter-transactional-tests/tests/receive_object/pass_receiver_immut_then_reuse.exp index dc639f340c4..6f196280f33 100644 --- a/crates/iota-adapter-transactional-tests/tests/receive_object/pass_receiver_immut_then_reuse.exp +++ b/crates/iota-adapter-transactional-tests/tests/receive_object/pass_receiver_immut_then_reuse.exp @@ -1,25 +1,25 @@ processed 6 tasks -task 1 'publish'. lines 6-32: +task 1 'publish'. lines 7-33: created: object(1,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 7174400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 34-34: +task 2 'run'. lines 35-35: created: object(2,0), object(2,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 3420000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'view-object'. lines 36-36: +task 3 'view-object'. lines 37-37: Owner: Account Address ( _ ) Version: 3 Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 4 'view-object'. lines 38-40: +task 4 'view-object'. lines 39-41: Owner: Account Address ( fake(2,0) ) Version: 3 Contents: tto::M1::B {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}} -task 5 'programmable'. lines 41-43: +task 5 'programmable'. lines 42-44: mutated: object(0,0), object(2,0), object(2,1) gas summary: computation_cost: 1000000, storage_cost: 3420000, storage_rebate: 3385800, non_refundable_storage_fee: 34200 diff --git a/crates/iota-adapter-transactional-tests/tests/receive_object/pass_receiver_mut_then_reuse.exp b/crates/iota-adapter-transactional-tests/tests/receive_object/pass_receiver_mut_then_reuse.exp index dc639f340c4..6f196280f33 100644 --- a/crates/iota-adapter-transactional-tests/tests/receive_object/pass_receiver_mut_then_reuse.exp +++ b/crates/iota-adapter-transactional-tests/tests/receive_object/pass_receiver_mut_then_reuse.exp @@ -1,25 +1,25 @@ processed 6 tasks -task 1 'publish'. lines 6-32: +task 1 'publish'. lines 7-33: created: object(1,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 7174400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 34-34: +task 2 'run'. lines 35-35: created: object(2,0), object(2,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 3420000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'view-object'. lines 36-36: +task 3 'view-object'. lines 37-37: Owner: Account Address ( _ ) Version: 3 Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 4 'view-object'. lines 38-40: +task 4 'view-object'. lines 39-41: Owner: Account Address ( fake(2,0) ) Version: 3 Contents: tto::M1::B {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}} -task 5 'programmable'. lines 41-43: +task 5 'programmable'. lines 42-44: mutated: object(0,0), object(2,0), object(2,1) gas summary: computation_cost: 1000000, storage_cost: 3420000, storage_rebate: 3385800, non_refundable_storage_fee: 34200 diff --git a/crates/iota-adapter-transactional-tests/tests/receive_object/pt_receive_type_fixing.exp b/crates/iota-adapter-transactional-tests/tests/receive_object/pt_receive_type_fixing.exp index e26495513cc..51bf0e9734c 100644 --- a/crates/iota-adapter-transactional-tests/tests/receive_object/pt_receive_type_fixing.exp +++ b/crates/iota-adapter-transactional-tests/tests/receive_object/pt_receive_type_fixing.exp @@ -1,53 +1,53 @@ processed 13 tasks -task 1 'publish'. lines 6-50: +task 1 'publish'. lines 7-51: created: object(1,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 8937600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 52-52: +task 2 'run'. lines 53-53: created: object(2,0), object(2,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 3420000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'view-object'. lines 54-54: +task 3 'view-object'. lines 55-55: Owner: Account Address ( _ ) Version: 3 Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 4 'view-object'. lines 56-59: +task 4 'view-object'. lines 57-60: Owner: Account Address ( fake(2,0) ) Version: 3 Contents: tto::M1::B {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}} -task 5 'programmable'. lines 60-62: +task 5 'programmable'. lines 61-63: mutated: object(0,0), object(2,0), object(2,1) gas summary: computation_cost: 1000000, storage_cost: 3420000, storage_rebate: 3385800, non_refundable_storage_fee: 34200 -task 6 'programmable'. lines 64-66: +task 6 'programmable'. lines 65-67: Error: Transaction Effects Status: Invalid command argument at 1. The type of the value does not match the expected type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: TypeMismatch }, source: None, command: Some(1) } } -task 7 'programmable'. lines 68-70: +task 7 'programmable'. lines 69-71: Error: Transaction Effects Status: Invalid command argument at 1. The type of the value does not match the expected type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: TypeMismatch }, source: None, command: Some(1) } } -task 8 'programmable'. lines 72-76: +task 8 'programmable'. lines 73-77: Error: Transaction Effects Status: Invalid command argument at 1. The type of the value does not match the expected type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: TypeMismatch }, source: None, command: Some(1) } } -task 9 'programmable'. lines 77-79: +task 9 'programmable'. lines 78-80: Error: Transaction Effects Status: Invalid command argument at 0. The type of the value does not match the expected type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: TypeMismatch }, source: None, command: Some(1) } } -task 10 'programmable'. lines 81-86: +task 10 'programmable'. lines 82-87: Error: Transaction Effects Status: Invalid command argument at 1. The type of the value does not match the expected type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: TypeMismatch }, source: None, command: Some(2) } } -task 11 'programmable'. lines 87-92: +task 11 'programmable'. lines 88-93: Error: Transaction Effects Status: Invalid command argument at 1. The type of the value does not match the expected type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: TypeMismatch }, source: None, command: Some(2) } } -task 12 'programmable'. lines 93-95: +task 12 'programmable'. lines 94-96: Error: Transaction Effects Status: Invalid command argument at 0. The type of the value does not match the expected type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: TypeMismatch }, source: None, command: Some(1) } } diff --git a/crates/iota-adapter-transactional-tests/tests/receive_object/receive_add_dof_and_mutate.exp b/crates/iota-adapter-transactional-tests/tests/receive_object/receive_add_dof_and_mutate.exp index 52f805e177a..c9d63aee30c 100644 --- a/crates/iota-adapter-transactional-tests/tests/receive_object/receive_add_dof_and_mutate.exp +++ b/crates/iota-adapter-transactional-tests/tests/receive_object/receive_add_dof_and_mutate.exp @@ -3,52 +3,52 @@ processed 11 tasks init: A: object(0,0) -task 1 'publish'. lines 6-36: +task 1 'publish'. lines 7-37: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 7835600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 38-38: +task 2 'run'. lines 39-39: created: object(2,0), object(2,1) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 3541600, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'view-object'. lines 40-40: -Owner: Account Address ( _ ) +task 3 'view-object'. lines 41-41: +Owner: Account Address ( fake(2,1) ) Version: 3 Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}, value: 0u64} -task 4 'view-object'. lines 42-42: -Owner: Account Address ( fake(2,0) ) +task 4 'view-object'. lines 43-43: +Owner: Account Address ( _ ) Version: 3 Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}, value: 0u64} -task 5 'run'. lines 44-44: +task 5 'run'. lines 45-45: created: object(5,0), object(5,1), object(5,2) mutated: object(0,1), object(2,0), object(2,1) gas summary: computation_cost: 1000000, storage_cost: 9728000, storage_rebate: 3506184, non_refundable_storage_fee: 35416 -task 6 'view-object'. lines 46-46: -Owner: Account Address ( _ ) +task 6 'view-object'. lines 47-47: +Owner: Object ID: ( fake(5,1) ) Version: 4 -Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}, value: 0u64} +Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}, value: 100u64} -task 7 'view-object'. lines 48-48: -Owner: Object ID: ( fake(5,0) ) +task 7 'view-object'. lines 49-49: +Owner: Account Address ( _ ) Version: 4 -Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}, value: 100u64} +Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}, value: 0u64} -task 8 'view-object'. lines 50-50: +task 8 'view-object'. lines 51-51: Owner: Object ID: ( fake(2,0) ) Version: 4 -Contents: iota::dynamic_field::Field, iota::object::ID> {id: iota::object::UID {id: iota::object::ID {bytes: fake(5,0)}}, name: iota::dynamic_object_field::Wrapper {name: 0u64}, value: iota::object::ID {bytes: fake(2,1)}} +Contents: iota::dynamic_field::Field, iota::object::ID> {id: iota::object::UID {id: iota::object::ID {bytes: fake(5,0)}}, name: iota::dynamic_object_field::Wrapper {name: 0u64}, value: iota::object::ID {bytes: fake(5,2)}} -task 9 'view-object'. lines 52-52: +task 9 'view-object'. lines 53-53: Owner: Object ID: ( fake(2,1) ) Version: 4 -Contents: iota::dynamic_field::Field, iota::object::ID> {id: iota::object::UID {id: iota::object::ID {bytes: fake(5,1)}}, name: iota::dynamic_object_field::Wrapper {name: 0u64}, value: iota::object::ID {bytes: fake(5,2)}} +Contents: iota::dynamic_field::Field, iota::object::ID> {id: iota::object::UID {id: iota::object::ID {bytes: fake(5,1)}}, name: iota::dynamic_object_field::Wrapper {name: 0u64}, value: iota::object::ID {bytes: fake(2,0)}} -task 10 'view-object'. lines 54-54: -Owner: Object ID: ( fake(5,1) ) +task 10 'view-object'. lines 55-55: +Owner: Object ID: ( fake(5,0) ) Version: 4 Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(5,2)}}, value: 100u64} diff --git a/crates/iota-adapter-transactional-tests/tests/receive_object/receive_add_dof_and_mutate.move b/crates/iota-adapter-transactional-tests/tests/receive_object/receive_add_dof_and_mutate.move index ae12728cc69..b1c8a4a9dec 100644 --- a/crates/iota-adapter-transactional-tests/tests/receive_object/receive_add_dof_and_mutate.move +++ b/crates/iota-adapter-transactional-tests/tests/receive_object/receive_add_dof_and_mutate.move @@ -42,7 +42,7 @@ module tto::M1 { //# view-object 2,1 -//# run tto::M1::receive --args object(2,0) receiving(2,1) +//# run tto::M1::receive --args object(2,1) receiving(2,0) //# view-object 2,0 diff --git a/crates/iota-adapter-transactional-tests/tests/receive_object/receive_and_abort.exp b/crates/iota-adapter-transactional-tests/tests/receive_object/receive_and_abort.exp index 606a5b26a0a..d8c3185c904 100644 --- a/crates/iota-adapter-transactional-tests/tests/receive_object/receive_and_abort.exp +++ b/crates/iota-adapter-transactional-tests/tests/receive_object/receive_and_abort.exp @@ -1,35 +1,35 @@ processed 8 tasks -task 1 'publish'. lines 6-30: +task 1 'publish'. lines 7-31: created: object(1,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 6688000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 32-32: +task 2 'run'. lines 33-33: created: object(2,0), object(2,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 3420000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'view-object'. lines 34-34: +task 3 'view-object'. lines 35-35: Owner: Account Address ( _ ) Version: 3 Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 4 'view-object'. lines 36-38: +task 4 'view-object'. lines 37-39: Owner: Account Address ( fake(2,0) ) Version: 3 Contents: tto::M1::B {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}} -task 5 'run'. lines 39-39: +task 5 'run'. lines 40-40: Error: Transaction Effects Status: Move Runtime Abort. Location: tto::M1::receiver (function index 1) at offset 6, Abort Code: 0 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: tto, name: Identifier("M1") }, function: 1, instruction: 6, function_name: Some("receiver") }, 0), source: Some(VMError { major_status: ABORTED, sub_status: Some(0), message: Some("tto::M1::receiver at offset 6"), exec_state: None, location: Module(ModuleId { address: tto, name: Identifier("M1") }), indices: [], offsets: [(FunctionDefinitionIndex(1), 6)] }), command: Some(0) } } -task 6 'view-object'. lines 41-41: +task 6 'view-object'. lines 42-42: Owner: Account Address ( _ ) Version: 4 Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 7 'view-object'. lines 43-43: +task 7 'view-object'. lines 44-44: Owner: Account Address ( fake(2,0) ) Version: 3 Contents: tto::M1::B {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}} diff --git a/crates/iota-adapter-transactional-tests/tests/receive_object/receive_and_deleted.exp b/crates/iota-adapter-transactional-tests/tests/receive_object/receive_and_deleted.exp index 275d887458e..2bb95407354 100644 --- a/crates/iota-adapter-transactional-tests/tests/receive_object/receive_and_deleted.exp +++ b/crates/iota-adapter-transactional-tests/tests/receive_object/receive_and_deleted.exp @@ -1,38 +1,38 @@ processed 9 tasks -task 1 'publish'. lines 6-30: +task 1 'publish'. lines 7-31: created: object(1,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 6726000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 32-32: +task 2 'run'. lines 33-33: created: object(2,0), object(2,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 3420000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'view-object'. lines 34-34: +task 3 'view-object'. lines 35-35: Owner: Account Address ( _ ) Version: 3 Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 4 'view-object'. lines 36-38: +task 4 'view-object'. lines 37-39: Owner: Account Address ( fake(2,0) ) Version: 3 Contents: tto::M1::B {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}} -task 5 'run'. lines 39-39: +task 5 'run'. lines 40-40: mutated: object(0,0), object(2,0) deleted: object(2,1) gas summary: computation_cost: 1000000, storage_cost: 2204000, storage_rebate: 3385800, non_refundable_storage_fee: 34200 -task 6 'view-object'. lines 41-41: +task 6 'view-object'. lines 42-42: Owner: Account Address ( _ ) Version: 4 Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 7 'view-object'. lines 43-45: +task 7 'view-object'. lines 44-46: No object at id 2,1 -task 8 'run'. lines 46-46: +task 8 'run'. lines 47-47: Error: Transaction Effects Status: Move Runtime Abort. Location: iota::transfer::receive_impl (function index 12) at offset 0, Abort Code: 3 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: iota, name: Identifier("transfer") }, function: 12, instruction: 0, function_name: Some("receive_impl") }, 3), source: Some(VMError { major_status: ABORTED, sub_status: Some(3), message: None, exec_state: None, location: Module(ModuleId { address: iota, name: Identifier("transfer") }), indices: [], offsets: [(FunctionDefinitionIndex(12), 0)] }), command: Some(0) } } diff --git a/crates/iota-adapter-transactional-tests/tests/receive_object/receive_and_send_back.exp b/crates/iota-adapter-transactional-tests/tests/receive_object/receive_and_send_back.exp index d9a2ec39da9..d2fc218a2e8 100644 --- a/crates/iota-adapter-transactional-tests/tests/receive_object/receive_and_send_back.exp +++ b/crates/iota-adapter-transactional-tests/tests/receive_object/receive_and_send_back.exp @@ -1,39 +1,39 @@ processed 9 tasks -task 1 'publish'. lines 6-31: +task 1 'publish'. lines 7-32: created: object(1,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 6756400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 33-33: +task 2 'run'. lines 34-34: created: object(2,0), object(2,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 3420000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'view-object'. lines 35-35: +task 3 'view-object'. lines 36-36: Owner: Account Address ( _ ) Version: 3 Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 4 'view-object'. lines 37-39: +task 4 'view-object'. lines 38-40: Owner: Account Address ( fake(2,0) ) Version: 3 Contents: tto::M1::B {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}} -task 5 'run'. lines 40-40: +task 5 'run'. lines 41-41: mutated: object(0,0), object(2,0), object(2,1) gas summary: computation_cost: 1000000, storage_cost: 3420000, storage_rebate: 3385800, non_refundable_storage_fee: 34200 -task 6 'view-object'. lines 42-42: +task 6 'view-object'. lines 43-43: Owner: Account Address ( _ ) Version: 4 Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 7 'view-object'. lines 44-46: +task 7 'view-object'. lines 45-47: Owner: Account Address ( fake(2,0) ) Version: 4 Contents: tto::M1::B {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}} -task 8 'run'. lines 47-47: +task 8 'run'. lines 48-48: Error: Transaction Effects Status: Move Runtime Abort. Location: iota::transfer::receive_impl (function index 12) at offset 0, Abort Code: 3 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: iota, name: Identifier("transfer") }, function: 12, instruction: 0, function_name: Some("receive_impl") }, 3), source: Some(VMError { major_status: ABORTED, sub_status: Some(3), message: None, exec_state: None, location: Module(ModuleId { address: iota, name: Identifier("transfer") }), indices: [], offsets: [(FunctionDefinitionIndex(12), 0)] }), command: Some(0) } } diff --git a/crates/iota-adapter-transactional-tests/tests/receive_object/receive_and_wrap.exp b/crates/iota-adapter-transactional-tests/tests/receive_object/receive_and_wrap.exp index f16913d6d00..047d73250ad 100644 --- a/crates/iota-adapter-transactional-tests/tests/receive_object/receive_and_wrap.exp +++ b/crates/iota-adapter-transactional-tests/tests/receive_object/receive_and_wrap.exp @@ -1,39 +1,39 @@ processed 9 tasks -task 1 'publish'. lines 6-39: +task 1 'publish'. lines 7-40: created: object(1,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 7569600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 41-41: +task 2 'run'. lines 42-42: created: object(2,0), object(2,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 3420000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'view-object'. lines 43-43: +task 3 'view-object'. lines 44-44: Owner: Account Address ( _ ) Version: 3 Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 4 'view-object'. lines 45-47: +task 4 'view-object'. lines 46-48: Owner: Account Address ( fake(2,0) ) Version: 3 Contents: tto::M1::B {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}} -task 5 'run'. lines 48-48: +task 5 'run'. lines 49-49: created: object(5,0) mutated: object(0,0), object(2,0) wrapped: object(2,1) gas summary: computation_cost: 1000000, storage_cost: 3708800, storage_rebate: 3385800, non_refundable_storage_fee: 34200 -task 6 'view-object'. lines 50-50: +task 6 'view-object'. lines 51-51: Owner: Account Address ( _ ) Version: 4 Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 7 'view-object'. lines 52-54: +task 7 'view-object'. lines 53-55: No object at id 2,1 -task 8 'run'. lines 55-55: +task 8 'run'. lines 56-56: Error: Transaction Effects Status: Move Runtime Abort. Location: iota::transfer::receive_impl (function index 12) at offset 0, Abort Code: 3 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: iota, name: Identifier("transfer") }, function: 12, instruction: 0, function_name: Some("receive_impl") }, 3), source: Some(VMError { major_status: ABORTED, sub_status: Some(3), message: None, exec_state: None, location: Module(ModuleId { address: iota, name: Identifier("transfer") }), indices: [], offsets: [(FunctionDefinitionIndex(12), 0)] }), command: Some(0) } } diff --git a/crates/iota-adapter-transactional-tests/tests/receive_object/receive_by_ref.exp b/crates/iota-adapter-transactional-tests/tests/receive_object/receive_by_ref.exp index 8072b66dcb2..dbc9dc76e5f 100644 --- a/crates/iota-adapter-transactional-tests/tests/receive_object/receive_by_ref.exp +++ b/crates/iota-adapter-transactional-tests/tests/receive_object/receive_by_ref.exp @@ -1,73 +1,73 @@ processed 18 tasks -task 1 'publish'. lines 6-39: +task 1 'publish'. lines 7-40: created: object(1,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 9872400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 41-41: +task 2 'run'. lines 42-42: created: object(2,0), object(2,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 3420000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'view-object'. lines 43-43: +task 3 'view-object'. lines 44-44: Owner: Account Address ( _ ) Version: 3 Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 4 'view-object'. lines 45-45: +task 4 'view-object'. lines 46-46: Owner: Account Address ( fake(2,0) ) Version: 3 Contents: tto::M1::B {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}} -task 5 'run'. lines 47-47: +task 5 'run'. lines 48-48: mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 2204000, storage_rebate: 2181960, non_refundable_storage_fee: 22040 -task 6 'run'. lines 49-49: +task 6 'run'. lines 50-50: mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 2204000, storage_rebate: 2181960, non_refundable_storage_fee: 22040 -task 7 'run'. lines 51-51: +task 7 'run'. lines 52-52: Error: Transaction Effects Status: Invalid public Move function signature. Unsupported return type for return value 0 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: InvalidPublicFunctionReturnType { idx: 0 }, source: None, command: Some(0) } } -task 8 'run'. lines 53-53: +task 8 'run'. lines 54-54: Error: Transaction Effects Status: Invalid public Move function signature. Unsupported return type for return value 0 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: InvalidPublicFunctionReturnType { idx: 0 }, source: None, command: Some(0) } } -task 9 'programmable'. lines 55-56: +task 9 'programmable'. lines 56-57: mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 10 'programmable'. lines 58-59: +task 10 'programmable'. lines 59-60: Error: Transaction Effects Status: Invalid command argument at 1. Invalid usage of value. Mutably borrowed values require unique usage. Immutably borrowed values cannot be taken or borrowed mutably. Taken values cannot be used again. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: InvalidValueUsage }, source: None, command: Some(0) } } -task 11 'programmable'. lines 61-62: +task 11 'programmable'. lines 62-63: Error: Transaction Effects Status: Invalid command argument at 1. Invalid usage of value. Mutably borrowed values require unique usage. Immutably borrowed values cannot be taken or borrowed mutably. Taken values cannot be used again. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: InvalidValueUsage }, source: None, command: Some(0) } } -task 12 'programmable'. lines 64-65: +task 12 'programmable'. lines 65-66: Error: Transaction Effects Status: Invalid command argument at 1. Invalid usage of value. Mutably borrowed values require unique usage. Immutably borrowed values cannot be taken or borrowed mutably. Taken values cannot be used again. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: InvalidValueUsage }, source: None, command: Some(0) } } -task 13 'programmable'. lines 67-68: +task 13 'programmable'. lines 68-69: Error: Transaction Effects Status: Invalid command argument at 1. Invalid usage of value. Mutably borrowed values require unique usage. Immutably borrowed values cannot be taken or borrowed mutably. Taken values cannot be used again. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: InvalidValueUsage }, source: None, command: Some(0) } } -task 14 'programmable'. lines 70-71: +task 14 'programmable'. lines 71-72: Error: Transaction Effects Status: Invalid command argument at 1. Invalid usage of value. Mutably borrowed values require unique usage. Immutably borrowed values cannot be taken or borrowed mutably. Taken values cannot be used again. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: InvalidValueUsage }, source: None, command: Some(0) } } -task 15 'programmable'. lines 73-74: +task 15 'programmable'. lines 74-75: Error: Transaction Effects Status: Invalid command argument at 1. Invalid usage of value. Mutably borrowed values require unique usage. Immutably borrowed values cannot be taken or borrowed mutably. Taken values cannot be used again. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: InvalidValueUsage }, source: None, command: Some(0) } } -task 16 'programmable'. lines 76-77: +task 16 'programmable'. lines 77-78: Error: Transaction Effects Status: Invalid command argument at 1. Invalid usage of value. Mutably borrowed values require unique usage. Immutably borrowed values cannot be taken or borrowed mutably. Taken values cannot be used again. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: InvalidValueUsage }, source: None, command: Some(0) } } -task 17 'programmable'. lines 79-80: +task 17 'programmable'. lines 80-81: Error: Transaction Effects Status: Invalid command argument at 1. Invalid usage of value. Mutably borrowed values require unique usage. Immutably borrowed values cannot be taken or borrowed mutably. Taken values cannot be used again. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: InvalidValueUsage }, source: None, command: Some(0) } } diff --git a/crates/iota-adapter-transactional-tests/tests/receive_object/receive_by_value_flow_through.exp b/crates/iota-adapter-transactional-tests/tests/receive_object/receive_by_value_flow_through.exp index bb89041c9dc..ca3865bbf76 100644 --- a/crates/iota-adapter-transactional-tests/tests/receive_object/receive_by_value_flow_through.exp +++ b/crates/iota-adapter-transactional-tests/tests/receive_object/receive_by_value_flow_through.exp @@ -1,29 +1,29 @@ processed 7 tasks -task 1 'publish'. lines 6-28: +task 1 'publish'. lines 7-29: created: object(1,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 6437200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 30-30: +task 2 'run'. lines 31-31: created: object(2,0), object(2,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 3420000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'view-object'. lines 32-32: +task 3 'view-object'. lines 33-33: Owner: Account Address ( _ ) Version: 3 Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 4 'view-object'. lines 34-36: +task 4 'view-object'. lines 35-37: Owner: Account Address ( fake(2,0) ) Version: 3 Contents: tto::M1::B {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}} -task 5 'run'. lines 37-39: +task 5 'run'. lines 38-40: mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 2204000, storage_rebate: 2181960, non_refundable_storage_fee: 22040 -task 6 'run'. lines 40-40: +task 6 'run'. lines 41-41: mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 2204000, storage_rebate: 2181960, non_refundable_storage_fee: 22040 diff --git a/crates/iota-adapter-transactional-tests/tests/receive_object/receive_dof_and_mutate.exp b/crates/iota-adapter-transactional-tests/tests/receive_object/receive_dof_and_mutate.exp index 7266413b23d..9abe27a2829 100644 --- a/crates/iota-adapter-transactional-tests/tests/receive_object/receive_dof_and_mutate.exp +++ b/crates/iota-adapter-transactional-tests/tests/receive_object/receive_dof_and_mutate.exp @@ -3,57 +3,57 @@ processed 12 tasks init: A: object(0,0) -task 1 'publish'. lines 6-34: +task 1 'publish'. lines 7-35: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 7828000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 36-36: +task 2 'run'. lines 37-37: created: object(2,0), object(2,1), object(2,2), object(2,3) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 7273200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'view-object'. lines 38-38: -Owner: Object ID: ( fake(2,2) ) +task 3 'view-object'. lines 39-39: +Owner: Object ID: ( fake(2,3) ) Version: 2 -Contents: iota::dynamic_field::Field, iota::object::ID> {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}, name: iota::dynamic_object_field::Wrapper {name: 0u64}, value: iota::object::ID {bytes: fake(2,3)}} +Contents: iota::dynamic_field::Field, iota::object::ID> {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}, name: iota::dynamic_object_field::Wrapper {name: 0u64}, value: iota::object::ID {bytes: fake(2,1)}} -task 4 'view-object'. lines 40-40: -Owner: Account Address ( A ) +task 4 'view-object'. lines 41-41: +Owner: Object ID: ( fake(2,0) ) Version: 2 Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}, value: 0u64} -task 5 'view-object'. lines 42-42: -Owner: Account Address ( fake(2,1) ) +task 5 'view-object'. lines 43-43: +Owner: Account Address ( A ) Version: 2 Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,2)}}, value: 0u64} -task 6 'view-object'. lines 44-44: -Owner: Object ID: ( fake(2,0) ) +task 6 'view-object'. lines 45-45: +Owner: Account Address ( fake(2,2) ) Version: 2 Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,3)}}, value: 0u64} -task 7 'run'. lines 46-46: +task 7 'run'. lines 47-47: created: object(7,0) -mutated: object(0,0), object(2,1), object(2,2) +mutated: object(0,0), object(2,2), object(2,3) gas summary: computation_cost: 1000000, storage_cost: 5996400, storage_rebate: 3506184, non_refundable_storage_fee: 35416 -task 8 'view-object'. lines 48-48: -Owner: Object ID: ( fake(2,2) ) +task 8 'view-object'. lines 49-49: +Owner: Object ID: ( fake(2,3) ) +Version: 2 +Contents: iota::dynamic_field::Field, iota::object::ID> {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}, name: iota::dynamic_object_field::Wrapper {name: 0u64}, value: iota::object::ID {bytes: fake(2,1)}} + +task 9 'view-object'. lines 51-51: +Owner: Object ID: ( fake(2,0) ) Version: 2 -Contents: iota::dynamic_field::Field, iota::object::ID> {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}, name: iota::dynamic_object_field::Wrapper {name: 0u64}, value: iota::object::ID {bytes: fake(2,3)}} +Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}, value: 0u64} -task 9 'view-object'. lines 50-50: +task 10 'view-object'. lines 53-53: Owner: Account Address ( A ) Version: 3 -Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}, value: 0u64} +Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,2)}}, value: 0u64} -task 10 'view-object'. lines 52-52: +task 11 'view-object'. lines 55-55: Owner: Object ID: ( fake(7,0) ) Version: 3 -Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,2)}}, value: 100u64} - -task 11 'view-object'. lines 54-54: -Owner: Object ID: ( fake(2,0) ) -Version: 2 -Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,3)}}, value: 0u64} +Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,3)}}, value: 100u64} diff --git a/crates/iota-adapter-transactional-tests/tests/receive_object/receive_dof_and_mutate.move b/crates/iota-adapter-transactional-tests/tests/receive_object/receive_dof_and_mutate.move index 2cb344d05d3..7fc954f55c2 100644 --- a/crates/iota-adapter-transactional-tests/tests/receive_object/receive_dof_and_mutate.move +++ b/crates/iota-adapter-transactional-tests/tests/receive_object/receive_dof_and_mutate.move @@ -44,7 +44,7 @@ module tto::M1 { //# view-object 2,3 -//# run tto::M1::receive --args object(2,1) receiving(2,2) --sender A +//# run tto::M1::receive --args object(2,2) receiving(2,3) --sender A //# view-object 2,0 diff --git a/crates/iota-adapter-transactional-tests/tests/receive_object/receive_duo_struct.exp b/crates/iota-adapter-transactional-tests/tests/receive_object/receive_duo_struct.exp index 50428042cc2..d1accbdd45f 100644 --- a/crates/iota-adapter-transactional-tests/tests/receive_object/receive_duo_struct.exp +++ b/crates/iota-adapter-transactional-tests/tests/receive_object/receive_duo_struct.exp @@ -1,37 +1,37 @@ processed 9 tasks -task 1 'publish'. lines 6-44: +task 1 'publish'. lines 7-45: created: object(1,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 8071200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 46-46: +task 2 'run'. lines 47-47: created: object(2,0), object(2,1), object(2,2) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 4636000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'view-object'. lines 48-48: +task 3 'view-object'. lines 49-49: Owner: Account Address ( _ ) Version: 3 Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 4 'view-object'. lines 50-50: -Owner: Account Address ( fake(2,0) ) +task 4 'view-object'. lines 51-51: +Owner: Account Address ( fake(2,2) ) Version: 3 Contents: tto::M1::B {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}} -task 5 'view-object'. lines 52-54: -Owner: Account Address ( fake(2,1) ) +task 5 'view-object'. lines 53-55: +Owner: Account Address ( fake(2,0) ) Version: 3 Contents: tto::M1::B {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,2)}}} -task 6 'programmable'. lines 55-58: +task 6 'programmable'. lines 56-59: mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 2204000, storage_rebate: 2181960, non_refundable_storage_fee: 22040 -task 7 'programmable'. lines 59-63: +task 7 'programmable'. lines 60-64: Error: Error checking transaction input objects: DuplicateObjectRefInput -task 8 'programmable'. lines 64-67: +task 8 'programmable'. lines 65-68: mutated: object(0,0), object(2,0), object(2,1), object(2,2) gas summary: computation_cost: 1000000, storage_cost: 4636000, storage_rebate: 4589640, non_refundable_storage_fee: 46360 diff --git a/crates/iota-adapter-transactional-tests/tests/receive_object/receive_duo_struct.move b/crates/iota-adapter-transactional-tests/tests/receive_object/receive_duo_struct.move index eeb08e5d95f..5b029ec9022 100644 --- a/crates/iota-adapter-transactional-tests/tests/receive_object/receive_duo_struct.move +++ b/crates/iota-adapter-transactional-tests/tests/receive_object/receive_duo_struct.move @@ -53,16 +53,16 @@ module tto::M1 { //# view-object 2,2 // Can drop duo -//# programmable --inputs object(2,0) receiving(2,1) receiving(2,2) +//# programmable --inputs object(2,0) receiving(2,2) receiving(2,1) //> 0: tto::M1::make_duo(Input(1), Input(2)) // receive the objects and return them. Error since we need to do something with the returned objects -//# programmable --inputs object(2,0) receiving(2,2) receiving(2,2) +//# programmable --inputs object(2,0) receiving(2,1) receiving(2,1) //> 0: tto::M1::make_duo(Input(1), Input(2)); //> 1: tto::M1::receive_duo(Input(0), Result(0)); // receive the objects and return them. Then Transfer them with TransferObjects -//# programmable --inputs object(2,0) receiving(2,1) receiving(2,2) @tto +//# programmable --inputs object(2,0) receiving(2,2) receiving(2,1) @tto //> 0: tto::M1::make_duo(Input(1), Input(2)); //> 1: tto::M1::receive_duo(Input(0), Result(0)); //> 2: TransferObjects([NestedResult(1, 0), NestedResult(1, 1)], Input(3)); diff --git a/crates/iota-adapter-transactional-tests/tests/receive_object/receive_invalid_param_ty.exp b/crates/iota-adapter-transactional-tests/tests/receive_object/receive_invalid_param_ty.exp index e6108ad41d2..7c51ccba771 100644 --- a/crates/iota-adapter-transactional-tests/tests/receive_object/receive_invalid_param_ty.exp +++ b/crates/iota-adapter-transactional-tests/tests/receive_object/receive_invalid_param_ty.exp @@ -1,60 +1,60 @@ processed 15 tasks -task 1 'publish'. lines 6-41: +task 1 'publish'. lines 7-42: created: object(1,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 8519600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 43-43: +task 2 'run'. lines 44-44: created: object(2,0), object(2,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 3420000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'view-object'. lines 45-45: +task 3 'view-object'. lines 46-46: Owner: Account Address ( _ ) Version: 3 Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 4 'view-object'. lines 47-47: +task 4 'view-object'. lines 48-48: Owner: Account Address ( fake(2,0) ) Version: 3 Contents: tto::M1::B {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}} -task 5 'run'. lines 49-49: +task 5 'run'. lines 50-50: Error: Transaction Effects Status: Invalid command argument at 0. The type of the value does not match the expected type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: TypeMismatch }, source: None, command: Some(0) } } -task 6 'run'. lines 51-51: +task 6 'run'. lines 52-52: Error: Transaction Effects Status: Invalid command argument at 0. The type of the value does not match the expected type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: TypeMismatch }, source: None, command: Some(0) } } -task 7 'run'. lines 53-53: +task 7 'run'. lines 54-54: Error: Transaction Effects Status: Invalid command argument at 0. The type of the value does not match the expected type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: TypeMismatch }, source: None, command: Some(0) } } -task 8 'run'. lines 55-55: +task 8 'run'. lines 56-56: Error: Transaction Effects Status: Invalid command argument at 0. The type of the value does not match the expected type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: TypeMismatch }, source: None, command: Some(0) } } -task 9 'run'. lines 57-57: +task 9 'run'. lines 58-58: Error: Transaction Effects Status: Invalid command argument at 0. The type of the value does not match the expected type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: TypeMismatch }, source: None, command: Some(0) } } -task 10 'run'. lines 59-59: -Error: Error checking transaction input objects: IncorrectUserSignature { error: "Object object(2,1) is owned by account address object(2,0), but given owner/signer address is 0xfccc9a421bbb13c1a66a1aa98f0ad75029ede94857779c6915b44f94068b921e" } +task 10 'run'. lines 60-60: +Error: Error checking transaction input objects: IncorrectUserSignature { error: "Object object(2,1) is owned by account address object(2,0), but given owner/signer address is 0x8cca4e1ce0ba5904cea61df9242da2f7d29e3ef328fb7ec07c086b3bf47ca61a" } -task 11 'run'. lines 61-61: +task 11 'run'. lines 62-62: Error: Transaction Effects Status: Invalid command argument at 0. The type of the value does not match the expected type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: TypeMismatch }, source: None, command: Some(0) } } -task 12 'run'. lines 63-63: +task 12 'run'. lines 64-64: mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 13 'run'. lines 65-65: +task 13 'run'. lines 66-66: Error: Transaction Effects Status: Invalid command argument at 0. The argument cannot be instantiated from raw bytes Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: InvalidUsageOfPureArg }, source: Some("Non-primitive argument at index 0. If it is an object, it must be populated by an object"), command: Some(0) } } -task 14 'run'. lines 67-67: +task 14 'run'. lines 68-68: Error: Transaction Effects Status: Invalid command argument at 0. The argument cannot be instantiated from raw bytes Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: InvalidUsageOfPureArg }, source: Some("Non-primitive argument at index 0. If it is an object, it must be populated by an object"), command: Some(0) } } diff --git a/crates/iota-adapter-transactional-tests/tests/receive_object/receive_invalid_type.exp b/crates/iota-adapter-transactional-tests/tests/receive_object/receive_invalid_type.exp index 3d912dd74c0..5983c754f04 100644 --- a/crates/iota-adapter-transactional-tests/tests/receive_object/receive_invalid_type.exp +++ b/crates/iota-adapter-transactional-tests/tests/receive_object/receive_invalid_type.exp @@ -1,25 +1,25 @@ processed 6 tasks -task 1 'publish'. lines 6-30: +task 1 'publish'. lines 7-31: created: object(1,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 6923600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 32-32: +task 2 'run'. lines 33-33: created: object(2,0), object(2,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 3420000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'view-object'. lines 34-34: +task 3 'view-object'. lines 35-35: Owner: Account Address ( _ ) Version: 3 Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 4 'view-object'. lines 36-38: +task 4 'view-object'. lines 37-39: Owner: Account Address ( fake(2,0) ) Version: 3 Contents: tto::M1::B {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}} -task 5 'run'. lines 39-39: +task 5 'run'. lines 40-40: Error: Transaction Effects Status: Move Runtime Abort. Location: iota::transfer::receive_impl (function index 12) at offset 0, Abort Code: 2 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: iota, name: Identifier("transfer") }, function: 12, instruction: 0, function_name: Some("receive_impl") }, 2), source: Some(VMError { major_status: ABORTED, sub_status: Some(2), message: None, exec_state: None, location: Module(ModuleId { address: iota, name: Identifier("transfer") }), indices: [], offsets: [(FunctionDefinitionIndex(12), 0)] }), command: Some(0) } } diff --git a/crates/iota-adapter-transactional-tests/tests/receive_object/receive_many_move_vec.exp b/crates/iota-adapter-transactional-tests/tests/receive_object/receive_many_move_vec.exp index cc2f1f5b258..523dabf4ce1 100644 --- a/crates/iota-adapter-transactional-tests/tests/receive_object/receive_many_move_vec.exp +++ b/crates/iota-adapter-transactional-tests/tests/receive_object/receive_many_move_vec.exp @@ -1,97 +1,97 @@ processed 22 tasks -task 1 'publish'. lines 6-77: +task 1 'publish'. lines 7-78: created: object(1,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 11286000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 79-79: +task 2 'run'. lines 80-80: created: object(2,0), object(2,1), object(2,2), object(2,3), object(2,4) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 7068000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'view-object'. lines 81-81: +task 3 'view-object'. lines 82-82: Owner: Account Address ( _ ) Version: 3 Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 4 'view-object'. lines 83-83: +task 4 'view-object'. lines 84-84: Owner: Account Address ( fake(2,0) ) Version: 3 Contents: tto::M1::B {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}} -task 5 'view-object'. lines 85-85: +task 5 'view-object'. lines 86-86: Owner: Account Address ( fake(2,0) ) Version: 3 Contents: tto::M1::B {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,2)}}} -task 6 'view-object'. lines 87-87: +task 6 'view-object'. lines 88-88: Owner: Account Address ( fake(2,0) ) Version: 3 Contents: tto::M1::B {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,3)}}} -task 7 'view-object'. lines 89-91: +task 7 'view-object'. lines 90-92: Owner: Account Address ( fake(2,0) ) Version: 3 Contents: tto::M1::B {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,4)}}} -task 8 'programmable'. lines 92-95: +task 8 'programmable'. lines 93-96: mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 2204000, storage_rebate: 2181960, non_refundable_storage_fee: 22040 -task 9 'programmable'. lines 96-100: +task 9 'programmable'. lines 97-101: mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 2204000, storage_rebate: 2181960, non_refundable_storage_fee: 22040 -task 10 'programmable'. lines 101-105: +task 10 'programmable'. lines 102-106: mutated: object(0,0), object(2,0), object(2,2), object(2,3), object(2,4) gas summary: computation_cost: 1000000, storage_cost: 5852000, storage_rebate: 5793480, non_refundable_storage_fee: 58520 -task 11 'programmable'. lines 106-111: +task 11 'programmable'. lines 107-112: mutated: object(0,0), object(2,0), object(2,1), object(2,2), object(2,3), object(2,4) gas summary: computation_cost: 1000000, storage_cost: 7068000, storage_rebate: 6997320, non_refundable_storage_fee: 70680 -task 12 'programmable'. lines 112-117: +task 12 'programmable'. lines 113-118: mutated: object(0,0), object(2,0), object(2,1), object(2,2), object(2,3), object(2,4) gas summary: computation_cost: 1000000, storage_cost: 7068000, storage_rebate: 6997320, non_refundable_storage_fee: 70680 -task 13 'programmable'. lines 118-123: +task 13 'programmable'. lines 119-124: mutated: object(0,0), object(2,0), object(2,1), object(2,2), object(2,3), object(2,4) gas summary: computation_cost: 1000000, storage_cost: 7068000, storage_rebate: 6997320, non_refundable_storage_fee: 70680 -task 14 'programmable'. lines 124-129: +task 14 'programmable'. lines 125-130: mutated: object(0,0), object(2,0), object(2,1), object(2,2), object(2,3), object(2,4) gas summary: computation_cost: 1000000, storage_cost: 7068000, storage_rebate: 6997320, non_refundable_storage_fee: 70680 -task 15 'programmable'. lines 130-135: +task 15 'programmable'. lines 131-136: mutated: object(0,0), object(2,0), object(2,1), object(2,2), object(2,3), object(2,4) gas summary: computation_cost: 1000000, storage_cost: 7068000, storage_rebate: 6997320, non_refundable_storage_fee: 70680 -task 16 'programmable'. lines 136-138: +task 16 'programmable'. lines 137-139: mutated: object(0,0), object(2,0), object(2,1), object(2,2), object(2,3), object(2,4) gas summary: computation_cost: 1000000, storage_cost: 7068000, storage_rebate: 6997320, non_refundable_storage_fee: 70680 -task 17 'view-object'. lines 140-140: +task 17 'view-object'. lines 141-141: Owner: Account Address ( _ ) Version: 12 Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 18 'view-object'. lines 142-142: +task 18 'view-object'. lines 143-143: Owner: Account Address ( _ ) Version: 12 Contents: tto::M1::B {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}} -task 19 'view-object'. lines 144-144: +task 19 'view-object'. lines 145-145: Owner: Account Address ( _ ) Version: 12 Contents: tto::M1::B {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,2)}}} -task 20 'view-object'. lines 146-146: +task 20 'view-object'. lines 147-147: Owner: Account Address ( _ ) Version: 12 Contents: tto::M1::B {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,3)}}} -task 21 'view-object'. lines 148-148: +task 21 'view-object'. lines 149-149: Owner: Account Address ( _ ) Version: 12 Contents: tto::M1::B {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,4)}}} diff --git a/crates/iota-adapter-transactional-tests/tests/receive_object/receive_multiple_times_in_row.exp b/crates/iota-adapter-transactional-tests/tests/receive_object/receive_multiple_times_in_row.exp index 387ebfb1551..d03a341bc55 100644 --- a/crates/iota-adapter-transactional-tests/tests/receive_object/receive_multiple_times_in_row.exp +++ b/crates/iota-adapter-transactional-tests/tests/receive_object/receive_multiple_times_in_row.exp @@ -3,57 +3,57 @@ processed 13 tasks init: A: object(0,0) -task 1 'publish'. lines 6-36: +task 1 'publish'. lines 7-37: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 7007200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 38-38: +task 2 'run'. lines 39-39: created: object(2,0), object(2,1) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 3420000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'run'. lines 40-40: +task 3 'run'. lines 41-41: created: object(3,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2204000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 4 'view-object'. lines 42-42: +task 4 'view-object'. lines 43-43: Owner: Account Address ( _ ) Version: 3 Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 5 'view-object'. lines 44-46: +task 5 'view-object'. lines 45-47: Owner: Account Address ( fake(2,0) ) Version: 3 Contents: tto::M1::B {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}} -task 6 'run'. lines 47-47: +task 6 'run'. lines 48-48: mutated: object(0,1), object(2,0), object(2,1) gas summary: computation_cost: 1000000, storage_cost: 3420000, storage_rebate: 3385800, non_refundable_storage_fee: 34200 -task 7 'view-object'. lines 49-49: +task 7 'view-object'. lines 50-50: Owner: Account Address ( _ ) Version: 4 Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 8 'view-object'. lines 51-53: +task 8 'view-object'. lines 52-54: Owner: Account Address ( fake(2,0) ) Version: 4 Contents: tto::M1::B {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}} -task 9 'run'. lines 54-56: +task 9 'run'. lines 55-57: Error: Transaction Effects Status: Move Runtime Abort. Location: iota::transfer::receive_impl (function index 12) at offset 0, Abort Code: 3 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: iota, name: Identifier("transfer") }, function: 12, instruction: 0, function_name: Some("receive_impl") }, 3), source: Some(VMError { major_status: ABORTED, sub_status: Some(3), message: None, exec_state: None, location: Module(ModuleId { address: iota, name: Identifier("transfer") }), indices: [], offsets: [(FunctionDefinitionIndex(12), 0)] }), command: Some(0) } } -task 10 'run'. lines 57-59: +task 10 'run'. lines 58-60: mutated: object(0,1), object(2,0), object(2,1) gas summary: computation_cost: 1000000, storage_cost: 3420000, storage_rebate: 3385800, non_refundable_storage_fee: 34200 -task 11 'run'. lines 60-62: +task 11 'run'. lines 61-63: Error: Transaction Effects Status: Move Runtime Abort. Location: iota::transfer::receive_impl (function index 12) at offset 0, Abort Code: 3 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: iota, name: Identifier("transfer") }, function: 12, instruction: 0, function_name: Some("receive_impl") }, 3), source: Some(VMError { major_status: ABORTED, sub_status: Some(3), message: None, exec_state: None, location: Module(ModuleId { address: iota, name: Identifier("transfer") }), indices: [], offsets: [(FunctionDefinitionIndex(12), 0)] }), command: Some(0) } } -task 12 'run'. lines 63-63: +task 12 'run'. lines 64-64: mutated: object(0,1), object(2,0), object(2,1) gas summary: computation_cost: 1000000, storage_cost: 3420000, storage_rebate: 3385800, non_refundable_storage_fee: 34200 diff --git a/crates/iota-adapter-transactional-tests/tests/receive_object/receive_object_id.exp b/crates/iota-adapter-transactional-tests/tests/receive_object/receive_object_id.exp index 2794d658635..258daabc71c 100644 --- a/crates/iota-adapter-transactional-tests/tests/receive_object/receive_object_id.exp +++ b/crates/iota-adapter-transactional-tests/tests/receive_object/receive_object_id.exp @@ -1,43 +1,43 @@ processed 10 tasks -task 1 'publish'. lines 6-29: +task 1 'publish'. lines 7-30: created: object(1,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 6650000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 31-31: +task 2 'run'. lines 32-32: created: object(2,0), object(2,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 3420000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'view-object'. lines 33-33: +task 3 'view-object'. lines 34-34: Owner: Account Address ( _ ) Version: 3 Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 4 'view-object'. lines 35-35: +task 4 'view-object'. lines 36-36: Owner: Account Address ( fake(2,0) ) Version: 3 Contents: tto::M1::B {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}} -task 5 'run'. lines 37-37: +task 5 'run'. lines 38-38: mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 6 'programmable'. lines 39-40: +task 6 'programmable'. lines 40-41: mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 7 'programmable'. lines 42-43: +task 7 'programmable'. lines 43-44: mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 8 'view-object'. lines 45-45: +task 8 'view-object'. lines 46-46: Owner: Account Address ( _ ) Version: 3 Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 9 'view-object'. lines 47-47: +task 9 'view-object'. lines 48-48: Owner: Account Address ( fake(2,0) ) Version: 3 Contents: tto::M1::B {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}} diff --git a/crates/iota-adapter-transactional-tests/tests/receive_object/receive_object_owner.exp b/crates/iota-adapter-transactional-tests/tests/receive_object/receive_object_owner.exp index a8c35303c47..19c41815edc 100644 --- a/crates/iota-adapter-transactional-tests/tests/receive_object/receive_object_owner.exp +++ b/crates/iota-adapter-transactional-tests/tests/receive_object/receive_object_owner.exp @@ -3,33 +3,33 @@ processed 8 tasks init: A: object(0,0) -task 1 'publish'. lines 6-28: +task 1 'publish'. lines 7-29: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 6634800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 30-30: +task 2 'run'. lines 31-31: created: object(2,0), object(2,1), object(2,2) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 5996400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'view-object'. lines 32-32: +task 3 'view-object'. lines 33-33: Owner: Object ID: ( fake(2,2) ) Version: 2 Contents: iota::dynamic_field::Field, iota::object::ID> {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}, name: iota::dynamic_object_field::Wrapper {name: 0u64}, value: iota::object::ID {bytes: fake(2,1)}} -task 4 'view-object'. lines 34-34: +task 4 'view-object'. lines 35-35: Owner: Object ID: ( fake(2,0) ) Version: 2 Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}, value: 0u64} -task 5 'view-object'. lines 36-38: +task 5 'view-object'. lines 37-39: Owner: Account Address ( A ) Version: 2 Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,2)}}, value: 0u64} -task 6 'run'. lines 39-41: +task 6 'run'. lines 40-42: Error: Error checking transaction input objects: InvalidChildObjectArgument { child_id: object(2,1), parent_id: object(2,0) } -task 7 'run'. lines 42-42: +task 7 'run'. lines 43-43: Error: Error checking transaction input objects: InvalidChildObjectArgument { child_id: object(2,0), parent_id: object(2,2) } diff --git a/crates/iota-adapter-transactional-tests/tests/receive_object/receive_return_object_dont_touch.exp b/crates/iota-adapter-transactional-tests/tests/receive_object/receive_return_object_dont_touch.exp index 784a3f83f32..741b654cff2 100644 --- a/crates/iota-adapter-transactional-tests/tests/receive_object/receive_return_object_dont_touch.exp +++ b/crates/iota-adapter-transactional-tests/tests/receive_object/receive_return_object_dont_touch.exp @@ -1,35 +1,35 @@ processed 8 tasks -task 1 'publish'. lines 6-29: +task 1 'publish'. lines 7-30: created: object(1,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 6604400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 31-31: +task 2 'run'. lines 32-32: created: object(2,0), object(2,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 3420000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'view-object'. lines 33-33: +task 3 'view-object'. lines 34-34: Owner: Account Address ( _ ) Version: 3 Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 4 'view-object'. lines 35-37: +task 4 'view-object'. lines 36-38: Owner: Account Address ( fake(2,0) ) Version: 3 Contents: tto::M1::B {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}} -task 5 'programmable'. lines 38-39: +task 5 'programmable'. lines 39-40: Error: Transaction Effects Status: Unused result without the drop ability. Command result 0, return value 0 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: UnusedValueWithoutDrop { result_idx: 0, secondary_idx: 0 }, source: None, command: None } } -task 6 'view-object'. lines 41-41: +task 6 'view-object'. lines 42-42: Owner: Account Address ( _ ) Version: 4 Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 7 'view-object'. lines 43-43: +task 7 'view-object'. lines 44-44: Owner: Account Address ( fake(2,0) ) Version: 3 Contents: tto::M1::B {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}} diff --git a/crates/iota-adapter-transactional-tests/tests/receive_object/receive_return_object_then_transfer.exp b/crates/iota-adapter-transactional-tests/tests/receive_object/receive_return_object_then_transfer.exp index 25977cbafc5..dbba1962b82 100644 --- a/crates/iota-adapter-transactional-tests/tests/receive_object/receive_return_object_then_transfer.exp +++ b/crates/iota-adapter-transactional-tests/tests/receive_object/receive_return_object_then_transfer.exp @@ -1,35 +1,35 @@ processed 8 tasks -task 1 'publish'. lines 6-29: +task 1 'publish'. lines 7-30: created: object(1,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 6604400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 31-31: +task 2 'run'. lines 32-32: created: object(2,0), object(2,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 3420000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'view-object'. lines 33-33: +task 3 'view-object'. lines 34-34: Owner: Account Address ( _ ) Version: 3 Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 4 'view-object'. lines 35-37: +task 4 'view-object'. lines 36-38: Owner: Account Address ( fake(2,0) ) Version: 3 Contents: tto::M1::B {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}} -task 5 'programmable'. lines 38-40: +task 5 'programmable'. lines 39-41: mutated: object(0,0), object(2,0), object(2,1) gas summary: computation_cost: 1000000, storage_cost: 3420000, storage_rebate: 3385800, non_refundable_storage_fee: 34200 -task 6 'view-object'. lines 42-42: +task 6 'view-object'. lines 43-43: Owner: Account Address ( _ ) Version: 4 Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 7 'view-object'. lines 44-44: +task 7 'view-object'. lines 45-45: Owner: Account Address ( tto ) Version: 4 Contents: tto::M1::B {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}} diff --git a/crates/iota-adapter-transactional-tests/tests/receive_object/receive_ticket_coin_operations.exp b/crates/iota-adapter-transactional-tests/tests/receive_object/receive_ticket_coin_operations.exp index 867addbf27d..e32175df92b 100644 --- a/crates/iota-adapter-transactional-tests/tests/receive_object/receive_ticket_coin_operations.exp +++ b/crates/iota-adapter-transactional-tests/tests/receive_object/receive_ticket_coin_operations.exp @@ -1,47 +1,47 @@ processed 11 tasks -task 1 'publish'. lines 6-23: +task 1 'publish'. lines 7-24: created: object(1,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 5928000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 25-25: +task 2 'run'. lines 26-26: created: object(2,0), object(2,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 3420000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'view-object'. lines 27-27: +task 3 'view-object'. lines 28-28: Owner: Account Address ( _ ) Version: 3 Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 4 'view-object'. lines 29-31: +task 4 'view-object'. lines 30-32: Owner: Account Address ( fake(2,0) ) Version: 3 Contents: tto::M1::B {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}} -task 5 'programmable'. lines 32-33: +task 5 'programmable'. lines 33-34: Error: Transaction Effects Status: Invalid command argument at 0. The type of the value does not match the expected type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: TypeMismatch }, source: None, command: Some(0) } } -task 6 'programmable'. lines 35-36: +task 6 'programmable'. lines 36-37: Error: Transaction Effects Status: Invalid command argument at 0. The type of the value does not match the expected type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: TypeMismatch }, source: None, command: Some(0) } } -task 7 'programmable'. lines 38-39: +task 7 'programmable'. lines 39-40: Error: Transaction Effects Status: Invalid command argument at 0. The type of the value does not match the expected type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: TypeMismatch }, source: Some("Expected a coin but got an non coin object"), command: Some(0) } } -task 8 'programmable'. lines 41-42: +task 8 'programmable'. lines 42-43: Error: Transaction Effects Status: Invalid command argument at 0. The type of the value does not match the expected type Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: TypeMismatch }, source: None, command: Some(0) } } -task 9 'view-object'. lines 44-44: +task 9 'view-object'. lines 45-45: Owner: Account Address ( _ ) Version: 7 Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 10 'view-object'. lines 46-46: +task 10 'view-object'. lines 47-47: Owner: Account Address ( fake(2,0) ) Version: 3 Contents: tto::M1::B {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}} diff --git a/crates/iota-adapter-transactional-tests/tests/receive_object/shared_parent/basic_receive.exp b/crates/iota-adapter-transactional-tests/tests/receive_object/shared_parent/basic_receive.exp index a2a87f53810..0da740d5d6a 100644 --- a/crates/iota-adapter-transactional-tests/tests/receive_object/shared_parent/basic_receive.exp +++ b/crates/iota-adapter-transactional-tests/tests/receive_object/shared_parent/basic_receive.exp @@ -1,39 +1,39 @@ processed 9 tasks -task 1 'publish'. lines 6-30: +task 1 'publish'. lines 7-31: created: object(1,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 6969200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 32-32: +task 2 'run'. lines 33-33: created: object(2,0), object(2,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 3420000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'view-object'. lines 34-34: +task 3 'view-object'. lines 35-35: Owner: Shared Version: 3 Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 4 'view-object'. lines 36-36: +task 4 'view-object'. lines 37-37: Owner: Account Address ( fake(2,0) ) Version: 3 Contents: tto::M1::B {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}} -task 5 'run'. lines 38-38: +task 5 'run'. lines 39-39: mutated: object(0,0), object(2,0), object(2,1) gas summary: computation_cost: 1000000, storage_cost: 3420000, storage_rebate: 3385800, non_refundable_storage_fee: 34200 -task 6 'view-object'. lines 40-40: +task 6 'view-object'. lines 41-41: Owner: Shared Version: 4 Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 7 'view-object'. lines 42-42: +task 7 'view-object'. lines 43-43: Owner: Account Address ( _ ) Version: 4 Contents: tto::M1::B {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}} -task 8 'run'. lines 44-44: +task 8 'run'. lines 45-45: Error: Transaction Effects Status: Move Runtime Abort. Location: iota::transfer::receive_impl (function index 12) at offset 0, Abort Code: 3 Debug of error: MoveAbort(MoveLocation { module: ModuleId { address: iota, name: Identifier("transfer") }, function: 12, instruction: 0, function_name: Some("receive_impl") }, 3) at command Some(0) diff --git a/crates/iota-adapter-transactional-tests/tests/receive_object/shared_parent/drop_receiving.exp b/crates/iota-adapter-transactional-tests/tests/receive_object/shared_parent/drop_receiving.exp index bdafe3164f5..606e8205798 100644 --- a/crates/iota-adapter-transactional-tests/tests/receive_object/shared_parent/drop_receiving.exp +++ b/crates/iota-adapter-transactional-tests/tests/receive_object/shared_parent/drop_receiving.exp @@ -1,23 +1,23 @@ processed 6 tasks -task 1 'publish'. lines 6-33: +task 1 'publish'. lines 7-34: created: object(1,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 7182000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 35-35: +task 2 'run'. lines 36-36: created: object(2,0), object(2,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 3420000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'programmable'. lines 37-40: +task 3 'programmable'. lines 38-41: mutated: object(0,0), object(2,0), object(2,1) gas summary: computation_cost: 1000000, storage_cost: 3420000, storage_rebate: 3385800, non_refundable_storage_fee: 34200 -task 4 'programmable'. lines 41-45: +task 4 'programmable'. lines 42-46: mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 2204000, storage_rebate: 2181960, non_refundable_storage_fee: 22040 -task 5 'programmable'. lines 46-47: +task 5 'programmable'. lines 47-48: mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 2204000, storage_rebate: 2181960, non_refundable_storage_fee: 22040 diff --git a/crates/iota-adapter-transactional-tests/tests/receive_object/shared_parent/receive_dof_and_mutate.exp b/crates/iota-adapter-transactional-tests/tests/receive_object/shared_parent/receive_dof_and_mutate.exp index ff88f21d933..c5781fdc921 100644 --- a/crates/iota-adapter-transactional-tests/tests/receive_object/shared_parent/receive_dof_and_mutate.exp +++ b/crates/iota-adapter-transactional-tests/tests/receive_object/shared_parent/receive_dof_and_mutate.exp @@ -3,57 +3,57 @@ processed 12 tasks init: A: object(0,0) -task 1 'publish'. lines 6-34: +task 1 'publish'. lines 7-35: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 7881200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 36-36: +task 2 'run'. lines 37-37: created: object(2,0), object(2,1), object(2,2), object(2,3) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 7273200, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'view-object'. lines 38-38: -Owner: Object ID: ( fake(2,3) ) +task 3 'view-object'. lines 39-39: +Owner: Object ID: ( fake(2,1) ) Version: 3 Contents: iota::dynamic_field::Field, iota::object::ID> {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}, name: iota::dynamic_object_field::Wrapper {name: 0u64}, value: iota::object::ID {bytes: fake(2,2)}} -task 4 'view-object'. lines 40-40: -Owner: Shared +task 4 'view-object'. lines 41-41: +Owner: Account Address ( fake(2,3) ) Version: 3 Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}, value: 0u64} -task 5 'view-object'. lines 42-42: +task 5 'view-object'. lines 43-43: Owner: Object ID: ( fake(2,0) ) Version: 3 Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,2)}}, value: 0u64} -task 6 'view-object'. lines 44-44: -Owner: Account Address ( fake(2,1) ) +task 6 'view-object'. lines 45-45: +Owner: Shared Version: 3 Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,3)}}, value: 0u64} -task 7 'run'. lines 46-46: +task 7 'run'. lines 47-47: created: object(7,0) mutated: object(0,1), object(2,1), object(2,3) gas summary: computation_cost: 1000000, storage_cost: 5996400, storage_rebate: 3506184, non_refundable_storage_fee: 35416 -task 8 'view-object'. lines 48-48: -Owner: Object ID: ( fake(2,3) ) +task 8 'view-object'. lines 49-49: +Owner: Object ID: ( fake(2,1) ) Version: 3 Contents: iota::dynamic_field::Field, iota::object::ID> {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}, name: iota::dynamic_object_field::Wrapper {name: 0u64}, value: iota::object::ID {bytes: fake(2,2)}} -task 9 'view-object'. lines 50-50: -Owner: Shared +task 9 'view-object'. lines 51-51: +Owner: Object ID: ( fake(7,0) ) Version: 4 -Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}, value: 0u64} +Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}, value: 100u64} -task 10 'view-object'. lines 52-52: +task 10 'view-object'. lines 53-53: Owner: Object ID: ( fake(2,0) ) Version: 3 Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,2)}}, value: 0u64} -task 11 'view-object'. lines 54-54: -Owner: Object ID: ( fake(7,0) ) +task 11 'view-object'. lines 55-55: +Owner: Shared Version: 4 -Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,3)}}, value: 100u64} +Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,3)}}, value: 0u64} diff --git a/crates/iota-adapter-transactional-tests/tests/receive_object/shared_parent/receive_dof_and_mutate.move b/crates/iota-adapter-transactional-tests/tests/receive_object/shared_parent/receive_dof_and_mutate.move index 44959d67a55..7cabe6f91f9 100644 --- a/crates/iota-adapter-transactional-tests/tests/receive_object/shared_parent/receive_dof_and_mutate.move +++ b/crates/iota-adapter-transactional-tests/tests/receive_object/shared_parent/receive_dof_and_mutate.move @@ -44,7 +44,7 @@ module tto::M1 { //# view-object 2,3 -//# run tto::M1::receive --args object(2,1) receiving(2,3) +//# run tto::M1::receive --args object(2,3) receiving(2,1) //# view-object 2,0 diff --git a/crates/iota-adapter-transactional-tests/tests/receive_object/shared_parent/receive_multiple_times_in_row.exp b/crates/iota-adapter-transactional-tests/tests/receive_object/shared_parent/receive_multiple_times_in_row.exp index e35c22ea23e..823e15a5ae3 100644 --- a/crates/iota-adapter-transactional-tests/tests/receive_object/shared_parent/receive_multiple_times_in_row.exp +++ b/crates/iota-adapter-transactional-tests/tests/receive_object/shared_parent/receive_multiple_times_in_row.exp @@ -3,57 +3,57 @@ processed 13 tasks init: A: object(0,0) -task 1 'publish'. lines 6-37: +task 1 'publish'. lines 7-38: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 7182000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 39-39: +task 2 'run'. lines 40-40: created: object(2,0), object(2,1) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 3420000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'run'. lines 41-41: +task 3 'run'. lines 42-42: created: object(3,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2204000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 4 'view-object'. lines 43-43: +task 4 'view-object'. lines 44-44: Owner: Shared Version: 3 Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 5 'view-object'. lines 45-47: +task 5 'view-object'. lines 46-48: Owner: Account Address ( fake(2,0) ) Version: 3 Contents: tto::M1::B {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}} -task 6 'run'. lines 48-48: +task 6 'run'. lines 49-49: mutated: object(0,1), object(2,0), object(2,1) gas summary: computation_cost: 1000000, storage_cost: 3420000, storage_rebate: 3385800, non_refundable_storage_fee: 34200 -task 7 'view-object'. lines 50-50: +task 7 'view-object'. lines 51-51: Owner: Shared Version: 4 Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 8 'view-object'. lines 52-54: +task 8 'view-object'. lines 53-55: Owner: Account Address ( fake(2,0) ) Version: 4 Contents: tto::M1::B {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}} -task 9 'run'. lines 55-57: +task 9 'run'. lines 56-58: Error: Transaction Effects Status: Move Runtime Abort. Location: iota::transfer::receive_impl (function index 12) at offset 0, Abort Code: 3 Debug of error: MoveAbort(MoveLocation { module: ModuleId { address: iota, name: Identifier("transfer") }, function: 12, instruction: 0, function_name: Some("receive_impl") }, 3) at command Some(0) -task 10 'run'. lines 58-60: +task 10 'run'. lines 59-61: mutated: object(0,1), object(2,0), object(2,1) gas summary: computation_cost: 1000000, storage_cost: 3420000, storage_rebate: 3385800, non_refundable_storage_fee: 34200 -task 11 'run'. lines 61-63: +task 11 'run'. lines 62-64: Error: Transaction Effects Status: Move Runtime Abort. Location: iota::transfer::receive_impl (function index 12) at offset 0, Abort Code: 3 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: iota, name: Identifier("transfer") }, function: 12, instruction: 0, function_name: Some("receive_impl") }, 3), source: Some(VMError { major_status: ABORTED, sub_status: Some(3), message: None, exec_state: None, location: Module(ModuleId { address: iota, name: Identifier("transfer") }), indices: [], offsets: [(FunctionDefinitionIndex(12), 0)] }), command: Some(0) } } -task 12 'run'. lines 64-64: +task 12 'run'. lines 65-65: mutated: object(0,1), object(2,0), object(2,1) gas summary: computation_cost: 1000000, storage_cost: 3420000, storage_rebate: 3385800, non_refundable_storage_fee: 34200 diff --git a/crates/iota-adapter-transactional-tests/tests/receive_object/shared_parent/transfer_then_share.exp b/crates/iota-adapter-transactional-tests/tests/receive_object/shared_parent/transfer_then_share.exp index d54fed5bc71..8e6827668cd 100644 --- a/crates/iota-adapter-transactional-tests/tests/receive_object/shared_parent/transfer_then_share.exp +++ b/crates/iota-adapter-transactional-tests/tests/receive_object/shared_parent/transfer_then_share.exp @@ -1,39 +1,39 @@ processed 9 tasks -task 1 'publish'. lines 6-31: +task 1 'publish'. lines 7-32: created: object(1,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 6916000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 33-33: +task 2 'run'. lines 34-34: created: object(2,0), object(2,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 3420000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'view-object'. lines 35-35: +task 3 'view-object'. lines 36-36: Owner: Shared Version: 3 Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 4 'view-object'. lines 37-37: +task 4 'view-object'. lines 38-38: Owner: Account Address ( fake(2,0) ) Version: 3 Contents: tto::M1::B {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}} -task 5 'run'. lines 39-39: +task 5 'run'. lines 40-40: mutated: object(0,0), object(2,0), object(2,1) gas summary: computation_cost: 1000000, storage_cost: 3420000, storage_rebate: 3385800, non_refundable_storage_fee: 34200 -task 6 'view-object'. lines 41-41: +task 6 'view-object'. lines 42-42: Owner: Shared Version: 4 Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 7 'view-object'. lines 43-43: +task 7 'view-object'. lines 44-44: Owner: Account Address ( _ ) Version: 4 Contents: tto::M1::B {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}} -task 8 'run'. lines 45-45: +task 8 'run'. lines 46-46: Error: Transaction Effects Status: Move Runtime Abort. Location: iota::transfer::receive_impl (function index 12) at offset 0, Abort Code: 3 Debug of error: MoveAbort(MoveLocation { module: ModuleId { address: iota, name: Identifier("transfer") }, function: 12, instruction: 0, function_name: Some("receive_impl") }, 3) at command Some(0) diff --git a/crates/iota-adapter-transactional-tests/tests/receive_object/take_receiver_then_try_to_reuse.exp b/crates/iota-adapter-transactional-tests/tests/receive_object/take_receiver_then_try_to_reuse.exp index 2a8fd983a9a..fd3b2466ead 100644 --- a/crates/iota-adapter-transactional-tests/tests/receive_object/take_receiver_then_try_to_reuse.exp +++ b/crates/iota-adapter-transactional-tests/tests/receive_object/take_receiver_then_try_to_reuse.exp @@ -1,25 +1,25 @@ processed 6 tasks -task 1 'publish'. lines 6-32: +task 1 'publish'. lines 7-33: created: object(1,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 7182000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 34-34: +task 2 'run'. lines 35-35: created: object(2,0), object(2,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 3420000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'view-object'. lines 36-36: +task 3 'view-object'. lines 37-37: Owner: Account Address ( _ ) Version: 3 Contents: tto::M1::A {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 4 'view-object'. lines 38-40: +task 4 'view-object'. lines 39-41: Owner: Account Address ( fake(2,0) ) Version: 3 Contents: tto::M1::B {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}} -task 5 'programmable'. lines 41-43: +task 5 'programmable'. lines 42-44: Error: Transaction Effects Status: Invalid command argument at 1. Invalid usage of value. Mutably borrowed values require unique usage. Immutably borrowed values cannot be taken or borrowed mutably. Taken values cannot be used again. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 1, kind: InvalidValueUsage }, source: None, command: Some(1) } } diff --git a/crates/iota-adapter-transactional-tests/tests/receive_object/transfer_object_cyclic.exp b/crates/iota-adapter-transactional-tests/tests/receive_object/transfer_object_cyclic.exp index b09e7dc364d..296aa659016 100644 --- a/crates/iota-adapter-transactional-tests/tests/receive_object/transfer_object_cyclic.exp +++ b/crates/iota-adapter-transactional-tests/tests/receive_object/transfer_object_cyclic.exp @@ -1,11 +1,11 @@ processed 3 tasks -task 1 'publish'. lines 6-24: +task 1 'publish'. lines 7-25: created: object(1,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 5852000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 26-26: +task 2 'run'. lines 27-27: created: object(2,0), object(2,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 3420000, storage_rebate: 978120, non_refundable_storage_fee: 9880 diff --git a/crates/iota-adapter-transactional-tests/tests/runtime_behavior/error_locations.exp b/crates/iota-adapter-transactional-tests/tests/runtime_behavior/error_locations.exp index fd73f93fc3c..f4aaaa6edba 100644 --- a/crates/iota-adapter-transactional-tests/tests/runtime_behavior/error_locations.exp +++ b/crates/iota-adapter-transactional-tests/tests/runtime_behavior/error_locations.exp @@ -1,22 +1,22 @@ processed 6 tasks -task 1 'publish'. lines 8-30: +task 1 'publish'. lines 9-31: created: object(1,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 4332000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 32-32: +task 2 'run'. lines 33-33: Error: Transaction Effects Status: Move Runtime Abort. Location: test::m::abort_ (function index 0) at offset 1, Abort Code: 0 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: test, name: Identifier("m") }, function: 0, instruction: 1, function_name: Some("abort_") }, 0), source: Some(VMError { major_status: ABORTED, sub_status: Some(0), message: Some("test::m::abort_ at offset 1"), exec_state: None, location: Module(ModuleId { address: test, name: Identifier("m") }), indices: [], offsets: [(FunctionDefinitionIndex(0), 1)] }), command: Some(0) } } -task 3 'run'. lines 34-34: +task 3 'run'. lines 35-35: Error: Transaction Effects Status: Insufficient Gas. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: InsufficientGas, source: Some(VMError { major_status: OUT_OF_GAS, sub_status: None, message: None, exec_state: None, location: Module(ModuleId { address: test, name: Identifier("m") }), indices: [], offsets: [(FunctionDefinitionIndex(1), 0)] }), command: Some(0) } } -task 4 'run'. lines 36-36: +task 4 'run'. lines 37-37: Error: Transaction Effects Status: Move Primitive Runtime Error. Location: test::m::math (function index 2) at offset 2. Arithmetic error, stack overflow, max value depth, etc. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MovePrimitiveRuntimeError(MoveLocationOpt(Some(MoveLocation { module: ModuleId { address: test, name: Identifier("m") }, function: 2, instruction: 2, function_name: Some("math") }))), source: Some(VMError { major_status: ARITHMETIC_ERROR, sub_status: None, message: None, exec_state: None, location: Module(ModuleId { address: test, name: Identifier("m") }), indices: [], offsets: [(FunctionDefinitionIndex(2), 2)] }), command: Some(0) } } -task 5 'run'. lines 38-38: +task 5 'run'. lines 39-39: Error: Transaction Effects Status: Move Primitive Runtime Error. Location: test::m::vector_ (function index 3) at offset 4. Arithmetic error, stack overflow, max value depth, etc. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MovePrimitiveRuntimeError(MoveLocationOpt(Some(MoveLocation { module: ModuleId { address: test, name: Identifier("m") }, function: 3, instruction: 4, function_name: Some("vector_") }))), source: Some(VMError { major_status: VECTOR_OPERATION_ERROR, sub_status: Some(1), message: None, exec_state: None, location: Module(ModuleId { address: test, name: Identifier("m") }), indices: [], offsets: [(FunctionDefinitionIndex(3), 4)] }), command: Some(0) } } diff --git a/crates/iota-adapter-transactional-tests/tests/runtime_behavior/versioned_check_swap_loc_new.exp b/crates/iota-adapter-transactional-tests/tests/runtime_behavior/versioned_check_swap_loc_new.exp index 7f5007fa226..96922c27f98 100644 --- a/crates/iota-adapter-transactional-tests/tests/runtime_behavior/versioned_check_swap_loc_new.exp +++ b/crates/iota-adapter-transactional-tests/tests/runtime_behavior/versioned_check_swap_loc_new.exp @@ -1,14 +1,14 @@ processed 4 tasks -task 1 'publish'. lines 8-42: +task 1 'publish'. lines 9-43: created: object(1,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 4491600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 44-44: +task 2 'run'. lines 45-45: mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'run'. lines 46-46: +task 3 'run'. lines 47-47: mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 diff --git a/crates/iota-adapter-transactional-tests/tests/runtime_behavior/versioned_check_swap_loc_old.exp b/crates/iota-adapter-transactional-tests/tests/runtime_behavior/versioned_check_swap_loc_old.exp deleted file mode 100644 index 6489d97a31a..00000000000 --- a/crates/iota-adapter-transactional-tests/tests/runtime_behavior/versioned_check_swap_loc_old.exp +++ /dev/null @@ -1,14 +0,0 @@ -processed 4 tasks - -task 1 'publish'. lines 8-42: -created: object(1,0) -mutated: object(0,0) -gas summary: computation_cost: 1000000, storage_cost: 4491600, storage_rebate: 0, non_refundable_storage_fee: 0 - -task 2 'run'. lines 44-44: -Error: Transaction Effects Status: MOVE VM INVARIANT VIOLATION. -Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: VMInvariantViolation, source: Some(VMError { major_status: UNKNOWN_INVARIANT_VIOLATION_ERROR, sub_status: None, message: Some("moving container with dangling references"), exec_state: None, location: Module(ModuleId { address: test, name: Identifier("m") }), indices: [], offsets: [(FunctionDefinitionIndex(0), 13)] }), command: Some(0) } } - -task 3 'run'. lines 46-46: -Error: Transaction Effects Status: MOVE VM INVARIANT VIOLATION. -Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: VMInvariantViolation, source: Some(VMError { major_status: UNKNOWN_INVARIANT_VIOLATION_ERROR, sub_status: None, message: Some("moving container with dangling references"), exec_state: None, location: Module(ModuleId { address: test, name: Identifier("m") }), indices: [], offsets: [(FunctionDefinitionIndex(1), 12)] }), command: Some(0) } } diff --git a/crates/iota-adapter-transactional-tests/tests/runtime_behavior/versioned_check_swap_loc_old.move b/crates/iota-adapter-transactional-tests/tests/runtime_behavior/versioned_check_swap_loc_old.move deleted file mode 100644 index 36c78455324..00000000000 --- a/crates/iota-adapter-transactional-tests/tests/runtime_behavior/versioned_check_swap_loc_old.move +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright (c) Mysten Labs, Inc. -// Modifications Copyright (c) 2024 IOTA Stiftung -// SPDX-License-Identifier: Apache-2.0 - -// test old behavior of invariant violation - -//# init --protocol-version 6 --addresses test=0x0 - -//# publish -module test::m { - public fun t1(cond: bool) { - let mut x: vector; - let r: &vector; - if (cond) { - x = vector[]; - r = &x; - // use r in ways to disable optimizations or moving - id_ref(r); - id_ref(copy r); - }; - x = vector[]; - // use x in ways to disable optimizations or moving - id(x); - id(x); - return - } - - public fun t2(cond: bool) { - let x: vector = vector[]; - let r: &vector; - if (cond) { - r = &x; - // use r in ways to disable optimizations or moving - id_ref(r); - id_ref(copy r); - }; - _ = move x; - return - } - - fun id(x: T): T { x } - fun id_ref(x: &T): &T { x } -} - -//# run test::m::t1 --args true - -//# run test::m::t2 --args true diff --git a/crates/iota-adapter-transactional-tests/tests/shared/add_dynamic_field.exp b/crates/iota-adapter-transactional-tests/tests/shared/add_dynamic_field.exp index 1d2c935bb7e..000b42eaf59 100644 --- a/crates/iota-adapter-transactional-tests/tests/shared/add_dynamic_field.exp +++ b/crates/iota-adapter-transactional-tests/tests/shared/add_dynamic_field.exp @@ -3,36 +3,36 @@ processed 8 tasks init: A: object(0,0) -task 1 'publish'. lines 9-32: +task 1 'publish'. lines 10-33: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 6627200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 34-34: +task 2 'run'. lines 35-35: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2211600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'view-object'. lines 36-36: +task 3 'view-object'. lines 37-37: Owner: Shared Version: 2 Contents: a::m::Obj {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 4 'run'. lines 38-38: +task 4 'run'. lines 39-39: created: object(4,0) mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 3678400, storage_rebate: 2189484, non_refundable_storage_fee: 22116 -task 5 'run'. lines 40-40: +task 5 'run'. lines 41-41: created: object(5,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2211600, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 6 'view-object'. lines 42-42: +task 6 'view-object'. lines 43-43: Owner: Shared Version: 4 Contents: a::m::Obj {id: iota::object::UID {id: iota::object::ID {bytes: fake(5,0)}}} -task 7 'run'. lines 44-44: +task 7 'run'. lines 45-45: mutated: object(0,0), object(5,0) gas summary: computation_cost: 1000000, storage_cost: 2211600, storage_rebate: 2189484, non_refundable_storage_fee: 22116 diff --git a/crates/iota-adapter-transactional-tests/tests/shared/become_dynamic_field.exp b/crates/iota-adapter-transactional-tests/tests/shared/become_dynamic_field.exp index b830a28ac09..2d2da5c99e3 100644 --- a/crates/iota-adapter-transactional-tests/tests/shared/become_dynamic_field.exp +++ b/crates/iota-adapter-transactional-tests/tests/shared/become_dynamic_field.exp @@ -3,36 +3,36 @@ processed 8 tasks init: A: object(0,0) -task 1 'publish'. lines 9-39: +task 1 'publish'. lines 10-40: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 7531600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 41-41: +task 2 'run'. lines 42-42: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2226800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'view-object'. lines 43-43: +task 3 'view-object'. lines 44-44: Owner: Shared Version: 2 Contents: a::m::Inner {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 4 'run'. lines 45-45: +task 4 'run'. lines 46-46: Error: Transaction Effects Status: The shared object operation is not allowed. Debug of error: SharedObjectOperationNotAllowed at command None -task 5 'run'. lines 47-47: +task 5 'run'. lines 48-48: created: object(5,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2226800, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 6 'view-object'. lines 49-49: +task 6 'view-object'. lines 50-50: Owner: Shared Version: 4 Contents: a::m::Inner {id: iota::object::UID {id: iota::object::ID {bytes: fake(5,0)}}} -task 7 'run'. lines 51-51: +task 7 'run'. lines 52-52: created: object(7,0) mutated: object(0,0), object(5,0) gas summary: computation_cost: 1000000, storage_cost: 3465600, storage_rebate: 2204532, non_refundable_storage_fee: 22268 diff --git a/crates/iota-adapter-transactional-tests/tests/shared/become_dynamic_object_field.exp b/crates/iota-adapter-transactional-tests/tests/shared/become_dynamic_object_field.exp index 4dbe00d6f5f..0d4f78c985a 100644 --- a/crates/iota-adapter-transactional-tests/tests/shared/become_dynamic_object_field.exp +++ b/crates/iota-adapter-transactional-tests/tests/shared/become_dynamic_object_field.exp @@ -3,36 +3,36 @@ processed 8 tasks init: A: object(0,0) -task 1 'publish'. lines 9-39: +task 1 'publish'. lines 10-40: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 7691200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 41-41: +task 2 'run'. lines 42-42: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2226800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'view-object'. lines 43-43: +task 3 'view-object'. lines 44-44: Owner: Shared Version: 2 Contents: a::m::Inner {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 4 'run'. lines 45-45: +task 4 'run'. lines 46-46: Error: Transaction Effects Status: The shared object operation is not allowed. Debug of error: SharedObjectOperationNotAllowed at command None -task 5 'run'. lines 47-47: +task 5 'run'. lines 48-48: created: object(5,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2226800, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 6 'view-object'. lines 49-49: +task 6 'view-object'. lines 50-50: Owner: Shared Version: 4 Contents: a::m::Inner {id: iota::object::UID {id: iota::object::ID {bytes: fake(5,0)}}} -task 7 'run'. lines 51-51: +task 7 'run'. lines 52-52: created: object(7,0) mutated: object(0,0), object(5,0) gas summary: computation_cost: 1000000, storage_cost: 3465600, storage_rebate: 2204532, non_refundable_storage_fee: 22268 diff --git a/crates/iota-adapter-transactional-tests/tests/shared/by_value_shared_object_deletion.exp b/crates/iota-adapter-transactional-tests/tests/shared/by_value_shared_object_deletion.exp index 222ccff93cd..cb2f408a4ed 100644 --- a/crates/iota-adapter-transactional-tests/tests/shared/by_value_shared_object_deletion.exp +++ b/crates/iota-adapter-transactional-tests/tests/shared/by_value_shared_object_deletion.exp @@ -1,41 +1,41 @@ processed 9 tasks -task 1 'publish'. lines 9-26: +task 1 'publish'. lines 10-27: created: object(1,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 5342800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'publish'. lines 28-36: +task 2 'publish'. lines 29-37: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 4453600, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'run'. lines 38-38: +task 3 'run'. lines 39-39: created: object(3,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2226800, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 4 'view-object'. lines 40-42: +task 4 'view-object'. lines 41-43: Owner: Shared Version: 4 Contents: t2::o2::Obj2 {id: iota::object::UID {id: iota::object::ID {bytes: fake(3,0)}}} -task 5 'run'. lines 43-43: +task 5 'run'. lines 44-44: mutated: object(0,0) deleted: object(3,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 2204532, non_refundable_storage_fee: 22268 -task 6 'run'. lines 45-45: +task 6 'run'. lines 46-46: created: object(6,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2226800, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 7 'view-object'. lines 47-49: +task 7 'view-object'. lines 48-50: Owner: Shared Version: 6 Contents: t2::o2::Obj2 {id: iota::object::UID {id: iota::object::ID {bytes: fake(6,0)}}} -task 8 'run'. lines 50-50: +task 8 'run'. lines 51-51: mutated: object(0,0) deleted: object(6,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 2204532, non_refundable_storage_fee: 22268 diff --git a/crates/iota-adapter-transactional-tests/tests/shared/by_value_shared_object_deletion_via_make_move_vec.exp b/crates/iota-adapter-transactional-tests/tests/shared/by_value_shared_object_deletion_via_make_move_vec.exp index a4523d855a6..4f30f74c84f 100644 --- a/crates/iota-adapter-transactional-tests/tests/shared/by_value_shared_object_deletion_via_make_move_vec.exp +++ b/crates/iota-adapter-transactional-tests/tests/shared/by_value_shared_object_deletion_via_make_move_vec.exp @@ -1,46 +1,46 @@ processed 10 tasks -task 1 'publish'. lines 6-45: +task 1 'publish'. lines 7-46: created: object(1,0) mutated: object(0,0) -gas summary: computation_cost: 1000000, storage_cost: 6900800, storage_rebate: 0, non_refundable_storage_fee: 0 +gas summary: computation_cost: 1000000, storage_cost: 6916000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 47-47: +task 2 'run'. lines 48-48: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2226800, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'run'. lines 49-49: +task 3 'run'. lines 50-50: created: object(3,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2226800, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 4 'view-object'. lines 51-51: +task 4 'view-object'. lines 52-52: Owner: Shared Version: 3 Contents: t2::o2::Obj2 {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 5 'view-object'. lines 53-55: +task 5 'view-object'. lines 54-56: Owner: Shared Version: 4 Contents: t2::o2::Obj2 {id: iota::object::UID {id: iota::object::ID {bytes: fake(3,0)}}} -task 6 'programmable'. lines 56-58: +task 6 'programmable'. lines 57-59: mutated: object(0,0), object(2,0) deleted: object(3,0) gas summary: computation_cost: 1000000, storage_cost: 2226800, storage_rebate: 3430944, non_refundable_storage_fee: 34656 -task 7 'run'. lines 60-60: +task 7 'run'. lines 61-61: created: object(7,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 1976000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 8 'view-object'. lines 62-64: +task 8 'view-object'. lines 63-65: Owner: Shared Version: 6 Contents: iota::coin::Coin {id: iota::object::UID {id: iota::object::ID {bytes: fake(7,0)}}, balance: iota::balance::Balance {value: 0u64}} -task 9 'programmable'. lines 65-70: +task 9 'programmable'. lines 66-71: created: object(9,0) mutated: object(0,0), object(7,0) gas summary: computation_cost: 1000000, storage_cost: 2964000, storage_rebate: 1956240, non_refundable_storage_fee: 19760 diff --git a/crates/iota-adapter-transactional-tests/tests/shared/by_value_shared_object_deletion_via_make_move_vec_fails.exp b/crates/iota-adapter-transactional-tests/tests/shared/by_value_shared_object_deletion_via_make_move_vec_fails.exp index 9b863bf381a..98c49376863 100644 --- a/crates/iota-adapter-transactional-tests/tests/shared/by_value_shared_object_deletion_via_make_move_vec_fails.exp +++ b/crates/iota-adapter-transactional-tests/tests/shared/by_value_shared_object_deletion_via_make_move_vec_fails.exp @@ -1,92 +1,92 @@ processed 22 tasks -task 1 'publish'. lines 6-97: +task 1 'publish'. lines 7-98: created: object(1,0) mutated: object(0,0) -gas summary: computation_cost: 1000000, storage_cost: 10944000, storage_rebate: 0, non_refundable_storage_fee: 0 +gas summary: computation_cost: 1000000, storage_cost: 10959200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 99-99: +task 2 'run'. lines 100-100: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2226800, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'run'. lines 101-101: +task 3 'run'. lines 102-102: created: object(3,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2226800, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 4 'view-object'. lines 103-103: +task 4 'view-object'. lines 104-104: Owner: Shared Version: 3 Contents: t2::o2::Obj2 {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 5 'view-object'. lines 105-107: +task 5 'view-object'. lines 106-108: Owner: Shared Version: 4 Contents: t2::o2::Obj2 {id: iota::object::UID {id: iota::object::ID {bytes: fake(3,0)}}} -task 6 'programmable'. lines 108-112: +task 6 'programmable'. lines 109-113: Error: Transaction Effects Status: The shared object operation is not allowed. Debug of error: SharedObjectOperationNotAllowed at command None -task 7 'programmable'. lines 113-117: +task 7 'programmable'. lines 114-118: Error: Transaction Effects Status: The shared object operation is not allowed. Debug of error: SharedObjectOperationNotAllowed at command None -task 8 'programmable'. lines 118-122: +task 8 'programmable'. lines 119-123: Error: Transaction Effects Status: The shared object operation is not allowed. Debug of error: SharedObjectOperationNotAllowed at command None -task 9 'programmable'. lines 123-127: +task 9 'programmable'. lines 124-128: Error: Transaction Effects Status: The shared object operation is not allowed. Debug of error: SharedObjectOperationNotAllowed at command None -task 10 'programmable'. lines 128-133: +task 10 'programmable'. lines 129-134: Error: Transaction Effects Status: The shared object operation is not allowed. Debug of error: SharedObjectOperationNotAllowed at command None -task 11 'programmable'. lines 134-139: +task 11 'programmable'. lines 135-140: Error: Transaction Effects Status: The shared object operation is not allowed. Debug of error: SharedObjectOperationNotAllowed at command None -task 12 'programmable'. lines 140-145: +task 12 'programmable'. lines 141-146: Error: Transaction Effects Status: The shared object operation is not allowed. Debug of error: SharedObjectOperationNotAllowed at command None -task 13 'programmable'. lines 146-151: +task 13 'programmable'. lines 147-152: Error: Transaction Effects Status: The shared object operation is not allowed. Debug of error: SharedObjectOperationNotAllowed at command None -task 14 'programmable'. lines 152-155: +task 14 'programmable'. lines 153-156: Error: Transaction Effects Status: The shared object operation is not allowed. Debug of error: SharedObjectOperationNotAllowed at command None -task 15 'run'. lines 157-157: +task 15 'run'. lines 158-158: created: object(15,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 1976000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 16 'view-object'. lines 159-162: +task 16 'view-object'. lines 160-163: Owner: Shared Version: 14 Contents: iota::coin::Coin {id: iota::object::UID {id: iota::object::ID {bytes: fake(15,0)}}, balance: iota::balance::Balance {value: 0u64}} -task 17 'programmable'. lines 163-169: +task 17 'programmable'. lines 164-170: Error: Transaction Effects Status: Unused result without the drop ability. Command result 1, return value 0 Debug of error: UnusedValueWithoutDrop { result_idx: 1, secondary_idx: 0 } at command None -task 18 'programmable'. lines 170-178: +task 18 'programmable'. lines 171-179: Error: Transaction Effects Status: Move Bytecode Verification Error. Please run the Bytecode Verifier for more information. Debug of error: VMVerificationOrDeserializationError at command Some(4) -task 19 'programmable'. lines 179-187: +task 19 'programmable'. lines 180-188: Error: Transaction Effects Status: Invalid command argument at 0. Invalid usage of value. Mutably borrowed values require unique usage. Immutably borrowed values cannot be taken or borrowed mutably. Taken values cannot be used again. Debug of error: CommandArgumentError { arg_idx: 0, kind: InvalidValueUsage } at command Some(4) -task 20 'programmable'. lines 188-195: +task 20 'programmable'. lines 189-196: Error: Transaction Effects Status: Invalid command argument at 0. Invalid usage of value. Mutably borrowed values require unique usage. Immutably borrowed values cannot be taken or borrowed mutably. Taken values cannot be used again. Debug of error: CommandArgumentError { arg_idx: 0, kind: InvalidValueUsage } at command Some(4) -task 21 'programmable'. lines 196-201: +task 21 'programmable'. lines 197-202: Error: Transaction Effects Status: The shared object operation is not allowed. Debug of error: SharedObjectOperationNotAllowed at command None diff --git a/crates/iota-adapter-transactional-tests/tests/shared/by_value_shared_object_deletion_via_merge.exp b/crates/iota-adapter-transactional-tests/tests/shared/by_value_shared_object_deletion_via_merge.exp index 422004e2db2..1e4b2983e68 100644 --- a/crates/iota-adapter-transactional-tests/tests/shared/by_value_shared_object_deletion_via_merge.exp +++ b/crates/iota-adapter-transactional-tests/tests/shared/by_value_shared_object_deletion_via_merge.exp @@ -3,102 +3,102 @@ processed 21 tasks init: A: object(0,0) -task 1 'publish'. lines 13-60: +task 1 'publish'. lines 14-61: created: object(1,0) mutated: object(0,1) -gas summary: computation_cost: 1000000, storage_cost: 9264400, storage_rebate: 0, non_refundable_storage_fee: 0 +gas summary: computation_cost: 1000000, storage_cost: 9279600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 62-62: +task 2 'run'. lines 63-63: created: object(2,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 1976000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'run'. lines 64-64: +task 3 'run'. lines 65-65: created: object(3,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 1976000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 4 'view-object'. lines 66-66: +task 4 'view-object'. lines 67-67: Owner: Shared Version: 3 Contents: iota::coin::Coin {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}, balance: iota::balance::Balance {value: 0u64}} -task 5 'view-object'. lines 68-71: +task 5 'view-object'. lines 69-72: Owner: Account Address ( A ) Version: 4 Contents: iota::coin::Coin {id: iota::object::UID {id: iota::object::ID {bytes: fake(3,0)}}, balance: iota::balance::Balance {value: 0u64}} -task 6 'programmable'. lines 72-76: +task 6 'programmable'. lines 73-77: mutated: object(0,0), object(3,0) deleted: object(2,0) gas summary: computation_cost: 1000000, storage_cost: 1976000, storage_rebate: 1956240, non_refundable_storage_fee: 19760 -task 7 'run'. lines 78-78: +task 7 'run'. lines 79-79: created: object(7,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 1976000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 8 'run'. lines 80-80: +task 8 'run'. lines 81-81: created: object(8,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 1976000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 9 'run'. lines 82-82: +task 9 'run'. lines 83-83: created: object(9,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 2226800, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 10 'view-object'. lines 84-84: +task 10 'view-object'. lines 85-85: Owner: Account Address ( A ) Version: 5 Contents: iota::coin::Coin {id: iota::object::UID {id: iota::object::ID {bytes: fake(7,0)}}, balance: iota::balance::Balance {value: 0u64}} -task 11 'view-object'. lines 86-86: +task 11 'view-object'. lines 87-87: Owner: Shared Version: 6 Contents: iota::coin::Coin {id: iota::object::UID {id: iota::object::ID {bytes: fake(8,0)}}, balance: iota::balance::Balance {value: 0u64}} -task 12 'view-object'. lines 88-90: +task 12 'view-object'. lines 89-91: Owner: Shared Version: 7 Contents: t2::o2::Obj2 {id: iota::object::UID {id: iota::object::ID {bytes: fake(9,0)}}} -task 13 'programmable'. lines 91-95: +task 13 'programmable'. lines 92-96: mutated: object(0,0), object(9,0) deleted: object(7,0), object(8,0) gas summary: computation_cost: 1000000, storage_cost: 2226800, storage_rebate: 4160772, non_refundable_storage_fee: 42028 -task 14 'run'. lines 97-97: +task 14 'run'. lines 98-98: created: object(14,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 1976000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 15 'run'. lines 99-99: +task 15 'run'. lines 100-100: created: object(15,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 1976000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 16 'run'. lines 101-101: +task 16 'run'. lines 102-102: created: object(16,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 2226800, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 17 'view-object'. lines 103-103: +task 17 'view-object'. lines 104-104: Owner: Shared Version: 8 Contents: iota::coin::Coin {id: iota::object::UID {id: iota::object::ID {bytes: fake(14,0)}}, balance: iota::balance::Balance {value: 0u64}} -task 18 'view-object'. lines 105-105: +task 18 'view-object'. lines 106-106: Owner: Shared Version: 9 Contents: iota::coin::Coin {id: iota::object::UID {id: iota::object::ID {bytes: fake(15,0)}}, balance: iota::balance::Balance {value: 0u64}} -task 19 'view-object'. lines 107-109: +task 19 'view-object'. lines 108-110: Owner: Shared Version: 10 Contents: t2::o2::Obj2 {id: iota::object::UID {id: iota::object::ID {bytes: fake(16,0)}}} -task 20 'programmable'. lines 110-112: +task 20 'programmable'. lines 111-113: mutated: object(0,0), object(16,0) deleted: object(14,0), object(15,0) gas summary: computation_cost: 1000000, storage_cost: 2226800, storage_rebate: 4160772, non_refundable_storage_fee: 42028 diff --git a/crates/iota-adapter-transactional-tests/tests/shared/by_value_shared_object_deletion_via_merge_fails.exp b/crates/iota-adapter-transactional-tests/tests/shared/by_value_shared_object_deletion_via_merge_fails.exp index 2369d1ebef9..b1d1172f3de 100644 --- a/crates/iota-adapter-transactional-tests/tests/shared/by_value_shared_object_deletion_via_merge_fails.exp +++ b/crates/iota-adapter-transactional-tests/tests/shared/by_value_shared_object_deletion_via_merge_fails.exp @@ -3,107 +3,107 @@ processed 24 tasks init: A: object(0,0) -task 1 'publish'. lines 13-62: +task 1 'publish'. lines 14-63: created: object(1,0) mutated: object(0,1) -gas summary: computation_cost: 1000000, storage_cost: 9264400, storage_rebate: 0, non_refundable_storage_fee: 0 +gas summary: computation_cost: 1000000, storage_cost: 9279600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 64-64: +task 2 'run'. lines 65-65: created: object(2,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 1976000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'run'. lines 66-66: +task 3 'run'. lines 67-67: created: object(3,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 1976000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 4 'run'. lines 68-68: +task 4 'run'. lines 69-69: created: object(4,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 2226800, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 5 'view-object'. lines 70-70: +task 5 'view-object'. lines 71-71: Owner: Account Address ( A ) Version: 3 Contents: iota::coin::Coin {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}, balance: iota::balance::Balance {value: 0u64}} -task 6 'view-object'. lines 72-72: +task 6 'view-object'. lines 73-73: Owner: Shared Version: 4 Contents: iota::coin::Coin {id: iota::object::UID {id: iota::object::ID {bytes: fake(3,0)}}, balance: iota::balance::Balance {value: 0u64}} -task 7 'view-object'. lines 74-76: +task 7 'view-object'. lines 75-77: Owner: Shared Version: 5 Contents: t2::o2::Obj2 {id: iota::object::UID {id: iota::object::ID {bytes: fake(4,0)}}} -task 8 'programmable'. lines 77-81: +task 8 'programmable'. lines 78-82: Error: Transaction Effects Status: The shared object operation is not allowed. Debug of error: SharedObjectOperationNotAllowed at command None -task 9 'programmable'. lines 82-86: +task 9 'programmable'. lines 83-87: Error: Transaction Effects Status: The shared object operation is not allowed. Debug of error: SharedObjectOperationNotAllowed at command None -task 10 'programmable'. lines 87-91: +task 10 'programmable'. lines 88-92: Error: Transaction Effects Status: The shared object operation is not allowed. Debug of error: SharedObjectOperationNotAllowed at command None -task 11 'programmable'. lines 92-96: +task 11 'programmable'. lines 93-97: Error: Transaction Effects Status: The shared object operation is not allowed. Debug of error: SharedObjectOperationNotAllowed at command None -task 12 'programmable'. lines 97-101: +task 12 'programmable'. lines 98-102: Error: Transaction Effects Status: The shared object operation is not allowed. Debug of error: SharedObjectOperationNotAllowed at command None -task 13 'run'. lines 103-103: +task 13 'run'. lines 104-104: created: object(13,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 1976000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 14 'run'. lines 105-105: +task 14 'run'. lines 106-106: created: object(14,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 1976000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 15 'run'. lines 107-107: +task 15 'run'. lines 108-108: created: object(15,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 2226800, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 16 'view-object'. lines 109-109: +task 16 'view-object'. lines 110-110: Owner: Shared Version: 6 Contents: iota::coin::Coin {id: iota::object::UID {id: iota::object::ID {bytes: fake(13,0)}}, balance: iota::balance::Balance {value: 0u64}} -task 17 'view-object'. lines 111-111: +task 17 'view-object'. lines 112-112: Owner: Shared Version: 7 Contents: iota::coin::Coin {id: iota::object::UID {id: iota::object::ID {bytes: fake(14,0)}}, balance: iota::balance::Balance {value: 0u64}} -task 18 'view-object'. lines 113-115: +task 18 'view-object'. lines 114-116: Owner: Shared Version: 8 Contents: t2::o2::Obj2 {id: iota::object::UID {id: iota::object::ID {bytes: fake(15,0)}}} -task 19 'programmable'. lines 116-120: +task 19 'programmable'. lines 117-121: Error: Transaction Effects Status: The shared object operation is not allowed. Debug of error: SharedObjectOperationNotAllowed at command None -task 20 'programmable'. lines 121-125: +task 20 'programmable'. lines 122-126: Error: Transaction Effects Status: The shared object operation is not allowed. Debug of error: SharedObjectOperationNotAllowed at command None -task 21 'programmable'. lines 126-130: +task 21 'programmable'. lines 127-131: Error: Transaction Effects Status: The shared object operation is not allowed. Debug of error: SharedObjectOperationNotAllowed at command None -task 22 'programmable'. lines 131-135: +task 22 'programmable'. lines 132-136: Error: Transaction Effects Status: The shared object operation is not allowed. Debug of error: SharedObjectOperationNotAllowed at command None -task 23 'programmable'. lines 136-138: +task 23 'programmable'. lines 137-139: Error: Transaction Effects Status: The shared object operation is not allowed. Debug of error: SharedObjectOperationNotAllowed at command None diff --git a/crates/iota-adapter-transactional-tests/tests/shared/by_value_shared_object_deletion_via_move_call.exp b/crates/iota-adapter-transactional-tests/tests/shared/by_value_shared_object_deletion_via_move_call.exp index 1a4b5bb32ea..f2b08313263 100644 --- a/crates/iota-adapter-transactional-tests/tests/shared/by_value_shared_object_deletion_via_move_call.exp +++ b/crates/iota-adapter-transactional-tests/tests/shared/by_value_shared_object_deletion_via_move_call.exp @@ -1,51 +1,51 @@ processed 11 tasks -task 1 'publish'. lines 6-35: +task 1 'publish'. lines 7-36: created: object(1,0) mutated: object(0,0) -gas summary: computation_cost: 1000000, storage_cost: 6384000, storage_rebate: 0, non_refundable_storage_fee: 0 +gas summary: computation_cost: 1000000, storage_cost: 6399200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 37-37: +task 2 'run'. lines 38-38: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2226800, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'run'. lines 39-39: +task 3 'run'. lines 40-40: created: object(3,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2226800, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 4 'view-object'. lines 41-41: +task 4 'view-object'. lines 42-42: Owner: Shared Version: 3 Contents: t2::o2::Obj2 {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 5 'view-object'. lines 43-45: +task 5 'view-object'. lines 44-46: Owner: Shared Version: 4 Contents: t2::o2::Obj2 {id: iota::object::UID {id: iota::object::ID {bytes: fake(3,0)}}} -task 6 'programmable'. lines 46-48: +task 6 'programmable'. lines 47-49: mutated: object(0,0), object(2,0) deleted: object(3,0) gas summary: computation_cost: 1000000, storage_cost: 2226800, storage_rebate: 3430944, non_refundable_storage_fee: 34656 -task 7 'run'. lines 50-50: +task 7 'run'. lines 51-51: created: object(7,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 1976000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 8 'view-object'. lines 52-54: +task 8 'view-object'. lines 53-55: Owner: Shared Version: 6 Contents: iota::coin::Coin {id: iota::object::UID {id: iota::object::ID {bytes: fake(7,0)}}, balance: iota::balance::Balance {value: 0u64}} -task 9 'programmable'. lines 55-61: +task 9 'programmable'. lines 56-62: created: object(9,0) mutated: object(0,0), object(7,0) gas summary: computation_cost: 1000000, storage_cost: 2964000, storage_rebate: 1956240, non_refundable_storage_fee: 19760 -task 10 'programmable'. lines 62-66: +task 10 'programmable'. lines 63-67: created: object(10,0) mutated: object(0,0), object(7,0) gas summary: computation_cost: 1000000, storage_cost: 2964000, storage_rebate: 1956240, non_refundable_storage_fee: 19760 diff --git a/crates/iota-adapter-transactional-tests/tests/shared/by_value_shared_object_deletion_via_move_call_fails.exp b/crates/iota-adapter-transactional-tests/tests/shared/by_value_shared_object_deletion_via_move_call_fails.exp index bc10b041cf5..6c51f74efbe 100644 --- a/crates/iota-adapter-transactional-tests/tests/shared/by_value_shared_object_deletion_via_move_call_fails.exp +++ b/crates/iota-adapter-transactional-tests/tests/shared/by_value_shared_object_deletion_via_move_call_fails.exp @@ -1,68 +1,68 @@ processed 16 tasks -task 1 'publish'. lines 6-57: +task 1 'publish'. lines 7-58: created: object(1,0) mutated: object(0,0) -gas summary: computation_cost: 1000000, storage_cost: 8869200, storage_rebate: 0, non_refundable_storage_fee: 0 +gas summary: computation_cost: 1000000, storage_cost: 8884400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 59-59: +task 2 'run'. lines 60-60: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2226800, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'run'. lines 61-61: +task 3 'run'. lines 62-62: created: object(3,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2226800, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 4 'view-object'. lines 63-63: +task 4 'view-object'. lines 64-64: Owner: Shared Version: 3 Contents: t2::o2::Obj2 {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 5 'view-object'. lines 65-67: +task 5 'view-object'. lines 66-68: Owner: Shared Version: 4 Contents: t2::o2::Obj2 {id: iota::object::UID {id: iota::object::ID {bytes: fake(3,0)}}} -task 6 'programmable'. lines 68-72: +task 6 'programmable'. lines 69-73: Error: Transaction Effects Status: The shared object operation is not allowed. Debug of error: SharedObjectOperationNotAllowed at command None -task 7 'programmable'. lines 73-77: +task 7 'programmable'. lines 74-78: Error: Transaction Effects Status: The shared object operation is not allowed. Debug of error: SharedObjectOperationNotAllowed at command None -task 8 'programmable'. lines 78-82: +task 8 'programmable'. lines 79-83: Error: Transaction Effects Status: The shared object operation is not allowed. Debug of error: SharedObjectOperationNotAllowed at command None -task 9 'programmable'. lines 83-85: +task 9 'programmable'. lines 84-86: Error: Transaction Effects Status: The shared object operation is not allowed. Debug of error: SharedObjectOperationNotAllowed at command None -task 10 'run'. lines 87-87: +task 10 'run'. lines 88-88: created: object(10,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 1976000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 11 'view-object'. lines 89-91: +task 11 'view-object'. lines 90-92: Owner: Shared Version: 9 Contents: iota::coin::Coin {id: iota::object::UID {id: iota::object::ID {bytes: fake(10,0)}}, balance: iota::balance::Balance {value: 0u64}} -task 12 'programmable'. lines 92-98: +task 12 'programmable'. lines 93-99: Error: Transaction Effects Status: Invalid command argument at 0. Invalid usage of value. Mutably borrowed values require unique usage. Immutably borrowed values cannot be taken or borrowed mutably. Taken values cannot be used again. Debug of error: CommandArgumentError { arg_idx: 0, kind: InvalidValueUsage } at command Some(3) -task 13 'programmable'. lines 99-105: +task 13 'programmable'. lines 100-106: Error: Transaction Effects Status: Invalid command argument at 0. Invalid usage of value. Mutably borrowed values require unique usage. Immutably borrowed values cannot be taken or borrowed mutably. Taken values cannot be used again. Debug of error: CommandArgumentError { arg_idx: 0, kind: InvalidValueUsage } at command Some(3) -task 14 'programmable'. lines 106-112: +task 14 'programmable'. lines 107-113: Error: Transaction Effects Status: Invalid command argument at 0. Invalid usage of value. Mutably borrowed values require unique usage. Immutably borrowed values cannot be taken or borrowed mutably. Taken values cannot be used again. Debug of error: CommandArgumentError { arg_idx: 0, kind: InvalidValueUsage } at command Some(3) -task 15 'programmable'. lines 113-117: +task 15 'programmable'. lines 114-118: Error: Transaction Effects Status: The shared object operation is not allowed. Debug of error: SharedObjectOperationNotAllowed at command None diff --git a/crates/iota-adapter-transactional-tests/tests/shared/by_value_shared_object_v20.exp b/crates/iota-adapter-transactional-tests/tests/shared/by_value_shared_object_v20.exp index add60dee0c5..b7f3c4710db 100644 --- a/crates/iota-adapter-transactional-tests/tests/shared/by_value_shared_object_v20.exp +++ b/crates/iota-adapter-transactional-tests/tests/shared/by_value_shared_object_v20.exp @@ -1,29 +1,29 @@ processed 7 tasks -task 1 'publish'. lines 8-24: +task 1 'publish'. lines 9-25: created: object(1,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 5342800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'publish'. lines 26-34: +task 2 'publish'. lines 27-35: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 4453600, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'run'. lines 37-37: +task 3 'run'. lines 38-38: created: object(3,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2226800, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 4 'view-object'. lines 39-39: +task 4 'view-object'. lines 40-40: Owner: Shared Version: 4 Contents: t2::o2::Obj2 {id: iota::object::UID {id: iota::object::ID {bytes: fake(3,0)}}} -task 5 'run'. lines 41-41: +task 5 'run'. lines 42-42: Error: Transaction Effects Status: Invalid command argument at 0. Immutable objects cannot be passed by-value. Debug of error: CommandArgumentError { arg_idx: 0, kind: InvalidObjectByValue } at command Some(0) -task 6 'run'. lines 43-43: +task 6 'run'. lines 44-44: Error: Transaction Effects Status: Invalid command argument at 0. Immutable objects cannot be passed by-value. Debug of error: CommandArgumentError { arg_idx: 0, kind: InvalidObjectByValue } at command Some(0) diff --git a/crates/iota-adapter-transactional-tests/tests/shared/freeze.exp b/crates/iota-adapter-transactional-tests/tests/shared/freeze.exp index a82dadf2666..feaa76f08c3 100644 --- a/crates/iota-adapter-transactional-tests/tests/shared/freeze.exp +++ b/crates/iota-adapter-transactional-tests/tests/shared/freeze.exp @@ -1,20 +1,20 @@ processed 5 tasks -task 1 'publish'. lines 8-25: +task 1 'publish'. lines 9-26: created: object(1,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 5396000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 27-27: +task 2 'run'. lines 28-28: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2226800, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'view-object'. lines 29-29: +task 3 'view-object'. lines 30-30: Owner: Shared Version: 3 Contents: t2::o2::Obj2 {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 4 'run'. lines 31-31: +task 4 'run'. lines 32-32: Error: Transaction Effects Status: The shared object operation is not allowed. Debug of error: SharedObjectOperationNotAllowed at command None diff --git a/crates/iota-adapter-transactional-tests/tests/shared/re_share.exp b/crates/iota-adapter-transactional-tests/tests/shared/re_share.exp index 5fef1a5a7f9..bd47a43a088 100644 --- a/crates/iota-adapter-transactional-tests/tests/shared/re_share.exp +++ b/crates/iota-adapter-transactional-tests/tests/shared/re_share.exp @@ -1,24 +1,24 @@ processed 6 tasks -task 1 'publish'. lines 8-27: +task 1 'publish'. lines 9-28: created: object(1,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 5707600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 29-29: +task 2 'run'. lines 30-30: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2226800, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'view-object'. lines 31-31: +task 3 'view-object'. lines 32-32: Owner: Shared Version: 3 Contents: t2::o2::Obj2 {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 4 'run'. lines 33-33: +task 4 'run'. lines 34-34: mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 2226800, storage_rebate: 2204532, non_refundable_storage_fee: 22268 -task 5 'run'. lines 35-35: +task 5 'run'. lines 36-36: mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 2226800, storage_rebate: 2204532, non_refundable_storage_fee: 22268 diff --git a/crates/iota-adapter-transactional-tests/tests/shared/transfer.exp b/crates/iota-adapter-transactional-tests/tests/shared/transfer.exp index a0652951057..222cf16a5aa 100644 --- a/crates/iota-adapter-transactional-tests/tests/shared/transfer.exp +++ b/crates/iota-adapter-transactional-tests/tests/shared/transfer.exp @@ -1,20 +1,20 @@ processed 5 tasks -task 1 'publish'. lines 9-24: +task 1 'publish'. lines 10-25: created: object(1,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 5654400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 26-26: +task 2 'run'. lines 27-27: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2226800, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'view-object'. lines 28-28: +task 3 'view-object'. lines 29-29: Owner: Shared Version: 3 Contents: t2::o2::Obj2 {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 4 'run'. lines 30-30: +task 4 'run'. lines 31-31: Error: Transaction Effects Status: The shared object operation is not allowed. Debug of error: SharedObjectOperationNotAllowed at command None diff --git a/crates/iota-adapter-transactional-tests/tests/shared/upgrade.exp b/crates/iota-adapter-transactional-tests/tests/shared/upgrade.exp index b473fc54ffa..1001d32a9a2 100644 --- a/crates/iota-adapter-transactional-tests/tests/shared/upgrade.exp +++ b/crates/iota-adapter-transactional-tests/tests/shared/upgrade.exp @@ -3,29 +3,29 @@ processed 7 tasks init: A: object(0,0) -task 1 'publish'. lines 8-36: +task 1 'publish'. lines 9-37: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 7440400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 38-38: +task 2 'run'. lines 39-39: created: object(2,0), object(2,1), object(2,2), object(2,3) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 7835600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'view-object'. lines 40-40: +task 3 'view-object'. lines 41-41: Owner: Account Address ( A ) Version: 2 Contents: t::m::Obj {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,2)}}} -task 4 'run'. lines 42-42: +task 4 'run'. lines 43-43: Error: Transaction Effects Status: Move Runtime Abort. Location: iota::transfer::share_object_impl (function index 10) at offset 0, Abort Code: 0 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: iota, name: Identifier("transfer") }, function: 10, instruction: 0, function_name: Some("share_object_impl") }, 0), source: Some(VMError { major_status: ABORTED, sub_status: Some(0), message: None, exec_state: None, location: Module(ModuleId { address: iota, name: Identifier("transfer") }), indices: [], offsets: [(FunctionDefinitionIndex(10), 0)] }), command: Some(0) } } -task 5 'run'. lines 44-44: +task 5 'run'. lines 45-45: Error: Transaction Effects Status: Move Runtime Abort. Location: iota::transfer::share_object_impl (function index 10) at offset 0, Abort Code: 0 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: iota, name: Identifier("transfer") }, function: 10, instruction: 0, function_name: Some("share_object_impl") }, 0), source: Some(VMError { major_status: ABORTED, sub_status: Some(0), message: None, exec_state: None, location: Module(ModuleId { address: iota, name: Identifier("transfer") }), indices: [], offsets: [(FunctionDefinitionIndex(10), 0)] }), command: Some(0) } } -task 6 'run'. lines 46-46: +task 6 'run'. lines 47-47: Error: Transaction Effects Status: Move Runtime Abort. Location: iota::transfer::share_object_impl (function index 10) at offset 0, Abort Code: 0 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: iota, name: Identifier("transfer") }, function: 10, instruction: 0, function_name: Some("share_object_impl") }, 0), source: Some(VMError { major_status: ABORTED, sub_status: Some(0), message: None, exec_state: None, location: Module(ModuleId { address: iota, name: Identifier("transfer") }), indices: [], offsets: [(FunctionDefinitionIndex(10), 0)] }), command: Some(0) } } diff --git a/crates/iota-adapter-transactional-tests/tests/shared/wrap.exp b/crates/iota-adapter-transactional-tests/tests/shared/wrap.exp index f1a63b9cbd7..39e6555b842 100644 --- a/crates/iota-adapter-transactional-tests/tests/shared/wrap.exp +++ b/crates/iota-adapter-transactional-tests/tests/shared/wrap.exp @@ -1,20 +1,20 @@ processed 5 tasks -task 1 'publish'. lines 8-27: +task 1 'publish'. lines 9-28: created: object(1,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 6064800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 30-30: +task 2 'run'. lines 31-31: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2226800, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'view-object'. lines 32-32: +task 3 'view-object'. lines 33-33: Owner: Shared Version: 3 Contents: t2::o2::Obj2 {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 4 'run'. lines 34-34: +task 4 'run'. lines 35-35: Error: Transaction Effects Status: The shared object operation is not allowed. Debug of error: SharedObjectOperationNotAllowed at command None diff --git a/crates/iota-adapter-transactional-tests/tests/size_limits/deleted_id_limits_tests.exp b/crates/iota-adapter-transactional-tests/tests/size_limits/deleted_id_limits_tests.exp index fc0956a4b6a..5b96865c2f6 100644 --- a/crates/iota-adapter-transactional-tests/tests/size_limits/deleted_id_limits_tests.exp +++ b/crates/iota-adapter-transactional-tests/tests/size_limits/deleted_id_limits_tests.exp @@ -1,26 +1,26 @@ processed 7 tasks -task 1 'publish'. lines 8-32: +task 1 'publish'. lines 9-33: created: object(1,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 5259200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 33-35: +task 2 'run'. lines 34-36: mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'run'. lines 36-38: +task 3 'run'. lines 37-39: mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 4 'run'. lines 39-41: +task 4 'run'. lines 40-42: mutated: object(0,0) gas summary: computation_cost: 5000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 5 'run'. lines 42-44: +task 5 'run'. lines 43-45: Error: Transaction Effects Status: Move Primitive Runtime Error. Location: iota::tx_context::derive_id (function index 6) at offset 0. Arithmetic error, stack overflow, max value depth, etc. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MovePrimitiveRuntimeError(MoveLocationOpt(Some(MoveLocation { module: ModuleId { address: iota, name: Identifier("tx_context") }, function: 6, instruction: 0, function_name: Some("derive_id") }))), source: Some(VMError { major_status: MEMORY_LIMIT_EXCEEDED, sub_status: Some(2), message: Some("Creating more than 2048 IDs is not allowed"), exec_state: None, location: Module(ModuleId { address: iota, name: Identifier("tx_context") }), indices: [], offsets: [(FunctionDefinitionIndex(6), 0)] }), command: Some(0) } } -task 6 'run'. lines 45-45: +task 6 'run'. lines 46-46: Error: Transaction Effects Status: Move Primitive Runtime Error. Location: iota::tx_context::derive_id (function index 6) at offset 0. Arithmetic error, stack overflow, max value depth, etc. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MovePrimitiveRuntimeError(MoveLocationOpt(Some(MoveLocation { module: ModuleId { address: iota, name: Identifier("tx_context") }, function: 6, instruction: 0, function_name: Some("derive_id") }))), source: Some(VMError { major_status: MEMORY_LIMIT_EXCEEDED, sub_status: Some(2), message: Some("Creating more than 2048 IDs is not allowed"), exec_state: None, location: Module(ModuleId { address: iota, name: Identifier("tx_context") }), indices: [], offsets: [(FunctionDefinitionIndex(6), 0)] }), command: Some(0) } } diff --git a/crates/iota-adapter-transactional-tests/tests/size_limits/event_limits_tests.exp b/crates/iota-adapter-transactional-tests/tests/size_limits/event_limits_tests.exp index f3ccb0ab882..7b71143baa7 100644 --- a/crates/iota-adapter-transactional-tests/tests/size_limits/event_limits_tests.exp +++ b/crates/iota-adapter-transactional-tests/tests/size_limits/event_limits_tests.exp @@ -1,42 +1,42 @@ processed 10 tasks -task 1 'publish'. lines 8-55: +task 1 'publish'. lines 9-56: created: object(1,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 7311200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 56-58: +task 2 'run'. lines 57-59: events: 1 mutated: 1 gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'run'. lines 59-61: +task 3 'run'. lines 60-62: events: 50 mutated: 1 gas summary: computation_cost: 3000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 4 'run'. lines 62-64: +task 4 'run'. lines 63-65: Error: Transaction Effects Status: Move Primitive Runtime Error. Location: iota::event::emit (function index 0) at offset 0. Arithmetic error, stack overflow, max value depth, etc. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MovePrimitiveRuntimeError(MoveLocationOpt(Some(MoveLocation { module: ModuleId { address: iota, name: Identifier("event") }, function: 0, instruction: 0, function_name: Some("emit") }))), source: Some(VMError { major_status: MEMORY_LIMIT_EXCEEDED, sub_status: Some(0), message: Some("Emitting more than 1024 events is not allowed"), exec_state: None, location: Module(ModuleId { address: iota, name: Identifier("event") }), indices: [], offsets: [(FunctionDefinitionIndex(0), 0)] }), command: Some(0) } } -task 5 'run'. lines 65-67: +task 5 'run'. lines 66-68: Error: Transaction Effects Status: Move Primitive Runtime Error. Location: iota::event::emit (function index 0) at offset 0. Arithmetic error, stack overflow, max value depth, etc. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MovePrimitiveRuntimeError(MoveLocationOpt(Some(MoveLocation { module: ModuleId { address: iota, name: Identifier("event") }, function: 0, instruction: 0, function_name: Some("emit") }))), source: Some(VMError { major_status: MEMORY_LIMIT_EXCEEDED, sub_status: Some(0), message: Some("Emitting more than 1024 events is not allowed"), exec_state: None, location: Module(ModuleId { address: iota, name: Identifier("event") }), indices: [], offsets: [(FunctionDefinitionIndex(0), 0)] }), command: Some(0) } } -task 6 'run'. lines 68-70: +task 6 'run'. lines 69-71: events: 1 mutated: 1 gas summary: computation_cost: 1393000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 7 'run'. lines 71-73: +task 7 'run'. lines 72-74: events: 1 mutated: 1 gas summary: computation_cost: 1814000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 8 'run'. lines 74-76: +task 8 'run'. lines 75-77: Error: Transaction Effects Status: Move Primitive Runtime Error. Location: iota::event::emit (function index 0) at offset 0. Arithmetic error, stack overflow, max value depth, etc. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MovePrimitiveRuntimeError(MoveLocationOpt(Some(MoveLocation { module: ModuleId { address: iota, name: Identifier("event") }, function: 0, instruction: 0, function_name: Some("emit") }))), source: Some(VMError { major_status: MEMORY_LIMIT_EXCEEDED, sub_status: Some(1), message: Some("Emitting event of size 256001 bytes. Limit is 256000 bytes."), exec_state: None, location: Module(ModuleId { address: iota, name: Identifier("event") }), indices: [], offsets: [(FunctionDefinitionIndex(0), 0)] }), command: Some(0) } } -task 9 'run'. lines 77-77: +task 9 'run'. lines 78-78: Error: Transaction Effects Status: Move Primitive Runtime Error. Location: iota::event::emit (function index 0) at offset 0. Arithmetic error, stack overflow, max value depth, etc. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MovePrimitiveRuntimeError(MoveLocationOpt(Some(MoveLocation { module: ModuleId { address: iota, name: Identifier("event") }, function: 0, instruction: 0, function_name: Some("emit") }))), source: Some(VMError { major_status: MEMORY_LIMIT_EXCEEDED, sub_status: Some(1), message: Some("Emitting event of size 259000 bytes. Limit is 256000 bytes."), exec_state: None, location: Module(ModuleId { address: iota, name: Identifier("event") }), indices: [], offsets: [(FunctionDefinitionIndex(0), 0)] }), command: Some(0) } } diff --git a/crates/iota-adapter-transactional-tests/tests/size_limits/event_limits_tests_out_of_gas.exp b/crates/iota-adapter-transactional-tests/tests/size_limits/event_limits_tests_out_of_gas.exp index 395d4de49ea..1d2774a1c7a 100644 --- a/crates/iota-adapter-transactional-tests/tests/size_limits/event_limits_tests_out_of_gas.exp +++ b/crates/iota-adapter-transactional-tests/tests/size_limits/event_limits_tests_out_of_gas.exp @@ -1,22 +1,22 @@ processed 6 tasks -task 1 'publish'. lines 8-66: +task 1 'publish'. lines 9-67: created: object(1,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 7919200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 67-69: +task 2 'run'. lines 68-70: Error: Transaction Effects Status: Move Primitive Runtime Error. Location: iota::event::emit (function index 0) at offset 0. Arithmetic error, stack overflow, max value depth, etc. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MovePrimitiveRuntimeError(MoveLocationOpt(Some(MoveLocation { module: ModuleId { address: iota, name: Identifier("event") }, function: 0, instruction: 0, function_name: Some("emit") }))), source: Some(VMError { major_status: MEMORY_LIMIT_EXCEEDED, sub_status: Some(0), message: Some("Emitting more than 1024 events is not allowed"), exec_state: None, location: Module(ModuleId { address: iota, name: Identifier("event") }), indices: [], offsets: [(FunctionDefinitionIndex(0), 0)] }), command: Some(0) } } -task 3 'run'. lines 70-72: +task 3 'run'. lines 71-73: Error: Transaction Effects Status: Move Primitive Runtime Error. Location: iota::event::emit (function index 0) at offset 0. Arithmetic error, stack overflow, max value depth, etc. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MovePrimitiveRuntimeError(MoveLocationOpt(Some(MoveLocation { module: ModuleId { address: iota, name: Identifier("event") }, function: 0, instruction: 0, function_name: Some("emit") }))), source: Some(VMError { major_status: MEMORY_LIMIT_EXCEEDED, sub_status: Some(0), message: Some("Emitting more than 1024 events is not allowed"), exec_state: None, location: Module(ModuleId { address: iota, name: Identifier("event") }), indices: [], offsets: [(FunctionDefinitionIndex(0), 0)] }), command: Some(0) } } -task 4 'run'. lines 73-75: +task 4 'run'. lines 74-76: Error: Transaction Effects Status: Insufficient Gas. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: InsufficientGas, source: Some(VMError { major_status: OUT_OF_GAS, sub_status: None, message: None, exec_state: None, location: Module(ModuleId { address: Test, name: Identifier("M1") }), indices: [], offsets: [(FunctionDefinitionIndex(0), 27)] }), command: Some(0) } } -task 5 'run'. lines 76-76: +task 5 'run'. lines 77-77: Error: Transaction Effects Status: Insufficient Gas. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: InsufficientGas, source: Some(VMError { major_status: OUT_OF_GAS, sub_status: None, message: None, exec_state: None, location: Module(ModuleId { address: Test, name: Identifier("M1") }), indices: [], offsets: [(FunctionDefinitionIndex(0), 33)] }), command: Some(0) } } diff --git a/crates/iota-adapter-transactional-tests/tests/size_limits/identitifer_len_limits.exp b/crates/iota-adapter-transactional-tests/tests/size_limits/identitifer_len_limits.exp index e06f947bc9b..5df18092cd0 100644 --- a/crates/iota-adapter-transactional-tests/tests/size_limits/identitifer_len_limits.exp +++ b/crates/iota-adapter-transactional-tests/tests/size_limits/identitifer_len_limits.exp @@ -1,14 +1,14 @@ processed 4 tasks -task 1 'publish'. lines 8-15: +task 1 'publish'. lines 9-16: Error: Transaction Effects Status: Move Bytecode Verification Error. Please run the Bytecode Verifier for more information. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: VMVerificationOrDeserializationError, source: Some(VMError { major_status: IDENTIFIER_TOO_LONG, sub_status: None, message: None, exec_state: None, location: Module(ModuleId { address: _, name: Identifier("M1_1234567891234567890123456789012345678912345678901234567890123456789123456789012345678908901234567891234567890123456789078912345678901234567890") }), indices: [(Identifier, 0)], offsets: [] }), command: Some(0) } } -task 2 'publish'. lines 17-23: +task 2 'publish'. lines 18-24: Error: Transaction Effects Status: Move Bytecode Verification Error. Please run the Bytecode Verifier for more information. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: VMVerificationOrDeserializationError, source: Some(VMError { major_status: IDENTIFIER_TOO_LONG, sub_status: None, message: None, exec_state: None, location: Module(ModuleId { address: _, name: Identifier("M1_12345678912345678901234567890") }), indices: [(Identifier, 1)], offsets: [] }), command: Some(0) } } -task 3 'publish'. lines 26-47: +task 3 'publish'. lines 27-48: created: object(3,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 6095200, storage_rebate: 978120, non_refundable_storage_fee: 9880 diff --git a/crates/iota-adapter-transactional-tests/tests/size_limits/move_object_size_limit.exp b/crates/iota-adapter-transactional-tests/tests/size_limits/move_object_size_limit.exp index 20ded1ec45f..b4adf5e6cef 100644 --- a/crates/iota-adapter-transactional-tests/tests/size_limits/move_object_size_limit.exp +++ b/crates/iota-adapter-transactional-tests/tests/size_limits/move_object_size_limit.exp @@ -3,21 +3,21 @@ processed 5 tasks init: A: object(0,0) -task 1 'publish'. lines 8-78: +task 1 'publish'. lines 9-79: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 9933200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 79-81: +task 2 'run'. lines 80-82: Error: Transaction Effects Status: Move object with size 256001 is larger than the maximum object size 256000 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveObjectTooBig { object_size: 256001, max_object_size: 256000 }, source: None, command: None } } -task 3 'run'. lines 82-84: +task 3 'run'. lines 83-85: created: object(3,0) mutated: object(0,0) gas summary: computation_cost: 1863000000, storage_cost: 1947553200, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 4 'run'. lines 85-85: +task 4 'run'. lines 86-86: created: object(4,0) mutated: object(0,0) gas summary: computation_cost: 1863000000, storage_cost: 1947560800, storage_rebate: 978120, non_refundable_storage_fee: 9880 diff --git a/crates/iota-adapter-transactional-tests/tests/size_limits/new_id_limits_tests.exp b/crates/iota-adapter-transactional-tests/tests/size_limits/new_id_limits_tests.exp index 2fec959222b..9fc06651477 100644 --- a/crates/iota-adapter-transactional-tests/tests/size_limits/new_id_limits_tests.exp +++ b/crates/iota-adapter-transactional-tests/tests/size_limits/new_id_limits_tests.exp @@ -1,26 +1,26 @@ processed 7 tasks -task 1 'publish'. lines 8-33: +task 1 'publish'. lines 9-34: created: object(1,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 5259200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 34-36: +task 2 'run'. lines 35-37: mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'run'. lines 37-39: +task 3 'run'. lines 38-40: mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 4 'run'. lines 40-42: +task 4 'run'. lines 41-43: mutated: object(0,0) gas summary: computation_cost: 5000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 5 'run'. lines 43-45: +task 5 'run'. lines 44-46: Error: Transaction Effects Status: Move Primitive Runtime Error. Location: iota::tx_context::derive_id (function index 6) at offset 0. Arithmetic error, stack overflow, max value depth, etc. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MovePrimitiveRuntimeError(MoveLocationOpt(Some(MoveLocation { module: ModuleId { address: iota, name: Identifier("tx_context") }, function: 6, instruction: 0, function_name: Some("derive_id") }))), source: Some(VMError { major_status: MEMORY_LIMIT_EXCEEDED, sub_status: Some(2), message: Some("Creating more than 2048 IDs is not allowed"), exec_state: None, location: Module(ModuleId { address: iota, name: Identifier("tx_context") }), indices: [], offsets: [(FunctionDefinitionIndex(6), 0)] }), command: Some(0) } } -task 6 'run'. lines 46-46: +task 6 'run'. lines 47-47: Error: Transaction Effects Status: Move Primitive Runtime Error. Location: iota::tx_context::derive_id (function index 6) at offset 0. Arithmetic error, stack overflow, max value depth, etc. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MovePrimitiveRuntimeError(MoveLocationOpt(Some(MoveLocation { module: ModuleId { address: iota, name: Identifier("tx_context") }, function: 6, instruction: 0, function_name: Some("derive_id") }))), source: Some(VMError { major_status: MEMORY_LIMIT_EXCEEDED, sub_status: Some(2), message: Some("Creating more than 2048 IDs is not allowed"), exec_state: None, location: Module(ModuleId { address: iota, name: Identifier("tx_context") }), indices: [], offsets: [(FunctionDefinitionIndex(6), 0)] }), command: Some(0) } } diff --git a/crates/iota-adapter-transactional-tests/tests/size_limits/object_runtime_limits.exp b/crates/iota-adapter-transactional-tests/tests/size_limits/object_runtime_limits.exp index 4f82093ca93..9577e9ec984 100644 --- a/crates/iota-adapter-transactional-tests/tests/size_limits/object_runtime_limits.exp +++ b/crates/iota-adapter-transactional-tests/tests/size_limits/object_runtime_limits.exp @@ -3,25 +3,25 @@ processed 6 tasks init: A: object(0,0) -task 1 'publish'. lines 7-26: +task 1 'publish'. lines 8-27: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 5821600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 28-28: +task 2 'run'. lines 29-29: created: 200 mutated: 1 gas summary: computation_cost: 1000000, storage_cost: 270028000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'run'. lines 30-30: +task 3 'run'. lines 31-31: created: 2000 mutated: 1 gas summary: computation_cost: 7000000, storage_cost: 2691388000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 4 'run'. lines 32-32: +task 4 'run'. lines 33-33: Error: Transaction Effects Status: Move Primitive Runtime Error. Location: iota::dynamic_field::has_child_object (function index 14) at offset 0. Arithmetic error, stack overflow, max value depth, etc. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MovePrimitiveRuntimeError(MoveLocationOpt(Some(MoveLocation { module: ModuleId { address: iota, name: Identifier("dynamic_field") }, function: 14, instruction: 0, function_name: Some("has_child_object") }))), source: Some(VMError { major_status: MEMORY_LIMIT_EXCEEDED, sub_status: Some(5), message: Some("Object runtime cached objects limit (1000 entries) reached"), exec_state: None, location: Module(ModuleId { address: iota, name: Identifier("dynamic_field") }), indices: [], offsets: [(FunctionDefinitionIndex(14), 0)] }), command: Some(0) } } -task 5 'run'. lines 34-34: +task 5 'run'. lines 35-35: Error: Transaction Effects Status: Move Primitive Runtime Error. Location: iota::dynamic_field::has_child_object (function index 14) at offset 0. Arithmetic error, stack overflow, max value depth, etc. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MovePrimitiveRuntimeError(MoveLocationOpt(Some(MoveLocation { module: ModuleId { address: iota, name: Identifier("dynamic_field") }, function: 14, instruction: 0, function_name: Some("has_child_object") }))), source: Some(VMError { major_status: MEMORY_LIMIT_EXCEEDED, sub_status: Some(5), message: Some("Object runtime cached objects limit (1000 entries) reached"), exec_state: None, location: Module(ModuleId { address: iota, name: Identifier("dynamic_field") }), indices: [], offsets: [(FunctionDefinitionIndex(14), 0)] }), command: Some(0) } } diff --git a/crates/iota-adapter-transactional-tests/tests/size_limits/transfered_id_limits_tests.exp b/crates/iota-adapter-transactional-tests/tests/size_limits/transfered_id_limits_tests.exp index 798a4de1300..82f31ba00b5 100644 --- a/crates/iota-adapter-transactional-tests/tests/size_limits/transfered_id_limits_tests.exp +++ b/crates/iota-adapter-transactional-tests/tests/size_limits/transfered_id_limits_tests.exp @@ -1,37 +1,37 @@ processed 9 tasks -task 1 'publish'. lines 8-32: +task 1 'publish'. lines 9-33: created: object(1,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 5578400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 33-35: +task 2 'run'. lines 34-36: created: 1 mutated: 1 gas summary: computation_cost: 1000000, storage_cost: 2219200, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'run'. lines 36-38: +task 3 'run'. lines 37-39: created: 256 mutated: 1 gas summary: computation_cost: 1000000, storage_cost: 316175200, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 4 'run'. lines 39-41: +task 4 'run'. lines 40-42: created: 2048 mutated: 1 gas summary: computation_cost: 4000000, storage_cost: 2522485600, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 5 'run'. lines 42-44: +task 5 'run'. lines 43-45: Error: Transaction Effects Status: Move Primitive Runtime Error. Location: iota::tx_context::derive_id (function index 6) at offset 0. Arithmetic error, stack overflow, max value depth, etc. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MovePrimitiveRuntimeError(MoveLocationOpt(Some(MoveLocation { module: ModuleId { address: iota, name: Identifier("tx_context") }, function: 6, instruction: 0, function_name: Some("derive_id") }))), source: Some(VMError { major_status: MEMORY_LIMIT_EXCEEDED, sub_status: Some(2), message: Some("Creating more than 2048 IDs is not allowed"), exec_state: None, location: Module(ModuleId { address: iota, name: Identifier("tx_context") }), indices: [], offsets: [(FunctionDefinitionIndex(6), 0)] }), command: Some(0) } } -task 6 'run'. lines 45-47: +task 6 'run'. lines 46-48: Error: Transaction Effects Status: Move Primitive Runtime Error. Location: iota::tx_context::derive_id (function index 6) at offset 0. Arithmetic error, stack overflow, max value depth, etc. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MovePrimitiveRuntimeError(MoveLocationOpt(Some(MoveLocation { module: ModuleId { address: iota, name: Identifier("tx_context") }, function: 6, instruction: 0, function_name: Some("derive_id") }))), source: Some(VMError { major_status: MEMORY_LIMIT_EXCEEDED, sub_status: Some(2), message: Some("Creating more than 2048 IDs is not allowed"), exec_state: None, location: Module(ModuleId { address: iota, name: Identifier("tx_context") }), indices: [], offsets: [(FunctionDefinitionIndex(6), 0)] }), command: Some(0) } } -task 7 'run'. lines 48-50: +task 7 'run'. lines 49-51: Error: Transaction Effects Status: Move Primitive Runtime Error. Location: iota::tx_context::derive_id (function index 6) at offset 0. Arithmetic error, stack overflow, max value depth, etc. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MovePrimitiveRuntimeError(MoveLocationOpt(Some(MoveLocation { module: ModuleId { address: iota, name: Identifier("tx_context") }, function: 6, instruction: 0, function_name: Some("derive_id") }))), source: Some(VMError { major_status: MEMORY_LIMIT_EXCEEDED, sub_status: Some(2), message: Some("Creating more than 2048 IDs is not allowed"), exec_state: None, location: Module(ModuleId { address: iota, name: Identifier("tx_context") }), indices: [], offsets: [(FunctionDefinitionIndex(6), 0)] }), command: Some(0) } } -task 8 'run'. lines 51-51: +task 8 'run'. lines 52-52: Error: Transaction Effects Status: Move Primitive Runtime Error. Location: iota::tx_context::derive_id (function index 6) at offset 0. Arithmetic error, stack overflow, max value depth, etc. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MovePrimitiveRuntimeError(MoveLocationOpt(Some(MoveLocation { module: ModuleId { address: iota, name: Identifier("tx_context") }, function: 6, instruction: 0, function_name: Some("derive_id") }))), source: Some(VMError { major_status: MEMORY_LIMIT_EXCEEDED, sub_status: Some(2), message: Some("Creating more than 2048 IDs is not allowed"), exec_state: None, location: Module(ModuleId { address: iota, name: Identifier("tx_context") }), indices: [], offsets: [(FunctionDefinitionIndex(6), 0)] }), command: Some(0) } } diff --git a/crates/iota-adapter-transactional-tests/tests/size_limits/vector_len_limits.exp b/crates/iota-adapter-transactional-tests/tests/size_limits/vector_len_limits.exp index 358300b44a3..7ff9a55af60 100644 --- a/crates/iota-adapter-transactional-tests/tests/size_limits/vector_len_limits.exp +++ b/crates/iota-adapter-transactional-tests/tests/size_limits/vector_len_limits.exp @@ -1,22 +1,22 @@ processed 6 tasks -task 1 'publish'. lines 8-31: +task 1 'publish'. lines 9-32: created: object(1,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 4316800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 32-34: +task 2 'run'. lines 33-35: mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'run'. lines 35-37: +task 3 'run'. lines 36-38: mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 4 'run'. lines 38-40: +task 4 'run'. lines 39-41: mutated: object(0,0) gas summary: computation_cost: 4088000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 5 'run'. lines 41-41: +task 5 'run'. lines 42-42: Error: Transaction Effects Status: Move Primitive Runtime Error. Location: Test::M1::push_n_items (function index 0) at offset 11. Arithmetic error, stack overflow, max value depth, etc. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MovePrimitiveRuntimeError(MoveLocationOpt(Some(MoveLocation { module: ModuleId { address: Test, name: Identifier("M1") }, function: 0, instruction: 11, function_name: Some("push_n_items") }))), source: Some(VMError { major_status: VECTOR_OPERATION_ERROR, sub_status: Some(4), message: Some("vector size limit is 262144"), exec_state: None, location: Module(ModuleId { address: Test, name: Identifier("M1") }), indices: [], offsets: [(FunctionDefinitionIndex(0), 11)] }), command: Some(0) } } diff --git a/crates/iota-adapter-transactional-tests/tests/transfer_object/does_not_have_store.exp b/crates/iota-adapter-transactional-tests/tests/transfer_object/does_not_have_store.exp index 0a904885a94..edbe7fc1967 100644 --- a/crates/iota-adapter-transactional-tests/tests/transfer_object/does_not_have_store.exp +++ b/crates/iota-adapter-transactional-tests/tests/transfer_object/does_not_have_store.exp @@ -3,45 +3,45 @@ processed 10 tasks init: A: object(0,0), B: object(0,1) -task 1 'publish'. lines 8-25: +task 1 'publish'. lines 9-26: created: object(1,0) mutated: object(0,2) gas summary: computation_cost: 1000000, storage_cost: 5783600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 27-27: +task 2 'run'. lines 28-28: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2196400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'view-object'. lines 29-29: +task 3 'view-object'. lines 30-30: Owner: Account Address ( A ) Version: 2 Contents: test::m::S {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 4 'transfer-object'. lines 31-31: +task 4 'transfer-object'. lines 32-32: Error: Transaction Effects Status: Invalid Transfer Object, object does not have public transfer. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: InvalidTransferObject, source: None, command: Some(0) } } -task 5 'view-object'. lines 33-36: +task 5 'view-object'. lines 34-37: Owner: Account Address ( A ) Version: 3 Contents: test::m::S {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 6 'run'. lines 38-38: +task 6 'run'. lines 39-39: created: object(6,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2500400, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 7 'view-object'. lines 40-40: +task 7 'view-object'. lines 41-41: Owner: Account Address ( A ) Version: 4 Contents: test::m::Cup {id: iota::object::UID {id: iota::object::ID {bytes: fake(6,0)}}} -task 8 'transfer-object'. lines 42-42: +task 8 'transfer-object'. lines 43-43: Error: Transaction Effects Status: Invalid Transfer Object, object does not have public transfer. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: InvalidTransferObject, source: None, command: Some(0) } } -task 9 'view-object'. lines 44-44: +task 9 'view-object'. lines 45-45: Owner: Account Address ( A ) Version: 5 Contents: test::m::Cup {id: iota::object::UID {id: iota::object::ID {bytes: fake(6,0)}}} diff --git a/crates/iota-adapter-transactional-tests/tests/transfer_object/does_not_have_store_receive.exp b/crates/iota-adapter-transactional-tests/tests/transfer_object/does_not_have_store_receive.exp index 8af8d5db6d7..34449794999 100644 --- a/crates/iota-adapter-transactional-tests/tests/transfer_object/does_not_have_store_receive.exp +++ b/crates/iota-adapter-transactional-tests/tests/transfer_object/does_not_have_store_receive.exp @@ -3,94 +3,94 @@ processed 20 tasks init: A: object(0,0), B: object(0,1) -task 1 'publish'. lines 9-77: +task 1 'publish'. lines 10-78: created: object(1,0) mutated: object(0,2) gas summary: computation_cost: 1000000, storage_cost: 9659600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 79-79: +task 2 'run'. lines 80-80: created: object(2,0), object(2,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 3442800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'view-object'. lines 81-81: +task 3 'view-object'. lines 82-82: Owner: Account Address ( A ) Version: 2 Contents: test::m::Parent {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 4 'view-object'. lines 83-83: +task 4 'view-object'. lines 84-84: Owner: Account Address ( fake(2,0) ) Version: 2 Contents: test::m::S {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}} -task 5 'programmable'. lines 85-87: +task 5 'programmable'. lines 86-88: mutated: object(0,0), object(2,0) deleted: object(2,1) gas summary: computation_cost: 1000000, storage_cost: 2234400, storage_rebate: 3408372, non_refundable_storage_fee: 34428 -task 6 'run'. lines 89-89: +task 6 'run'. lines 90-90: created: object(6,0), object(6,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 3465600, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 7 'view-object'. lines 91-91: +task 7 'view-object'. lines 92-92: Owner: Account Address ( fake(6,1) ) Version: 4 Contents: test::m::Cup {id: iota::object::UID {id: iota::object::ID {bytes: fake(6,0)}}} -task 8 'view-object'. lines 93-93: +task 8 'view-object'. lines 94-94: Owner: Account Address ( A ) Version: 4 Contents: test::m::Parent {id: iota::object::UID {id: iota::object::ID {bytes: fake(6,1)}}} -task 9 'programmable'. lines 95-99: +task 9 'programmable'. lines 96-100: mutated: object(0,0), object(6,1) deleted: object(6,0) gas summary: computation_cost: 1000000, storage_cost: 2234400, storage_rebate: 3430944, non_refundable_storage_fee: 34656 -task 10 'run'. lines 101-101: +task 10 'run'. lines 102-102: created: object(10,0), object(10,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 3442800, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 11 'view-object'. lines 103-103: +task 11 'view-object'. lines 104-104: Owner: Account Address ( A ) Version: 6 Contents: test::m::Parent {id: iota::object::UID {id: iota::object::ID {bytes: fake(10,0)}}} -task 12 'view-object'. lines 105-105: +task 12 'view-object'. lines 106-106: Owner: Account Address ( fake(10,0) ) Version: 6 Contents: test::m::S {id: iota::object::UID {id: iota::object::ID {bytes: fake(10,1)}}} -task 13 'programmable'. lines 107-109: +task 13 'programmable'. lines 108-110: Error: Transaction Effects Status: Move Bytecode Verification Error. Please run the Bytecode Verifier for more information. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: VMVerificationOrDeserializationError, source: Some(VMError { major_status: CONSTRAINT_NOT_SATISFIED, sub_status: None, message: None, exec_state: None, location: Module(ModuleId { address: iota, name: Identifier("transfer") }), indices: [], offsets: [] }), command: Some(1) } } -task 14 'programmable'. lines 111-117: +task 14 'programmable'. lines 112-118: Error: Transaction Effects Status: Non Entry Function Invoked. Move Call must start with an entry function Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: NonEntryFunctionInvoked, source: Some("Cannot directly call iota::transfer::receive. Use the public variant instead, iota::transfer::public_receive"), command: Some(1) } } -task 15 'run'. lines 119-119: +task 15 'run'. lines 120-120: created: object(15,0), object(15,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 3473200, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 16 'view-object'. lines 121-121: +task 16 'view-object'. lines 122-122: Owner: Account Address ( A ) Version: 9 Contents: test::m::Parent {id: iota::object::UID {id: iota::object::ID {bytes: fake(15,0)}}} -task 17 'view-object'. lines 123-123: +task 17 'view-object'. lines 124-124: Owner: Account Address ( fake(15,0) ) Version: 9 Contents: test::m::Store {id: iota::object::UID {id: iota::object::ID {bytes: fake(15,1)}}} -task 18 'programmable'. lines 125-129: +task 18 'programmable'. lines 126-130: Error: Transaction Effects Status: Non Entry Function Invoked. Move Call must start with an entry function Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: NonEntryFunctionInvoked, source: Some("Cannot directly call iota::transfer::receive. Use the public variant instead, iota::transfer::public_receive"), command: Some(1) } } -task 19 'programmable'. lines 130-134: +task 19 'programmable'. lines 131-135: mutated: object(0,0) deleted: object(15,0), object(15,1) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 3438468, non_refundable_storage_fee: 34732 diff --git a/crates/iota-adapter-transactional-tests/tests/transfer_object/does_not_have_store_receive_version30.exp b/crates/iota-adapter-transactional-tests/tests/transfer_object/does_not_have_store_receive_version30.exp deleted file mode 100644 index 5f0f7831895..00000000000 --- a/crates/iota-adapter-transactional-tests/tests/transfer_object/does_not_have_store_receive_version30.exp +++ /dev/null @@ -1,89 +0,0 @@ -processed 18 tasks - -init: -A: object(0,0), B: object(0,1) - -task 1 'publish'. lines 9-77: -created: object(1,0) -mutated: object(0,2) -gas summary: computation_cost: 1000000, storage_cost: 9659600, storage_rebate: 0, non_refundable_storage_fee: 0 - -task 2 'run'. lines 79-79: -created: object(2,0), object(2,1) -mutated: object(0,0) -gas summary: computation_cost: 1000000, storage_cost: 3442800, storage_rebate: 0, non_refundable_storage_fee: 0 - -task 3 'view-object'. lines 81-81: -Owner: Account Address ( A ) -Version: 2 -Contents: test::m::Parent {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} - -task 4 'view-object'. lines 83-83: -Owner: Account Address ( fake(2,0) ) -Version: 2 -Contents: test::m::S {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,1)}}} - -task 5 'programmable'. lines 85-87: -mutated: object(0,0), object(2,0) -deleted: object(2,1) -gas summary: computation_cost: 1000000, storage_cost: 2234400, storage_rebate: 3408372, non_refundable_storage_fee: 34428 - -task 6 'run'. lines 89-89: -created: object(6,0), object(6,1) -mutated: object(0,0) -gas summary: computation_cost: 1000000, storage_cost: 3465600, storage_rebate: 978120, non_refundable_storage_fee: 9880 - -task 7 'view-object'. lines 91-91: -Owner: Account Address ( fake(6,1) ) -Version: 4 -Contents: test::m::Cup {id: iota::object::UID {id: iota::object::ID {bytes: fake(6,0)}}} - -task 8 'view-object'. lines 93-93: -Owner: Account Address ( A ) -Version: 4 -Contents: test::m::Parent {id: iota::object::UID {id: iota::object::ID {bytes: fake(6,1)}}} - -task 9 'programmable'. lines 95-99: -mutated: object(0,0), object(6,1) -deleted: object(6,0) -gas summary: computation_cost: 1000000, storage_cost: 2234400, storage_rebate: 3430944, non_refundable_storage_fee: 34656 - -task 10 'run'. lines 101-101: -created: object(10,0), object(10,1) -mutated: object(0,0) -gas summary: computation_cost: 1000000, storage_cost: 3442800, storage_rebate: 978120, non_refundable_storage_fee: 9880 - -task 11 'view-object'. lines 103-103: -Owner: Account Address ( A ) -Version: 6 -Contents: test::m::Parent {id: iota::object::UID {id: iota::object::ID {bytes: fake(10,0)}}} - -task 12 'view-object'. lines 105-105: -Owner: Account Address ( fake(10,0) ) -Version: 6 -Contents: test::m::S {id: iota::object::UID {id: iota::object::ID {bytes: fake(10,1)}}} - -task 13 'programmable'. lines 107-113: -mutated: object(0,0) -deleted: object(10,0), object(10,1) -gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 3408372, non_refundable_storage_fee: 34428 - -task 14 'run'. lines 115-115: -created: object(14,0), object(14,1) -mutated: object(0,0) -gas summary: computation_cost: 1000000, storage_cost: 3473200, storage_rebate: 978120, non_refundable_storage_fee: 9880 - -task 15 'view-object'. lines 117-117: -Owner: Account Address ( A ) -Version: 8 -Contents: test::m::Parent {id: iota::object::UID {id: iota::object::ID {bytes: fake(14,0)}}} - -task 16 'view-object'. lines 119-119: -Owner: Account Address ( fake(14,0) ) -Version: 8 -Contents: test::m::Store {id: iota::object::UID {id: iota::object::ID {bytes: fake(14,1)}}} - -task 17 'programmable'. lines 121-125: -mutated: object(0,0) -deleted: object(14,0), object(14,1) -gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 3438468, non_refundable_storage_fee: 34732 diff --git a/crates/iota-adapter-transactional-tests/tests/transfer_object/does_not_have_store_receive_version30.move b/crates/iota-adapter-transactional-tests/tests/transfer_object/does_not_have_store_receive_version30.move deleted file mode 100644 index 8b98d77a354..00000000000 --- a/crates/iota-adapter-transactional-tests/tests/transfer_object/does_not_have_store_receive_version30.move +++ /dev/null @@ -1,126 +0,0 @@ -// Copyright (c) Mysten Labs, Inc. -// Modifications Copyright (c) 2024 IOTA Stiftung -// SPDX-License-Identifier: Apache-2.0 - -// Tests `public_receive` should fail for an object _without_ public transfer, -// and that we cannot directly call `receive` from a PTB. - -//# init --accounts A B --addresses test=0x0 --protocol-version 30 - -//# publish -module test::m { - use iota::transfer::Receiving; - - public struct Parent has key { id: UID } - public struct S has key { id: UID } - public struct Cup has key { id: UID } - public struct Store has key, store { id: UID } - - public fun mint_s(ctx: &mut TxContext) { - let id = object::new(ctx); - let parent = Parent { id }; - let p_address = object::id_address(&parent); - transfer::transfer(parent, tx_context::sender(ctx)); - - let id = object::new(ctx); - transfer::transfer(S { id }, p_address); - } - - public fun mint_cup(ctx: &mut TxContext) { - let id = object::new(ctx); - let parent = Parent { id }; - let p_address = object::id_address(&parent); - transfer::transfer(parent, tx_context::sender(ctx)); - - let id = object::new(ctx); - transfer::transfer(Cup { id }, p_address); - } - - public fun mint_store(ctx: &mut TxContext) { - let id = object::new(ctx); - let parent = Parent { id }; - let p_address = object::id_address(&parent); - transfer::transfer(parent, tx_context::sender(ctx)); - - let id = object::new(ctx); - transfer::transfer(Store { id }, p_address); - } - - public fun receive_s(parent: &mut Parent, x: Receiving): S { - let s = transfer::receive(&mut parent.id, x); - s - } - - public fun receive_cup(parent: &mut Parent, x: Receiving>): Cup { - let s = transfer::receive(&mut parent.id, x); - s - } - - public fun parent_uid(p: Parent): UID { - let Parent { id } = p; - id - } - - public fun destroy_s(s: S) { - let S { id } = s; - object::delete(id); - } - - public fun destroy_cup(c: Cup) { - let Cup { id } = c; - object::delete(id); - } - - public fun destroy_store(s: Store) { - let Store { id } = s; - object::delete(id); - } -} - -//# run test::m::mint_s --sender A - -//# view-object 2,0 - -//# view-object 2,1 - -//# programmable --sender A --inputs object(2,0) receiving(2,1) -//> 0: test::m::receive_s(Input(0), Input(1)); -//> 1: test::m::destroy_s(Result(0)); - -//# run test::m::mint_cup --sender A --type-args u64 - -//# view-object 6,0 - -//# view-object 6,1 - -//# programmable --sender A --inputs object(6,1) receiving(6,0) -//> 0: test::m::receive_cup(Input(0), Input(1)); -//> 1: test::m::destroy_cup(Result(0)); - -// Try to directly call`receive` on an object without public transfer this should work up to PV 30. - -//# run test::m::mint_s --sender A - -//# view-object 10,0 - -//# view-object 10,1 - -//# programmable --sender A --inputs object(10,0) receiving(10,1) -//> 0: test::m::parent_uid(Input(0)); -//> 1: iota::transfer::receive(Result(0), Input(1)); -//> 2: test::m::destroy_s(Result(1)); -//> 3: iota::object::delete(Result(0)); - -// Now publish one with store. We should still be able to call `receive` to receive it. - -//# run test::m::mint_store --sender A - -//# view-object 14,0 - -//# view-object 14,1 - -//# programmable --sender A --inputs object(14,0) receiving(14,1) -//> 0: test::m::parent_uid(Input(0)); -//> 1: iota::transfer::receive(Result(0), Input(1)); -//> 2: test::m::destroy_store(Result(1)); -//> 3: iota::object::delete(Result(0)); diff --git a/crates/iota-adapter-transactional-tests/tests/transfer_object/has_store.exp b/crates/iota-adapter-transactional-tests/tests/transfer_object/has_store.exp index 2cf377cfdbb..cfa08f60d7d 100644 --- a/crates/iota-adapter-transactional-tests/tests/transfer_object/has_store.exp +++ b/crates/iota-adapter-transactional-tests/tests/transfer_object/has_store.exp @@ -3,45 +3,45 @@ processed 10 tasks init: A: object(0,0), B: object(0,1) -task 1 'publish'. lines 8-25: +task 1 'publish'. lines 9-26: created: object(1,0) mutated: object(0,2) gas summary: computation_cost: 1000000, storage_cost: 5905200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 27-27: +task 2 'run'. lines 28-28: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2196400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'view-object'. lines 29-29: +task 3 'view-object'. lines 30-30: Owner: Account Address ( A ) Version: 2 Contents: test::m::S {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 4 'transfer-object'. lines 31-31: +task 4 'transfer-object'. lines 32-32: mutated: object(0,0), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 2196400, storage_rebate: 2174436, non_refundable_storage_fee: 21964 -task 5 'view-object'. lines 33-36: +task 5 'view-object'. lines 34-37: Owner: Account Address ( B ) Version: 3 Contents: test::m::S {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 6 'run'. lines 38-38: +task 6 'run'. lines 39-39: created: object(6,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2500400, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 7 'view-object'. lines 40-40: +task 7 'view-object'. lines 41-41: Owner: Account Address ( A ) Version: 4 Contents: test::m::Cup {id: iota::object::UID {id: iota::object::ID {bytes: fake(6,0)}}} -task 8 'transfer-object'. lines 42-42: +task 8 'transfer-object'. lines 43-43: mutated: object(0,0), object(6,0) gas summary: computation_cost: 1000000, storage_cost: 2500400, storage_rebate: 2475396, non_refundable_storage_fee: 25004 -task 9 'view-object'. lines 44-44: +task 9 'view-object'. lines 45-45: Owner: Account Address ( B ) Version: 5 Contents: test::m::Cup {id: iota::object::UID {id: iota::object::ID {bytes: fake(6,0)}}} diff --git a/crates/iota-adapter-transactional-tests/tests/transfer_object/immutable.exp b/crates/iota-adapter-transactional-tests/tests/transfer_object/immutable.exp index a6462905343..2557d5ee575 100644 --- a/crates/iota-adapter-transactional-tests/tests/transfer_object/immutable.exp +++ b/crates/iota-adapter-transactional-tests/tests/transfer_object/immutable.exp @@ -3,26 +3,26 @@ processed 6 tasks init: A: object(0,0), B: object(0,1) -task 1 'publish'. lines 8-19: +task 1 'publish'. lines 9-20: created: object(1,0) mutated: object(0,2) gas summary: computation_cost: 1000000, storage_cost: 5365600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 21-21: +task 2 'run'. lines 22-22: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2196400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'view-object'. lines 23-23: +task 3 'view-object'. lines 24-24: Owner: Immutable Version: 2 Contents: test::m::S {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 4 'transfer-object'. lines 25-25: +task 4 'transfer-object'. lines 26-26: Error: Transaction Effects Status: Invalid command argument at 0. Immutable objects cannot be passed by-value. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: InvalidObjectByValue }, source: None, command: Some(0) } } -task 5 'view-object'. lines 27-27: +task 5 'view-object'. lines 28-28: Owner: Immutable Version: 2 Contents: test::m::S {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} diff --git a/crates/iota-adapter-transactional-tests/tests/transfer_object/immutable_v20.exp b/crates/iota-adapter-transactional-tests/tests/transfer_object/immutable_v20.exp index c21863ea01b..4f55d6a3465 100644 --- a/crates/iota-adapter-transactional-tests/tests/transfer_object/immutable_v20.exp +++ b/crates/iota-adapter-transactional-tests/tests/transfer_object/immutable_v20.exp @@ -3,26 +3,26 @@ processed 6 tasks init: A: object(0,0), B: object(0,1) -task 1 'publish'. lines 8-18: +task 1 'publish'. lines 9-19: created: object(1,0) mutated: object(0,2) gas summary: computation_cost: 1000000, storage_cost: 5365600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 20-20: +task 2 'run'. lines 21-21: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2196400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'view-object'. lines 22-22: +task 3 'view-object'. lines 23-23: Owner: Immutable Version: 2 Contents: test::m::S {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 4 'transfer-object'. lines 24-24: +task 4 'transfer-object'. lines 25-25: Error: Transaction Effects Status: Invalid command argument at 0. Immutable objects cannot be passed by-value. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: CommandArgumentError { arg_idx: 0, kind: InvalidObjectByValue }, source: None, command: Some(0) } } -task 5 'view-object'. lines 26-26: +task 5 'view-object'. lines 27-27: Owner: Immutable Version: 2 Contents: test::m::S {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} diff --git a/crates/iota-adapter-transactional-tests/tests/transfer_object/package.exp b/crates/iota-adapter-transactional-tests/tests/transfer_object/package.exp index 36ab467fe97..414a0f409c0 100644 --- a/crates/iota-adapter-transactional-tests/tests/transfer_object/package.exp +++ b/crates/iota-adapter-transactional-tests/tests/transfer_object/package.exp @@ -3,16 +3,16 @@ processed 5 tasks init: A: object(0,0), B: object(0,1) -task 1 'publish'. lines 8-10: +task 1 'publish'. lines 9-11: created: object(1,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 3176800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'view-object'. lines 13-13: +task 2 'view-object'. lines 14-14: 1,0::m -task 3 'transfer-object'. lines 15-15: +task 3 'transfer-object'. lines 16-16: Error: Error checking transaction input objects: MovePackageAsObject { object_id: object(1,0) } -task 4 'view-object'. lines 17-17: +task 4 'view-object'. lines 18-18: 1,0::m diff --git a/crates/iota-adapter-transactional-tests/tests/transfer_object/quasi_shared.exp b/crates/iota-adapter-transactional-tests/tests/transfer_object/quasi_shared.exp index acabddc765e..55124df4372 100644 --- a/crates/iota-adapter-transactional-tests/tests/transfer_object/quasi_shared.exp +++ b/crates/iota-adapter-transactional-tests/tests/transfer_object/quasi_shared.exp @@ -3,30 +3,30 @@ processed 7 tasks init: A: object(0,0), B: object(0,1) -task 1 'publish'. lines 8-23: +task 1 'publish'. lines 9-24: created: object(1,0) mutated: object(0,2) gas summary: computation_cost: 1000000, storage_cost: 6148400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 25-25: +task 2 'run'. lines 26-26: created: object(2,0) mutated: object(0,2) gas summary: computation_cost: 1000000, storage_cost: 2196400, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'run'. lines 27-27: +task 3 'run'. lines 28-28: created: object(3,0), object(3,1) mutated: object(0,2), object(2,0) gas summary: computation_cost: 1000000, storage_cost: 5890000, storage_rebate: 2174436, non_refundable_storage_fee: 21964 -task 4 'view-object'. lines 29-29: +task 4 'view-object'. lines 30-30: Owner: Object ID: ( fake(2,0) ) Version: 4 Contents: iota::dynamic_field::Field, iota::object::ID> {id: iota::object::UID {id: iota::object::ID {bytes: fake(3,0)}}, name: iota::dynamic_object_field::Wrapper {name: 0u64}, value: iota::object::ID {bytes: fake(3,1)}} -task 5 'transfer-object'. lines 31-31: +task 5 'transfer-object'. lines 32-32: Error: Error checking transaction input objects: InvalidChildObjectArgument { child_id: object(3,0), parent_id: object(2,0) } -task 6 'view-object'. lines 33-33: +task 6 'view-object'. lines 34-34: Owner: Object ID: ( fake(2,0) ) Version: 4 Contents: iota::dynamic_field::Field, iota::object::ID> {id: iota::object::UID {id: iota::object::ID {bytes: fake(3,0)}}, name: iota::dynamic_object_field::Wrapper {name: 0u64}, value: iota::object::ID {bytes: fake(3,1)}} diff --git a/crates/iota-adapter-transactional-tests/tests/transfer_object/shared.exp b/crates/iota-adapter-transactional-tests/tests/transfer_object/shared.exp index e61d7641302..83c08ae2a86 100644 --- a/crates/iota-adapter-transactional-tests/tests/transfer_object/shared.exp +++ b/crates/iota-adapter-transactional-tests/tests/transfer_object/shared.exp @@ -3,45 +3,45 @@ processed 10 tasks init: A: object(0,0), B: object(0,1) -task 1 'publish'. lines 8-25: +task 1 'publish'. lines 9-26: created: object(1,0) mutated: object(0,2) gas summary: computation_cost: 1000000, storage_cost: 5525200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 27-27: +task 2 'run'. lines 28-28: created: object(2,0) mutated: object(0,2) gas summary: computation_cost: 1000000, storage_cost: 2196400, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'run'. lines 29-29: +task 3 'run'. lines 30-30: created: object(3,0) mutated: object(0,2) gas summary: computation_cost: 1000000, storage_cost: 2204000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 4 'view-object'. lines 31-31: +task 4 'view-object'. lines 32-32: Owner: Shared Version: 3 Contents: test::m::S {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 5 'view-object'. lines 33-33: +task 5 'view-object'. lines 34-34: Owner: Shared Version: 4 Contents: test::m::S2 {id: iota::object::UID {id: iota::object::ID {bytes: fake(3,0)}}} -task 6 'transfer-object'. lines 35-35: +task 6 'transfer-object'. lines 36-36: Error: Transaction Effects Status: Invalid Transfer Object, object does not have public transfer. Debug of error: InvalidTransferObject at command Some(0) -task 7 'transfer-object'. lines 37-37: +task 7 'transfer-object'. lines 38-38: Error: Transaction Effects Status: The shared object operation is not allowed. Debug of error: SharedObjectOperationNotAllowed at command None -task 8 'view-object'. lines 39-39: +task 8 'view-object'. lines 40-40: Owner: Shared Version: 4 Contents: test::m::S {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 9 'view-object'. lines 41-41: +task 9 'view-object'. lines 42-42: Owner: Shared Version: 5 Contents: test::m::S2 {id: iota::object::UID {id: iota::object::ID {bytes: fake(3,0)}}} diff --git a/crates/iota-adapter-transactional-tests/tests/transfer_object/shared_v20.exp b/crates/iota-adapter-transactional-tests/tests/transfer_object/shared_v20.exp index ec400da2df2..27f527e7c17 100644 --- a/crates/iota-adapter-transactional-tests/tests/transfer_object/shared_v20.exp +++ b/crates/iota-adapter-transactional-tests/tests/transfer_object/shared_v20.exp @@ -3,26 +3,26 @@ processed 6 tasks init: A: object(0,0), B: object(0,1) -task 1 'publish'. lines 8-18: +task 1 'publish'. lines 9-19: created: object(1,0) mutated: object(0,2) gas summary: computation_cost: 1000000, storage_cost: 4902000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 20-20: +task 2 'run'. lines 21-21: created: object(2,0) mutated: object(0,2) gas summary: computation_cost: 1000000, storage_cost: 2196400, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 3 'view-object'. lines 22-22: +task 3 'view-object'. lines 23-23: Owner: Shared Version: 3 Contents: test::m::S {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 4 'transfer-object'. lines 24-24: +task 4 'transfer-object'. lines 25-25: Error: Transaction Effects Status: Invalid command argument at 0. Immutable objects cannot be passed by-value. Debug of error: CommandArgumentError { arg_idx: 0, kind: InvalidObjectByValue } at command Some(0) -task 5 'view-object'. lines 26-26: +task 5 'view-object'. lines 27-27: Owner: Shared Version: 4 Contents: test::m::S {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} diff --git a/crates/iota-adapter-transactional-tests/tests/transfer_object/transfer_coin.exp b/crates/iota-adapter-transactional-tests/tests/transfer_object/transfer_coin.exp index cff5c670359..4adb86a8a50 100644 --- a/crates/iota-adapter-transactional-tests/tests/transfer_object/transfer_coin.exp +++ b/crates/iota-adapter-transactional-tests/tests/transfer_object/transfer_coin.exp @@ -3,20 +3,20 @@ processed 5 tasks init: A: object(0,0), B: object(0,1), C: object(0,2) -task 1 'programmable'. lines 8-9: +task 1 'programmable'. lines 9-10: mutated: object(0,2) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'view-object'. lines 11-11: +task 2 'view-object'. lines 12-12: Owner: Account Address ( A ) Version: 2 Contents: iota::coin::Coin {id: iota::object::UID {id: iota::object::ID {bytes: fake(0,2)}}, balance: iota::balance::Balance {value: 299999998012000u64}} -task 3 'transfer-object'. lines 13-13: +task 3 'transfer-object'. lines 14-14: mutated: object(0,0), object(0,2) gas summary: computation_cost: 1000000, storage_cost: 1976000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 4 'view-object'. lines 15-15: +task 4 'view-object'. lines 16-16: Owner: Account Address ( B ) Version: 3 Contents: iota::coin::Coin {id: iota::object::UID {id: iota::object::ID {bytes: fake(0,2)}}, balance: iota::balance::Balance {value: 299999998012000u64}} diff --git a/crates/iota-adapter-transactional-tests/tests/transfer_object/wrap_unwrap.exp b/crates/iota-adapter-transactional-tests/tests/transfer_object/wrap_unwrap.exp index 7763da73cc2..912655270d4 100644 --- a/crates/iota-adapter-transactional-tests/tests/transfer_object/wrap_unwrap.exp +++ b/crates/iota-adapter-transactional-tests/tests/transfer_object/wrap_unwrap.exp @@ -3,39 +3,39 @@ processed 8 tasks init: A: object(0,0) -task 1 'publish'. lines 8-39: +task 1 'publish'. lines 9-40: created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 6224400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'run'. lines 41-41: +task 2 'run'. lines 42-42: created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2196400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3 'view-object'. lines 43-43: +task 3 'view-object'. lines 44-44: Owner: Account Address ( A ) Version: 2 Contents: a::m::S {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} -task 4 'run'. lines 45-45: +task 4 'run'. lines 46-46: created: object(4,0) mutated: object(0,0) wrapped: object(2,0) gas summary: computation_cost: 1000000, storage_cost: 2439600, storage_rebate: 2174436, non_refundable_storage_fee: 21964 -task 5 'view-object'. lines 47-47: +task 5 'view-object'. lines 48-48: Owner: Account Address ( A ) Version: 3 Contents: a::m::T {id: iota::object::UID {id: iota::object::ID {bytes: fake(4,0)}}, s: a::m::S {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}}} -task 6 'run'. lines 49-49: +task 6 'run'. lines 50-50: mutated: object(0,0) unwrapped: object(2,0) deleted: object(4,0) gas summary: computation_cost: 1000000, storage_cost: 2196400, storage_rebate: 2415204, non_refundable_storage_fee: 24396 -task 7 'view-object'. lines 51-51: +task 7 'view-object'. lines 52-52: Owner: Account Address ( A ) Version: 4 Contents: a::m::S {id: iota::object::UID {id: iota::object::ID {bytes: fake(2,0)}}} diff --git a/crates/iota-adapter-transactional-tests/tests/upgrade/add_ability_during_upgrade.exp b/crates/iota-adapter-transactional-tests/tests/upgrade/add_ability_during_upgrade.exp index d6f75a575a5..0e81a2e3777 100644 --- a/crates/iota-adapter-transactional-tests/tests/upgrade/add_ability_during_upgrade.exp +++ b/crates/iota-adapter-transactional-tests/tests/upgrade/add_ability_during_upgrade.exp @@ -3,47 +3,47 @@ processed 12 tasks init: A: object(0,0) -task 1 'publish'. lines 6-10: +task 1 'publish'. lines 7-11: created: object(1,0), object(1,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 5388400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'upgrade'. lines 12-18: +task 2 'upgrade'. lines 13-19: Error: Transaction Effects Status: Invalid package upgrade. New package is incompatible with previous version Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: PackageUpgradeError { upgrade_error: IncompatibleUpgrade }, source: Some(PartialVMError { major_status: BACKWARD_INCOMPATIBLE_MODULE_UPDATE, sub_status: None, message: None, exec_state: None, indices: [], offsets: [] }), command: Some(1) } } -task 3 'upgrade'. lines 20-23: +task 3 'upgrade'. lines 21-24: Error: Transaction Effects Status: Invalid package upgrade. New package is incompatible with previous version Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: PackageUpgradeError { upgrade_error: IncompatibleUpgrade }, source: Some(PartialVMError { major_status: BACKWARD_INCOMPATIBLE_MODULE_UPDATE, sub_status: None, message: None, exec_state: None, indices: [], offsets: [] }), command: Some(1) } } -task 4 'upgrade'. lines 25-28: +task 4 'upgrade'. lines 26-29: Error: Transaction Effects Status: Invalid package upgrade. New package is incompatible with previous version Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: PackageUpgradeError { upgrade_error: IncompatibleUpgrade }, source: Some(PartialVMError { major_status: BACKWARD_INCOMPATIBLE_MODULE_UPDATE, sub_status: None, message: None, exec_state: None, indices: [], offsets: [] }), command: Some(1) } } -task 5 'upgrade'. lines 30-33: +task 5 'upgrade'. lines 31-34: Error: Transaction Effects Status: Invalid package upgrade. New package is incompatible with previous version Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: PackageUpgradeError { upgrade_error: IncompatibleUpgrade }, source: Some(PartialVMError { major_status: BACKWARD_INCOMPATIBLE_MODULE_UPDATE, sub_status: None, message: None, exec_state: None, indices: [], offsets: [] }), command: Some(1) } } -task 6 'upgrade'. lines 35-38: +task 6 'upgrade'. lines 36-39: Error: Transaction Effects Status: Invalid package upgrade. New package is incompatible with previous version Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: PackageUpgradeError { upgrade_error: IncompatibleUpgrade }, source: Some(PartialVMError { major_status: BACKWARD_INCOMPATIBLE_MODULE_UPDATE, sub_status: None, message: None, exec_state: None, indices: [], offsets: [] }), command: Some(1) } } -task 7 'upgrade'. lines 40-43: +task 7 'upgrade'. lines 41-44: Error: Transaction Effects Status: Invalid package upgrade. New package is incompatible with previous version Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: PackageUpgradeError { upgrade_error: IncompatibleUpgrade }, source: Some(PartialVMError { major_status: BACKWARD_INCOMPATIBLE_MODULE_UPDATE, sub_status: None, message: None, exec_state: None, indices: [], offsets: [] }), command: Some(1) } } -task 8 'upgrade'. lines 45-48: +task 8 'upgrade'. lines 46-49: Error: Transaction Effects Status: Iota Move Bytecode Verification Error. Please run the Iota Move Verifier for more information. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: IotaMoveVerificationError, source: Some("First field of struct Foo must be 'id', dummy_field found"), command: Some(1) } } -task 9 'upgrade'. lines 50-56: +task 9 'upgrade'. lines 51-57: Error: Transaction Effects Status: Invalid package upgrade. New package is incompatible with previous version Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: PackageUpgradeError { upgrade_error: IncompatibleUpgrade }, source: Some(PartialVMError { major_status: BACKWARD_INCOMPATIBLE_MODULE_UPDATE, sub_status: None, message: None, exec_state: None, indices: [], offsets: [] }), command: Some(1) } } -task 10 'upgrade'. lines 58-61: +task 10 'upgrade'. lines 59-62: Error: Transaction Effects Status: Invalid package upgrade. New package is incompatible with previous version Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: PackageUpgradeError { upgrade_error: IncompatibleUpgrade }, source: Some(PartialVMError { major_status: BACKWARD_INCOMPATIBLE_MODULE_UPDATE, sub_status: None, message: None, exec_state: None, indices: [], offsets: [] }), command: Some(1) } } -task 11 'upgrade'. lines 63-66: +task 11 'upgrade'. lines 64-67: Error: Transaction Effects Status: Invalid package upgrade. New package is incompatible with previous version Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: PackageUpgradeError { upgrade_error: IncompatibleUpgrade }, source: Some(PartialVMError { major_status: BACKWARD_INCOMPATIBLE_MODULE_UPDATE, sub_status: None, message: None, exec_state: None, indices: [], offsets: [] }), command: Some(1) } } diff --git a/crates/iota-adapter-transactional-tests/tests/upgrade/add_ability_during_upgrade_generics.exp b/crates/iota-adapter-transactional-tests/tests/upgrade/add_ability_during_upgrade_generics.exp index 0dc3495f701..3ba390dbd97 100644 --- a/crates/iota-adapter-transactional-tests/tests/upgrade/add_ability_during_upgrade_generics.exp +++ b/crates/iota-adapter-transactional-tests/tests/upgrade/add_ability_during_upgrade_generics.exp @@ -3,23 +3,23 @@ processed 6 tasks init: A: object(0,0) -task 1 'publish'. lines 6-9: +task 1 'publish'. lines 7-10: created: object(1,0), object(1,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 5403600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'upgrade'. lines 11-14: +task 2 'upgrade'. lines 12-15: Error: Transaction Effects Status: Invalid package upgrade. New package is incompatible with previous version Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: PackageUpgradeError { upgrade_error: IncompatibleUpgrade }, source: Some(PartialVMError { major_status: BACKWARD_INCOMPATIBLE_MODULE_UPDATE, sub_status: None, message: None, exec_state: None, indices: [], offsets: [] }), command: Some(1) } } -task 3 'upgrade'. lines 16-19: +task 3 'upgrade'. lines 17-20: Error: Transaction Effects Status: Invalid package upgrade. New package is incompatible with previous version Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: PackageUpgradeError { upgrade_error: IncompatibleUpgrade }, source: Some(PartialVMError { major_status: BACKWARD_INCOMPATIBLE_MODULE_UPDATE, sub_status: None, message: None, exec_state: None, indices: [], offsets: [] }), command: Some(1) } } -task 4 'upgrade'. lines 21-24: +task 4 'upgrade'. lines 22-25: Error: Transaction Effects Status: Invalid package upgrade. New package is incompatible with previous version Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: PackageUpgradeError { upgrade_error: IncompatibleUpgrade }, source: Some(PartialVMError { major_status: BACKWARD_INCOMPATIBLE_MODULE_UPDATE, sub_status: None, message: None, exec_state: None, indices: [], offsets: [] }), command: Some(1) } } -task 5 'upgrade'. lines 26-29: +task 5 'upgrade'. lines 27-30: Error: Transaction Effects Status: Invalid package upgrade. New package is incompatible with previous version Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: PackageUpgradeError { upgrade_error: IncompatibleUpgrade }, source: Some(PartialVMError { major_status: BACKWARD_INCOMPATIBLE_MODULE_UPDATE, sub_status: None, message: None, exec_state: None, indices: [], offsets: [] }), command: Some(1) } } diff --git a/crates/iota-adapter-transactional-tests/tests/upgrade/add_key_during_upgrade.exp b/crates/iota-adapter-transactional-tests/tests/upgrade/add_key_during_upgrade.exp index 35ae2da09d8..73f728e766a 100644 --- a/crates/iota-adapter-transactional-tests/tests/upgrade/add_key_during_upgrade.exp +++ b/crates/iota-adapter-transactional-tests/tests/upgrade/add_key_during_upgrade.exp @@ -3,11 +3,11 @@ processed 3 tasks init: A: object(0,0) -task 1 'publish'. lines 6-14: +task 1 'publish'. lines 7-15: created: object(1,0), object(1,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 6102800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'upgrade'. lines 16-24: +task 2 'upgrade'. lines 17-25: Error: Transaction Effects Status: Invalid package upgrade. New package is incompatible with previous version Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: PackageUpgradeError { upgrade_error: IncompatibleUpgrade }, source: Some(PartialVMError { major_status: BACKWARD_INCOMPATIBLE_MODULE_UPDATE, sub_status: None, message: None, exec_state: None, indices: [], offsets: [] }), command: Some(1) } } diff --git a/crates/iota-adapter-transactional-tests/tests/upgrade/add_new_type_with_key.exp b/crates/iota-adapter-transactional-tests/tests/upgrade/add_new_type_with_key.exp index 3bb1d2661dd..9133c4a2482 100644 --- a/crates/iota-adapter-transactional-tests/tests/upgrade/add_new_type_with_key.exp +++ b/crates/iota-adapter-transactional-tests/tests/upgrade/add_new_type_with_key.exp @@ -3,12 +3,12 @@ processed 3 tasks init: A: object(0,0) -task 1 'publish'. lines 6-11: +task 1 'publish'. lines 7-12: created: object(1,0), object(1,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 5700000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'upgrade'. lines 13-21: +task 2 'upgrade'. lines 14-22: created: object(2,0) mutated: object(0,0), object(1,1) gas summary: computation_cost: 1000000, storage_cost: 6102800, storage_rebate: 2595780, non_refundable_storage_fee: 26220 diff --git a/crates/iota-adapter-transactional-tests/tests/upgrade/basic.exp b/crates/iota-adapter-transactional-tests/tests/upgrade/basic.exp index e06ce453275..73c704cc2a1 100644 --- a/crates/iota-adapter-transactional-tests/tests/upgrade/basic.exp +++ b/crates/iota-adapter-transactional-tests/tests/upgrade/basic.exp @@ -3,11 +3,11 @@ processed 3 tasks init: A: object(0,0) -task 1 'publish'. lines 6-10: +task 1 'publish'. lines 7-11: created: object(1,0), object(1,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 5646800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'upgrade'. lines 12-15: +task 2 'upgrade'. lines 13-16: Error: Transaction Effects Status: Invalid package upgrade. New package is incompatible with previous version Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: PackageUpgradeError { upgrade_error: IncompatibleUpgrade }, source: Some(PartialVMError { major_status: BACKWARD_INCOMPATIBLE_MODULE_UPDATE, sub_status: None, message: None, exec_state: None, indices: [], offsets: [] }), command: Some(1) } } diff --git a/crates/iota-adapter-transactional-tests/tests/upgrade/constants.exp b/crates/iota-adapter-transactional-tests/tests/upgrade/constants.exp index ae49decdd13..8be247711fa 100644 --- a/crates/iota-adapter-transactional-tests/tests/upgrade/constants.exp +++ b/crates/iota-adapter-transactional-tests/tests/upgrade/constants.exp @@ -3,45 +3,45 @@ processed 10 tasks init: A: object(0,0) -task 1 'publish'. lines 6-16: +task 1 'publish'. lines 7-17: created: object(1,0), object(1,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 5928000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'upgrade'. lines 18-28: +task 2 'upgrade'. lines 19-29: created: object(2,0) mutated: object(0,0), object(1,1) gas summary: computation_cost: 1000000, storage_cost: 5928000, storage_rebate: 2595780, non_refundable_storage_fee: 26220 -task 3 'upgrade'. lines 30-42: +task 3 'upgrade'. lines 31-43: created: object(3,0) mutated: object(0,0), object(1,1) gas summary: computation_cost: 1000000, storage_cost: 5928000, storage_rebate: 2595780, non_refundable_storage_fee: 26220 -task 4 'upgrade'. lines 44-54: +task 4 'upgrade'. lines 45-55: Error: Transaction Effects Status: Invalid package upgrade. New package is incompatible with previous version Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: PackageUpgradeError { upgrade_error: IncompatibleUpgrade }, source: Some(PartialVMError { major_status: BACKWARD_INCOMPATIBLE_MODULE_UPDATE, sub_status: None, message: None, exec_state: None, indices: [], offsets: [] }), command: Some(1) } } -task 5 'upgrade'. lines 56-68: +task 5 'upgrade'. lines 57-69: Error: Transaction Effects Status: Invalid package upgrade. New package is incompatible with previous version Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: PackageUpgradeError { upgrade_error: IncompatibleUpgrade }, source: Some(PartialVMError { major_status: BACKWARD_INCOMPATIBLE_MODULE_UPDATE, sub_status: None, message: None, exec_state: None, indices: [], offsets: [] }), command: Some(1) } } -task 6 'upgrade'. lines 69-87: +task 6 'upgrade'. lines 70-88: created: object(6,0) mutated: object(0,0), object(1,1) gas summary: computation_cost: 1000000, storage_cost: 6368800, storage_rebate: 2595780, non_refundable_storage_fee: 26220 -task 7 'upgrade'. lines 88-103: +task 7 'upgrade'. lines 89-104: created: object(7,0) mutated: object(0,0), object(1,1) gas summary: computation_cost: 1000000, storage_cost: 6292800, storage_rebate: 2595780, non_refundable_storage_fee: 26220 -task 8 'upgrade'. lines 104-118: +task 8 'upgrade'. lines 105-119: created: object(8,0) mutated: object(0,0), object(1,1) gas summary: computation_cost: 1000000, storage_cost: 6209200, storage_rebate: 2595780, non_refundable_storage_fee: 26220 -task 9 'upgrade'. lines 119-132: +task 9 'upgrade'. lines 120-133: created: object(9,0) mutated: object(0,0), object(1,1) gas summary: computation_cost: 1000000, storage_cost: 6292800, storage_rebate: 2595780, non_refundable_storage_fee: 26220 diff --git a/crates/iota-adapter-transactional-tests/tests/upgrade/dep_override.exp b/crates/iota-adapter-transactional-tests/tests/upgrade/dep_override.exp index cb4dcadcf38..8fb9ba96ffc 100644 --- a/crates/iota-adapter-transactional-tests/tests/upgrade/dep_override.exp +++ b/crates/iota-adapter-transactional-tests/tests/upgrade/dep_override.exp @@ -3,99 +3,99 @@ processed 21 tasks init: A: object(0,0) -task 1 'publish'. lines 10-18: +task 1 'publish'. lines 11-19: created: object(1,0), object(1,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 6809600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'upgrade'. lines 20-28: +task 2 'upgrade'. lines 21-29: created: object(2,0) mutated: object(0,0), object(1,1) gas summary: computation_cost: 1000000, storage_cost: 6809600, storage_rebate: 2595780, non_refundable_storage_fee: 26220 -task 3 'upgrade'. lines 30-41: +task 3 'upgrade'. lines 31-42: created: object(3,0) mutated: object(0,0), object(1,1) gas summary: computation_cost: 1000000, storage_cost: 6809600, storage_rebate: 2595780, non_refundable_storage_fee: 26220 -task 4 'publish'. lines 44-49: +task 4 'publish'. lines 45-50: created: object(4,0), object(4,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 6551200, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 5 'upgrade'. lines 51-59: +task 5 'upgrade'. lines 52-60: created: object(5,0) mutated: object(0,0), object(4,1) gas summary: computation_cost: 1000000, storage_cost: 6551200, storage_rebate: 2595780, non_refundable_storage_fee: 26220 -task 6 'publish'. lines 62-69: +task 6 'publish'. lines 63-70: created: object(6,0), object(6,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 7030000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 7 'upgrade'. lines 71-78: +task 7 'upgrade'. lines 72-79: created: object(7,0) mutated: object(0,0), object(6,1) gas summary: computation_cost: 1000000, storage_cost: 7030000, storage_rebate: 2595780, non_refundable_storage_fee: 26220 -task 8 'upgrade'. lines 80-85: +task 8 'upgrade'. lines 81-86: created: object(8,0) mutated: object(0,0), object(6,1) gas summary: computation_cost: 1000000, storage_cost: 7030000, storage_rebate: 2595780, non_refundable_storage_fee: 26220 -task 9 'run'. lines 87-87: +task 9 'run'. lines 88-88: created: object(9,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 2325600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 10 'view-object'. lines 89-89: +task 10 'view-object'. lines 90-90: Owner: Shared Version: 2 Contents: Test_DepDepV1::DepDepM1::Obj {id: iota::object::UID {id: iota::object::ID {bytes: fake(9,0)}}, v: 42u64} -task 11 'run'. lines 91-91: +task 11 'run'. lines 92-92: created: object(11,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 2325600, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 12 'view-object'. lines 93-93: +task 12 'view-object'. lines 94-94: Owner: Shared Version: 3 Contents: Test_DepDepV1::DepDepM1::Obj {id: iota::object::UID {id: iota::object::ID {bytes: fake(11,0)}}, v: 7u64} -task 13 'run'. lines 95-95: +task 13 'run'. lines 96-96: created: object(13,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 2325600, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 14 'view-object'. lines 97-100: +task 14 'view-object'. lines 98-101: Owner: Shared Version: 4 Contents: Test_DepDepV1::DepDepM1::Obj {id: iota::object::UID {id: iota::object::ID {bytes: fake(13,0)}}, v: 0u64} -task 15 'programmable'. lines 101-103: +task 15 'programmable'. lines 102-104: created: object(15,0), object(15,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 3663200, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 16 'view-object'. lines 105-105: +task 16 'view-object'. lines 106-106: Owner: Shared Version: 10 Contents: Test_DepDepV1::DepDepM1::Obj {id: iota::object::UID {id: iota::object::ID {bytes: fake(15,0)}}, v: 7u64} -task 17 'view-object'. lines 107-112: +task 17 'view-object'. lines 108-113: Owner: Shared Version: 10 Contents: Test_DepDepV1::DepDepM1::Obj {id: iota::object::UID {id: iota::object::ID {bytes: fake(15,1)}}, v: 0u64} -task 18 'upgrade'. lines 114-120: +task 18 'upgrade'. lines 115-121: Error: Transaction Effects Status: Publish/Upgrade Error, Missing dependency. A dependency of a published or upgraded package has not been assigned an on-chain address. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: PublishUpgradeMissingDependency, source: None, command: Some(1) } } -task 19 'upgrade'. lines 122-128: +task 19 'upgrade'. lines 123-129: Error: Transaction Effects Status: Publish/Upgrade Error, Missing dependency. A dependency of a published or upgraded package has not been assigned an on-chain address. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: PublishUpgradeMissingDependency, source: None, command: Some(1) } } -task 20 'upgrade'. lines 130-134: +task 20 'upgrade'. lines 131-135: Error: Transaction Effects Status: Publish/Upgrade Error, Dependency downgrade. Indirect (transitive) dependency of published or upgraded package has been assigned an on-chain version that is less than the version required by one of the package's transitive dependencies. Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: PublishUpgradeDependencyDowngrade, source: None, command: Some(1) } } diff --git a/crates/iota-adapter-transactional-tests/tests/upgrade/friend_fun_changes.exp b/crates/iota-adapter-transactional-tests/tests/upgrade/friend_fun_changes.exp index 48df21a512e..ae0a3cf06e4 100644 --- a/crates/iota-adapter-transactional-tests/tests/upgrade/friend_fun_changes.exp +++ b/crates/iota-adapter-transactional-tests/tests/upgrade/friend_fun_changes.exp @@ -3,36 +3,36 @@ processed 8 tasks init: A: object(0,0) -task 1 'publish'. lines 6-20: +task 1 'publish'. lines 7-21: created: object(1,0), object(1,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 7668400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'upgrade'. lines 21-35: +task 2 'upgrade'. lines 22-36: created: object(2,0) mutated: object(0,0), object(1,1) gas summary: computation_cost: 1000000, storage_cost: 7683600, storage_rebate: 2595780, non_refundable_storage_fee: 26220 -task 3 'upgrade'. lines 36-60: +task 3 'upgrade'. lines 37-61: created: object(3,0) mutated: object(0,0), object(1,1) gas summary: computation_cost: 1000000, storage_cost: 8907200, storage_rebate: 2595780, non_refundable_storage_fee: 26220 -task 4 'upgrade'. lines 61-83: +task 4 'upgrade'. lines 62-84: created: object(4,0) mutated: object(0,0), object(1,1) gas summary: computation_cost: 1000000, storage_cost: 9834400, storage_rebate: 2595780, non_refundable_storage_fee: 26220 -task 5 'run'. lines 85-85: +task 5 'run'. lines 86-86: mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 6 'run'. lines 87-87: +task 6 'run'. lines 88-88: created: object(6,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 2432000, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 7 'view-object'. lines 89-89: +task 7 'view-object'. lines 90-90: Owner: Account Address ( A ) Version: 3 Contents: V0::base_module::Object {id: iota::object::UID {id: iota::object::ID {bytes: fake(6,0)}}, field0: 10u64, field1: 10u64} diff --git a/crates/iota-adapter-transactional-tests/tests/upgrade/large_module_inclusion_checks.exp b/crates/iota-adapter-transactional-tests/tests/upgrade/large_module_inclusion_checks.exp index d0daf74eb80..1f7ec52d75c 100644 --- a/crates/iota-adapter-transactional-tests/tests/upgrade/large_module_inclusion_checks.exp +++ b/crates/iota-adapter-transactional-tests/tests/upgrade/large_module_inclusion_checks.exp @@ -3,39 +3,39 @@ processed 9 tasks init: A: object(0,0) -task 1 'publish'. lines 6-56: +task 1 'publish'. lines 7-57: created: object(1,0), object(1,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 11308800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'upgrade'. lines 57-108: +task 2 'upgrade'. lines 58-109: Error: Transaction Effects Status: Invalid package upgrade. New package is incompatible with previous version Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: PackageUpgradeError { upgrade_error: IncompatibleUpgrade }, source: Some(PartialVMError { major_status: BACKWARD_INCOMPATIBLE_MODULE_UPDATE, sub_status: None, message: None, exec_state: None, indices: [], offsets: [] }), command: Some(1) } } -task 3 'upgrade'. lines 109-160: +task 3 'upgrade'. lines 110-161: Error: Transaction Effects Status: Invalid package upgrade. New package is incompatible with previous version Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: PackageUpgradeError { upgrade_error: IncompatibleUpgrade }, source: Some(PartialVMError { major_status: BACKWARD_INCOMPATIBLE_MODULE_UPDATE, sub_status: None, message: None, exec_state: None, indices: [], offsets: [] }), command: Some(1) } } -task 4 'upgrade'. lines 161-211: +task 4 'upgrade'. lines 162-212: created: object(4,0) mutated: object(0,0), object(1,1) gas summary: computation_cost: 1000000, storage_cost: 11308800, storage_rebate: 2595780, non_refundable_storage_fee: 26220 -task 5 'upgrade'. lines 212-264: +task 5 'upgrade'. lines 213-265: Error: Transaction Effects Status: Invalid package upgrade. New package is incompatible with previous version Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: PackageUpgradeError { upgrade_error: IncompatibleUpgrade }, source: Some(PartialVMError { major_status: BACKWARD_INCOMPATIBLE_MODULE_UPDATE, sub_status: None, message: None, exec_state: None, indices: [], offsets: [] }), command: Some(1) } } -task 6 'upgrade'. lines 265-317: +task 6 'upgrade'. lines 266-318: created: object(6,0) mutated: object(0,0), object(1,1) gas summary: computation_cost: 1000000, storage_cost: 12084000, storage_rebate: 2595780, non_refundable_storage_fee: 26220 -task 7 'upgrade'. lines 318-370: +task 7 'upgrade'. lines 319-371: created: object(7,0) mutated: object(0,0), object(1,1) gas summary: computation_cost: 1000000, storage_cost: 12084000, storage_rebate: 2595780, non_refundable_storage_fee: 26220 -task 8 'upgrade'. lines 371-421: +task 8 'upgrade'. lines 372-422: created: object(8,0) mutated: object(0,0), object(1,1) gas summary: computation_cost: 1000000, storage_cost: 12084000, storage_rebate: 2595780, non_refundable_storage_fee: 26220 diff --git a/crates/iota-adapter-transactional-tests/tests/upgrade/linkage.exp b/crates/iota-adapter-transactional-tests/tests/upgrade/linkage.exp index 658fbbe803e..4b168942f1b 100644 --- a/crates/iota-adapter-transactional-tests/tests/upgrade/linkage.exp +++ b/crates/iota-adapter-transactional-tests/tests/upgrade/linkage.exp @@ -3,22 +3,22 @@ processed 5 tasks init: A: object(0,0) -task 1 'publish'. lines 6-12: +task 1 'publish'. lines 7-13: created: object(1,0), object(1,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 6216800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'upgrade'. lines 14-24: +task 2 'upgrade'. lines 15-25: created: object(2,0) mutated: object(0,0), object(1,1) gas summary: computation_cost: 1000000, storage_cost: 6520800, storage_rebate: 2595780, non_refundable_storage_fee: 26220 -task 3 'publish'. lines 26-32: +task 3 'publish'. lines 27-33: created: object(3,0), object(3,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 6201600, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 4 'upgrade'. lines 34-41: +task 4 'upgrade'. lines 35-42: created: object(4,0) mutated: object(0,0), object(3,1) gas summary: computation_cost: 1000000, storage_cost: 6247200, storage_rebate: 2595780, non_refundable_storage_fee: 26220 diff --git a/crates/iota-adapter-transactional-tests/tests/upgrade/modules.exp b/crates/iota-adapter-transactional-tests/tests/upgrade/modules.exp index d2839fcc1a2..0b0ea9f8132 100644 --- a/crates/iota-adapter-transactional-tests/tests/upgrade/modules.exp +++ b/crates/iota-adapter-transactional-tests/tests/upgrade/modules.exp @@ -3,23 +3,23 @@ processed 6 tasks init: A: object(0,0) -task 1 'publish'. lines 6-27: +task 1 'publish'. lines 7-28: created: object(1,0), object(1,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 9583600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'upgrade'. lines 28-48: +task 2 'upgrade'. lines 29-49: Error: Transaction Effects Status: Invalid package upgrade. New package is incompatible with previous version Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: PackageUpgradeError { upgrade_error: IncompatibleUpgrade }, source: None, command: Some(1) } } -task 3 'upgrade'. lines 49-66: +task 3 'upgrade'. lines 50-67: Error: Transaction Effects Status: Invalid package upgrade. New package is incompatible with previous version Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: PackageUpgradeError { upgrade_error: IncompatibleUpgrade }, source: None, command: Some(1) } } -task 4 'upgrade'. lines 67-85: +task 4 'upgrade'. lines 68-86: Error: Transaction Effects Status: Invalid package upgrade. New package is incompatible with previous version Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: PackageUpgradeError { upgrade_error: IncompatibleUpgrade }, source: Some("Existing module b not found in next version of package"), command: Some(1) } } -task 5 'upgrade'. lines 86-102: +task 5 'upgrade'. lines 87-103: Error: Transaction Effects Status: Invalid package upgrade. New package is incompatible with previous version Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: PackageUpgradeError { upgrade_error: IncompatibleUpgrade }, source: Some("Existing module a not found in next version of package"), command: Some(1) } } diff --git a/crates/iota-adapter-transactional-tests/tests/upgrade/multi_version.exp b/crates/iota-adapter-transactional-tests/tests/upgrade/multi_version.exp index 5ae625ea22e..a1b04a86e65 100644 --- a/crates/iota-adapter-transactional-tests/tests/upgrade/multi_version.exp +++ b/crates/iota-adapter-transactional-tests/tests/upgrade/multi_version.exp @@ -3,16 +3,16 @@ processed 4 tasks init: A: object(0,0) -task 1 'publish'. lines 6-9: +task 1 'publish'. lines 7-10: created: object(1,0), object(1,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 5532800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'upgrade'. lines 11-15: +task 2 'upgrade'. lines 12-16: created: object(2,0) mutated: object(0,0), object(1,1) gas summary: computation_cost: 1000000, storage_cost: 5646800, storage_rebate: 2595780, non_refundable_storage_fee: 26220 -task 3 'upgrade'. lines 17-20: +task 3 'upgrade'. lines 18-21: Error: Transaction Effects Status: Invalid package upgrade. New package is incompatible with previous version Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: PackageUpgradeError { upgrade_error: IncompatibleUpgrade }, source: Some(PartialVMError { major_status: BACKWARD_INCOMPATIBLE_MODULE_UPDATE, sub_status: None, message: None, exec_state: None, indices: [], offsets: [] }), command: Some(1) } } diff --git a/crates/iota-adapter-transactional-tests/tests/upgrade/new_types.exp b/crates/iota-adapter-transactional-tests/tests/upgrade/new_types.exp index 977c0f37e5e..1a2ad847cea 100644 --- a/crates/iota-adapter-transactional-tests/tests/upgrade/new_types.exp +++ b/crates/iota-adapter-transactional-tests/tests/upgrade/new_types.exp @@ -3,64 +3,64 @@ processed 14 tasks init: A: object(0,0) -task 1 'publish'. lines 6-18: +task 1 'publish'. lines 7-19: created: object(1,0), object(1,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 7166800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'upgrade'. lines 21-33: +task 2 'upgrade'. lines 22-34: created: object(2,0) mutated: object(0,0), object(1,1) gas summary: computation_cost: 1000000, storage_cost: 7166800, storage_rebate: 2595780, non_refundable_storage_fee: 26220 -task 3 'publish'. lines 36-47: +task 3 'publish'. lines 37-48: created: object(3,0), object(3,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 6908400, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 4 'upgrade'. lines 49-60: +task 4 'upgrade'. lines 50-61: created: object(4,0) mutated: object(0,0), object(3,1) gas summary: computation_cost: 1000000, storage_cost: 6908400, storage_rebate: 2595780, non_refundable_storage_fee: 26220 -task 5 'upgrade'. lines 62-73: +task 5 'upgrade'. lines 63-74: created: object(5,0) mutated: object(0,0), object(3,1) gas summary: computation_cost: 1000000, storage_cost: 6908400, storage_rebate: 2595780, non_refundable_storage_fee: 26220 -task 6 'run'. lines 76-76: +task 6 'run'. lines 77-77: created: object(6,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 2325600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 7 'view-object'. lines 78-80: +task 7 'view-object'. lines 79-81: Owner: Shared Version: 2 Contents: Test_DepV1::DepM1::DepObj {id: iota::object::UID {id: iota::object::ID {bytes: fake(6,0)}}, v: 42u64} -task 8 'programmable'. lines 81-83: +task 8 'programmable'. lines 82-84: mutated: object(0,0), object(6,0) gas summary: computation_cost: 1000000, storage_cost: 2325600, storage_rebate: 2302344, non_refundable_storage_fee: 23256 -task 9 'view-object'. lines 85-88: +task 9 'view-object'. lines 86-89: Owner: Shared Version: 7 Contents: Test_DepV1::DepM1::DepObj {id: iota::object::UID {id: iota::object::ID {bytes: fake(6,0)}}, v: 39u64} -task 10 'programmable'. lines 89-91: +task 10 'programmable'. lines 90-92: mutated: object(0,0), object(6,0) gas summary: computation_cost: 1000000, storage_cost: 2325600, storage_rebate: 2302344, non_refundable_storage_fee: 23256 -task 11 'view-object'. lines 93-96: +task 11 'view-object'. lines 94-97: Owner: Shared Version: 8 Contents: Test_DepV1::DepM1::DepObj {id: iota::object::UID {id: iota::object::ID {bytes: fake(6,0)}}, v: 37u64} -task 12 'programmable'. lines 97-99: +task 12 'programmable'. lines 98-100: mutated: object(0,0), object(6,0) gas summary: computation_cost: 1000000, storage_cost: 2325600, storage_rebate: 2302344, non_refundable_storage_fee: 23256 -task 13 'view-object'. lines 101-101: +task 13 'view-object'. lines 102-102: Owner: Shared Version: 9 Contents: Test_DepV1::DepM1::DepObj {id: iota::object::UID {id: iota::object::ID {bytes: fake(6,0)}}, v: 34u64} diff --git a/crates/iota-adapter-transactional-tests/tests/upgrade/private_fun_changes.exp b/crates/iota-adapter-transactional-tests/tests/upgrade/private_fun_changes.exp index 42ed9c5d36a..17a1ba4c7a9 100644 --- a/crates/iota-adapter-transactional-tests/tests/upgrade/private_fun_changes.exp +++ b/crates/iota-adapter-transactional-tests/tests/upgrade/private_fun_changes.exp @@ -3,46 +3,46 @@ processed 10 tasks init: A: object(0,0) -task 1 'publish'. lines 6-9: +task 1 'publish'. lines 7-10: created: object(1,0), object(1,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 5038800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'upgrade'. lines 11-14: +task 2 'upgrade'. lines 12-15: created: object(2,0) mutated: object(0,0), object(1,1) gas summary: computation_cost: 1000000, storage_cost: 5054000, storage_rebate: 2595780, non_refundable_storage_fee: 26220 -task 3 'upgrade'. lines 16-19: +task 3 'upgrade'. lines 17-20: created: object(3,0) mutated: object(0,0), object(1,1) gas summary: computation_cost: 1000000, storage_cost: 5122400, storage_rebate: 2595780, non_refundable_storage_fee: 26220 -task 4 'upgrade'. lines 21-24: +task 4 'upgrade'. lines 22-25: created: object(4,0) mutated: object(0,0), object(1,1) gas summary: computation_cost: 1000000, storage_cost: 5122400, storage_rebate: 2595780, non_refundable_storage_fee: 26220 -task 5 'upgrade'. lines 26-29: +task 5 'upgrade'. lines 27-30: created: object(5,0) mutated: object(0,0), object(1,1) gas summary: computation_cost: 1000000, storage_cost: 5122400, storage_rebate: 2595780, non_refundable_storage_fee: 26220 -task 6 'upgrade'. lines 31-33: +task 6 'upgrade'. lines 32-34: created: object(6,0) mutated: object(0,0), object(1,1) gas summary: computation_cost: 1000000, storage_cost: 4856400, storage_rebate: 2595780, non_refundable_storage_fee: 26220 -task 7 'upgrade'. lines 35-38: +task 7 'upgrade'. lines 36-39: created: object(7,0) mutated: object(0,0), object(1,1) gas summary: computation_cost: 1000000, storage_cost: 5122400, storage_rebate: 2595780, non_refundable_storage_fee: 26220 -task 8 'upgrade'. lines 40-43: +task 8 'upgrade'. lines 41-44: created: object(8,0) mutated: object(0,0), object(1,1) gas summary: computation_cost: 1000000, storage_cost: 5122400, storage_rebate: 2595780, non_refundable_storage_fee: 26220 -task 9 'upgrade'. lines 45-48: +task 9 'upgrade'. lines 46-49: Error: Transaction Effects Status: Invalid package upgrade. New package is incompatible with previous version Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: PackageUpgradeError { upgrade_error: IncompatibleUpgrade }, source: Some(PartialVMError { major_status: BACKWARD_INCOMPATIBLE_MODULE_UPDATE, sub_status: None, message: None, exec_state: None, indices: [], offsets: [] }), command: Some(1) } } diff --git a/crates/iota-adapter-transactional-tests/tests/upgrade/public_fun_changes.exp b/crates/iota-adapter-transactional-tests/tests/upgrade/public_fun_changes.exp index bd3bc6c686f..d3f91881943 100644 --- a/crates/iota-adapter-transactional-tests/tests/upgrade/public_fun_changes.exp +++ b/crates/iota-adapter-transactional-tests/tests/upgrade/public_fun_changes.exp @@ -3,41 +3,41 @@ processed 10 tasks init: A: object(0,0) -task 1 'publish'. lines 6-9: +task 1 'publish'. lines 7-10: created: object(1,0), object(1,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 5038800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'upgrade'. lines 11-14: +task 2 'upgrade'. lines 12-15: Error: Transaction Effects Status: Invalid package upgrade. New package is incompatible with previous version Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: PackageUpgradeError { upgrade_error: IncompatibleUpgrade }, source: Some(PartialVMError { major_status: BACKWARD_INCOMPATIBLE_MODULE_UPDATE, sub_status: None, message: None, exec_state: None, indices: [], offsets: [] }), command: Some(1) } } -task 3 'upgrade'. lines 16-19: +task 3 'upgrade'. lines 17-20: Error: Transaction Effects Status: Invalid package upgrade. New package is incompatible with previous version Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: PackageUpgradeError { upgrade_error: IncompatibleUpgrade }, source: Some(PartialVMError { major_status: BACKWARD_INCOMPATIBLE_MODULE_UPDATE, sub_status: None, message: None, exec_state: None, indices: [], offsets: [] }), command: Some(1) } } -task 4 'upgrade'. lines 21-24: +task 4 'upgrade'. lines 22-25: Error: Transaction Effects Status: Invalid package upgrade. New package is incompatible with previous version Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: PackageUpgradeError { upgrade_error: IncompatibleUpgrade }, source: Some(PartialVMError { major_status: BACKWARD_INCOMPATIBLE_MODULE_UPDATE, sub_status: None, message: None, exec_state: None, indices: [], offsets: [] }), command: Some(1) } } -task 5 'upgrade'. lines 26-29: +task 5 'upgrade'. lines 27-30: Error: Transaction Effects Status: Invalid package upgrade. New package is incompatible with previous version Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: PackageUpgradeError { upgrade_error: IncompatibleUpgrade }, source: Some(PartialVMError { major_status: BACKWARD_INCOMPATIBLE_MODULE_UPDATE, sub_status: None, message: None, exec_state: None, indices: [], offsets: [] }), command: Some(1) } } -task 6 'upgrade'. lines 31-34: +task 6 'upgrade'. lines 32-35: created: object(6,0) mutated: object(0,0), object(1,1) gas summary: computation_cost: 1000000, storage_cost: 5038800, storage_rebate: 2595780, non_refundable_storage_fee: 26220 -task 7 'upgrade'. lines 36-39: +task 7 'upgrade'. lines 37-40: Error: Transaction Effects Status: Invalid package upgrade. New package is incompatible with previous version Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: PackageUpgradeError { upgrade_error: IncompatibleUpgrade }, source: Some(PartialVMError { major_status: BACKWARD_INCOMPATIBLE_MODULE_UPDATE, sub_status: None, message: None, exec_state: None, indices: [], offsets: [] }), command: Some(1) } } -task 8 'upgrade'. lines 41-44: +task 8 'upgrade'. lines 42-45: Error: Transaction Effects Status: Invalid package upgrade. New package is incompatible with previous version Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: PackageUpgradeError { upgrade_error: IncompatibleUpgrade }, source: Some(PartialVMError { major_status: BACKWARD_INCOMPATIBLE_MODULE_UPDATE, sub_status: None, message: None, exec_state: None, indices: [], offsets: [] }), command: Some(1) } } -task 9 'upgrade'. lines 46-49: +task 9 'upgrade'. lines 47-50: created: object(9,0) mutated: object(0,0), object(1,1) gas summary: computation_cost: 1000000, storage_cost: 5038800, storage_rebate: 2595780, non_refundable_storage_fee: 26220 diff --git a/crates/iota-adapter-transactional-tests/tests/upgrade/publisher.exp b/crates/iota-adapter-transactional-tests/tests/upgrade/publisher.exp index 3858cf3f14a..197d75ba6f8 100644 --- a/crates/iota-adapter-transactional-tests/tests/upgrade/publisher.exp +++ b/crates/iota-adapter-transactional-tests/tests/upgrade/publisher.exp @@ -3,20 +3,20 @@ processed 5 tasks init: A: object(0,0) -task 1 'publish'. lines 6-16: +task 1 'publish'. lines 7-17: created: object(1,0), object(1,1), object(1,2) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 8557600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'upgrade'. lines 18-33: +task 2 'upgrade'. lines 19-34: created: object(2,0) -mutated: object(0,0), object(1,2) +mutated: object(0,0), object(1,1) gas summary: computation_cost: 1000000, storage_cost: 7691200, storage_rebate: 2595780, non_refundable_storage_fee: 26220 -task 3 'run'. lines 35-35: -mutated: object(0,0), object(1,1) +task 3 'run'. lines 36-36: +mutated: object(0,0), object(1,0) gas summary: computation_cost: 1000000, storage_cost: 2812000, storage_rebate: 2783880, non_refundable_storage_fee: 28120 -task 4 'run'. lines 37-37: -mutated: object(0,0), object(1,1) +task 4 'run'. lines 38-38: +mutated: object(0,0), object(1,0) gas summary: computation_cost: 1000000, storage_cost: 2812000, storage_rebate: 2783880, non_refundable_storage_fee: 28120 diff --git a/crates/iota-adapter-transactional-tests/tests/upgrade/publisher.move b/crates/iota-adapter-transactional-tests/tests/upgrade/publisher.move index d2580c1a67e..7099b7faaee 100644 --- a/crates/iota-adapter-transactional-tests/tests/upgrade/publisher.move +++ b/crates/iota-adapter-transactional-tests/tests/upgrade/publisher.move @@ -16,7 +16,7 @@ module A0::m { } } -//# upgrade --package A0 --upgrade-capability 1,2 --sender A +//# upgrade --package A0 --upgrade-capability 1,1 --sender A module A1::m { use iota::package::{Self, Publisher}; @@ -33,6 +33,6 @@ module A1::m { } } -//# run A1::m::test --type-args A0::m::A --args object(1,1) --sender A +//# run A1::m::test --type-args A0::m::A --args object(1,0) --sender A -//# run A1::m::test --type-args A1::m::B --args object(1,1) --sender A +//# run A1::m::test --type-args A1::m::B --args object(1,0) --sender A diff --git a/crates/iota-adapter-transactional-tests/tests/upgrade/remove_ability_during_upgrade_fun_generics.exp b/crates/iota-adapter-transactional-tests/tests/upgrade/remove_ability_during_upgrade_fun_generics.exp index 8975b5b657d..f524bd1df12 100644 --- a/crates/iota-adapter-transactional-tests/tests/upgrade/remove_ability_during_upgrade_fun_generics.exp +++ b/crates/iota-adapter-transactional-tests/tests/upgrade/remove_ability_during_upgrade_fun_generics.exp @@ -3,26 +3,26 @@ processed 6 tasks init: A: object(0,0) -task 1 'publish'. lines 6-9: +task 1 'publish'. lines 7-10: created: object(1,0), object(1,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 5046400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'upgrade'. lines 11-14: +task 2 'upgrade'. lines 12-15: created: object(2,0) mutated: object(0,0), object(1,1) gas summary: computation_cost: 1000000, storage_cost: 5046400, storage_rebate: 2595780, non_refundable_storage_fee: 26220 -task 3 'upgrade'. lines 16-19: +task 3 'upgrade'. lines 17-20: created: object(3,0) mutated: object(0,0), object(1,1) gas summary: computation_cost: 1000000, storage_cost: 5046400, storage_rebate: 2595780, non_refundable_storage_fee: 26220 -task 4 'upgrade'. lines 21-24: +task 4 'upgrade'. lines 22-25: created: object(4,0) mutated: object(0,0), object(1,1) gas summary: computation_cost: 1000000, storage_cost: 5046400, storage_rebate: 2595780, non_refundable_storage_fee: 26220 -task 5 'upgrade'. lines 26-29: +task 5 'upgrade'. lines 27-30: Error: Transaction Effects Status: Invalid package upgrade. New package is incompatible with previous version Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: PackageUpgradeError { upgrade_error: IncompatibleUpgrade }, source: Some(PartialVMError { major_status: BACKWARD_INCOMPATIBLE_MODULE_UPDATE, sub_status: None, message: None, exec_state: None, indices: [], offsets: [] }), command: Some(1) } } diff --git a/crates/iota-adapter-transactional-tests/tests/upgrade/remove_ability_during_upgrade_generics.exp b/crates/iota-adapter-transactional-tests/tests/upgrade/remove_ability_during_upgrade_generics.exp index b221e65f9bc..ed519fc66b6 100644 --- a/crates/iota-adapter-transactional-tests/tests/upgrade/remove_ability_during_upgrade_generics.exp +++ b/crates/iota-adapter-transactional-tests/tests/upgrade/remove_ability_during_upgrade_generics.exp @@ -3,27 +3,27 @@ processed 7 tasks init: A: object(0,0) -task 1 'publish'. lines 6-11: +task 1 'publish'. lines 7-12: created: object(1,0), object(1,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 5335200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'upgrade'. lines 13-18: +task 2 'upgrade'. lines 14-19: Error: Transaction Effects Status: Invalid package upgrade. New package is incompatible with previous version Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: PackageUpgradeError { upgrade_error: IncompatibleUpgrade }, source: Some(PartialVMError { major_status: BACKWARD_INCOMPATIBLE_MODULE_UPDATE, sub_status: None, message: None, exec_state: None, indices: [], offsets: [] }), command: Some(1) } } -task 3 'upgrade'. lines 20-25: +task 3 'upgrade'. lines 21-26: Error: Transaction Effects Status: Invalid package upgrade. New package is incompatible with previous version Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: PackageUpgradeError { upgrade_error: IncompatibleUpgrade }, source: Some(PartialVMError { major_status: BACKWARD_INCOMPATIBLE_MODULE_UPDATE, sub_status: None, message: None, exec_state: None, indices: [], offsets: [] }), command: Some(1) } } -task 4 'upgrade'. lines 27-32: +task 4 'upgrade'. lines 28-33: Error: Transaction Effects Status: Invalid package upgrade. New package is incompatible with previous version Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: PackageUpgradeError { upgrade_error: IncompatibleUpgrade }, source: Some(PartialVMError { major_status: BACKWARD_INCOMPATIBLE_MODULE_UPDATE, sub_status: None, message: None, exec_state: None, indices: [], offsets: [] }), command: Some(1) } } -task 5 'upgrade'. lines 34-39: +task 5 'upgrade'. lines 35-40: Error: Transaction Effects Status: Invalid package upgrade. New package is incompatible with previous version Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: PackageUpgradeError { upgrade_error: IncompatibleUpgrade }, source: Some(PartialVMError { major_status: BACKWARD_INCOMPATIBLE_MODULE_UPDATE, sub_status: None, message: None, exec_state: None, indices: [], offsets: [] }), command: Some(1) } } -task 6 'upgrade'. lines 41-46: +task 6 'upgrade'. lines 42-47: Error: Transaction Effects Status: Invalid package upgrade. New package is incompatible with previous version Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: PackageUpgradeError { upgrade_error: IncompatibleUpgrade }, source: Some(PartialVMError { major_status: BACKWARD_INCOMPATIBLE_MODULE_UPDATE, sub_status: None, message: None, exec_state: None, indices: [], offsets: [] }), command: Some(1) } } diff --git a/crates/iota-adapter-transactional-tests/tests/upgrade/remove_phantom.exp b/crates/iota-adapter-transactional-tests/tests/upgrade/remove_phantom.exp index 7dd973cbedc..716ef363b3f 100644 --- a/crates/iota-adapter-transactional-tests/tests/upgrade/remove_phantom.exp +++ b/crates/iota-adapter-transactional-tests/tests/upgrade/remove_phantom.exp @@ -3,15 +3,15 @@ processed 4 tasks init: A: object(0,0) -task 1 'publish'. lines 6-9: +task 1 'publish'. lines 7-10: created: object(1,0), object(1,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 5403600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'upgrade'. lines 11-14: +task 2 'upgrade'. lines 12-15: Error: Transaction Effects Status: Invalid package upgrade. New package is incompatible with previous version Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: PackageUpgradeError { upgrade_error: IncompatibleUpgrade }, source: Some(PartialVMError { major_status: BACKWARD_INCOMPATIBLE_MODULE_UPDATE, sub_status: None, message: None, exec_state: None, indices: [], offsets: [] }), command: Some(1) } } -task 3 'upgrade'. lines 16-19: +task 3 'upgrade'. lines 17-20: Error: Transaction Effects Status: Invalid package upgrade. New package is incompatible with previous version Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: PackageUpgradeError { upgrade_error: IncompatibleUpgrade }, source: Some(PartialVMError { major_status: BACKWARD_INCOMPATIBLE_MODULE_UPDATE, sub_status: None, message: None, exec_state: None, indices: [], offsets: [] }), command: Some(1) } } diff --git a/crates/iota-adapter-transactional-tests/tests/upgrade/structs.exp b/crates/iota-adapter-transactional-tests/tests/upgrade/structs.exp index cbd15b302b9..b68a7274f6b 100644 --- a/crates/iota-adapter-transactional-tests/tests/upgrade/structs.exp +++ b/crates/iota-adapter-transactional-tests/tests/upgrade/structs.exp @@ -3,27 +3,27 @@ processed 7 tasks init: A: object(0,0) -task 1 'publish'. lines 6-14: +task 1 'publish'. lines 7-15: created: object(1,0), object(1,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 5882400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'upgrade'. lines 16-24: +task 2 'upgrade'. lines 17-25: Error: Transaction Effects Status: Invalid package upgrade. New package is incompatible with previous version Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: PackageUpgradeError { upgrade_error: IncompatibleUpgrade }, source: None, command: Some(1) } } -task 3 'upgrade'. lines 26-29: +task 3 'upgrade'. lines 27-30: Error: Transaction Effects Status: Invalid package upgrade. New package is incompatible with previous version Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: PackageUpgradeError { upgrade_error: IncompatibleUpgrade }, source: None, command: Some(1) } } -task 4 'upgrade'. lines 31-39: +task 4 'upgrade'. lines 32-40: Error: Transaction Effects Status: Invalid package upgrade. New package is incompatible with previous version Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: PackageUpgradeError { upgrade_error: IncompatibleUpgrade }, source: Some(PartialVMError { major_status: BACKWARD_INCOMPATIBLE_MODULE_UPDATE, sub_status: None, message: None, exec_state: None, indices: [], offsets: [] }), command: Some(1) } } -task 5 'upgrade'. lines 41-49: +task 5 'upgrade'. lines 42-50: Error: Transaction Effects Status: Invalid package upgrade. New package is incompatible with previous version Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: PackageUpgradeError { upgrade_error: IncompatibleUpgrade }, source: Some(PartialVMError { major_status: BACKWARD_INCOMPATIBLE_MODULE_UPDATE, sub_status: None, message: None, exec_state: None, indices: [], offsets: [] }), command: Some(1) } } -task 6 'upgrade'. lines 51-60: +task 6 'upgrade'. lines 52-61: Error: Transaction Effects Status: Invalid package upgrade. New package is incompatible with previous version Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: PackageUpgradeError { upgrade_error: IncompatibleUpgrade }, source: Some(PartialVMError { major_status: BACKWARD_INCOMPATIBLE_MODULE_UPDATE, sub_status: None, message: None, exec_state: None, indices: [], offsets: [] }), command: Some(1) } } diff --git a/crates/iota-adapter-transactional-tests/tests/upgrade/transitive_linkage.exp b/crates/iota-adapter-transactional-tests/tests/upgrade/transitive_linkage.exp index 696049a49b3..381c07371c1 100644 --- a/crates/iota-adapter-transactional-tests/tests/upgrade/transitive_linkage.exp +++ b/crates/iota-adapter-transactional-tests/tests/upgrade/transitive_linkage.exp @@ -3,32 +3,32 @@ processed 7 tasks init: A: object(0,0) -task 1 'publish'. lines 6-12: +task 1 'publish'. lines 7-13: created: object(1,0), object(1,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 6216800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'upgrade'. lines 15-21: +task 2 'upgrade'. lines 16-22: created: object(2,0) mutated: object(0,0), object(1,1) gas summary: computation_cost: 1000000, storage_cost: 6216800, storage_rebate: 2595780, non_refundable_storage_fee: 26220 -task 3 'upgrade'. lines 23-33: +task 3 'upgrade'. lines 24-34: created: object(3,0) mutated: object(0,0), object(1,1) gas summary: computation_cost: 1000000, storage_cost: 6520800, storage_rebate: 2595780, non_refundable_storage_fee: 26220 -task 4 'publish'. lines 36-42: +task 4 'publish'. lines 37-43: created: object(4,0), object(4,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 6201600, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 5 'upgrade'. lines 44-50: +task 5 'upgrade'. lines 45-51: created: object(5,0) mutated: object(0,0), object(4,1) gas summary: computation_cost: 1000000, storage_cost: 6201600, storage_rebate: 2595780, non_refundable_storage_fee: 26220 -task 6 'upgrade'. lines 52-59: +task 6 'upgrade'. lines 53-60: created: object(6,0) mutated: object(0,0), object(4,1) gas summary: computation_cost: 1000000, storage_cost: 6247200, storage_rebate: 2595780, non_refundable_storage_fee: 26220 diff --git a/crates/iota-adapter-transactional-tests/tests/upgrade/type_names.exp b/crates/iota-adapter-transactional-tests/tests/upgrade/type_names.exp index b999d8188d7..4ea09db14de 100644 --- a/crates/iota-adapter-transactional-tests/tests/upgrade/type_names.exp +++ b/crates/iota-adapter-transactional-tests/tests/upgrade/type_names.exp @@ -3,57 +3,57 @@ processed 12 tasks init: A: object(0,0) -task 1 'publish'. lines 6-15: +task 1 'publish'. lines 7-16: created: object(1,0), object(1,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 6171200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'upgrade'. lines 17-26: +task 2 'upgrade'. lines 18-27: created: object(2,0) -mutated: object(0,0), object(1,1) +mutated: object(0,0), object(1,0) gas summary: computation_cost: 1000000, storage_cost: 6520800, storage_rebate: 2595780, non_refundable_storage_fee: 26220 -task 3 'upgrade'. lines 28-55: +task 3 'upgrade'. lines 29-56: created: object(3,0) -mutated: object(0,0), object(1,1) +mutated: object(0,0), object(1,0) gas summary: computation_cost: 1000000, storage_cost: 9135200, storage_rebate: 2595780, non_refundable_storage_fee: 26220 -task 4 'run'. lines 57-57: +task 4 'run'. lines 58-58: created: object(4,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2728400, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 5 'run'. lines 59-59: +task 5 'run'. lines 60-60: created: object(5,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2728400, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 6 'run'. lines 61-61: +task 6 'run'. lines 62-62: created: object(6,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2728400, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 7 'run'. lines 63-63: +task 7 'run'. lines 64-64: created: object(7,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2728400, storage_rebate: 978120, non_refundable_storage_fee: 9880 -task 8 'view-object'. lines 65-65: +task 8 'view-object'. lines 66-66: Owner: Account Address ( A ) Version: 5 -Contents: A0::m::Canary {id: iota::object::UID {id: iota::object::ID {bytes: fake(4,0)}}, addr: vector[55u8, 99u8, 53u8, 56u8, 50u8, 49u8, 97u8, 97u8, 54u8, 56u8, 54u8, 55u8, 100u8, 97u8, 48u8, 101u8, 102u8, 97u8, 55u8, 101u8, 50u8, 54u8, 48u8, 54u8, 101u8, 56u8, 97u8, 102u8, 49u8, 54u8, 52u8, 52u8, 100u8, 97u8, 48u8, 54u8, 55u8, 49u8, 99u8, 52u8, 49u8, 102u8, 100u8, 57u8, 51u8, 52u8, 56u8, 97u8, 98u8, 97u8, 97u8, 51u8, 54u8, 49u8, 57u8, 101u8, 97u8, 53u8, 49u8, 100u8, 57u8, 99u8, 100u8, 97u8]} +Contents: A0::m::Canary {id: iota::object::UID {id: iota::object::ID {bytes: fake(4,0)}}, addr: vector[99u8, 48u8, 55u8, 55u8, 53u8, 99u8, 101u8, 102u8, 48u8, 48u8, 99u8, 98u8, 53u8, 99u8, 48u8, 100u8, 56u8, 98u8, 54u8, 51u8, 101u8, 54u8, 98u8, 53u8, 100u8, 100u8, 51u8, 52u8, 56u8, 55u8, 99u8, 98u8, 50u8, 48u8, 52u8, 101u8, 54u8, 57u8, 48u8, 97u8, 100u8, 49u8, 101u8, 52u8, 100u8, 54u8, 99u8, 52u8, 97u8, 54u8, 51u8, 55u8, 49u8, 52u8, 102u8, 50u8, 53u8, 100u8, 49u8, 48u8, 101u8, 52u8, 53u8, 57u8]} -task 9 'view-object'. lines 67-67: +task 9 'view-object'. lines 68-68: Owner: Account Address ( A ) Version: 6 -Contents: A0::m::Canary {id: iota::object::UID {id: iota::object::ID {bytes: fake(5,0)}}, addr: vector[55u8, 99u8, 53u8, 56u8, 50u8, 49u8, 97u8, 97u8, 54u8, 56u8, 54u8, 55u8, 100u8, 97u8, 48u8, 101u8, 102u8, 97u8, 55u8, 101u8, 50u8, 54u8, 48u8, 54u8, 101u8, 56u8, 97u8, 102u8, 49u8, 54u8, 52u8, 52u8, 100u8, 97u8, 48u8, 54u8, 55u8, 49u8, 99u8, 52u8, 49u8, 102u8, 100u8, 57u8, 51u8, 52u8, 56u8, 97u8, 98u8, 97u8, 97u8, 51u8, 54u8, 49u8, 57u8, 101u8, 97u8, 53u8, 49u8, 100u8, 57u8, 99u8, 100u8, 97u8]} +Contents: A0::m::Canary {id: iota::object::UID {id: iota::object::ID {bytes: fake(5,0)}}, addr: vector[99u8, 48u8, 55u8, 55u8, 53u8, 99u8, 101u8, 102u8, 48u8, 48u8, 99u8, 98u8, 53u8, 99u8, 48u8, 100u8, 56u8, 98u8, 54u8, 51u8, 101u8, 54u8, 98u8, 53u8, 100u8, 100u8, 51u8, 52u8, 56u8, 55u8, 99u8, 98u8, 50u8, 48u8, 52u8, 101u8, 54u8, 57u8, 48u8, 97u8, 100u8, 49u8, 101u8, 52u8, 100u8, 54u8, 99u8, 52u8, 97u8, 54u8, 51u8, 55u8, 49u8, 52u8, 102u8, 50u8, 53u8, 100u8, 49u8, 48u8, 101u8, 52u8, 53u8, 57u8]} -task 10 'view-object'. lines 69-69: +task 10 'view-object'. lines 70-70: Owner: Account Address ( A ) Version: 7 -Contents: A0::m::Canary {id: iota::object::UID {id: iota::object::ID {bytes: fake(6,0)}}, addr: vector[55u8, 99u8, 53u8, 56u8, 50u8, 49u8, 97u8, 97u8, 54u8, 56u8, 54u8, 55u8, 100u8, 97u8, 48u8, 101u8, 102u8, 97u8, 55u8, 101u8, 50u8, 54u8, 48u8, 54u8, 101u8, 56u8, 97u8, 102u8, 49u8, 54u8, 52u8, 52u8, 100u8, 97u8, 48u8, 54u8, 55u8, 49u8, 99u8, 52u8, 49u8, 102u8, 100u8, 57u8, 51u8, 52u8, 56u8, 97u8, 98u8, 97u8, 97u8, 51u8, 54u8, 49u8, 57u8, 101u8, 97u8, 53u8, 49u8, 100u8, 57u8, 99u8, 100u8, 97u8]} +Contents: A0::m::Canary {id: iota::object::UID {id: iota::object::ID {bytes: fake(6,0)}}, addr: vector[99u8, 48u8, 55u8, 55u8, 53u8, 99u8, 101u8, 102u8, 48u8, 48u8, 99u8, 98u8, 53u8, 99u8, 48u8, 100u8, 56u8, 98u8, 54u8, 51u8, 101u8, 54u8, 98u8, 53u8, 100u8, 100u8, 51u8, 52u8, 56u8, 55u8, 99u8, 98u8, 50u8, 48u8, 52u8, 101u8, 54u8, 57u8, 48u8, 97u8, 100u8, 49u8, 101u8, 52u8, 100u8, 54u8, 99u8, 52u8, 97u8, 54u8, 51u8, 55u8, 49u8, 52u8, 102u8, 50u8, 53u8, 100u8, 49u8, 48u8, 101u8, 52u8, 53u8, 57u8]} -task 11 'view-object'. lines 71-71: +task 11 'view-object'. lines 72-72: Owner: Account Address ( A ) Version: 8 -Contents: A0::m::Canary {id: iota::object::UID {id: iota::object::ID {bytes: fake(7,0)}}, addr: vector[100u8, 51u8, 100u8, 99u8, 49u8, 54u8, 99u8, 53u8, 53u8, 50u8, 100u8, 57u8, 50u8, 53u8, 50u8, 100u8, 97u8, 56u8, 97u8, 100u8, 57u8, 97u8, 98u8, 52u8, 101u8, 50u8, 50u8, 57u8, 49u8, 57u8, 100u8, 51u8, 54u8, 48u8, 98u8, 55u8, 100u8, 101u8, 97u8, 97u8, 52u8, 53u8, 100u8, 97u8, 57u8, 102u8, 51u8, 97u8, 54u8, 57u8, 52u8, 57u8, 50u8, 102u8, 98u8, 99u8, 99u8, 99u8, 57u8, 98u8, 102u8, 98u8, 48u8, 56u8]} +Contents: A0::m::Canary {id: iota::object::UID {id: iota::object::ID {bytes: fake(7,0)}}, addr: vector[51u8, 48u8, 48u8, 57u8, 52u8, 98u8, 100u8, 97u8, 99u8, 101u8, 55u8, 101u8, 57u8, 49u8, 56u8, 101u8, 101u8, 50u8, 55u8, 50u8, 56u8, 49u8, 56u8, 49u8, 99u8, 52u8, 102u8, 55u8, 55u8, 49u8, 98u8, 54u8, 53u8, 52u8, 54u8, 54u8, 48u8, 57u8, 102u8, 99u8, 101u8, 102u8, 55u8, 56u8, 55u8, 51u8, 54u8, 101u8, 50u8, 54u8, 53u8, 102u8, 49u8, 102u8, 48u8, 102u8, 57u8, 50u8, 53u8, 100u8, 102u8, 51u8, 97u8, 102u8]} diff --git a/crates/iota-adapter-transactional-tests/tests/upgrade/type_names.move b/crates/iota-adapter-transactional-tests/tests/upgrade/type_names.move index 683414374f1..411d2b10b32 100644 --- a/crates/iota-adapter-transactional-tests/tests/upgrade/type_names.move +++ b/crates/iota-adapter-transactional-tests/tests/upgrade/type_names.move @@ -15,7 +15,7 @@ module A0::m { } -//# upgrade --package A0 --upgrade-capability 1,1 --sender A +//# upgrade --package A0 --upgrade-capability 1,0 --sender A module A1::m { public struct Canary has key { id: UID, @@ -26,7 +26,7 @@ module A1::m { public struct B {} } -//# upgrade --package A1 --upgrade-capability 1,1 --sender A +//# upgrade --package A1 --upgrade-capability 1,0 --sender A module A2::m { use std::ascii; use std::type_name; diff --git a/crates/iota-adapter-transactional-tests/tests/upgrade/upgrade_ratchet.exp b/crates/iota-adapter-transactional-tests/tests/upgrade/upgrade_ratchet.exp index 662c1483028..bff7fb3cf37 100644 --- a/crates/iota-adapter-transactional-tests/tests/upgrade/upgrade_ratchet.exp +++ b/crates/iota-adapter-transactional-tests/tests/upgrade/upgrade_ratchet.exp @@ -3,62 +3,62 @@ processed 15 tasks init: A: object(0,0) -task 1 'publish'. lines 6-12: +task 1 'publish'. lines 7-13: created: object(1,0), object(1,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 5646800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2 'upgrade'. lines 13-16: +task 2 'upgrade'. lines 14-17: created: object(2,0) mutated: object(0,0), object(1,1) gas summary: computation_cost: 1000000, storage_cost: 5016000, storage_rebate: 2595780, non_refundable_storage_fee: 26220 -task 3 'run'. lines 18-20: +task 3 'run'. lines 19-21: mutated: object(0,0), object(1,1) gas summary: computation_cost: 1000000, storage_cost: 2622000, storage_rebate: 2595780, non_refundable_storage_fee: 26220 -task 4 'upgrade'. lines 21-26: +task 4 'upgrade'. lines 22-27: Error: Transaction Effects Status: Move Runtime Abort. Location: iota::package::authorize_upgrade (function index 21) at offset 24, Abort Code: 1 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: iota, name: Identifier("package") }, function: 21, instruction: 24, function_name: Some("authorize_upgrade") }, 1), source: Some(VMError { major_status: ABORTED, sub_status: Some(1), message: Some("iota::package::authorize_upgrade at offset 24"), exec_state: None, location: Module(ModuleId { address: iota, name: Identifier("package") }), indices: [], offsets: [(FunctionDefinitionIndex(21), 24)] }), command: Some(0) } } -task 5 'upgrade'. lines 27-32: +task 5 'upgrade'. lines 28-33: created: object(5,0) mutated: object(0,0), object(1,1) gas summary: computation_cost: 1000000, storage_cost: 5016000, storage_rebate: 2595780, non_refundable_storage_fee: 26220 -task 6 'upgrade'. lines 33-36: +task 6 'upgrade'. lines 34-37: created: object(6,0) mutated: object(0,0), object(1,1) gas summary: computation_cost: 1000000, storage_cost: 5016000, storage_rebate: 2595780, non_refundable_storage_fee: 26220 -task 7 'run'. lines 38-40: +task 7 'run'. lines 39-41: mutated: object(0,0), object(1,1) gas summary: computation_cost: 1000000, storage_cost: 2622000, storage_rebate: 2595780, non_refundable_storage_fee: 26220 -task 8 'upgrade'. lines 41-46: +task 8 'upgrade'. lines 42-47: Error: Transaction Effects Status: Move Runtime Abort. Location: iota::package::authorize_upgrade (function index 21) at offset 24, Abort Code: 1 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: iota, name: Identifier("package") }, function: 21, instruction: 24, function_name: Some("authorize_upgrade") }, 1), source: Some(VMError { major_status: ABORTED, sub_status: Some(1), message: Some("iota::package::authorize_upgrade at offset 24"), exec_state: None, location: Module(ModuleId { address: iota, name: Identifier("package") }), indices: [], offsets: [(FunctionDefinitionIndex(21), 24)] }), command: Some(0) } } -task 9 'upgrade'. lines 47-52: +task 9 'upgrade'. lines 48-53: Error: Transaction Effects Status: Move Runtime Abort. Location: iota::package::authorize_upgrade (function index 21) at offset 24, Abort Code: 1 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: iota, name: Identifier("package") }, function: 21, instruction: 24, function_name: Some("authorize_upgrade") }, 1), source: Some(VMError { major_status: ABORTED, sub_status: Some(1), message: Some("iota::package::authorize_upgrade at offset 24"), exec_state: None, location: Module(ModuleId { address: iota, name: Identifier("package") }), indices: [], offsets: [(FunctionDefinitionIndex(21), 24)] }), command: Some(0) } } -task 10 'upgrade'. lines 53-58: +task 10 'upgrade'. lines 54-59: created: object(10,0) mutated: object(0,0), object(1,1) gas summary: computation_cost: 1000000, storage_cost: 5016000, storage_rebate: 2595780, non_refundable_storage_fee: 26220 -task 11 'run'. lines 59-61: +task 11 'run'. lines 60-62: Error: Transaction Effects Status: Move Runtime Abort. Location: iota::package::restrict (function index 23) at offset 10, Abort Code: 1 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: iota, name: Identifier("package") }, function: 23, instruction: 10, function_name: Some("restrict") }, 1), source: Some(VMError { major_status: ABORTED, sub_status: Some(1), message: Some("iota::package::restrict at offset 10"), exec_state: None, location: Module(ModuleId { address: iota, name: Identifier("package") }), indices: [], offsets: [(FunctionDefinitionIndex(23), 10)] }), command: Some(0) } } -task 12 'run'. lines 62-62: +task 12 'run'. lines 63-63: mutated: object(0,0) deleted: object(1,1) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 2595780, non_refundable_storage_fee: 26220 -task 13 'view-object'. lines 64-66: +task 13 'view-object'. lines 65-67: No object at id 1,1 -task 14 'upgrade'. lines 67-70: +task 14 'upgrade'. lines 68-71: Error: INVALID TEST. Could not load object argument object(1,1) diff --git a/crates/iota-graphql-e2e-tests/tests/available_range/available_range.move b/crates/iota-graphql-e2e-tests/tests/available_range/available_range.move index 52a2256f198..a88e1a9dde9 100644 --- a/crates/iota-graphql-e2e-tests/tests/available_range/available_range.move +++ b/crates/iota-graphql-e2e-tests/tests/available_range/available_range.move @@ -2,7 +2,7 @@ // Modifications Copyright (c) 2024 IOTA Stiftung // SPDX-License-Identifier: Apache-2.0 -//# init --protocol-version 39 --simulator +//# init --protocol-version 1 --simulator //# run-graphql { diff --git a/crates/iota-graphql-e2e-tests/tests/call/checkpoint_connection_pagination.move b/crates/iota-graphql-e2e-tests/tests/call/checkpoint_connection_pagination.move index 58a6d845a7c..ef951e1de3a 100644 --- a/crates/iota-graphql-e2e-tests/tests/call/checkpoint_connection_pagination.move +++ b/crates/iota-graphql-e2e-tests/tests/call/checkpoint_connection_pagination.move @@ -2,7 +2,7 @@ // Modifications Copyright (c) 2024 IOTA Stiftung // SPDX-License-Identifier: Apache-2.0 -//# init --protocol-version 39 --addresses Test=0x0 --simulator +//# init --protocol-version 1 --addresses Test=0x0 --simulator // Test cursor connection pagination logic // The implementation privileges `after`, `before`, `first`, and `last` in that order. diff --git a/crates/iota-graphql-e2e-tests/tests/call/coin_metadata.move b/crates/iota-graphql-e2e-tests/tests/call/coin_metadata.move index 4e84c1d2c4a..5224c521a32 100644 --- a/crates/iota-graphql-e2e-tests/tests/call/coin_metadata.move +++ b/crates/iota-graphql-e2e-tests/tests/call/coin_metadata.move @@ -2,7 +2,7 @@ // Modifications Copyright (c) 2024 IOTA Stiftung // SPDX-License-Identifier: Apache-2.0 -//# init --protocol-version 39 --addresses test=0x0 --accounts A --simulator +//# init --protocol-version 1 --addresses test=0x0 --accounts A --simulator //# publish --sender A module test::fake { diff --git a/crates/iota-graphql-e2e-tests/tests/call/dynamic_fields.move b/crates/iota-graphql-e2e-tests/tests/call/dynamic_fields.move index 2597e1803a9..8942d4af172 100644 --- a/crates/iota-graphql-e2e-tests/tests/call/dynamic_fields.move +++ b/crates/iota-graphql-e2e-tests/tests/call/dynamic_fields.move @@ -9,7 +9,7 @@ // This test also demonstrates why we need separate dynamicField and dynamicObjectField APIs. // It is possible for a dynamic field and a dynamic object field to share the same name lookup. -//# init --protocol-version 39 --addresses Test=0x0 --accounts A --simulator +//# init --protocol-version 1 --addresses Test=0x0 --accounts A --simulator //# publish module Test::m { diff --git a/crates/iota-graphql-e2e-tests/tests/call/owned_objects.move b/crates/iota-graphql-e2e-tests/tests/call/owned_objects.move index ffbb083a34b..98090a2a635 100644 --- a/crates/iota-graphql-e2e-tests/tests/call/owned_objects.move +++ b/crates/iota-graphql-e2e-tests/tests/call/owned_objects.move @@ -2,7 +2,7 @@ // Modifications Copyright (c) 2024 IOTA Stiftung // SPDX-License-Identifier: Apache-2.0 -//# init --protocol-version 39 --addresses Test=0x0 A=0x42 --simulator +//# init --protocol-version 1 --addresses Test=0x0 A=0x42 --simulator // Tests objects on address, object, and owner. // diff --git a/crates/iota-graphql-e2e-tests/tests/call/simple.move b/crates/iota-graphql-e2e-tests/tests/call/simple.move index ad4edf3ea04..f53c4cc724f 100644 --- a/crates/iota-graphql-e2e-tests/tests/call/simple.move +++ b/crates/iota-graphql-e2e-tests/tests/call/simple.move @@ -2,7 +2,7 @@ // Modifications Copyright (c) 2024 IOTA Stiftung // SPDX-License-Identifier: Apache-2.0 -//# init --protocol-version 39 --addresses Test=0x0 A=0x42 --simulator --custom-validator-account --reference-gas-price 234 --default-gas-price 1000 +//# init --protocol-version 1 --addresses Test=0x0 A=0x42 --simulator --custom-validator-account --reference-gas-price 234 --default-gas-price 1000 //# publish module Test::M1 { diff --git a/crates/iota-graphql-e2e-tests/tests/consistency/balances.move b/crates/iota-graphql-e2e-tests/tests/consistency/balances.move index 4c5c23bd841..20367e90c89 100644 --- a/crates/iota-graphql-e2e-tests/tests/consistency/balances.move +++ b/crates/iota-graphql-e2e-tests/tests/consistency/balances.move @@ -15,7 +15,7 @@ // snapshot@[0, 4), first two transaction blocks are out of available range. // snapshot@[0, 6), all transaction blocks are out of available range. -//# init --protocol-version 39 --addresses P0=0x0 --accounts A B --simulator +//# init --protocol-version 1 --addresses P0=0x0 --accounts A B --simulator //# publish --sender A module P0::fake { diff --git a/crates/iota-graphql-e2e-tests/tests/consistency/checkpoints/transaction_blocks.move b/crates/iota-graphql-e2e-tests/tests/consistency/checkpoints/transaction_blocks.move index 22725330cfb..db7c4e7aa68 100644 --- a/crates/iota-graphql-e2e-tests/tests/consistency/checkpoints/transaction_blocks.move +++ b/crates/iota-graphql-e2e-tests/tests/consistency/checkpoints/transaction_blocks.move @@ -9,7 +9,7 @@ // 2 | 3 // 3 | 2 -//# init --protocol-version 39 --addresses Test=0x0 --accounts A B --simulator +//# init --protocol-version 1 --addresses Test=0x0 --accounts A B --simulator //# publish module Test::M1 { diff --git a/crates/iota-graphql-e2e-tests/tests/consistency/coins.move b/crates/iota-graphql-e2e-tests/tests/consistency/coins.move index 37aee9695b2..48557666ed0 100644 --- a/crates/iota-graphql-e2e-tests/tests/consistency/coins.move +++ b/crates/iota-graphql-e2e-tests/tests/consistency/coins.move @@ -8,7 +8,7 @@ // coin2@A | coin2@B | coin2@B | coin2@B | coin2@B | coin2@B // coin3@A | coin3@A | coin3@A | coin3@A | coin3@A | coin3@A -//# init --protocol-version 39 --addresses P0=0x0 --accounts A B --simulator +//# init --protocol-version 1 --addresses P0=0x0 --accounts A B --simulator //# publish --sender A module P0::fake { diff --git a/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/deleted_df.move b/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/deleted_df.move index ab7567d9bd4..18f046df98f 100644 --- a/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/deleted_df.move +++ b/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/deleted_df.move @@ -10,7 +10,7 @@ // 5 | removed df1, df2, df3 // 6 | mutated parent -//# init --protocol-version 39 --addresses Test=0x0 --accounts A --simulator +//# init --protocol-version 1 --addresses Test=0x0 --accounts A --simulator //# publish module Test::M1 { diff --git a/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/deleted_dof.move b/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/deleted_dof.move index 147d85634cb..e50ebdb2ceb 100644 --- a/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/deleted_dof.move +++ b/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/deleted_dof.move @@ -10,7 +10,7 @@ // 5 | | deleted child // 6 | | mutated parent -//# init --protocol-version 39 --addresses Test=0x0 --accounts A --simulator +//# init --protocol-version 1 --addresses Test=0x0 --accounts A --simulator //# publish module Test::M1 { diff --git a/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/dof_add_reclaim_transfer.move b/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/dof_add_reclaim_transfer.move index d009ed6aac9..660730c5df2 100644 --- a/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/dof_add_reclaim_transfer.move +++ b/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/dof_add_reclaim_transfer.move @@ -15,7 +15,7 @@ // 3 | 3 | added child to parent // 4 | 4 | reclaimed child from parent -//# init --protocol-version 39 --addresses Test=0x0 --accounts A --simulator +//# init --protocol-version 1 --addresses Test=0x0 --accounts A --simulator //# publish module Test::M1 { diff --git a/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/dof_add_reclaim_transfer_reclaim_add.move b/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/dof_add_reclaim_transfer_reclaim_add.move index 1d634e8d679..e64864ade62 100644 --- a/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/dof_add_reclaim_transfer_reclaim_add.move +++ b/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/dof_add_reclaim_transfer_reclaim_add.move @@ -14,7 +14,7 @@ // 4 | 6 | reclaim child from another parent // 7 | 7 | add child to original parent -//# init --protocol-version 39 --addresses Test=0x0 --accounts A --simulator +//# init --protocol-version 1 --addresses Test=0x0 --accounts A --simulator //# publish module Test::M1 { diff --git a/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/dynamic_fields.move b/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/dynamic_fields.move index e8df64c9aef..fece3d3b265 100644 --- a/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/dynamic_fields.move +++ b/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/dynamic_fields.move @@ -8,7 +8,7 @@ // chkpt3: add df4, 5, 6 parent @ version 5, child @ version 4 // chkpt4: remove df1, df2, df3 parent @ version 6, child @ version 4 -//# init --protocol-version 39 --addresses Test=0x0 --accounts A --simulator +//# init --protocol-version 1 --addresses Test=0x0 --accounts A --simulator //# publish module Test::M1 { diff --git a/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/mutated_df.move b/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/mutated_df.move index 00b0f725cbc..d593c4151f4 100644 --- a/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/mutated_df.move +++ b/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/mutated_df.move @@ -10,7 +10,7 @@ // 5 | mutated df1 // 6 | mutated parent again -//# init --protocol-version 39 --addresses Test=0x0 --accounts A --simulator +//# init --protocol-version 1 --addresses Test=0x0 --accounts A --simulator //# publish module Test::M1 { diff --git a/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/mutated_dof.move b/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/mutated_dof.move index b635ad412e6..d314ae5a709 100644 --- a/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/mutated_dof.move +++ b/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/mutated_dof.move @@ -11,7 +11,7 @@ // 5 | 6 | mutated child // 7 | 7 | add child back to parent -//# init --protocol-version 39 --addresses Test=0x0 --accounts A --simulator +//# init --protocol-version 1 --addresses Test=0x0 --accounts A --simulator //# publish module Test::M1 { diff --git a/crates/iota-graphql-e2e-tests/tests/consistency/epochs/checkpoints.move b/crates/iota-graphql-e2e-tests/tests/consistency/epochs/checkpoints.move index 7ea33d77ba5..d83379e9822 100644 --- a/crates/iota-graphql-e2e-tests/tests/consistency/epochs/checkpoints.move +++ b/crates/iota-graphql-e2e-tests/tests/consistency/epochs/checkpoints.move @@ -9,7 +9,7 @@ // 2 | 2 // An additional checkpoint is created at the end. -//# init --protocol-version 39 --addresses Test=0x0 --accounts A B --simulator +//# init --protocol-version 1 --addresses Test=0x0 --accounts A B --simulator //# create-checkpoint diff --git a/crates/iota-graphql-e2e-tests/tests/consistency/epochs/transaction_blocks.move b/crates/iota-graphql-e2e-tests/tests/consistency/epochs/transaction_blocks.move index b07e3198f19..64fd603270e 100644 --- a/crates/iota-graphql-e2e-tests/tests/consistency/epochs/transaction_blocks.move +++ b/crates/iota-graphql-e2e-tests/tests/consistency/epochs/transaction_blocks.move @@ -18,7 +18,7 @@ // 11 | epoch | 11 | 2 // 12 | epoch | 12 | 3 -//# init --protocol-version 39 --addresses Test=0x0 --accounts A B --simulator +//# init --protocol-version 1 --addresses Test=0x0 --accounts A B --simulator //# publish module Test::M1 { diff --git a/crates/iota-graphql-e2e-tests/tests/consistency/object_at_version.move b/crates/iota-graphql-e2e-tests/tests/consistency/object_at_version.move index 3ae5d335b24..59aa984c326 100644 --- a/crates/iota-graphql-e2e-tests/tests/consistency/object_at_version.move +++ b/crates/iota-graphql-e2e-tests/tests/consistency/object_at_version.move @@ -15,7 +15,7 @@ // checkpoint 4. The object would only be visible at version 6 from objects_snapshot, and at version // 7 from objects_history. -//# init --protocol-version 39 --addresses Test=0x0 --accounts A --simulator +//# init --protocol-version 1 --addresses Test=0x0 --accounts A --simulator //# publish module Test::M1 { diff --git a/crates/iota-graphql-e2e-tests/tests/consistency/objects_pagination.move b/crates/iota-graphql-e2e-tests/tests/consistency/objects_pagination.move index b02c758f5e3..67c12677c4d 100644 --- a/crates/iota-graphql-e2e-tests/tests/consistency/objects_pagination.move +++ b/crates/iota-graphql-e2e-tests/tests/consistency/objects_pagination.move @@ -2,7 +2,7 @@ // Modifications Copyright (c) 2024 IOTA Stiftung // SPDX-License-Identifier: Apache-2.0 -//# init --protocol-version 39 --addresses Test=0x0 --accounts A B --simulator +//# init --protocol-version 1 --addresses Test=0x0 --accounts A B --simulator // cp | object_id | owner diff --git a/crates/iota-graphql-e2e-tests/tests/consistency/objects_pagination_single.move b/crates/iota-graphql-e2e-tests/tests/consistency/objects_pagination_single.move index a13b717a66c..dff516f9251 100644 --- a/crates/iota-graphql-e2e-tests/tests/consistency/objects_pagination_single.move +++ b/crates/iota-graphql-e2e-tests/tests/consistency/objects_pagination_single.move @@ -6,7 +6,7 @@ // one object as a cursor to view the other object that gets mutated per checkpoint. The ordering is // consistent even if the cursor object is mutated. -//# init --protocol-version 39 --addresses Test=0x0 --accounts A B --simulator +//# init --protocol-version 1 --addresses Test=0x0 --accounts A B --simulator //# publish module Test::M1 { diff --git a/crates/iota-graphql-e2e-tests/tests/consistency/performance/many_objects.move b/crates/iota-graphql-e2e-tests/tests/consistency/performance/many_objects.move index 7904548b960..75146a0c888 100644 --- a/crates/iota-graphql-e2e-tests/tests/consistency/performance/many_objects.move +++ b/crates/iota-graphql-e2e-tests/tests/consistency/performance/many_objects.move @@ -8,7 +8,7 @@ // criteria are then invalidated by a newer version of the matched object. We set `last: 1` but // transfer the last 3 objects because we increase the limit by 2 behind the scenes. -//# init --protocol-version 39 --addresses Test=0x0 --accounts A B --simulator +//# init --protocol-version 1 --addresses Test=0x0 --accounts A B --simulator //# publish module Test::M1 { diff --git a/crates/iota-graphql-e2e-tests/tests/consistency/staked_iota.move b/crates/iota-graphql-e2e-tests/tests/consistency/staked_iota.move index 5e6c4f92557..fe21f0554f0 100644 --- a/crates/iota-graphql-e2e-tests/tests/consistency/staked_iota.move +++ b/crates/iota-graphql-e2e-tests/tests/consistency/staked_iota.move @@ -2,7 +2,7 @@ // Modifications Copyright (c) 2024 IOTA Stiftung // SPDX-License-Identifier: Apache-2.0 -//# init --protocol-version 39 --simulator --accounts C +//# init --protocol-version 1 --simulator --accounts C //# run-graphql { diff --git a/crates/iota-graphql-e2e-tests/tests/consistency/tx_address_objects.move b/crates/iota-graphql-e2e-tests/tests/consistency/tx_address_objects.move index 11b2abaffda..634d449bf17 100644 --- a/crates/iota-graphql-e2e-tests/tests/consistency/tx_address_objects.move +++ b/crates/iota-graphql-e2e-tests/tests/consistency/tx_address_objects.move @@ -13,7 +13,7 @@ // 2 | (3, 3, 3) // 3 | (4, 4, 4, 4) -//# init --protocol-version 39 --addresses Test=0x0 --accounts A B --simulator +//# init --protocol-version 1 --addresses Test=0x0 --accounts A B --simulator //# publish module Test::M1 { diff --git a/crates/iota-graphql-e2e-tests/tests/datetime/datetime.move b/crates/iota-graphql-e2e-tests/tests/datetime/datetime.move index e369d3e7f34..abd0f649abe 100644 --- a/crates/iota-graphql-e2e-tests/tests/datetime/datetime.move +++ b/crates/iota-graphql-e2e-tests/tests/datetime/datetime.move @@ -2,7 +2,7 @@ // Modifications Copyright (c) 2024 IOTA Stiftung // SPDX-License-Identifier: Apache-2.0 -//# init --protocol-version 39 --simulator +//# init --protocol-version 1 --simulator //# create-checkpoint diff --git a/crates/iota-graphql-e2e-tests/tests/epoch/epoch.move b/crates/iota-graphql-e2e-tests/tests/epoch/epoch.move index 379b2eb2bc0..d8925b5a6a3 100644 --- a/crates/iota-graphql-e2e-tests/tests/epoch/epoch.move +++ b/crates/iota-graphql-e2e-tests/tests/epoch/epoch.move @@ -2,7 +2,7 @@ // Modifications Copyright (c) 2024 IOTA Stiftung // SPDX-License-Identifier: Apache-2.0 -//# init --protocol-version 39 --simulator --accounts C +//# init --protocol-version 1 --simulator --accounts C // TODO: Short term hack to get around indexer epoch issue diff --git a/crates/iota-graphql-e2e-tests/tests/epoch/system_state.move b/crates/iota-graphql-e2e-tests/tests/epoch/system_state.move index b8d9567f395..0c56a59f8e9 100644 --- a/crates/iota-graphql-e2e-tests/tests/epoch/system_state.move +++ b/crates/iota-graphql-e2e-tests/tests/epoch/system_state.move @@ -2,7 +2,7 @@ // Modifications Copyright (c) 2024 IOTA Stiftung // SPDX-License-Identifier: Apache-2.0 -//# init --protocol-version 39 --simulator --accounts C --custom-validator-account +//# init --protocol-version 1 --simulator --accounts C --custom-validator-account // Run a few transactions and check that the system state storage fund is correctly reported // for historical epochs diff --git a/crates/iota-graphql-e2e-tests/tests/event_connection/event_connection.move b/crates/iota-graphql-e2e-tests/tests/event_connection/event_connection.move index d1064730e18..e75def35ee1 100644 --- a/crates/iota-graphql-e2e-tests/tests/event_connection/event_connection.move +++ b/crates/iota-graphql-e2e-tests/tests/event_connection/event_connection.move @@ -10,7 +10,7 @@ // Verifies correct event when filtered for Test::M1::EventB // Verifies error when filtered on sender, package, module and event type with generics and < -//# init --protocol-version 39 --addresses Test=0x0 --accounts A B --simulator +//# init --protocol-version 1 --addresses Test=0x0 --accounts A B --simulator //# publish module Test::M1 { diff --git a/crates/iota-graphql-e2e-tests/tests/event_connection/nested_emit_event.move b/crates/iota-graphql-e2e-tests/tests/event_connection/nested_emit_event.move index 031ecb1aae3..4f495dd769c 100644 --- a/crates/iota-graphql-e2e-tests/tests/event_connection/nested_emit_event.move +++ b/crates/iota-graphql-e2e-tests/tests/event_connection/nested_emit_event.move @@ -6,7 +6,7 @@ // The emitting module is where the entrypoint function is defined - // in other words, the function called by a programmable transaction block. -//# init --protocol-version 39 --addresses Test=0x0 --accounts A --simulator +//# init --protocol-version 1 --addresses Test=0x0 --accounts A --simulator //# publish module Test::M1 { diff --git a/crates/iota-graphql-e2e-tests/tests/event_connection/pagination.move b/crates/iota-graphql-e2e-tests/tests/event_connection/pagination.move index 06ee5cabeb8..514f6b954ef 100644 --- a/crates/iota-graphql-e2e-tests/tests/event_connection/pagination.move +++ b/crates/iota-graphql-e2e-tests/tests/event_connection/pagination.move @@ -2,7 +2,7 @@ // Modifications Copyright (c) 2024 IOTA Stiftung // SPDX-License-Identifier: Apache-2.0 -//# init --protocol-version 39 --addresses Test=0x0 --accounts A --simulator +//# init --protocol-version 1 --addresses Test=0x0 --accounts A --simulator //# publish module Test::M1 { diff --git a/crates/iota-graphql-e2e-tests/tests/limits/directives.move b/crates/iota-graphql-e2e-tests/tests/limits/directives.move index c5fcdc6e8cc..e24dbbcdc5d 100644 --- a/crates/iota-graphql-e2e-tests/tests/limits/directives.move +++ b/crates/iota-graphql-e2e-tests/tests/limits/directives.move @@ -2,7 +2,7 @@ // Modifications Copyright (c) 2024 IOTA Stiftung // SPDX-License-Identifier: Apache-2.0 -//# init --protocol-version 39 --addresses Test=0x0 --accounts A --simulator +//# init --protocol-version 1 --addresses Test=0x0 --accounts A --simulator //# run-graphql diff --git a/crates/iota-graphql-e2e-tests/tests/limits/output_node_estimation.move b/crates/iota-graphql-e2e-tests/tests/limits/output_node_estimation.move index 97ae1db64a8..a53a691db43 100644 --- a/crates/iota-graphql-e2e-tests/tests/limits/output_node_estimation.move +++ b/crates/iota-graphql-e2e-tests/tests/limits/output_node_estimation.move @@ -2,7 +2,7 @@ // Modifications Copyright (c) 2024 IOTA Stiftung // SPDX-License-Identifier: Apache-2.0 -//# init --protocol-version 39 --addresses A=0x42 --simulator +//# init --protocol-version 1 --addresses A=0x42 --simulator //# run-graphql --show-usage # pageInfo does not inherit connection's weights diff --git a/crates/iota-graphql-e2e-tests/tests/objects/coin.move b/crates/iota-graphql-e2e-tests/tests/objects/coin.move index 8a56b797fd0..020dd87a4ab 100644 --- a/crates/iota-graphql-e2e-tests/tests/objects/coin.move +++ b/crates/iota-graphql-e2e-tests/tests/objects/coin.move @@ -2,7 +2,7 @@ // Modifications Copyright (c) 2024 IOTA Stiftung // SPDX-License-Identifier: Apache-2.0 -//# init --protocol-version 39 --addresses P0=0x0 --accounts A --simulator +//# init --protocol-version 1 --addresses P0=0x0 --accounts A --simulator //# publish --sender A module P0::fake { diff --git a/crates/iota-graphql-e2e-tests/tests/objects/data.move b/crates/iota-graphql-e2e-tests/tests/objects/data.move index e7c04a13a9e..fe7985f1b9c 100644 --- a/crates/iota-graphql-e2e-tests/tests/objects/data.move +++ b/crates/iota-graphql-e2e-tests/tests/objects/data.move @@ -2,7 +2,7 @@ // Modifications Copyright (c) 2024 IOTA Stiftung // SPDX-License-Identifier: Apache-2.0 -//# init --protocol-version 39 --addresses P0=0x0 --accounts A --simulator +//# init --protocol-version 1 --addresses P0=0x0 --accounts A --simulator //# publish module P0::m { diff --git a/crates/iota-graphql-e2e-tests/tests/objects/display.move b/crates/iota-graphql-e2e-tests/tests/objects/display.move index 7317e9b63e2..31963f74a61 100644 --- a/crates/iota-graphql-e2e-tests/tests/objects/display.move +++ b/crates/iota-graphql-e2e-tests/tests/objects/display.move @@ -2,7 +2,7 @@ // Modifications Copyright (c) 2024 IOTA Stiftung // SPDX-License-Identifier: Apache-2.0 -//# init --protocol-version 39 --addresses Test=0x0 --accounts A --simulator +//# init --protocol-version 1 --addresses Test=0x0 --accounts A --simulator //# publish --sender A module Test::boars { diff --git a/crates/iota-graphql-e2e-tests/tests/objects/filter_by_type.move b/crates/iota-graphql-e2e-tests/tests/objects/filter_by_type.move index 2ae2e60022d..de95669bd67 100644 --- a/crates/iota-graphql-e2e-tests/tests/objects/filter_by_type.move +++ b/crates/iota-graphql-e2e-tests/tests/objects/filter_by_type.move @@ -2,7 +2,7 @@ // Modifications Copyright (c) 2024 IOTA Stiftung // SPDX-License-Identifier: Apache-2.0 -//# init --protocol-version 39 --simulator --accounts C +//# init --protocol-version 1 --simulator --accounts C // TODO: Short term hack to get around indexer epoch issue //# create-checkpoint diff --git a/crates/iota-graphql-e2e-tests/tests/objects/pagination.move b/crates/iota-graphql-e2e-tests/tests/objects/pagination.move index 87476a7e827..77c49086267 100644 --- a/crates/iota-graphql-e2e-tests/tests/objects/pagination.move +++ b/crates/iota-graphql-e2e-tests/tests/objects/pagination.move @@ -2,7 +2,7 @@ // Modifications Copyright (c) 2024 IOTA Stiftung // SPDX-License-Identifier: Apache-2.0 -//# init --protocol-version 39 --addresses Test=0x0 A=0x42 --simulator +//# init --protocol-version 1 --addresses Test=0x0 A=0x42 --simulator //# publish module Test::M1 { diff --git a/crates/iota-graphql-e2e-tests/tests/objects/public_transfer.move b/crates/iota-graphql-e2e-tests/tests/objects/public_transfer.move index 80e4d7ade50..4bba891560a 100644 --- a/crates/iota-graphql-e2e-tests/tests/objects/public_transfer.move +++ b/crates/iota-graphql-e2e-tests/tests/objects/public_transfer.move @@ -2,7 +2,7 @@ // Modifications Copyright (c) 2024 IOTA Stiftung // SPDX-License-Identifier: Apache-2.0 -//# init --protocol-version 39 --addresses P0=0x0 --accounts A --simulator +//# init --protocol-version 1 --addresses P0=0x0 --accounts A --simulator //# publish module P0::m { diff --git a/crates/iota-graphql-e2e-tests/tests/objects/received.move b/crates/iota-graphql-e2e-tests/tests/objects/received.move index a6ab8591972..c79a2dbf3d2 100644 --- a/crates/iota-graphql-e2e-tests/tests/objects/received.move +++ b/crates/iota-graphql-e2e-tests/tests/objects/received.move @@ -2,7 +2,7 @@ // Modifications Copyright (c) 2024 IOTA Stiftung // SPDX-License-Identifier: Apache-2.0 -//# init --protocol-version 39 --addresses P0=0x0 --simulator +//# init --protocol-version 1 --addresses P0=0x0 --simulator //# run-graphql { diff --git a/crates/iota-graphql-e2e-tests/tests/objects/staked_iota.move b/crates/iota-graphql-e2e-tests/tests/objects/staked_iota.move index 2842f24178d..78ffdc2c968 100644 --- a/crates/iota-graphql-e2e-tests/tests/objects/staked_iota.move +++ b/crates/iota-graphql-e2e-tests/tests/objects/staked_iota.move @@ -2,10 +2,10 @@ // Modifications Copyright (c) 2024 IOTA Stiftung // SPDX-License-Identifier: Apache-2.0 -//# init --protocol-version 39 --simulator --accounts C +//# init --protocol-version 1 --simulator --accounts C //# run-graphql -{ # init --protocol-version 39ial query yields only the validator's stake +{ # Initial query yields only the validator's stake objects(filter: { type: "0x3::staking_pool::StakedIota" }) { edges { cursor diff --git a/crates/iota-graphql-e2e-tests/tests/owner/downcasts.move b/crates/iota-graphql-e2e-tests/tests/owner/downcasts.move index 7437830baa3..1213b5f0a0d 100644 --- a/crates/iota-graphql-e2e-tests/tests/owner/downcasts.move +++ b/crates/iota-graphql-e2e-tests/tests/owner/downcasts.move @@ -2,7 +2,7 @@ // Modifications Copyright (c) 2024 IOTA Stiftung // SPDX-License-Identifier: Apache-2.0 -//# init --protocol-version 39 --addresses P0=0x0 --accounts A --simulator +//# init --protocol-version 1 --addresses P0=0x0 --accounts A --simulator // Split off a gas coin, so we have an object to query //# programmable --sender A --inputs 1000 @A diff --git a/crates/iota-graphql-e2e-tests/tests/packages/friends.move b/crates/iota-graphql-e2e-tests/tests/packages/friends.move index 1df0d553b8a..93509631bf7 100644 --- a/crates/iota-graphql-e2e-tests/tests/packages/friends.move +++ b/crates/iota-graphql-e2e-tests/tests/packages/friends.move @@ -2,7 +2,7 @@ // Modifications Copyright (c) 2024 IOTA Stiftung // SPDX-License-Identifier: Apache-2.0 -//# init --protocol-version 39 --addresses P0=0x0 P1=0x0 --accounts A --simulator +//# init --protocol-version 1 --addresses P0=0x0 P1=0x0 --accounts A --simulator //# publish --upgradeable --sender A diff --git a/crates/iota-graphql-e2e-tests/tests/packages/functions.move b/crates/iota-graphql-e2e-tests/tests/packages/functions.move index 147a0f8a1bf..2e53b9eee3f 100644 --- a/crates/iota-graphql-e2e-tests/tests/packages/functions.move +++ b/crates/iota-graphql-e2e-tests/tests/packages/functions.move @@ -2,7 +2,7 @@ // Modifications Copyright (c) 2024 IOTA Stiftung // SPDX-License-Identifier: Apache-2.0 -//# init --protocol-version 39 --addresses P0=0x0 P1=0x0 --accounts A --simulator +//# init --protocol-version 1 --addresses P0=0x0 P1=0x0 --accounts A --simulator //# run-graphql diff --git a/crates/iota-graphql-e2e-tests/tests/packages/modules.move b/crates/iota-graphql-e2e-tests/tests/packages/modules.move index aa79ec80b3f..5d060390370 100644 --- a/crates/iota-graphql-e2e-tests/tests/packages/modules.move +++ b/crates/iota-graphql-e2e-tests/tests/packages/modules.move @@ -2,7 +2,7 @@ // Modifications Copyright (c) 2024 IOTA Stiftung // SPDX-License-Identifier: Apache-2.0 -//# init --protocol-version 39 --addresses pkg=0x0 --simulator +//# init --protocol-version 1 --addresses pkg=0x0 --simulator //# publish diff --git a/crates/iota-graphql-e2e-tests/tests/packages/structs.move b/crates/iota-graphql-e2e-tests/tests/packages/structs.move index 6b43d3ab107..2ecd290de93 100644 --- a/crates/iota-graphql-e2e-tests/tests/packages/structs.move +++ b/crates/iota-graphql-e2e-tests/tests/packages/structs.move @@ -2,7 +2,7 @@ // Modifications Copyright (c) 2024 IOTA Stiftung // SPDX-License-Identifier: Apache-2.0 -//# init --protocol-version 39 --addresses P0=0x0 P1=0x0 --accounts A --simulator +//# init --protocol-version 1 --addresses P0=0x0 P1=0x0 --accounts A --simulator //# run-graphql diff --git a/crates/iota-graphql-e2e-tests/tests/packages/types.move b/crates/iota-graphql-e2e-tests/tests/packages/types.move index ca434bf0dbb..654aeba5954 100644 --- a/crates/iota-graphql-e2e-tests/tests/packages/types.move +++ b/crates/iota-graphql-e2e-tests/tests/packages/types.move @@ -2,7 +2,7 @@ // Modifications Copyright (c) 2024 IOTA Stiftung // SPDX-License-Identifier: Apache-2.0 -//# init --protocol-version 39 --addresses P0=0x0 --simulator +//# init --protocol-version 1 --addresses P0=0x0 --simulator //# run-graphql # Happy path -- valid type, get everything diff --git a/crates/iota-graphql-e2e-tests/tests/transaction_block_effects/balance_changes.move b/crates/iota-graphql-e2e-tests/tests/transaction_block_effects/balance_changes.move index 4d907d32482..1b4157401ca 100644 --- a/crates/iota-graphql-e2e-tests/tests/transaction_block_effects/balance_changes.move +++ b/crates/iota-graphql-e2e-tests/tests/transaction_block_effects/balance_changes.move @@ -2,7 +2,7 @@ // Modifications Copyright (c) 2024 IOTA Stiftung // SPDX-License-Identifier: Apache-2.0 -//# init --protocol-version 39 --simulator --accounts C O P Q R S +//# init --protocol-version 1 --simulator --accounts C O P Q R S //# programmable --sender C --inputs @C 1000 2000 3000 4000 5000 //> SplitCoins(Gas, [Input(1), Input(2), Input(3), Input(4), Input(5)]); diff --git a/crates/iota-graphql-e2e-tests/tests/transaction_block_effects/dependencies.move b/crates/iota-graphql-e2e-tests/tests/transaction_block_effects/dependencies.move index cbc34ac1458..2c880894ee6 100644 --- a/crates/iota-graphql-e2e-tests/tests/transaction_block_effects/dependencies.move +++ b/crates/iota-graphql-e2e-tests/tests/transaction_block_effects/dependencies.move @@ -2,7 +2,7 @@ // Modifications Copyright (c) 2024 IOTA Stiftung // SPDX-License-Identifier: Apache-2.0 -//# init --protocol-version 39 --addresses Test=0x0 --accounts A --simulator +//# init --protocol-version 1 --addresses Test=0x0 --accounts A --simulator //# publish module Test::M1 { diff --git a/crates/iota-graphql-e2e-tests/tests/transaction_block_effects/events.move b/crates/iota-graphql-e2e-tests/tests/transaction_block_effects/events.move index 261b57fb563..3561024bf53 100644 --- a/crates/iota-graphql-e2e-tests/tests/transaction_block_effects/events.move +++ b/crates/iota-graphql-e2e-tests/tests/transaction_block_effects/events.move @@ -2,7 +2,7 @@ // Modifications Copyright (c) 2024 IOTA Stiftung // SPDX-License-Identifier: Apache-2.0 -//# init --protocol-version 39 --addresses Test=0x0 --accounts A --simulator +//# init --protocol-version 1 --addresses Test=0x0 --accounts A --simulator //# publish module Test::M1 { diff --git a/crates/iota-graphql-e2e-tests/tests/transaction_block_effects/object_changes.move b/crates/iota-graphql-e2e-tests/tests/transaction_block_effects/object_changes.move index 46c282b27e5..fb1adec95d0 100644 --- a/crates/iota-graphql-e2e-tests/tests/transaction_block_effects/object_changes.move +++ b/crates/iota-graphql-e2e-tests/tests/transaction_block_effects/object_changes.move @@ -2,7 +2,7 @@ // Modifications Copyright (c) 2024 IOTA Stiftung // SPDX-License-Identifier: Apache-2.0 -//# init --protocol-version 39 --addresses Test=0x0 A=0x42 --simulator --custom-validator-account --reference-gas-price 234 --default-gas-price 1000 +//# init --protocol-version 1 --addresses Test=0x0 A=0x42 --simulator --custom-validator-account --reference-gas-price 234 --default-gas-price 1000 //# publish module Test::M1 { diff --git a/crates/iota-graphql-e2e-tests/tests/transactions/errors.move b/crates/iota-graphql-e2e-tests/tests/transactions/errors.move index fe92feac9fb..af45de174f4 100644 --- a/crates/iota-graphql-e2e-tests/tests/transactions/errors.move +++ b/crates/iota-graphql-e2e-tests/tests/transactions/errors.move @@ -2,7 +2,7 @@ // Modifications Copyright (c) 2024 IOTA Stiftung // SPDX-License-Identifier: Apache-2.0 -//# init --protocol-version 39 --addresses P0=0x0 --simulator +//# init --protocol-version 1 --addresses P0=0x0 --simulator //# publish diff --git a/crates/iota-graphql-e2e-tests/tests/transactions/programmable.move b/crates/iota-graphql-e2e-tests/tests/transactions/programmable.move index 51b2a1afbc3..025f9e78a9a 100644 --- a/crates/iota-graphql-e2e-tests/tests/transactions/programmable.move +++ b/crates/iota-graphql-e2e-tests/tests/transactions/programmable.move @@ -2,7 +2,7 @@ // Modifications Copyright (c) 2024 IOTA Stiftung // SPDX-License-Identifier: Apache-2.0 -//# init --protocol-version 39 --addresses P0=0x0 P1=0x0 --accounts A --simulator +//# init --protocol-version 1 --addresses P0=0x0 P1=0x0 --accounts A --simulator //# publish --upgradeable --sender A module P0::m { diff --git a/crates/iota-graphql-e2e-tests/tests/transactions/random.move b/crates/iota-graphql-e2e-tests/tests/transactions/random.move index daa789ceda8..7fa317668c1 100644 --- a/crates/iota-graphql-e2e-tests/tests/transactions/random.move +++ b/crates/iota-graphql-e2e-tests/tests/transactions/random.move @@ -2,7 +2,7 @@ // Modifications Copyright (c) 2024 IOTA Stiftung // SPDX-License-Identifier: Apache-2.0 -//# init --protocol-version 39 --simulator +//# init --protocol-version 1 --simulator //# create-checkpoint diff --git a/crates/iota-graphql-e2e-tests/tests/transactions/shared.move b/crates/iota-graphql-e2e-tests/tests/transactions/shared.move index 324c662b0a6..ccccc98a607 100644 --- a/crates/iota-graphql-e2e-tests/tests/transactions/shared.move +++ b/crates/iota-graphql-e2e-tests/tests/transactions/shared.move @@ -2,7 +2,7 @@ // Modifications Copyright (c) 2024 IOTA Stiftung // SPDX-License-Identifier: Apache-2.0 -//# init --protocol-version 39 --addresses P0=0x0 --simulator +//# init --protocol-version 1 --addresses P0=0x0 --simulator //# publish module P0::m { diff --git a/crates/iota-graphql-e2e-tests/tests/transactions/system.move b/crates/iota-graphql-e2e-tests/tests/transactions/system.move index 953882bf3c7..a3b4ee10b3e 100644 --- a/crates/iota-graphql-e2e-tests/tests/transactions/system.move +++ b/crates/iota-graphql-e2e-tests/tests/transactions/system.move @@ -2,7 +2,7 @@ // Modifications Copyright (c) 2024 IOTA Stiftung // SPDX-License-Identifier: Apache-2.0 -//# init --protocol-version 39 --simulator +//# init --protocol-version 1 --simulator // Tests for representations of all the various system transactions diff --git a/crates/iota-graphql-e2e-tests/tests/validator/validator.move b/crates/iota-graphql-e2e-tests/tests/validator/validator.move index 82b91af20b4..7855e8471f7 100644 --- a/crates/iota-graphql-e2e-tests/tests/validator/validator.move +++ b/crates/iota-graphql-e2e-tests/tests/validator/validator.move @@ -4,7 +4,7 @@ // Test the change of APY with heavy transactions -//# init --protocol-version 39 --simulator --accounts A --addresses P0=0x0 +//# init --protocol-version 1 --simulator --accounts A --addresses P0=0x0 //# advance-epoch diff --git a/crates/iota-replay/tests/regression_replay.rs b/crates/iota-replay/tests/regression_replay.rs index 481f5d4194d..e5b915a5a3a 100644 --- a/crates/iota-replay/tests/regression_replay.rs +++ b/crates/iota-replay/tests/regression_replay.rs @@ -7,6 +7,7 @@ use std::path::PathBuf; use iota_replay::{execute_replay_command, ReplayToolCommand}; #[tokio::test] +#[ignore = "sandbox snapshots are invalidated by rename"] async fn replay_sandboxes() { let mut path = PathBuf::from(env!("CARGO_MANIFEST_DIR")); path.push("tests/sandbox_snapshots");