Skip to content

Commit

Permalink
[8/n][vm-rewrite][sui] Update transactional test outputs for some tests
Browse files Browse the repository at this point in the history
This updates some transactional test outputs where the changes made
sense. There are still some remaining failures after this as I did not
want to update them as they are changes that should be investigated
further.
  • Loading branch information
tzakian committed Feb 4, 2025
1 parent 6942570 commit dc18343
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ gas summary: computation_cost: 1000000, storage_cost: 5859600, storage_rebate:

task 10, line 73:
//# run test::m::remove_and_add --sender A --args object(7,0) 1
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
mutated: object(0,0), object(7,0)
gas summary: computation_cost: 1000000, storage_cost: 2196400, storage_rebate: 2174436, non_refundable_storage_fee: 21964

task 11, lines 75-79:
//# view-object 7,0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ gas summary: computation_cost: 1000000, storage_cost: 12190400, storage_rebate:

task 4, lines 51-53:
//# run sui::coin::deny_list_v2_add --args object(0x403) object(1,3) @B --type-args test::regulated_coin::REGULATED_COIN --sender A
mutated: 0x0000000000000000000000000000000000000000000000000000000000000403, object(0,0), object(1,3), object(3,1)
gas summary: computation_cost: 1000000, storage_cost: 6862800, storage_rebate: 6794172, non_refundable_storage_fee: 68628
mutated: 0x0000000000000000000000000000000000000000000000000000000000000403, object(0,0), object(1,3)
gas summary: computation_cost: 1000000, storage_cost: 4400400, storage_rebate: 4356396, non_refundable_storage_fee: 44004

task 5, lines 54-56:
//# run test::regulated_coin::assert_address_deny_status --args immshared(0x403) @B true --sender A
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ gas summary: computation_cost: 1000000, storage_cost: 3876000, storage_rebate:

task 2, line 17:
//# run test::m::foo --type-args test::x::x
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) } }
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 3, line 19:
//# run test::m::foo --type-args test::m::SUI
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ task 4, lines 23-26:
// function doesn't exist
//> sui::event::does_not_exist<test::m1::A>(Result(0));
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 sui::event"), command: Some(1) } }
Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: FunctionNotFound, source: Some("Could not resolve function 'does_not_exist' in module 'sui::event'"), command: Some(1) } }
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { k
task 5, line 38:
//# run test::m::vector_
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) } }
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: Some("Vector index out of bounds"), exec_state: None, location: Module(ModuleId { address: test, name: Identifier("m") }), indices: [], offsets: [(FunctionDefinitionIndex(3), 4)] }), command: Some(0) } }
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ Error: Error checking transaction input objects: DependentPackageNotFound { pack
task 3, line 19:
//# run Test::M::foo
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) } }
Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: FunctionNotFound, source: Some("Could not resolve function 'foo' in module 'Test::M'"), command: Some(0) } }
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { k

task 19, lines 122-128:
//# upgrade --package Test_V3 --upgrade-capability 6,1 --dependencies Test_DepV2 --sender A
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) } }
Error: Transaction Effects Status: A valid linkage was unable to be determined for the transaction
Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: InvalidLinkage, source: Some("Failed to link command 1: VMError with status MISSING_DEPENDENCY at location UNDEFINED"), command: Some(1) } }

task 20, lines 130-134:
//# upgrade --package Test_V3 --upgrade-capability 6,1 --dependencies Test_DepV2 Test_DepDepV1 --sender A
Expand Down

0 comments on commit dc18343

Please sign in to comment.