Skip to content

Commit 19c62d5

Browse files
cyberphysic4lmiker83z
authored andcommitted
iota-adapter-transactional-tests changes (#5283)
Co-authored-by: Mirko Zichichi <[email protected]>
1 parent f5b4a6c commit 19c62d5

File tree

11 files changed

+30
-30
lines changed

11 files changed

+30
-30
lines changed

crates/iota-adapter-transactional-tests/tests/dev_inspect/load_old_object.exp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,14 @@ task 6, lines 47-48:
5353
//# programmable --sender A --inputs object(2,0)@2 0 --dev-inspect
5454
//> test::m::check(Input(0), Input(1))
5555
mutated: object(_), object(2,0)
56-
gas summary: computation_cost: 500000, computation_cost_burned: 500000, storage_cost: 2242000, storage_rebate: 1261600, non_refundable_storage_fee: 0
56+
gas summary: computation_cost: 1000000, computation_cost_burned: 1000000, storage_cost: 2242000, storage_rebate: 1261600, non_refundable_storage_fee: 0
5757

5858
task 7, lines 50-54:
5959
//# programmable --sender A --inputs object(2,0)@3 112 --dev-inspect
6060
//> test::m::check(Input(0), Input(1))
6161
// dev-inspect with 'check' and _incorrect_ values
6262
mutated: object(_), object(2,0)
63-
gas summary: computation_cost: 500000, computation_cost_burned: 500000, storage_cost: 2242000, storage_rebate: 1261600, non_refundable_storage_fee: 0
63+
gas summary: computation_cost: 1000000, computation_cost_burned: 1000000, storage_cost: 2242000, storage_rebate: 1261600, non_refundable_storage_fee: 0
6464

6565
task 8, lines 56-57:
6666
//# programmable --sender A --inputs object(2,0)@2 112 --dev-inspect

crates/iota-adapter-transactional-tests/tests/mvcc/child_of_child.exp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,20 +73,20 @@ task 8, lines 88-89:
7373
//# programmable --sender A --inputs object(2,3)@2 0 0 vector[0] --dev-inspect
7474
//> test::m::check(Input(0), Input(1), Input(2), Input(3))
7575
mutated: object(_), object(2,3)
76-
gas summary: computation_cost: 500000, computation_cost_burned: 500000, storage_cost: 2257200, storage_rebate: 1276800, non_refundable_storage_fee: 0
76+
gas summary: computation_cost: 1000000, computation_cost_burned: 1000000, storage_cost: 2257200, storage_rebate: 1276800, non_refundable_storage_fee: 0
7777

7878
task 9, lines 91-92:
7979
//# programmable --sender A --inputs object(2,3)@3 1 2 vector[3] --dev-inspect
8080
//> test::m::check(Input(0), Input(1), Input(2), Input(3))
8181
mutated: object(_), object(2,3)
82-
gas summary: computation_cost: 500000, computation_cost_burned: 500000, storage_cost: 2257200, storage_rebate: 1276800, non_refundable_storage_fee: 0
82+
gas summary: computation_cost: 1000000, computation_cost_burned: 1000000, storage_cost: 2257200, storage_rebate: 1276800, non_refundable_storage_fee: 0
8383

8484
task 10, lines 94-98:
8585
//# programmable --sender A --inputs object(2,3)@4 1 2 vector[] --dev-inspect
8686
//> test::m::check(Input(0), Input(1), Input(2), Input(3))
8787
// dev-inspect with 'check' and _incorrect_ values
8888
mutated: object(_), object(2,3)
89-
gas summary: computation_cost: 500000, computation_cost_burned: 500000, storage_cost: 2257200, storage_rebate: 1276800, non_refundable_storage_fee: 0
89+
gas summary: computation_cost: 1000000, computation_cost_burned: 1000000, storage_cost: 2257200, storage_rebate: 1276800, non_refundable_storage_fee: 0
9090

9191
task 11, lines 100-101:
9292
//# programmable --sender A --inputs object(2,3)@3 0 0 vector[0] --dev-inspect

crates/iota-adapter-transactional-tests/tests/mvcc/find_all_uids.exp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -199,20 +199,20 @@ task 8, lines 139-140:
199199
//# programmable --sender A --inputs object(2,8)@2 vector[0] --dev-inspect
200200
//> test::m::check(Input(0), Input(1))
201201
mutated: object(_), object(2,8)
202-
gas summary: computation_cost: 500000, computation_cost_burned: 500000, storage_cost: 3891200, storage_rebate: 2910800, non_refundable_storage_fee: 0
202+
gas summary: computation_cost: 1000000, computation_cost_burned: 1000000, storage_cost: 3891200, storage_rebate: 2910800, non_refundable_storage_fee: 0
203203

204204
task 9, lines 142-143:
205205
//# programmable --sender A --inputs object(2,8)@3 vector[112] --dev-inspect
206206
//> test::m::check(Input(0), Input(1))
207207
mutated: object(_), object(2,8)
208-
gas summary: computation_cost: 500000, computation_cost_burned: 500000, storage_cost: 3891200, storage_rebate: 2910800, non_refundable_storage_fee: 0
208+
gas summary: computation_cost: 1000000, computation_cost_burned: 1000000, storage_cost: 3891200, storage_rebate: 2910800, non_refundable_storage_fee: 0
209209

210210
task 10, lines 145-149:
211211
//# programmable --sender A --inputs object(2,8)@4 vector[] --dev-inspect
212212
//> test::m::check(Input(0), Input(1))
213213
// dev-inspect with 'check' and _incorrect_ values
214214
mutated: object(_), object(2,8)
215-
gas summary: computation_cost: 500000, computation_cost_burned: 500000, storage_cost: 3891200, storage_rebate: 2910800, non_refundable_storage_fee: 0
215+
gas summary: computation_cost: 1000000, computation_cost_burned: 1000000, storage_cost: 3891200, storage_rebate: 2910800, non_refundable_storage_fee: 0
216216

217217
task 11, lines 151-152:
218218
//# programmable --sender A --inputs object(2,8)@3 vector[0] --dev-inspect

crates/iota-adapter-transactional-tests/tests/mvcc/find_all_uids_dof.exp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -199,20 +199,20 @@ task 8, lines 152-153:
199199
//# programmable --sender A --inputs object(2,8)@2 vector[0] --dev-inspect
200200
//> test::m::check(Input(0), Input(1))
201201
mutated: object(_), object(2,8)
202-
gas summary: computation_cost: 500000, computation_cost_burned: 500000, storage_cost: 3891200, storage_rebate: 2910800, non_refundable_storage_fee: 0
202+
gas summary: computation_cost: 1000000, computation_cost_burned: 1000000, storage_cost: 3891200, storage_rebate: 2910800, non_refundable_storage_fee: 0
203203

204204
task 9, lines 155-156:
205205
//# programmable --sender A --inputs object(2,8)@3 vector[112] --dev-inspect
206206
//> test::m::check(Input(0), Input(1))
207207
mutated: object(_), object(2,8)
208-
gas summary: computation_cost: 500000, computation_cost_burned: 500000, storage_cost: 3891200, storage_rebate: 2910800, non_refundable_storage_fee: 0
208+
gas summary: computation_cost: 1000000, computation_cost_burned: 1000000, storage_cost: 3891200, storage_rebate: 2910800, non_refundable_storage_fee: 0
209209

210210
task 10, lines 158-162:
211211
//# programmable --sender A --inputs object(2,8)@4 vector[] --dev-inspect
212212
//> test::m::check(Input(0), Input(1))
213213
// dev-inspect with 'check' and _incorrect_ values
214214
mutated: object(_), object(2,8)
215-
gas summary: computation_cost: 500000, computation_cost_burned: 500000, storage_cost: 3891200, storage_rebate: 2910800, non_refundable_storage_fee: 0
215+
gas summary: computation_cost: 1000000, computation_cost_burned: 1000000, storage_cost: 3891200, storage_rebate: 2910800, non_refundable_storage_fee: 0
216216

217217
task 11, lines 164-165:
218218
//# programmable --sender A --inputs object(2,8)@3 vector[0] --dev-inspect

crates/iota-adapter-transactional-tests/tests/mvcc/find_all_uids_dof_enum.exp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -247,21 +247,21 @@ task 8, lines 188-189:
247247
//# programmable --sender A --inputs object(2,8)@2 vector[0] --dev-inspect
248248
//> test::m::check(Input(0), Input(1))
249249
mutated: object(_), object(2,8)
250-
gas summary: computation_cost: 500000, computation_cost_burned: 500000, storage_cost: 3952000, storage_rebate: 2971600, non_refundable_storage_fee: 0
250+
gas summary: computation_cost: 1000000, computation_cost_burned: 1000000, storage_cost: 3952000, storage_rebate: 2971600, non_refundable_storage_fee: 0
251251

252252
task 9, lines 191-192:
253253
//# programmable --sender A --inputs object(2,8)@3 vector[112] --dev-inspect
254254
//> test::m::check(Input(0), Input(1))
255255
mutated: object(_), object(2,8)
256-
gas summary: computation_cost: 500000, computation_cost_burned: 500000, storage_cost: 3952000, storage_rebate: 2971600, non_refundable_storage_fee: 0
256+
gas summary: computation_cost: 1000000, computation_cost_burned: 1000000, storage_cost: 3952000, storage_rebate: 2971600, non_refundable_storage_fee: 0
257257

258258
task 10, lines 194-199:
259259
//# programmable --sender A --inputs object(2,8)@4 vector[] --dev-inspect
260260
//> test::m::check(Input(0), Input(1))
261261
// dev-inspect with 'check' and _incorrect_ values
262262
// Should fail since the field exists but with a different field.
263263
mutated: object(_), object(2,8)
264-
gas summary: computation_cost: 500000, computation_cost_burned: 500000, storage_cost: 3952000, storage_rebate: 2971600, non_refundable_storage_fee: 0
264+
gas summary: computation_cost: 1000000, computation_cost_burned: 1000000, storage_cost: 3952000, storage_rebate: 2971600, non_refundable_storage_fee: 0
265265

266266
task 11, lines 200-203:
267267
//# programmable --sender A --inputs object(2,8)@3 vector[0] --dev-inspect

crates/iota-adapter-transactional-tests/tests/mvcc/find_all_uids_enums.exp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -223,21 +223,21 @@ task 8, lines 155-156:
223223
//# programmable --sender A --inputs object(2,8)@2 vector[0] --dev-inspect
224224
//> test::m::check(Input(0), Input(1))
225225
mutated: object(_), object(2,8)
226-
gas summary: computation_cost: 500000, computation_cost_burned: 500000, storage_cost: 3921600, storage_rebate: 2941200, non_refundable_storage_fee: 0
226+
gas summary: computation_cost: 1000000, computation_cost_burned: 1000000, storage_cost: 3921600, storage_rebate: 2941200, non_refundable_storage_fee: 0
227227

228228
task 9, lines 158-159:
229229
//# programmable --sender A --inputs object(2,8)@3 vector[112] --dev-inspect
230230
//> test::m::check(Input(0), Input(1))
231231
mutated: object(_), object(2,8)
232-
gas summary: computation_cost: 500000, computation_cost_burned: 500000, storage_cost: 3921600, storage_rebate: 2941200, non_refundable_storage_fee: 0
232+
gas summary: computation_cost: 1000000, computation_cost_burned: 1000000, storage_cost: 3921600, storage_rebate: 2941200, non_refundable_storage_fee: 0
233233

234234
task 10, lines 161-166:
235235
//# programmable --sender A --inputs object(2,8)@4 vector[] --dev-inspect
236236
//> test::m::check(Input(0), Input(1))
237237
// dev-inspect with 'check' and _incorrect_ values
238238
// Should fail since the field exists but with a different field.
239239
mutated: object(_), object(2,8)
240-
gas summary: computation_cost: 500000, computation_cost_burned: 500000, storage_cost: 3921600, storage_rebate: 2941200, non_refundable_storage_fee: 0
240+
gas summary: computation_cost: 1000000, computation_cost_burned: 1000000, storage_cost: 3921600, storage_rebate: 2941200, non_refundable_storage_fee: 0
241241

242242
task 11, lines 167-170:
243243
//# programmable --sender A --inputs object(2,8)@3 vector[0] --dev-inspect

crates/iota-adapter-transactional-tests/tests/mvcc/find_all_uids_on_child.exp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,20 +70,20 @@ task 8, lines 162-163:
7070
//# programmable --sender A --inputs object(2,9)@2 vector[0] --dev-inspect
7171
//> test::m::check(Input(0), Input(1))
7272
mutated: object(_), object(2,9)
73-
gas summary: computation_cost: 500000, computation_cost_burned: 500000, storage_cost: 2219200, storage_rebate: 1238800, non_refundable_storage_fee: 0
73+
gas summary: computation_cost: 1000000, computation_cost_burned: 1000000, storage_cost: 2219200, storage_rebate: 1238800, non_refundable_storage_fee: 0
7474

7575
task 9, lines 165-166:
7676
//# programmable --sender A --inputs object(2,9)@3 vector[112] --dev-inspect
7777
//> test::m::check(Input(0), Input(1))
7878
mutated: object(_), object(2,9)
79-
gas summary: computation_cost: 500000, computation_cost_burned: 500000, storage_cost: 2219200, storage_rebate: 1238800, non_refundable_storage_fee: 0
79+
gas summary: computation_cost: 1000000, computation_cost_burned: 1000000, storage_cost: 2219200, storage_rebate: 1238800, non_refundable_storage_fee: 0
8080

8181
task 10, lines 168-172:
8282
//# programmable --sender A --inputs object(2,9)@4 vector[] --dev-inspect
8383
//> test::m::check(Input(0), Input(1))
8484
// dev-inspect with 'check' and _incorrect_ values
8585
mutated: object(_), object(2,9)
86-
gas summary: computation_cost: 500000, computation_cost_burned: 500000, storage_cost: 2219200, storage_rebate: 1238800, non_refundable_storage_fee: 0
86+
gas summary: computation_cost: 1000000, computation_cost_burned: 1000000, storage_cost: 2219200, storage_rebate: 1238800, non_refundable_storage_fee: 0
8787

8888
task 11, lines 174-175:
8989
//# programmable --sender A --inputs object(2,9)@3 vector[0] --dev-inspect

crates/iota-adapter-transactional-tests/tests/mvcc/find_all_uids_on_child_enum.exp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,21 +70,21 @@ task 8, lines 241-242:
7070
//# programmable --sender A --inputs object(2,9)@2 vector[0] --dev-inspect
7171
//> test::m::check(Input(0), Input(1))
7272
mutated: object(_), object(2,9)
73-
gas summary: computation_cost: 500000, computation_cost_burned: 500000, storage_cost: 2219200, storage_rebate: 1238800, non_refundable_storage_fee: 0
73+
gas summary: computation_cost: 1000000, computation_cost_burned: 1000000, storage_cost: 2219200, storage_rebate: 1238800, non_refundable_storage_fee: 0
7474

7575
task 9, lines 244-245:
7676
//# programmable --sender A --inputs object(2,9)@3 vector[112] --dev-inspect
7777
//> test::m::check(Input(0), Input(1))
7878
mutated: object(_), object(2,9)
79-
gas summary: computation_cost: 500000, computation_cost_burned: 500000, storage_cost: 2219200, storage_rebate: 1238800, non_refundable_storage_fee: 0
79+
gas summary: computation_cost: 1000000, computation_cost_burned: 1000000, storage_cost: 2219200, storage_rebate: 1238800, non_refundable_storage_fee: 0
8080

8181
task 10, lines 247-252:
8282
//# programmable --sender A --inputs object(2,9)@4 vector[] --dev-inspect
8383
//> test::m::check(Input(0), Input(1))
8484
// dev-inspect with 'check' and _incorrect_ values
8585
// Should fail since the field exists but with a different field.
8686
mutated: object(_), object(2,9)
87-
gas summary: computation_cost: 500000, computation_cost_burned: 500000, storage_cost: 2219200, storage_rebate: 1238800, non_refundable_storage_fee: 0
87+
gas summary: computation_cost: 1000000, computation_cost_burned: 1000000, storage_cost: 2219200, storage_rebate: 1238800, non_refundable_storage_fee: 0
8888

8989
task 11, lines 253-256:
9090
//# programmable --sender A --inputs object(2,9)@3 vector[0] --dev-inspect

crates/iota-adapter-transactional-tests/tests/mvcc/not_root_version.exp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ task 10, lines 86-91:
9292
created: object(10,0)
9393
mutated: object(_), object(2,0)
9494
wrapped: object(6,1)
95-
gas summary: computation_cost: 500000, computation_cost_burned: 500000, storage_cost: 4104000, storage_rebate: 2401600, non_refundable_storage_fee: 0
95+
gas summary: computation_cost: 1000000, computation_cost_burned: 1000000, storage_cost: 4104000, storage_rebate: 2401600, non_refundable_storage_fee: 0
9696

9797
task 11, lines 93-97:
9898
//# programmable --sender P2 --inputs object(2,0)@4 object(6,1)@3 1 --dev-inspect
@@ -102,7 +102,7 @@ task 11, lines 93-97:
102102
created: object(10,0)
103103
mutated: object(_), object(2,0)
104104
wrapped: object(6,1)
105-
gas summary: computation_cost: 500000, computation_cost_burned: 500000, storage_cost: 4104000, storage_rebate: 2401600, non_refundable_storage_fee: 0
105+
gas summary: computation_cost: 1000000, computation_cost_burned: 1000000, storage_cost: 4104000, storage_rebate: 2401600, non_refundable_storage_fee: 0
106106

107107
task 12, lines 99-103:
108108
//# programmable --sender P2 --inputs object(2,0)@4 object(6,1)@2 1 --dev-inspect

crates/iota-adapter-transactional-tests/tests/mvcc/not_root_version_flipped_case.exp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ task 8, lines 80-85:
8080
created: object(8,0)
8181
mutated: object(_), object(2,0)
8282
wrapped: object(4,1)
83-
gas summary: computation_cost: 500000, computation_cost_burned: 500000, storage_cost: 4104000, storage_rebate: 2401600, non_refundable_storage_fee: 0
83+
gas summary: computation_cost: 1000000, computation_cost_burned: 1000000, storage_cost: 4104000, storage_rebate: 2401600, non_refundable_storage_fee: 0
8484

8585
task 9, lines 87-91:
8686
//# programmable --sender P2 --inputs object(2,0)@2 object(4,1)@2 0 --dev-inspect
@@ -90,7 +90,7 @@ task 9, lines 87-91:
9090
created: object(8,0)
9191
mutated: object(_), object(2,0)
9292
wrapped: object(4,1)
93-
gas summary: computation_cost: 500000, computation_cost_burned: 500000, storage_cost: 4104000, storage_rebate: 2401600, non_refundable_storage_fee: 0
93+
gas summary: computation_cost: 1000000, computation_cost_burned: 1000000, storage_cost: 4104000, storage_rebate: 2401600, non_refundable_storage_fee: 0
9494

9595
task 10, lines 93-97:
9696
//# programmable --sender P2 --inputs object(2,0)@2 object(4,1)@2 1 --dev-inspect

0 commit comments

Comments
 (0)