Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tzakian committed Jul 10, 2024
1 parent a5bab59 commit b808040
Show file tree
Hide file tree
Showing 369 changed files with 3,218 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/sui-adapter-transactional-tests/tests/call/simple.exp
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
processed 4 tasks

task 1 'publish'. lines 6-25:
//# publish
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:
//# run Test::M1::create --args 0 @A
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:
//# view-object 2,0
Owner: Account Address ( A )
Version: 3
Contents: Test::M1::Object {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,19 @@ init:
A: object(0,0), B: object(0,1)

task 1 'publish'. lines 9-51:
//# publish
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:
//# run test::m::mint --sender A
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:
//# view-object 2,0
Owner: Account Address ( A )
Version: 2
Contents: test::m::S {
Expand All @@ -25,16 +28,19 @@ Contents: test::m::S {
}

task 4 'run'. lines 57-57:
//# run test::m::add --sender A --args object(2,0) 1
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:
//# run test::m::remove --sender A --args object(2,0) 1
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:
//# view-object 2,0
Owner: Account Address ( A )
Version: 4
Contents: test::m::S {
Expand All @@ -46,11 +52,13 @@ Contents: test::m::S {
}

task 7 'run'. lines 67-67:
//# run test::m::mint --sender A
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:
//# view-object 7,0
Owner: Account Address ( A )
Version: 5
Contents: test::m::S {
Expand All @@ -62,15 +70,18 @@ Contents: test::m::S {
}

task 9 'run'. lines 71-71:
//# run test::m::add --sender A --args object(7,0) 1
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:
//# 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

task 11 'view-object'. lines 75-79:
//# view-object 7,0
Owner: Account Address ( A )
Version: 7
Contents: test::m::S {
Expand All @@ -82,11 +93,13 @@ Contents: test::m::S {
}

task 12 'run'. lines 81-81:
//# run test::m::mint --sender A
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:
//# view-object 12,0
Owner: Account Address ( A )
Version: 8
Contents: test::m::S {
Expand All @@ -98,17 +111,20 @@ Contents: test::m::S {
}

task 14 'run'. lines 85-85:
//# run test::m::add --sender A --args object(12,0) 1
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:
//# run test::m::remove_and_wrap --sender A --args object(12,0) 1
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:
//# view-object 12,0
Owner: Account Address ( A )
Version: 10
Contents: test::m::S {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,25 @@ init:
A: object(0,0), B: object(0,1)

task 1 'publish'. lines 9-37:
//# publish
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:
//# run test::m::mint --sender A
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:
//# run test::m::add --sender A --args object(2,0) 0
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:
//# view-object 2,0
Owner: Account Address ( A )
Version: 3
Contents: test::m::S {
Expand All @@ -30,6 +34,7 @@ Contents: test::m::S {
}

task 5 'run'. lines 45-45:
//# run test::m::wrap --sender A --args object(2,0)
created: object(5,0)
mutated: object(0,0)
wrapped: object(2,0)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ init:
A: object(0,0), B: object(0,1)

task 1 'publish'. lines 9-31:
//# publish
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:
//# run test::m::test_wrap --sender A
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
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,25 @@ init:
A: object(0,0), B: object(0,1)

task 1 'publish'. lines 9-32:
//# publish
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:
//# run test::m::mint --sender A
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:
//# run test::m::add --sender A --args object(2,0) 0
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:
//# view-object 2,0
Owner: Account Address ( A )
Version: 3
Contents: test::m::S {
Expand All @@ -30,6 +34,7 @@ Contents: test::m::S {
}

task 5 'run'. lines 40-40:
//# run test::m::delete --sender A --args object(2,0)
mutated: object(0,0)
deleted: object(2,0)
gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 2174436, non_refundable_storage_fee: 21964
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,25 @@ init:
A: object(0,0), B: object(0,1)

task 1 'publish'. lines 9-57:
//# publish
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:
//# run test::m::mint --sender A
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:
//# run test::m::add --sender A --args object(2,0) 0
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:
//# view-object 2,0
Owner: Account Address ( A )
Version: 3
Contents: test::m::S {
Expand All @@ -30,11 +34,13 @@ Contents: test::m::S {
}

task 5 'run'. lines 64-64:
//# run test::m::remove --sender A --args object(2,0) 0
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:
//# run test::m::delete --sender A --args object(2,0)
mutated: object(0,0)
deleted: object(2,0)
gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 2174436, non_refundable_storage_fee: 21964
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,25 @@ init:
A: object(0,0), B: object(0,1)

task 1 'publish'. lines 10-69:
//# publish
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:
//# run test::m::mint --sender A
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:
//# run test::m::add --sender A --args object(2,0) 0
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:
//# view-object 2,0
Owner: Account Address ( A )
Version: 3
Contents: test::m::S {
Expand All @@ -30,6 +34,7 @@ Contents: test::m::S {
}

task 5 'run'. lines 77-77:
//# run test::m::remove_and_delete --sender A --args object(2,0) 0
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
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,25 @@ init:
A: object(0,0), B: object(0,1)

task 1 'publish'. lines 9-61:
//# publish
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:
//# run test::m::mint --sender A
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:
//# run test::m::add --sender A --args object(2,0) 0
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:
//# view-object 2,0
Owner: Account Address ( A )
Version: 3
Contents: test::m::S {
Expand All @@ -30,5 +34,6 @@ Contents: test::m::S {
}

task 5 'run'. lines 69-69:
//# run test::m::freeze_object --sender A --args object(2,0)
mutated: object(0,0), object(2,0)
gas summary: computation_cost: 1000000, storage_cost: 2196400, storage_rebate: 2174436, non_refundable_storage_fee: 21964
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,25 @@ init:
A: object(0,0), B: object(0,1)

task 1 'publish'. lines 9-61:
//# publish
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:
//# run test::m::mint --sender A
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:
//# run test::m::add --sender A --args object(2,0) 0
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:
//# view-object 2,0
Owner: Account Address ( A )
Version: 3
Contents: test::m::S {
Expand All @@ -30,10 +34,12 @@ Contents: test::m::S {
}

task 5 'run'. lines 69-69:
//# run test::m::remove --sender A --args object(2,0) 0
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:
//# run test::m::freeze_object --sender A --args object(2,0)
mutated: object(0,0), object(2,0)
gas summary: computation_cost: 1000000, storage_cost: 2196400, storage_rebate: 2174436, non_refundable_storage_fee: 21964
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,25 @@ init:
A: object(0,0), B: object(0,1)

task 1 'publish'. lines 10-64:
//# publish
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:
//# run test::m::mint --sender A
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:
//# run test::m::add --sender A --args object(2,0) 0
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:
//# view-object 2,0
Owner: Account Address ( A )
Version: 3
Contents: test::m::S {
Expand All @@ -30,6 +34,7 @@ Contents: test::m::S {
}

task 5 'run'. lines 72-72:
//# run test::m::remove_and_freeze --sender A --args object(2,0) 0
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
Loading

0 comments on commit b808040

Please sign in to comment.