Skip to content

Commit

Permalink
fix(iota-graphql-e2e-tests): restore remaining tests (#3371)
Browse files Browse the repository at this point in the history
* fix(iota-graphql-e2e-tests): restore transaction_block_effects

* fix(iota-graphql-e2e-tests): restore packages

* fix(iota-graphql-e2e-tests): restore remaining tests

* refactor(iota-graphql-e2e-tests): add more event info in output_node_estimation

* refactor(iota-graphql-e2e-test): update comments and add more info in object/pagination
  • Loading branch information
kodemartin authored Oct 17, 2024
1 parent 26bbbb8 commit 1e2d440
Show file tree
Hide file tree
Showing 78 changed files with 3,317 additions and 3,150 deletions.
Original file line number Diff line number Diff line change
@@ -1,58 +1,58 @@
processed 5 tasks

task 1, lines 6-28:
task 1, lines 7-29:
//# run-graphql
Response: {
"data": {
"availableRange": {
"first": {
"digest": "ZQawQqeikA4pRqKnkcuHuMnGZuKJTSt3V3EVmMjG56k",
"digest": "GcGHt57Dv88A9dGFv8nQzyzqtw3MLhpw9kVj5QWBGCgL",
"sequenceNumber": 0
},
"last": {
"digest": "ZQawQqeikA4pRqKnkcuHuMnGZuKJTSt3V3EVmMjG56k",
"digest": "GcGHt57Dv88A9dGFv8nQzyzqtw3MLhpw9kVj5QWBGCgL",
"sequenceNumber": 0
}
},
"first": {
"digest": "ZQawQqeikA4pRqKnkcuHuMnGZuKJTSt3V3EVmMjG56k",
"digest": "GcGHt57Dv88A9dGFv8nQzyzqtw3MLhpw9kVj5QWBGCgL",
"sequenceNumber": 0
},
"last": {
"digest": "ZQawQqeikA4pRqKnkcuHuMnGZuKJTSt3V3EVmMjG56k",
"digest": "GcGHt57Dv88A9dGFv8nQzyzqtw3MLhpw9kVj5QWBGCgL",
"sequenceNumber": 0
}
}
}

task 2, line 30:
task 2, line 31:
//# create-checkpoint
Checkpoint created: 1

task 3, line 33:
task 3, line 34:
//# create-checkpoint
Checkpoint created: 2

task 4, lines 36-58:
task 4, lines 37-59:
//# run-graphql
Response: {
"data": {
"availableRange": {
"first": {
"digest": "ZQawQqeikA4pRqKnkcuHuMnGZuKJTSt3V3EVmMjG56k",
"digest": "GcGHt57Dv88A9dGFv8nQzyzqtw3MLhpw9kVj5QWBGCgL",
"sequenceNumber": 0
},
"last": {
"digest": "5GTvEftM57hVrNtNapMU73cE5Wj6mYFuzd9K644n1Zqs",
"digest": "HUT1xk3PAzFY7Zb6YfuDSUArPP543ENxYSYNLH4rmmAp",
"sequenceNumber": 2
}
},
"first": {
"digest": "ZQawQqeikA4pRqKnkcuHuMnGZuKJTSt3V3EVmMjG56k",
"digest": "GcGHt57Dv88A9dGFv8nQzyzqtw3MLhpw9kVj5QWBGCgL",
"sequenceNumber": 0
},
"last": {
"digest": "5GTvEftM57hVrNtNapMU73cE5Wj6mYFuzd9K644n1Zqs",
"digest": "HUT1xk3PAzFY7Zb6YfuDSUArPP543ENxYSYNLH4rmmAp",
"sequenceNumber": 2
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
processed 18 tasks

task 1, line 31:
task 1, line 32:
//# create-checkpoint 12
Checkpoint created: 12

task 2, lines 33-45:
task 2, lines 34-46:
//# run-graphql --cursors {"c":12,"s":6}
Response: {
"data": {
Expand Down Expand Up @@ -43,7 +43,7 @@ Response: {
}
}

task 3, lines 47-59:
task 3, lines 48-60:
//# run-graphql --cursors {"c":12,"s":6} {"c":12,"s":8}
Response: {
"data": {
Expand All @@ -64,7 +64,7 @@ Response: {
}
}

task 4, lines 61-73:
task 4, lines 62-74:
//# run-graphql --cursors {"c":12,"s":6}
Response: {
"data": {
Expand Down Expand Up @@ -103,7 +103,7 @@ Response: {
}
}

task 5, lines 75-87:
task 5, lines 76-88:
//# run-graphql --cursors {"c":12,"s":3} {"c":12,"s":6}
Response: {
"data": {
Expand All @@ -130,7 +130,7 @@ Response: {
}
}

task 6, lines 89-101:
task 6, lines 90-102:
//# run-graphql --cursors {"c":12,"s":3}
Response: {
"data": {
Expand Down Expand Up @@ -163,7 +163,7 @@ Response: {
}
}

task 7, lines 103-115:
task 7, lines 104-116:
//# run-graphql --cursors {"c":12,"s":6}
Response: {
"data": {
Expand Down Expand Up @@ -202,7 +202,7 @@ Response: {
}
}

task 8, lines 117-129:
task 8, lines 118-130:
//# run-graphql --cursors {"c":12,"s":4}
Response: {
"data": {
Expand Down Expand Up @@ -241,7 +241,7 @@ Response: {
}
}

task 9, lines 131-143:
task 9, lines 132-144:
//# run-graphql --cursors {"c":12,"s":4}
Response: {
"data": {
Expand Down Expand Up @@ -304,7 +304,7 @@ Response: {
}
}

task 10, lines 145-157:
task 10, lines 146-158:
//# run-graphql --cursors {"c":12,"s":6}
Response: {
"data": {
Expand Down Expand Up @@ -343,7 +343,7 @@ Response: {
}
}

task 11, lines 159-171:
task 11, lines 160-172:
//# run-graphql --cursors {"c":12,"s":3} {"c":12,"s":6}
Response: {
"data": {
Expand All @@ -370,7 +370,7 @@ Response: {
}
}

task 12, lines 173-185:
task 12, lines 174-186:
//# run-graphql --cursors {"c":12,"s":9}
Response: {
"data": {
Expand Down Expand Up @@ -403,7 +403,7 @@ Response: {
}
}

task 13, lines 187-199:
task 13, lines 188-200:
//# run-graphql
Response: {
"data": {
Expand Down Expand Up @@ -496,7 +496,7 @@ Response: {
}
}

task 14, lines 201-213:
task 14, lines 202-214:
//# run-graphql
Response: {
"data": {
Expand Down Expand Up @@ -535,7 +535,7 @@ Response: {
}
}

task 15, lines 215-227:
task 15, lines 216-228:
//# run-graphql
Response: {
"data": {
Expand Down Expand Up @@ -574,7 +574,7 @@ Response: {
}
}

task 16, lines 229-241:
task 16, lines 230-242:
//# run-graphql
Response: {
"data": null,
Expand All @@ -597,7 +597,7 @@ Response: {
]
}

task 17, lines 243-256:
task 17, lines 244-257:
//# run-graphql --cursors {"c":10,"s":3} {"c":12,"s":6}
Response: {
"data": null,
Expand Down
14 changes: 7 additions & 7 deletions crates/iota-graphql-e2e-tests/tests/call/coin_metadata.exp
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@ processed 7 tasks
init:
A: object(0,0)

task 1, lines 6-17:
task 1, lines 7-18:
//# publish --sender A
created: object(1,0), object(1,1), object(1,2)
mutated: object(0,0)
gas summary: computation_cost: 1000000, storage_cost: 10617200, storage_rebate: 0, non_refundable_storage_fee: 0

task 2, line 19:
task 2, line 20:
//# create-checkpoint
Checkpoint created: 1

task 3, lines 21-32:
task 3, lines 22-33:
//# run-graphql
Response: {
"data": {
Expand All @@ -29,20 +29,20 @@ Response: {
}
}

task 4, lines 35-37:
task 4, lines 36-38:
//# programmable --sender A --inputs object(1,2) 100 @A
//> 0: iota::coin::mint<test::fake::FAKE>(Input(0), Input(1));
//> TransferObjects([Result(0)], Input(2))
created: object(4,0)
mutated: object(0,0), object(1,2)
unchanged_shared: 0x0000000000000000000000000000000000000000000000000000000000000403
gas summary: computation_cost: 1000000, storage_cost: 4012800, storage_rebate: 2663496, non_refundable_storage_fee: 26904
gas summary: computation_cost: 1000000, storage_cost: 4012800, storage_rebate: 2690400, non_refundable_storage_fee: 0

task 5, line 39:
task 5, line 40:
//# create-checkpoint
Checkpoint created: 2

task 6, lines 41-52:
task 6, lines 42-53:
//# run-graphql
Response: {
"data": {
Expand Down
Loading

0 comments on commit 1e2d440

Please sign in to comment.