diff --git a/crates/iota-adapter-transactional-tests/tests/init/entry_old.exp b/crates/iota-adapter-transactional-tests/tests/init/entry_old.exp index 9bc25b97c55..978e7597cd4 100644 --- a/crates/iota-adapter-transactional-tests/tests/init/entry_old.exp +++ b/crates/iota-adapter-transactional-tests/tests/init/entry_old.exp @@ -3,11 +3,12 @@ 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 +task 1 'publish'. lines 9-21: +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 'set-address'. lines 23-23: +Error: INVALID TEST. Unknown object, object(1,0) + +task 3 'run'. lines 25-40: +Error: Error checking transaction input objects: DependentPackageNotFound { package_id: 0x0000000000000000000000000000000000000000000000000000000000000000 } diff --git a/crates/iota-adapter-transactional-tests/tests/init/entry_old.mvir b/crates/iota-adapter-transactional-tests/tests/init/entry_old.mvir index 83a1f2fa8e9..d1b290935f6 100644 --- a/crates/iota-adapter-transactional-tests/tests/init/entry_old.mvir +++ b/crates/iota-adapter-transactional-tests/tests/init/entry_old.mvir @@ -4,7 +4,7 @@ // init with entry used to be allowed -//# init --addresses test=0x0 v2=0x0 --protocol-version 6 --accounts A +//# init --addresses test=0x0 v2=0x0 --protocol-version 1 --accounts A //# publish --sender A --upgradeable module 0x0.m { @@ -25,10 +25,10 @@ module 0x0.m { //# run test::m::init // TODO advance protocol version -// //# run test::m::init --protocol-version 7 +// //# run test::m::init --protocol-version 1 // // m still loads -// //# run test::m::foo --protocol-version 7 +// //# run test::m::foo --protocol-version 1 // //# upgrade --package test --sender A --upgrade-capability 1,1 // module v2::m { 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_transaction_examples/publish.exp b/crates/iota-adapter-transactional-tests/tests/programmable_transaction_examples/publish.exp index 85b21628748..abf1a30ed44 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 @@ -13,13 +13,13 @@ Error: Error checking transaction input objects: MoveObjectAsPackage { object_id task 7 'publish'. lines 43-48: Error: error[E03002]: unbound module - ┌─ ../../../../../../private/var/folders/dm/cn5mtnqn0g315ly6b9rxx0br0000gn/T/tmp.2cGGWwrMGg/.tmpoAxJIO:46:9 + ┌─ ../../../../../../private/var/folders/dm/cn5mtnqn0g315ly6b9rxx0br0000gn/T/tmp.O3fS5PUgjY/.tmpEihcmB:46:9 │ 46 │ p::m::foo(q::m::x()) │ ^^^^ Unbound module 'p::m' error[E03002]: unbound module - ┌─ ../../../../../../private/var/folders/dm/cn5mtnqn0g315ly6b9rxx0br0000gn/T/tmp.2cGGWwrMGg/.tmpoAxJIO:46:19 + ┌─ ../../../../../../private/var/folders/dm/cn5mtnqn0g315ly6b9rxx0br0000gn/T/tmp.O3fS5PUgjY/.tmpEihcmB:46:19 │ 46 │ p::m::foo(q::m::x()) │ ^^^^ Unbound module 'q::m' 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 index 6489d97a31a..96922c27f98 100644 --- 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 @@ -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: -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 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: -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) } } +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.move b/crates/iota-adapter-transactional-tests/tests/runtime_behavior/versioned_check_swap_loc_old.move index 36c78455324..b54c71b2842 100644 --- 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 @@ -4,7 +4,7 @@ // test old behavior of invariant violation -//# init --protocol-version 6 --addresses test=0x0 +//# init --protocol-version 1 --addresses test=0x0 //# publish module test::m { 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 index 5f0f7831895..3cc1ef40524 100644 --- 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 @@ -3,87 +3,85 @@ processed 18 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-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 13 'programmable'. lines 108-114: +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 14 'run'. lines 115-115: +task 14 'run'. lines 116-116: 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: +task 15 'view-object'. lines 118-118: 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: +task 16 'view-object'. lines 120-120: 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 +task 17 'programmable'. lines 122-126: +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) } } 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 index 8b98d77a354..5c2bd0ff6f7 100644 --- 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 @@ -5,7 +5,7 @@ // 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 +//# init --accounts A B --addresses test=0x0 --protocol-version 1 //# publish module test::m { 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..c3a0877d75d 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 +{ # init --protocol-version 1ial 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-verifier-transactional-tests/tests/private_generics/receive_without_key_version30.mvir b/crates/iota-verifier-transactional-tests/tests/private_generics/receive_without_key_version30.mvir index 79a514a3b5a..856b9b2eec4 100644 --- a/crates/iota-verifier-transactional-tests/tests/private_generics/receive_without_key_version30.mvir +++ b/crates/iota-verifier-transactional-tests/tests/private_generics/receive_without_key_version30.mvir @@ -1,4 +1,4 @@ -//# init --protocol-version 30 +//# init --protocol-version 1 //# publish module 0x0.m2 {