diff --git a/crates/iota-graphql-e2e-tests/tests/available_range/available_range.exp b/crates/iota-graphql-e2e-tests/tests/available_range/available_range.exp index f5e7f1369bf..564834ba5f5 100644 --- a/crates/iota-graphql-e2e-tests/tests/available_range/available_range.exp +++ b/crates/iota-graphql-e2e-tests/tests/available_range/available_range.exp @@ -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 } } diff --git a/crates/iota-graphql-e2e-tests/tests/call/checkpoint_connection_pagination.exp b/crates/iota-graphql-e2e-tests/tests/call/checkpoint_connection_pagination.exp index d9ce0e338c8..24bb7ddcca1 100644 --- a/crates/iota-graphql-e2e-tests/tests/call/checkpoint_connection_pagination.exp +++ b/crates/iota-graphql-e2e-tests/tests/call/checkpoint_connection_pagination.exp @@ -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": { @@ -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": { @@ -64,7 +64,7 @@ Response: { } } -task 4, lines 61-73: +task 4, lines 62-74: //# run-graphql --cursors {"c":12,"s":6} Response: { "data": { @@ -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": { @@ -130,7 +130,7 @@ Response: { } } -task 6, lines 89-101: +task 6, lines 90-102: //# run-graphql --cursors {"c":12,"s":3} Response: { "data": { @@ -163,7 +163,7 @@ Response: { } } -task 7, lines 103-115: +task 7, lines 104-116: //# run-graphql --cursors {"c":12,"s":6} Response: { "data": { @@ -202,7 +202,7 @@ Response: { } } -task 8, lines 117-129: +task 8, lines 118-130: //# run-graphql --cursors {"c":12,"s":4} Response: { "data": { @@ -241,7 +241,7 @@ Response: { } } -task 9, lines 131-143: +task 9, lines 132-144: //# run-graphql --cursors {"c":12,"s":4} Response: { "data": { @@ -304,7 +304,7 @@ Response: { } } -task 10, lines 145-157: +task 10, lines 146-158: //# run-graphql --cursors {"c":12,"s":6} Response: { "data": { @@ -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": { @@ -370,7 +370,7 @@ Response: { } } -task 12, lines 173-185: +task 12, lines 174-186: //# run-graphql --cursors {"c":12,"s":9} Response: { "data": { @@ -403,7 +403,7 @@ Response: { } } -task 13, lines 187-199: +task 13, lines 188-200: //# run-graphql Response: { "data": { @@ -496,7 +496,7 @@ Response: { } } -task 14, lines 201-213: +task 14, lines 202-214: //# run-graphql Response: { "data": { @@ -535,7 +535,7 @@ Response: { } } -task 15, lines 215-227: +task 15, lines 216-228: //# run-graphql Response: { "data": { @@ -574,7 +574,7 @@ Response: { } } -task 16, lines 229-241: +task 16, lines 230-242: //# run-graphql Response: { "data": null, @@ -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, diff --git a/crates/iota-graphql-e2e-tests/tests/call/coin_metadata.exp b/crates/iota-graphql-e2e-tests/tests/call/coin_metadata.exp index ede2a1ab96f..338d6c11140 100644 --- a/crates/iota-graphql-e2e-tests/tests/call/coin_metadata.exp +++ b/crates/iota-graphql-e2e-tests/tests/call/coin_metadata.exp @@ -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": { @@ -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(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": { diff --git a/crates/iota-graphql-e2e-tests/tests/call/dynamic_fields.exp b/crates/iota-graphql-e2e-tests/tests/call/dynamic_fields.exp index cb95142a989..352b6e239a1 100644 --- a/crates/iota-graphql-e2e-tests/tests/call/dynamic_fields.exp +++ b/crates/iota-graphql-e2e-tests/tests/call/dynamic_fields.exp @@ -3,35 +3,35 @@ processed 13 tasks init: A: object(0,0) -task 1, lines 13-52: +task 1, lines 14-53: //# publish created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 8329600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2, line 54: +task 2, line 55: //# run Test::m::create_obj --sender A created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2234400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3, line 56: +task 3, line 57: //# run Test::m::add_df --sender A --args object(2,0) created: object(3,0), object(3,1), object(3,2) mutated: object(0,0), object(2,0) -gas summary: computation_cost: 1000000, storage_cost: 6536000, storage_rebate: 2212056, non_refundable_storage_fee: 22344 +gas summary: computation_cost: 1000000, storage_cost: 6536000, storage_rebate: 2234400, non_refundable_storage_fee: 0 -task 4, line 58: +task 4, line 59: //# run Test::m::add_dof --sender A --args object(2,0) created: object(4,0), object(4,1) mutated: object(0,0), object(2,0) -gas summary: computation_cost: 1000000, storage_cost: 5928000, storage_rebate: 2212056, non_refundable_storage_fee: 22344 +gas summary: computation_cost: 1000000, storage_cost: 5928000, storage_rebate: 2234400, non_refundable_storage_fee: 0 -task 5, line 60: +task 5, line 61: //# create-checkpoint Checkpoint created: 1 -task 6, lines 62-85: +task 6, lines 63-86: //# run-graphql Response: { "data": { @@ -63,32 +63,32 @@ Response: { "bcs": "AAAAAAAAAAA=" }, "value": { - "__typename": "MoveObject" + "__typename": "MoveValue" } }, { "name": { "type": { - "repr": "bool" + "repr": "u64" }, "data": { - "Bool": false + "Number": "0" }, - "bcs": "AA==" + "bcs": "AAAAAAAAAAA=" }, "value": { - "__typename": "MoveValue" + "__typename": "MoveObject" } }, { "name": { "type": { - "repr": "u64" + "repr": "bool" }, "data": { - "Number": "0" + "Bool": false }, - "bcs": "AAAAAAAAAAA=" + "bcs": "AA==" }, "value": { "__typename": "MoveValue" @@ -100,18 +100,18 @@ Response: { } } -task 7, line 87: +task 7, line 88: //# run Test::m::wrap --sender A --args object(2,0) created: object(7,0) mutated: object(0,0) wrapped: object(2,0) -gas summary: computation_cost: 1000000, storage_cost: 2485200, storage_rebate: 2212056, non_refundable_storage_fee: 22344 +gas summary: computation_cost: 1000000, storage_cost: 2485200, storage_rebate: 2234400, non_refundable_storage_fee: 0 -task 8, line 89: +task 8, line 90: //# create-checkpoint Checkpoint created: 2 -task 9, lines 91-114: +task 9, lines 92-115: //# run-graphql Response: { "data": { @@ -143,32 +143,32 @@ Response: { "bcs": "AAAAAAAAAAA=" }, "value": { - "__typename": "MoveObject" + "__typename": "MoveValue" } }, { "name": { "type": { - "repr": "bool" + "repr": "u64" }, "data": { - "Bool": false + "Number": "0" }, - "bcs": "AA==" + "bcs": "AAAAAAAAAAA=" }, "value": { - "__typename": "MoveValue" + "__typename": "MoveObject" } }, { "name": { "type": { - "repr": "u64" + "repr": "bool" }, "data": { - "Number": "0" + "Bool": false }, - "bcs": "AAAAAAAAAAA=" + "bcs": "AA==" }, "value": { "__typename": "MoveValue" @@ -180,7 +180,7 @@ Response: { } } -task 10, lines 116-141: +task 10, lines 117-142: //# run-graphql Response: { "data": { @@ -216,41 +216,41 @@ Response: { "bcs": "AAAAAAAAAAA=" }, "value": { - "__typename": "MoveObject" + "bcs": "AAAAAAAAAAA=", + "data": { + "Number": "0" + }, + "__typename": "MoveValue" } }, { "name": { "type": { - "repr": "bool" + "repr": "u64" }, "data": { - "Bool": false + "Number": "0" }, - "bcs": "AA==" + "bcs": "AAAAAAAAAAA=" }, "value": { - "bcs": "AgAAAAAAAAA=", - "data": { - "Number": "2" - }, - "__typename": "MoveValue" + "__typename": "MoveObject" } }, { "name": { "type": { - "repr": "u64" + "repr": "bool" }, "data": { - "Number": "0" + "Bool": false }, - "bcs": "AAAAAAAAAAA=" + "bcs": "AA==" }, "value": { - "bcs": "AAAAAAAAAAA=", + "bcs": "AgAAAAAAAAA=", "data": { - "Number": "0" + "Number": "2" }, "__typename": "MoveValue" } @@ -261,7 +261,7 @@ Response: { } } -task 11, lines 143-163: +task 11, lines 144-164: //# run-graphql Response: { "data": { @@ -288,7 +288,7 @@ Response: { } } -task 12, lines 165-176: +task 12, lines 166-177: //# run-graphql Response: { "data": { diff --git a/crates/iota-graphql-e2e-tests/tests/call/owned_objects.exp b/crates/iota-graphql-e2e-tests/tests/call/owned_objects.exp index 15e258ed688..c6d924f7b9f 100644 --- a/crates/iota-graphql-e2e-tests/tests/call/owned_objects.exp +++ b/crates/iota-graphql-e2e-tests/tests/call/owned_objects.exp @@ -1,12 +1,12 @@ processed 11 tasks -task 1, lines 22-41: +task 1, lines 23-42: //# 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, lines 43-61: +task 2, lines 44-62: //# run-graphql Response: { "data": { @@ -18,13 +18,13 @@ Response: { } } -task 3, line 63: +task 3, line 64: //# run Test::M1::create --args 0 @A created: object(3,0) mutated: object(0,0) -gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 978120, non_refundable_storage_fee: 9880 +gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 988000, non_refundable_storage_fee: 0 -task 4, line 65: +task 4, line 66: //# view-object 3,0 Owner: Account Address ( A ) Version: 3 @@ -37,11 +37,11 @@ Contents: Test::M1::Object { value: 0u64, } -task 5, line 67: +task 5, line 68: //# create-checkpoint Checkpoint created: 1 -task 6, lines 69-87: +task 6, lines 70-88: //# run-graphql Response: { "data": { @@ -64,7 +64,7 @@ Response: { } } -task 7, lines 89-107: +task 7, lines 90-108: //# run-graphql Response: { "data": { @@ -87,7 +87,7 @@ Response: { } } -task 8, lines 109-127: +task 8, lines 110-128: //# run-graphql Response: { "data": { @@ -99,7 +99,7 @@ Response: { } } -task 9, lines 129-147: +task 9, lines 130-148: //# run-graphql Response: { "data": { @@ -122,7 +122,7 @@ Response: { } } -task 10, lines 149-167: +task 10, lines 150-168: //# run-graphql Response: { "data": { diff --git a/crates/iota-graphql-e2e-tests/tests/call/simple.exp b/crates/iota-graphql-e2e-tests/tests/call/simple.exp index 9b56559b404..6e9306d2940 100644 --- a/crates/iota-graphql-e2e-tests/tests/call/simple.exp +++ b/crates/iota-graphql-e2e-tests/tests/call/simple.exp @@ -3,40 +3,38 @@ processed 26 tasks init: validator_0: object(0,0) -task 1, lines 6-25: +task 1, lines 7-26: //# publish created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 5570800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2, line 27: +task 2, line 28: //# run Test::M1::create --args 0 @A --gas-price 1000 created: object(2,0) mutated: object(0,1) -gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 978120, non_refundable_storage_fee: 9880 +gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 988000, non_refundable_storage_fee: 0 -task 3, line 29: +task 3, line 30: //# run Test::M1::create --args 0 @validator_0 created: object(3,0) mutated: object(0,1) -gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 978120, non_refundable_storage_fee: 9880 +gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 988000, non_refundable_storage_fee: 0 -task 4, line 31: +task 4, line 32: //# view-object 0,0 Owner: Account Address ( validator_0 ) Version: 1 -Contents: iota::coin::Coin { +Contents: iota_system::validator_cap::UnverifiedValidatorOperationCap { id: iota::object::UID { id: iota::object::ID { bytes: fake(0,0), }, }, - balance: iota::balance::Balance { - value: 30000000000000000u64, - }, + authorizer_validator_address: validator_0, } -task 5, line 33: +task 5, line 34: //# view-object 2,0 Owner: Account Address ( A ) Version: 3 @@ -49,7 +47,7 @@ Contents: Test::M1::Object { value: 0u64, } -task 6, line 35: +task 6, line 36: //# view-object 3,0 Owner: Account Address ( validator_0 ) Version: 4 @@ -62,25 +60,25 @@ Contents: Test::M1::Object { value: 0u64, } -task 7, line 37: +task 7, line 38: //# create-checkpoint 4 Checkpoint created: 4 -task 8, line 39: +task 8, line 40: //# view-checkpoint CheckpointSummary { epoch: 0, seq: 4, content_digest: D3oWLCcqoa1D15gxzvMaDemNNY8YYVspAkYkcmtQKWRt, - epoch_rolling_gas_cost_summary: GasCostSummary { computation_cost: 3000000, storage_cost: 10176400, storage_rebate: 1956240, non_refundable_storage_fee: 19760 }} + epoch_rolling_gas_cost_summary: GasCostSummary { computation_cost: 3000000, storage_cost: 10176400, storage_rebate: 1976000, non_refundable_storage_fee: 0 }} -task 9, line 41: +task 9, line 42: //# advance-epoch 6 Epoch advanced: 5 -task 10, line 43: +task 10, line 44: //# view-checkpoint -CheckpointSummary { epoch: 5, seq: 10, content_digest: BDEsevJNRZ9x9xxb3eCdVtrHpu1EQP6gz2fTCGjcswdL, +CheckpointSummary { epoch: 5, seq: 10, content_digest: 4ifdqqYtzyUVFwXn5doeGcRjqy4W8Ybd3Ki3HQWRTdx6, epoch_rolling_gas_cost_summary: GasCostSummary { computation_cost: 0, storage_cost: 0, storage_rebate: 0, non_refundable_storage_fee: 0 }} -task 11, lines 45-50: +task 11, lines 46-51: //# run-graphql Response: { "data": { @@ -90,16 +88,16 @@ Response: { } } -task 12, line 52: +task 12, line 53: //# create-checkpoint Checkpoint created: 11 -task 13, line 54: +task 13, line 55: //# view-checkpoint CheckpointSummary { epoch: 6, seq: 11, content_digest: D3oWLCcqoa1D15gxzvMaDemNNY8YYVspAkYkcmtQKWRt, epoch_rolling_gas_cost_summary: GasCostSummary { computation_cost: 0, storage_cost: 0, storage_rebate: 0, non_refundable_storage_fee: 0 }} -task 14, lines 56-61: +task 14, lines 57-62: //# run-graphql Response: { "data": { @@ -109,7 +107,7 @@ Response: { } } -task 15, lines 63-68: +task 15, lines 64-69: //# run-graphql --show-usage --show-headers --show-service-version Headers: { "content-type": "application/json", @@ -137,16 +135,16 @@ Response: { } } -task 16, line 70: +task 16, line 71: //# view-checkpoint CheckpointSummary { epoch: 6, seq: 11, content_digest: D3oWLCcqoa1D15gxzvMaDemNNY8YYVspAkYkcmtQKWRt, epoch_rolling_gas_cost_summary: GasCostSummary { computation_cost: 0, storage_cost: 0, storage_rebate: 0, non_refundable_storage_fee: 0 }} -task 17, lines 72-75: +task 17, lines 73-76: //# advance-epoch Epoch advanced: 6 -task 18, lines 77-92: +task 18, lines 78-93: //# run-graphql Response: { "data": { @@ -155,8 +153,8 @@ Response: { "edges": [ { "node": { - "address": "0x23ef71b8e66389131447b14f452128212257d2db53805e37af8fba4b41ad8ca3", - "digest": "3qUjwuGdE86PTc8Z3ucr1WKZC4SmUXtXdjUcPywy6hLQ", + "address": "0x0c5a42e0c5dbc3688b756b1213c4ae2ce419d8c66cc8a3e127375d7dc89f7240", + "digest": "64zEzNMmC1u4GDALPtAM3NUGmNsr4B5bcfxH99QbU9Xu", "owner": { "__typename": "AddressOwner" } @@ -168,7 +166,7 @@ Response: { } } -task 19, lines 94-149: +task 19, lines 95-150: //# run-graphql Response: { "data": { @@ -182,8 +180,8 @@ Response: { "edges": [ { "node": { - "address": "0x23ef71b8e66389131447b14f452128212257d2db53805e37af8fba4b41ad8ca3", - "digest": "3qUjwuGdE86PTc8Z3ucr1WKZC4SmUXtXdjUcPywy6hLQ", + "address": "0x0c5a42e0c5dbc3688b756b1213c4ae2ce419d8c66cc8a3e127375d7dc89f7240", + "digest": "64zEzNMmC1u4GDALPtAM3NUGmNsr4B5bcfxH99QbU9Xu", "owner": { "__typename": "AddressOwner" } @@ -197,8 +195,62 @@ Response: { "edges": [ { "node": { - "address": "0x423c9d76d2aaf5fcacfe5c95b934d44c43f9e88775264c1316a802b3f4623afb", - "digest": "83GBKCTiDtfEV5F8QaProZjfzHVfH3p5Y9hrSt9FW85Z", + "address": "0x21f295b9bb94db811614a123b74f91c30dab67ec6e6a8d2ebd7b66ddcca1d7a5", + "digest": "B2NRsY8irYUJAg86na1LDvizcH5nXgjxnXcVWXkxfcqV", + "owner": { + "__typename": "AddressOwner" + } + } + }, + { + "node": { + "address": "0x34cf8d6d02620ba9aaf03759cfcaa6b6cd21d6171fc27ab43b22411bc4d328e4", + "digest": "5gEgTUgEgeAfP7kkY7K9fbhD6qLu6yyasRrxopqZU3wa", + "owner": { + "__typename": "AddressOwner" + } + } + }, + { + "node": { + "address": "0x36942a1e9668a0b56e12845cea55e1c1df006addb16604cb949a04833e094111", + "digest": "3SZuZ4rtEut8W7ctKSJmoKddFd1EhhDvRQcK1HAheefW", + "owner": { + "__typename": "AddressOwner" + } + } + }, + { + "node": { + "address": "0x3c59cc1467518be50f7c27c007613be0577b2f0f0cd522b2600b9265eea3ffcf", + "digest": "Gfc2qym16iA8TkzKqPTD53vumTKJonvBprN3fRpEbv7a", + "owner": { + "__typename": "AddressOwner" + } + } + }, + { + "node": { + "address": "0x5b8855920fb3328ef0ec04da600a48a94f8da9233f05a3caaff5d17c472067f6", + "digest": "CrK9WAwpaRQsb4JbFGAdJApP6aKcmtv2oAuEnXSnGiN1", + "owner": { + "__typename": "AddressOwner" + } + } + }, + { + "node": { + "address": "0x67a59c0801262ea92d2e08f6b177d9b5e9c782a5a6ab33b82a70763c6da0f6c4", + "digest": "GX5PyWrbKZtF4Lqfro8o4fNZQKfW3hPgz1TduJfn3F9v", + "owner": { + "__typename": "AddressOwner" + } + } + }, + { + "node": { + "address": "0x7e51f863b68ed3b1b8d00cccf80f43c83e81b99dc333a39bfff0cb0f4bf6f12e", + "digest": "CXjvc3XRsNg4EVWdGbch5mfXGMZKWWJm5zZ8z3PvzZz6", "owner": { "__typename": "AddressOwner" } @@ -206,8 +258,8 @@ Response: { }, { "node": { - "address": "0x6163fffa44de65f44ccaf0a0d661c40822af07ceaa02e601b4cb59b458ab6ce2", - "digest": "2y11yoS1zEnvCqvHFGrQDaXaQSFhd9hKvN9haoP8jNqz", + "address": "0x8c9a01d8b2e7c3ba86abfec7470c280b3ef1abbc713f0378a1519b381b667a10", + "digest": "PnBpuHkMGmBXdqyPjQXSZVev52kkETqZLtNQyEKXXKe", "owner": { "__typename": "AddressOwner" } @@ -215,8 +267,8 @@ Response: { }, { "node": { - "address": "0x860b53513475993cdbf119f102b717aae27b89e98976f60bf7d5ab12745bcfee", - "digest": "QGwjjqDADc9nKpPs4adk3psoDk1J7zqT85wdPxkrSW9", + "address": "0xa937e8e0e5c1f6ee01e2c6a37c678072c37ebed470b194e03689f170872fcfbc", + "digest": "6jyniZYABCMkSxjtJqC8W49FG9T8TAFjE8Gi5eStAk9Q", "owner": { "__typename": "AddressOwner" } @@ -224,8 +276,8 @@ Response: { }, { "node": { - "address": "0xc54929d1ab1827a88599f75721ab9664f3511e51cff51dfd40a1c2ec0475bf7f", - "digest": "AgssqQczdyipDRxi1j9pMGgC9FuC7CCFmn4Y14PeyNst", + "address": "0xd11fea7255cb66e5bcc85828b266abedc6c674b2702aa228864127aebaf4154c", + "digest": "ChJvwybmYX6pk5EENZ22tTpvgySYG6nCXfAS3DuzQCN8", "owner": { "__typename": "AddressOwner" } @@ -233,8 +285,8 @@ Response: { }, { "node": { - "address": "0xe82d10c71669c207b6b2381daabe3079cedb17983d0cbe20e0062811feafdcd1", - "digest": "Gp6pvP9Q8hMK2b15mica61hENUJBatvQXx75q2P4MTuV", + "address": "0xd6a57dc0c4710f78dc7e73a28fea6119294ea1a29ca22e6497862a5796c77217", + "digest": "FV5tJzcEA1xvpgcrCcQmrx7Jnoxe8kN186NXvFrUvjjn", "owner": { "__typename": "AddressOwner" } @@ -242,8 +294,8 @@ Response: { }, { "node": { - "address": "0xfe887d694d116e30f8efa961484a199fff9f845542845a86be86b4d8f474ed4a", - "digest": "8qaumCh1NPMvjdwamiaVy8LnqMQPbSmhSSigcHZQ6Cy1", + "address": "0xe02317173db404610632d5c8e0d2c5e5720009f7257b56672dd286f16ad8881f", + "digest": "DqskfNa5BuKTQ9Z865oTnKq3up1Nc3yG1XXy5oD3xwDM", "owner": { "__typename": "AddressOwner" } @@ -264,7 +316,7 @@ Response: { } } -task 20, lines 151-167: +task 20, lines 152-168: //# run-graphql Response: { "data": { @@ -274,7 +326,7 @@ Response: { "nodes": [ { "address": { - "address": "0xa7b032703878aa74c3126935789fd1d4d7e111d5911b09247d6963061c312b5a" + "address": "0x28f02a953f3553f51a9365593c7d4bd0643d2085f004b18c6ca9de51682b2c80" } } ] @@ -282,12 +334,12 @@ Response: { } }, "address": { - "address": "0xa7b032703878aa74c3126935789fd1d4d7e111d5911b09247d6963061c312b5a" + "address": "0x28f02a953f3553f51a9365593c7d4bd0643d2085f004b18c6ca9de51682b2c80" } } } -task 21, lines 169-175: +task 21, lines 170-176: //# run-graphql Response: { "data": { @@ -297,25 +349,25 @@ Response: { } } -task 22, line 177: +task 22, line 178: //# run Test::M1::create --args 0 @A --gas-price 999 created: object(22,0) mutated: object(0,1) -gas summary: computation_cost: 999000, storage_cost: 2302800, storage_rebate: 978120, non_refundable_storage_fee: 9880 +gas summary: computation_cost: 999000, storage_cost: 2302800, storage_rebate: 988000, non_refundable_storage_fee: 0 -task 23, line 179: +task 23, line 180: //# run Test::M1::create --args 0 @A --gas-price 1000 created: object(23,0) mutated: object(0,1) -gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 978120, non_refundable_storage_fee: 9880 +gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 988000, non_refundable_storage_fee: 0 -task 24, line 181: +task 24, line 182: //# run Test::M1::create --args 0 @A --gas-price 235 created: object(24,0) mutated: object(0,1) -gas summary: computation_cost: 235000, storage_cost: 2302800, storage_rebate: 978120, non_refundable_storage_fee: 9880 +gas summary: computation_cost: 235000, storage_cost: 2302800, storage_rebate: 988000, non_refundable_storage_fee: 0 -task 25, lines 183-188: +task 25, lines 184-189: //# run-graphql Response: { "data": { diff --git a/crates/iota-graphql-e2e-tests/tests/consistency/balances.exp b/crates/iota-graphql-e2e-tests/tests/consistency/balances.exp index 03dd7ca661c..ece1508c7cf 100644 --- a/crates/iota-graphql-e2e-tests/tests/consistency/balances.exp +++ b/crates/iota-graphql-e2e-tests/tests/consistency/balances.exp @@ -3,62 +3,62 @@ processed 34 tasks init: A: object(0,0), B: object(0,1) -task 1, lines 19-46: +task 1, lines 20-47: //# publish --sender A created: object(1,0), object(1,1), object(1,2), object(1,3), object(1,4), object(1,5) mutated: object(0,0) unchanged_shared: 0x0000000000000000000000000000000000000000000000000000000000000403 gas summary: computation_cost: 1000000, storage_cost: 15663600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2, line 48: +task 2, line 49: //# create-checkpoint Checkpoint created: 1 -task 3, lines 50-52: +task 3, lines 51-53: //# programmable --sender A --inputs object(1,5) 100 object(1,1) //> 0: iota::coin::mint(Input(0), Input(1)); //> MergeCoins(Input(2), [Result(0)]); mutated: object(0,0), object(1,1), object(1,5) unchanged_shared: 0x0000000000000000000000000000000000000000000000000000000000000403 -gas summary: computation_cost: 1000000, storage_cost: 4012800, storage_rebate: 3972672, non_refundable_storage_fee: 40128 +gas summary: computation_cost: 1000000, storage_cost: 4012800, storage_rebate: 4012800, non_refundable_storage_fee: 0 -task 4, line 54: +task 4, line 55: //# create-checkpoint Checkpoint created: 2 -task 5, line 56: +task 5, line 57: //# transfer-object 1,2 --sender A --recipient B mutated: object(0,0), object(1,2) unchanged_shared: 0x0000000000000000000000000000000000000000000000000000000000000403 -gas summary: computation_cost: 1000000, storage_cost: 2310400, storage_rebate: 2287296, non_refundable_storage_fee: 23104 +gas summary: computation_cost: 1000000, storage_cost: 2310400, storage_rebate: 2310400, non_refundable_storage_fee: 0 -task 6, line 58: +task 6, line 59: //# create-checkpoint Checkpoint created: 3 -task 7, line 60: +task 7, line 61: //# transfer-object 1,3 --sender A --recipient B mutated: object(0,0), object(1,3) unchanged_shared: 0x0000000000000000000000000000000000000000000000000000000000000403 -gas summary: computation_cost: 1000000, storage_cost: 2310400, storage_rebate: 2287296, non_refundable_storage_fee: 23104 +gas summary: computation_cost: 1000000, storage_cost: 2310400, storage_rebate: 2310400, non_refundable_storage_fee: 0 -task 9, line 64: +task 9, line 65: //# create-checkpoint Checkpoint created: 4 -task 11, line 68: +task 11, line 69: //# create-checkpoint Checkpoint created: 5 -task 13, line 72: +task 13, line 73: //# create-checkpoint Checkpoint created: 6 -task 15, line 76: +task 15, line 77: //# create-checkpoint Checkpoint created: 7 -task 16, lines 78-99: +task 16, lines 79-100: //# run-graphql --cursors {"c":2,"t":1,"i":false} Response: { "data": { @@ -76,11 +76,11 @@ Response: { "repr": "0x0000000000000000000000000000000000000000000000000000000000000002::iota::IOTA" }, "coinObjectCount": 1, - "totalBalance": "299999982296272" + "totalBalance": "299999982336400" }, { "coinType": { - "repr": "0x4cb538cc5d434cbcb404ea346e0fcd175e5db3edccbada62a489de17da4e81f1::fake::FAKE" + "repr": "0x5072def2d780b5d3774321d557e44987411e57f18d6513033f435b350ccfb746::fake::FAKE" }, "coinObjectCount": 3, "totalBalance": "700" @@ -94,7 +94,7 @@ Response: { } } -task 17, lines 101-122: +task 17, lines 102-123: //# run-graphql --cursors {"c":3,"t":1,"i":false} Response: { "data": { @@ -103,7 +103,7 @@ Response: { { "sender": { "fakeCoinBalance": { - "totalBalance": "500" + "totalBalance": "400" }, "allBalances": { "nodes": [ @@ -112,14 +112,14 @@ Response: { "repr": "0x0000000000000000000000000000000000000000000000000000000000000002::iota::IOTA" }, "coinObjectCount": 1, - "totalBalance": "299999981273168" + "totalBalance": "299999981336400" }, { "coinType": { - "repr": "0x4cb538cc5d434cbcb404ea346e0fcd175e5db3edccbada62a489de17da4e81f1::fake::FAKE" + "repr": "0x5072def2d780b5d3774321d557e44987411e57f18d6513033f435b350ccfb746::fake::FAKE" }, "coinObjectCount": 2, - "totalBalance": "500" + "totalBalance": "400" } ] } @@ -130,7 +130,7 @@ Response: { } } -task 18, lines 124-145: +task 18, lines 125-146: //# run-graphql --cursors {"c":4,"t":1,"i":false} Response: { "data": { @@ -139,7 +139,7 @@ Response: { { "sender": { "fakeCoinBalance": { - "totalBalance": "400" + "totalBalance": "200" }, "allBalances": { "nodes": [ @@ -148,14 +148,14 @@ Response: { "repr": "0x0000000000000000000000000000000000000000000000000000000000000002::iota::IOTA" }, "coinObjectCount": 1, - "totalBalance": "299999980250064" + "totalBalance": "299999980336400" }, { "coinType": { - "repr": "0x4cb538cc5d434cbcb404ea346e0fcd175e5db3edccbada62a489de17da4e81f1::fake::FAKE" + "repr": "0x5072def2d780b5d3774321d557e44987411e57f18d6513033f435b350ccfb746::fake::FAKE" }, "coinObjectCount": 1, - "totalBalance": "400" + "totalBalance": "200" } ] } @@ -166,15 +166,15 @@ Response: { } } -task 19, line 147: +task 19, line 148: //# force-object-snapshot-catchup --start-cp 0 --end-cp 3 Objects snapshot updated to [0 to 3) -task 20, line 149: +task 20, line 150: //# create-checkpoint Checkpoint created: 8 -task 21, lines 151-172: +task 21, lines 152-173: //# run-graphql --cursors {"c":2,"t":1,"i":false} Response: { "data": { @@ -192,11 +192,11 @@ Response: { "repr": "0x0000000000000000000000000000000000000000000000000000000000000002::iota::IOTA" }, "coinObjectCount": 1, - "totalBalance": "299999982296272" + "totalBalance": "299999982336400" }, { "coinType": { - "repr": "0x4cb538cc5d434cbcb404ea346e0fcd175e5db3edccbada62a489de17da4e81f1::fake::FAKE" + "repr": "0x5072def2d780b5d3774321d557e44987411e57f18d6513033f435b350ccfb746::fake::FAKE" }, "coinObjectCount": 3, "totalBalance": "700" @@ -210,7 +210,7 @@ Response: { } } -task 22, lines 174-195: +task 22, lines 175-196: //# run-graphql --cursors {"c":3,"t":1,"i":false} Response: { "data": { @@ -219,7 +219,7 @@ Response: { { "sender": { "fakeCoinBalance": { - "totalBalance": "500" + "totalBalance": "400" }, "allBalances": { "nodes": [ @@ -228,14 +228,14 @@ Response: { "repr": "0x0000000000000000000000000000000000000000000000000000000000000002::iota::IOTA" }, "coinObjectCount": 1, - "totalBalance": "299999981273168" + "totalBalance": "299999981336400" }, { "coinType": { - "repr": "0x4cb538cc5d434cbcb404ea346e0fcd175e5db3edccbada62a489de17da4e81f1::fake::FAKE" + "repr": "0x5072def2d780b5d3774321d557e44987411e57f18d6513033f435b350ccfb746::fake::FAKE" }, "coinObjectCount": 2, - "totalBalance": "500" + "totalBalance": "400" } ] } @@ -246,7 +246,7 @@ Response: { } } -task 23, lines 197-218: +task 23, lines 198-219: //# run-graphql --cursors {"c":4,"t":1,"i":false} Response: { "data": { @@ -255,7 +255,7 @@ Response: { { "sender": { "fakeCoinBalance": { - "totalBalance": "400" + "totalBalance": "200" }, "allBalances": { "nodes": [ @@ -264,14 +264,14 @@ Response: { "repr": "0x0000000000000000000000000000000000000000000000000000000000000002::iota::IOTA" }, "coinObjectCount": 1, - "totalBalance": "299999980250064" + "totalBalance": "299999980336400" }, { "coinType": { - "repr": "0x4cb538cc5d434cbcb404ea346e0fcd175e5db3edccbada62a489de17da4e81f1::fake::FAKE" + "repr": "0x5072def2d780b5d3774321d557e44987411e57f18d6513033f435b350ccfb746::fake::FAKE" }, "coinObjectCount": 1, - "totalBalance": "400" + "totalBalance": "200" } ] } @@ -282,15 +282,15 @@ Response: { } } -task 24, line 220: +task 24, line 221: //# force-object-snapshot-catchup --start-cp 0 --end-cp 4 Objects snapshot updated to [0 to 4) -task 25, line 222: +task 25, line 223: //# create-checkpoint Checkpoint created: 9 -task 26, lines 224-245: +task 26, lines 225-246: //# run-graphql --cursors {"c":2,"t":1,"i":false} Response: { "data": { @@ -325,7 +325,7 @@ Response: { ] } -task 27, lines 247-268: +task 27, lines 248-269: //# run-graphql --cursors {"c":3,"t":1,"i":false} Response: { "data": { @@ -334,7 +334,7 @@ Response: { { "sender": { "fakeCoinBalance": { - "totalBalance": "500" + "totalBalance": "400" }, "allBalances": { "nodes": [ @@ -343,14 +343,14 @@ Response: { "repr": "0x0000000000000000000000000000000000000000000000000000000000000002::iota::IOTA" }, "coinObjectCount": 1, - "totalBalance": "299999981273168" + "totalBalance": "299999981336400" }, { "coinType": { - "repr": "0x4cb538cc5d434cbcb404ea346e0fcd175e5db3edccbada62a489de17da4e81f1::fake::FAKE" + "repr": "0x5072def2d780b5d3774321d557e44987411e57f18d6513033f435b350ccfb746::fake::FAKE" }, "coinObjectCount": 2, - "totalBalance": "500" + "totalBalance": "400" } ] } @@ -361,7 +361,7 @@ Response: { } } -task 28, lines 270-291: +task 28, lines 271-292: //# run-graphql --cursors {"c":4,"t":1,"i":false} Response: { "data": { @@ -370,7 +370,7 @@ Response: { { "sender": { "fakeCoinBalance": { - "totalBalance": "400" + "totalBalance": "200" }, "allBalances": { "nodes": [ @@ -379,14 +379,14 @@ Response: { "repr": "0x0000000000000000000000000000000000000000000000000000000000000002::iota::IOTA" }, "coinObjectCount": 1, - "totalBalance": "299999980250064" + "totalBalance": "299999980336400" }, { "coinType": { - "repr": "0x4cb538cc5d434cbcb404ea346e0fcd175e5db3edccbada62a489de17da4e81f1::fake::FAKE" + "repr": "0x5072def2d780b5d3774321d557e44987411e57f18d6513033f435b350ccfb746::fake::FAKE" }, "coinObjectCount": 1, - "totalBalance": "400" + "totalBalance": "200" } ] } @@ -397,15 +397,15 @@ Response: { } } -task 29, line 294: +task 29, line 295: //# force-object-snapshot-catchup --start-cp 0 --end-cp 6 Objects snapshot updated to [0 to 6) -task 30, line 296: +task 30, line 297: //# create-checkpoint Checkpoint created: 10 -task 31, lines 298-319: +task 31, lines 299-320: //# run-graphql --cursors {"c":2,"t":1,"i":false} Response: { "data": { @@ -440,7 +440,7 @@ Response: { ] } -task 32, lines 321-342: +task 32, lines 322-343: //# run-graphql --cursors {"c":3,"t":1,"i":false} Response: { "data": { @@ -475,7 +475,7 @@ Response: { ] } -task 33, lines 344-365: +task 33, lines 345-366: //# run-graphql --cursors {"c":4,"t":1,"i":false} Response: { "data": { diff --git a/crates/iota-graphql-e2e-tests/tests/consistency/checkpoints/transaction_blocks.exp b/crates/iota-graphql-e2e-tests/tests/consistency/checkpoints/transaction_blocks.exp index add91acf389..8e6aa65cede 100644 --- a/crates/iota-graphql-e2e-tests/tests/consistency/checkpoints/transaction_blocks.exp +++ b/crates/iota-graphql-e2e-tests/tests/consistency/checkpoints/transaction_blocks.exp @@ -3,79 +3,79 @@ processed 16 tasks init: A: object(0,0), B: object(0,1) -task 1, lines 13-26: +task 1, lines 14-27: //# publish created: object(1,0) mutated: object(0,2) gas summary: computation_cost: 1000000, storage_cost: 5175600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2, line 28: +task 2, line 29: //# run Test::M1::create --args 0 @A --sender A created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3, line 30: +task 3, line 31: //# run Test::M1::create --args 0 @A --sender A created: object(3,0) mutated: object(0,0) -gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 978120, non_refundable_storage_fee: 9880 +gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 988000, non_refundable_storage_fee: 0 -task 4, line 32: +task 4, line 33: //# run Test::M1::create --args 0 @A --sender A created: object(4,0) mutated: object(0,0) -gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 978120, non_refundable_storage_fee: 9880 +gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 988000, non_refundable_storage_fee: 0 -task 5, line 34: +task 5, line 35: //# run Test::M1::create --args 0 @A --sender A created: object(5,0) mutated: object(0,0) -gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 978120, non_refundable_storage_fee: 9880 +gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 988000, non_refundable_storage_fee: 0 -task 6, line 36: +task 6, line 37: //# create-checkpoint Checkpoint created: 1 -task 7, line 38: +task 7, line 39: //# run Test::M1::create --args 0 @A --sender A created: object(7,0) mutated: object(0,0) -gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 978120, non_refundable_storage_fee: 9880 +gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 988000, non_refundable_storage_fee: 0 -task 8, line 40: +task 8, line 41: //# run Test::M1::create --args 0 @A --sender A created: object(8,0) mutated: object(0,0) -gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 978120, non_refundable_storage_fee: 9880 +gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 988000, non_refundable_storage_fee: 0 -task 9, line 42: +task 9, line 43: //# run Test::M1::create --args 0 @A --sender A created: object(9,0) mutated: object(0,0) -gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 978120, non_refundable_storage_fee: 9880 +gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 988000, non_refundable_storage_fee: 0 -task 10, line 44: +task 10, line 45: //# create-checkpoint Checkpoint created: 2 -task 11, line 46: +task 11, line 47: //# run Test::M1::create --args 0 @A --sender A created: object(11,0) mutated: object(0,0) -gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 978120, non_refundable_storage_fee: 9880 +gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 988000, non_refundable_storage_fee: 0 -task 12, line 48: +task 12, line 49: //# run Test::M1::create --args 0 @A --sender A created: object(12,0) mutated: object(0,0) -gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 978120, non_refundable_storage_fee: 9880 +gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 988000, non_refundable_storage_fee: 0 -task 13, line 50: +task 13, line 51: //# create-checkpoint Checkpoint created: 3 -task 14, lines 52-76: +task 14, lines 53-77: //# run-graphql Response: { "data": { @@ -94,12 +94,12 @@ Response: { { "cursor": "eyJjIjozLCJ0IjoyLCJpIjpmYWxzZX0", "node": { - "digest": "Cwqr9jTgQjajoYaqcjzAaQGcQEyCg8XxoN7smGCLiBrs", + "digest": "5PZJkMMWUNyE1sXy3cQ4uX74Ns5vQvt6NN4FC56xQJ8n", "sender": { "objects": { "edges": [ { - "cursor": "IPdBQipzs53YXv+f5ZHkysnhkenevKFjtWcKDBtTiWu8AwAAAAAAAAA=" + "cursor": "IOe0psdM+3X7n4hQTmddbTIMbBZO2rEBk2Gq0Bd+Et0lAwAAAAAAAAA=" } ] } @@ -109,12 +109,12 @@ Response: { { "cursor": "eyJjIjozLCJ0IjozLCJpIjpmYWxzZX0", "node": { - "digest": "H1WU8uXMGaENQs54EpoHGpV1iMYdH8P5scd1d16s9ECB", + "digest": "FY74u4UxdA4F1cyKTKU9nca1ZUxsAqN9v7CfWsw7Egkx", "sender": { "objects": { "edges": [ { - "cursor": "IPdBQipzs53YXv+f5ZHkysnhkenevKFjtWcKDBtTiWu8AwAAAAAAAAA=" + "cursor": "IOe0psdM+3X7n4hQTmddbTIMbBZO2rEBk2Gq0Bd+Et0lAwAAAAAAAAA=" } ] } @@ -124,12 +124,12 @@ Response: { { "cursor": "eyJjIjozLCJ0Ijo0LCJpIjpmYWxzZX0", "node": { - "digest": "4vJbSYKwEJb5sYU2jiayqsZNRnBywD8y6sd3RQoMppF9", + "digest": "FNA1q8ndHddbMWsztHQZeojnhuRK9opMT7mHhJv2vW6K", "sender": { "objects": { "edges": [ { - "cursor": "IPdBQipzs53YXv+f5ZHkysnhkenevKFjtWcKDBtTiWu8AwAAAAAAAAA=" + "cursor": "IOe0psdM+3X7n4hQTmddbTIMbBZO2rEBk2Gq0Bd+Et0lAwAAAAAAAAA=" } ] } @@ -139,12 +139,12 @@ Response: { { "cursor": "eyJjIjozLCJ0Ijo1LCJpIjpmYWxzZX0", "node": { - "digest": "4W23PZz7dHVxoZ2VMCWU9j38Jxy7tLkqcFBcJUB3aCSB", + "digest": "7VTFfa48yfegREkGTETs2PsYoQ1kpL5315uM7FcgdH4j", "sender": { "objects": { "edges": [ { - "cursor": "IPdBQipzs53YXv+f5ZHkysnhkenevKFjtWcKDBtTiWu8AwAAAAAAAAA=" + "cursor": "IOe0psdM+3X7n4hQTmddbTIMbBZO2rEBk2Gq0Bd+Et0lAwAAAAAAAAA=" } ] } @@ -161,12 +161,12 @@ Response: { { "cursor": "eyJjIjozLCJ0Ijo2LCJpIjpmYWxzZX0", "node": { - "digest": "JLAF7P6DumC8rgzT1Ygp2QgTwpHE2FUqQbVXL6cGEEQ", + "digest": "EWrgm6gr5dKneCc83NfGLZw7UH9mbEQmv7yfJLkCQk2z", "sender": { "objects": { "edges": [ { - "cursor": "IPdBQipzs53YXv+f5ZHkysnhkenevKFjtWcKDBtTiWu8AwAAAAAAAAA=" + "cursor": "IOe0psdM+3X7n4hQTmddbTIMbBZO2rEBk2Gq0Bd+Et0lAwAAAAAAAAA=" } ] } @@ -176,12 +176,12 @@ Response: { { "cursor": "eyJjIjozLCJ0Ijo3LCJpIjpmYWxzZX0", "node": { - "digest": "BVMVdn7DDpTbCjtYwWFekcFA9sNeMgDh1wTNWRrngZxh", + "digest": "FZm3UYq9whLyZstBjFQweua7ETToUQWkYhsTrW99Ce1G", "sender": { "objects": { "edges": [ { - "cursor": "IPdBQipzs53YXv+f5ZHkysnhkenevKFjtWcKDBtTiWu8AwAAAAAAAAA=" + "cursor": "IOe0psdM+3X7n4hQTmddbTIMbBZO2rEBk2Gq0Bd+Et0lAwAAAAAAAAA=" } ] } @@ -191,12 +191,12 @@ Response: { { "cursor": "eyJjIjozLCJ0Ijo4LCJpIjpmYWxzZX0", "node": { - "digest": "4J5tno4AoU4NPS2NgEseAZK7cpLDh6KJduVtbtwzmHk5", + "digest": "Aek7YFwpSys8ogAovQPquPmJyV7tQzGv1Qoqwg9Hkgst", "sender": { "objects": { "edges": [ { - "cursor": "IPdBQipzs53YXv+f5ZHkysnhkenevKFjtWcKDBtTiWu8AwAAAAAAAAA=" + "cursor": "IOe0psdM+3X7n4hQTmddbTIMbBZO2rEBk2Gq0Bd+Et0lAwAAAAAAAAA=" } ] } @@ -213,12 +213,12 @@ Response: { { "cursor": "eyJjIjozLCJ0Ijo5LCJpIjpmYWxzZX0", "node": { - "digest": "5BCS9sencxEJRJHBBPeGhx3rWutYoGSuLFCmnMAaYcDm", + "digest": "A7JmcG5MKCYoWzj3D8yA96xA2gEg1yANn9nAc1W8MZve", "sender": { "objects": { "edges": [ { - "cursor": "IPdBQipzs53YXv+f5ZHkysnhkenevKFjtWcKDBtTiWu8AwAAAAAAAAA=" + "cursor": "IOe0psdM+3X7n4hQTmddbTIMbBZO2rEBk2Gq0Bd+Et0lAwAAAAAAAAA=" } ] } @@ -228,12 +228,12 @@ Response: { { "cursor": "eyJjIjozLCJ0IjoxMCwiaSI6ZmFsc2V9", "node": { - "digest": "HQYJnLLcGf4DwgTkpqF4zHbQsLHwc1s4WbQ3Xr5BBaxh", + "digest": "7fXp2zUU5akTkytU2U21cNaBMgXiJWpg2SPneCK8nEwn", "sender": { "objects": { "edges": [ { - "cursor": "IPdBQipzs53YXv+f5ZHkysnhkenevKFjtWcKDBtTiWu8AwAAAAAAAAA=" + "cursor": "IOe0psdM+3X7n4hQTmddbTIMbBZO2rEBk2Gq0Bd+Et0lAwAAAAAAAAA=" } ] } @@ -248,7 +248,7 @@ Response: { } } -task 15, lines 78-95: +task 15, lines 79-96: //# run-graphql Response: { "data": { diff --git a/crates/iota-graphql-e2e-tests/tests/consistency/coins.exp b/crates/iota-graphql-e2e-tests/tests/consistency/coins.exp index 9996598c6a1..2de3b0f1a3f 100644 --- a/crates/iota-graphql-e2e-tests/tests/consistency/coins.exp +++ b/crates/iota-graphql-e2e-tests/tests/consistency/coins.exp @@ -3,77 +3,77 @@ processed 21 tasks init: A: object(0,0), B: object(0,1) -task 1, lines 12-39: +task 1, lines 13-40: //# publish --sender A created: object(1,0), object(1,1), object(1,2), object(1,3), object(1,4), object(1,5) mutated: object(0,0) unchanged_shared: 0x0000000000000000000000000000000000000000000000000000000000000403 gas summary: computation_cost: 1000000, storage_cost: 15663600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2, line 41: +task 2, line 42: //# create-checkpoint Checkpoint created: 1 -task 3, lines 43-45: +task 3, lines 44-46: //# programmable --sender A --inputs object(1,5) 100000 object(1,1) //> 0: iota::coin::mint(Input(0), Input(1)); //> MergeCoins(Input(2), [Result(0)]); mutated: object(0,0), object(1,1), object(1,5) unchanged_shared: 0x0000000000000000000000000000000000000000000000000000000000000403 -gas summary: computation_cost: 1000000, storage_cost: 4012800, storage_rebate: 3972672, non_refundable_storage_fee: 40128 +gas summary: computation_cost: 1000000, storage_cost: 4012800, storage_rebate: 4012800, non_refundable_storage_fee: 0 -task 4, line 47: +task 4, line 48: //# create-checkpoint Checkpoint created: 2 -task 5, lines 49-90: +task 5, lines 50-91: //# run-graphql Response: { "data": { "queryCoinsAtLatest": { "edges": [ { - "cursor": "IInOO25b7OLrzHU3/p2iQ4vqVRlcuGr7fd9alLifbc72AgAAAAAAAAA=", + "cursor": "IFBn8mMXntwmV26PIcG3KBSN1FZdaEP67KK/2Eepq1i0AgAAAAAAAAA=", "node": { "consistentStateForEachCoin": { "owner": { - "address": "0xfccc9a421bbb13c1a66a1aa98f0ad75029ede94857779c6915b44f94068b921e", + "address": "0x8cca4e1ce0ba5904cea61df9242da2f7d29e3ef328fb7ec07c086b3bf47ca61a", "coins": { "edges": [ { - "cursor": "IInOO25b7OLrzHU3/p2iQ4vqVRlcuGr7fd9alLifbc72AgAAAAAAAAA=", + "cursor": "IFBn8mMXntwmV26PIcG3KBSN1FZdaEP67KK/2Eepq1i0AgAAAAAAAAA=", "node": { "contents": { "json": { - "id": "0x89ce3b6e5bece2ebcc7537fe9da2438bea55195cb86afb7ddf5a94b89f6dcef6", + "id": "0x5067f263179edc26576e8f21c1b728148dd4565d6843faeca2bfd847a9ab58b4", "balance": { - "value": "100300" + "value": "100100" } } } } }, { - "cursor": "INs4hFLNnqflqu5eGW8MOzUCEfYiGoqxYWNks0dajqpyAgAAAAAAAAA=", + "cursor": "IFxmBtJ0sDbMcgT4ONv7rxUYAZbmuvOuv29VNfiZ+gt8AgAAAAAAAAA=", "node": { "contents": { "json": { - "id": "0xdb388452cd9ea7e5aaee5e196f0c3b350211f6221a8ab1616364b3475a8eaa72", + "id": "0x5c6606d274b036cc7204f838dbfbaf15180196e6baf3aebf6f5535f899fa0b7c", "balance": { - "value": "200" + "value": "300" } } } } }, { - "cursor": "INvVgLVfu65ukifQh30BNot195gE45+jwKQekLi2+XX5AgAAAAAAAAA=", + "cursor": "IK1hlyYDivC/XDuHbsgi+0caTexgYnUDsm56nePOgmGlAgAAAAAAAAA=", "node": { "contents": { "json": { - "id": "0xdbd580b55fbbae6e9227d0877d01368b75f79804e39fa3c0a41e90b8b6f975f9", + "id": "0xad619726038af0bf5c3b876ec822fb471a4dec60627503b26e7a9de3ce8261a5", "balance": { - "value": "100" + "value": "200" } } } @@ -85,56 +85,56 @@ Response: { }, "contents": { "json": { - "id": "0x89ce3b6e5bece2ebcc7537fe9da2438bea55195cb86afb7ddf5a94b89f6dcef6", + "id": "0x5067f263179edc26576e8f21c1b728148dd4565d6843faeca2bfd847a9ab58b4", "balance": { - "value": "100300" + "value": "100100" } } } } }, { - "cursor": "INs4hFLNnqflqu5eGW8MOzUCEfYiGoqxYWNks0dajqpyAgAAAAAAAAA=", + "cursor": "IFxmBtJ0sDbMcgT4ONv7rxUYAZbmuvOuv29VNfiZ+gt8AgAAAAAAAAA=", "node": { "consistentStateForEachCoin": { "owner": { - "address": "0xfccc9a421bbb13c1a66a1aa98f0ad75029ede94857779c6915b44f94068b921e", + "address": "0x8cca4e1ce0ba5904cea61df9242da2f7d29e3ef328fb7ec07c086b3bf47ca61a", "coins": { "edges": [ { - "cursor": "IInOO25b7OLrzHU3/p2iQ4vqVRlcuGr7fd9alLifbc72AgAAAAAAAAA=", + "cursor": "IFBn8mMXntwmV26PIcG3KBSN1FZdaEP67KK/2Eepq1i0AgAAAAAAAAA=", "node": { "contents": { "json": { - "id": "0x89ce3b6e5bece2ebcc7537fe9da2438bea55195cb86afb7ddf5a94b89f6dcef6", + "id": "0x5067f263179edc26576e8f21c1b728148dd4565d6843faeca2bfd847a9ab58b4", "balance": { - "value": "100300" + "value": "100100" } } } } }, { - "cursor": "INs4hFLNnqflqu5eGW8MOzUCEfYiGoqxYWNks0dajqpyAgAAAAAAAAA=", + "cursor": "IFxmBtJ0sDbMcgT4ONv7rxUYAZbmuvOuv29VNfiZ+gt8AgAAAAAAAAA=", "node": { "contents": { "json": { - "id": "0xdb388452cd9ea7e5aaee5e196f0c3b350211f6221a8ab1616364b3475a8eaa72", + "id": "0x5c6606d274b036cc7204f838dbfbaf15180196e6baf3aebf6f5535f899fa0b7c", "balance": { - "value": "200" + "value": "300" } } } } }, { - "cursor": "INvVgLVfu65ukifQh30BNot195gE45+jwKQekLi2+XX5AgAAAAAAAAA=", + "cursor": "IK1hlyYDivC/XDuHbsgi+0caTexgYnUDsm56nePOgmGlAgAAAAAAAAA=", "node": { "contents": { "json": { - "id": "0xdbd580b55fbbae6e9227d0877d01368b75f79804e39fa3c0a41e90b8b6f975f9", + "id": "0xad619726038af0bf5c3b876ec822fb471a4dec60627503b26e7a9de3ce8261a5", "balance": { - "value": "100" + "value": "200" } } } @@ -146,56 +146,56 @@ Response: { }, "contents": { "json": { - "id": "0xdb388452cd9ea7e5aaee5e196f0c3b350211f6221a8ab1616364b3475a8eaa72", + "id": "0x5c6606d274b036cc7204f838dbfbaf15180196e6baf3aebf6f5535f899fa0b7c", "balance": { - "value": "200" + "value": "300" } } } } }, { - "cursor": "INvVgLVfu65ukifQh30BNot195gE45+jwKQekLi2+XX5AgAAAAAAAAA=", + "cursor": "IK1hlyYDivC/XDuHbsgi+0caTexgYnUDsm56nePOgmGlAgAAAAAAAAA=", "node": { "consistentStateForEachCoin": { "owner": { - "address": "0xfccc9a421bbb13c1a66a1aa98f0ad75029ede94857779c6915b44f94068b921e", + "address": "0x8cca4e1ce0ba5904cea61df9242da2f7d29e3ef328fb7ec07c086b3bf47ca61a", "coins": { "edges": [ { - "cursor": "IInOO25b7OLrzHU3/p2iQ4vqVRlcuGr7fd9alLifbc72AgAAAAAAAAA=", + "cursor": "IFBn8mMXntwmV26PIcG3KBSN1FZdaEP67KK/2Eepq1i0AgAAAAAAAAA=", "node": { "contents": { "json": { - "id": "0x89ce3b6e5bece2ebcc7537fe9da2438bea55195cb86afb7ddf5a94b89f6dcef6", + "id": "0x5067f263179edc26576e8f21c1b728148dd4565d6843faeca2bfd847a9ab58b4", "balance": { - "value": "100300" + "value": "100100" } } } } }, { - "cursor": "INs4hFLNnqflqu5eGW8MOzUCEfYiGoqxYWNks0dajqpyAgAAAAAAAAA=", + "cursor": "IFxmBtJ0sDbMcgT4ONv7rxUYAZbmuvOuv29VNfiZ+gt8AgAAAAAAAAA=", "node": { "contents": { "json": { - "id": "0xdb388452cd9ea7e5aaee5e196f0c3b350211f6221a8ab1616364b3475a8eaa72", + "id": "0x5c6606d274b036cc7204f838dbfbaf15180196e6baf3aebf6f5535f899fa0b7c", "balance": { - "value": "200" + "value": "300" } } } } }, { - "cursor": "INvVgLVfu65ukifQh30BNot195gE45+jwKQekLi2+XX5AgAAAAAAAAA=", + "cursor": "IK1hlyYDivC/XDuHbsgi+0caTexgYnUDsm56nePOgmGlAgAAAAAAAAA=", "node": { "contents": { "json": { - "id": "0xdbd580b55fbbae6e9227d0877d01368b75f79804e39fa3c0a41e90b8b6f975f9", + "id": "0xad619726038af0bf5c3b876ec822fb471a4dec60627503b26e7a9de3ce8261a5", "balance": { - "value": "100" + "value": "200" } } } @@ -207,9 +207,9 @@ Response: { }, "contents": { "json": { - "id": "0xdbd580b55fbbae6e9227d0877d01368b75f79804e39fa3c0a41e90b8b6f975f9", + "id": "0xad619726038af0bf5c3b876ec822fb471a4dec60627503b26e7a9de3ce8261a5", "balance": { - "value": "100" + "value": "200" } } } @@ -221,39 +221,39 @@ Response: { "coins": { "edges": [ { - "cursor": "IInOO25b7OLrzHU3/p2iQ4vqVRlcuGr7fd9alLifbc72AgAAAAAAAAA=", + "cursor": "IFBn8mMXntwmV26PIcG3KBSN1FZdaEP67KK/2Eepq1i0AgAAAAAAAAA=", "node": { "contents": { "json": { - "id": "0x89ce3b6e5bece2ebcc7537fe9da2438bea55195cb86afb7ddf5a94b89f6dcef6", + "id": "0x5067f263179edc26576e8f21c1b728148dd4565d6843faeca2bfd847a9ab58b4", "balance": { - "value": "100300" + "value": "100100" } } } } }, { - "cursor": "INs4hFLNnqflqu5eGW8MOzUCEfYiGoqxYWNks0dajqpyAgAAAAAAAAA=", + "cursor": "IFxmBtJ0sDbMcgT4ONv7rxUYAZbmuvOuv29VNfiZ+gt8AgAAAAAAAAA=", "node": { "contents": { "json": { - "id": "0xdb388452cd9ea7e5aaee5e196f0c3b350211f6221a8ab1616364b3475a8eaa72", + "id": "0x5c6606d274b036cc7204f838dbfbaf15180196e6baf3aebf6f5535f899fa0b7c", "balance": { - "value": "200" + "value": "300" } } } } }, { - "cursor": "INvVgLVfu65ukifQh30BNot195gE45+jwKQekLi2+XX5AgAAAAAAAAA=", + "cursor": "IK1hlyYDivC/XDuHbsgi+0caTexgYnUDsm56nePOgmGlAgAAAAAAAAA=", "node": { "contents": { "json": { - "id": "0xdbd580b55fbbae6e9227d0877d01368b75f79804e39fa3c0a41e90b8b6f975f9", + "id": "0xad619726038af0bf5c3b876ec822fb471a4dec60627503b26e7a9de3ce8261a5", "balance": { - "value": "100" + "value": "200" } } } @@ -265,54 +265,54 @@ Response: { } } -task 6, lines 92-133: +task 6, lines 93-134: //# run-graphql --cursors @{obj_1_3,1} Response: { "data": { "queryCoinsAtChkpt1": { "edges": [ { - "cursor": "IInOO25b7OLrzHU3/p2iQ4vqVRlcuGr7fd9alLifbc72AQAAAAAAAAA=", + "cursor": "IFBn8mMXntwmV26PIcG3KBSN1FZdaEP67KK/2Eepq1i0AQAAAAAAAAA=", "node": { "consistentStateForEachCoin": { "owner": { - "address": "0xfccc9a421bbb13c1a66a1aa98f0ad75029ede94857779c6915b44f94068b921e", + "address": "0x8cca4e1ce0ba5904cea61df9242da2f7d29e3ef328fb7ec07c086b3bf47ca61a", "coins": { "edges": [ { - "cursor": "IInOO25b7OLrzHU3/p2iQ4vqVRlcuGr7fd9alLifbc72AQAAAAAAAAA=", + "cursor": "IFBn8mMXntwmV26PIcG3KBSN1FZdaEP67KK/2Eepq1i0AQAAAAAAAAA=", "node": { "contents": { "json": { - "id": "0x89ce3b6e5bece2ebcc7537fe9da2438bea55195cb86afb7ddf5a94b89f6dcef6", + "id": "0x5067f263179edc26576e8f21c1b728148dd4565d6843faeca2bfd847a9ab58b4", "balance": { - "value": "300" + "value": "100" } } } } }, { - "cursor": "INs4hFLNnqflqu5eGW8MOzUCEfYiGoqxYWNks0dajqpyAQAAAAAAAAA=", + "cursor": "IFxmBtJ0sDbMcgT4ONv7rxUYAZbmuvOuv29VNfiZ+gt8AQAAAAAAAAA=", "node": { "contents": { "json": { - "id": "0xdb388452cd9ea7e5aaee5e196f0c3b350211f6221a8ab1616364b3475a8eaa72", + "id": "0x5c6606d274b036cc7204f838dbfbaf15180196e6baf3aebf6f5535f899fa0b7c", "balance": { - "value": "200" + "value": "300" } } } } }, { - "cursor": "INvVgLVfu65ukifQh30BNot195gE45+jwKQekLi2+XX5AQAAAAAAAAA=", + "cursor": "IK1hlyYDivC/XDuHbsgi+0caTexgYnUDsm56nePOgmGlAQAAAAAAAAA=", "node": { "contents": { "json": { - "id": "0xdbd580b55fbbae6e9227d0877d01368b75f79804e39fa3c0a41e90b8b6f975f9", + "id": "0xad619726038af0bf5c3b876ec822fb471a4dec60627503b26e7a9de3ce8261a5", "balance": { - "value": "100" + "value": "200" } } } @@ -324,56 +324,56 @@ Response: { }, "contents": { "json": { - "id": "0x89ce3b6e5bece2ebcc7537fe9da2438bea55195cb86afb7ddf5a94b89f6dcef6", + "id": "0x5067f263179edc26576e8f21c1b728148dd4565d6843faeca2bfd847a9ab58b4", "balance": { - "value": "300" + "value": "100" } } } } }, { - "cursor": "INs4hFLNnqflqu5eGW8MOzUCEfYiGoqxYWNks0dajqpyAQAAAAAAAAA=", + "cursor": "IFxmBtJ0sDbMcgT4ONv7rxUYAZbmuvOuv29VNfiZ+gt8AQAAAAAAAAA=", "node": { "consistentStateForEachCoin": { "owner": { - "address": "0xfccc9a421bbb13c1a66a1aa98f0ad75029ede94857779c6915b44f94068b921e", + "address": "0x8cca4e1ce0ba5904cea61df9242da2f7d29e3ef328fb7ec07c086b3bf47ca61a", "coins": { "edges": [ { - "cursor": "IInOO25b7OLrzHU3/p2iQ4vqVRlcuGr7fd9alLifbc72AQAAAAAAAAA=", + "cursor": "IFBn8mMXntwmV26PIcG3KBSN1FZdaEP67KK/2Eepq1i0AQAAAAAAAAA=", "node": { "contents": { "json": { - "id": "0x89ce3b6e5bece2ebcc7537fe9da2438bea55195cb86afb7ddf5a94b89f6dcef6", + "id": "0x5067f263179edc26576e8f21c1b728148dd4565d6843faeca2bfd847a9ab58b4", "balance": { - "value": "300" + "value": "100" } } } } }, { - "cursor": "INs4hFLNnqflqu5eGW8MOzUCEfYiGoqxYWNks0dajqpyAQAAAAAAAAA=", + "cursor": "IFxmBtJ0sDbMcgT4ONv7rxUYAZbmuvOuv29VNfiZ+gt8AQAAAAAAAAA=", "node": { "contents": { "json": { - "id": "0xdb388452cd9ea7e5aaee5e196f0c3b350211f6221a8ab1616364b3475a8eaa72", + "id": "0x5c6606d274b036cc7204f838dbfbaf15180196e6baf3aebf6f5535f899fa0b7c", "balance": { - "value": "200" + "value": "300" } } } } }, { - "cursor": "INvVgLVfu65ukifQh30BNot195gE45+jwKQekLi2+XX5AQAAAAAAAAA=", + "cursor": "IK1hlyYDivC/XDuHbsgi+0caTexgYnUDsm56nePOgmGlAQAAAAAAAAA=", "node": { "contents": { "json": { - "id": "0xdbd580b55fbbae6e9227d0877d01368b75f79804e39fa3c0a41e90b8b6f975f9", + "id": "0xad619726038af0bf5c3b876ec822fb471a4dec60627503b26e7a9de3ce8261a5", "balance": { - "value": "100" + "value": "200" } } } @@ -385,9 +385,9 @@ Response: { }, "contents": { "json": { - "id": "0xdb388452cd9ea7e5aaee5e196f0c3b350211f6221a8ab1616364b3475a8eaa72", + "id": "0x5c6606d274b036cc7204f838dbfbaf15180196e6baf3aebf6f5535f899fa0b7c", "balance": { - "value": "200" + "value": "300" } } } @@ -399,26 +399,26 @@ Response: { "coins": { "edges": [ { - "cursor": "IInOO25b7OLrzHU3/p2iQ4vqVRlcuGr7fd9alLifbc72AQAAAAAAAAA=", + "cursor": "IFBn8mMXntwmV26PIcG3KBSN1FZdaEP67KK/2Eepq1i0AQAAAAAAAAA=", "node": { "contents": { "json": { - "id": "0x89ce3b6e5bece2ebcc7537fe9da2438bea55195cb86afb7ddf5a94b89f6dcef6", + "id": "0x5067f263179edc26576e8f21c1b728148dd4565d6843faeca2bfd847a9ab58b4", "balance": { - "value": "300" + "value": "100" } } } } }, { - "cursor": "INs4hFLNnqflqu5eGW8MOzUCEfYiGoqxYWNks0dajqpyAQAAAAAAAAA=", + "cursor": "IFxmBtJ0sDbMcgT4ONv7rxUYAZbmuvOuv29VNfiZ+gt8AQAAAAAAAAA=", "node": { "contents": { "json": { - "id": "0xdb388452cd9ea7e5aaee5e196f0c3b350211f6221a8ab1616364b3475a8eaa72", + "id": "0x5c6606d274b036cc7204f838dbfbaf15180196e6baf3aebf6f5535f899fa0b7c", "balance": { - "value": "200" + "value": "300" } } } @@ -430,44 +430,44 @@ Response: { } } -task 7, line 135: +task 7, line 136: //# transfer-object 1,2 --sender A --recipient B mutated: object(0,0), object(1,2) unchanged_shared: 0x0000000000000000000000000000000000000000000000000000000000000403 -gas summary: computation_cost: 1000000, storage_cost: 2310400, storage_rebate: 2287296, non_refundable_storage_fee: 23104 +gas summary: computation_cost: 1000000, storage_cost: 2310400, storage_rebate: 2310400, non_refundable_storage_fee: 0 -task 8, line 137: +task 8, line 138: //# transfer-object 1,3 --sender A --recipient B mutated: object(0,0), object(1,3) unchanged_shared: 0x0000000000000000000000000000000000000000000000000000000000000403 -gas summary: computation_cost: 1000000, storage_cost: 2310400, storage_rebate: 2287296, non_refundable_storage_fee: 23104 +gas summary: computation_cost: 1000000, storage_cost: 2310400, storage_rebate: 2310400, non_refundable_storage_fee: 0 -task 9, line 139: +task 9, line 140: //# create-checkpoint Checkpoint created: 3 -task 10, lines 141-194: +task 10, lines 142-195: //# run-graphql Response: { "data": { "queryCoins": { "edges": [ { - "cursor": "IInOO25b7OLrzHU3/p2iQ4vqVRlcuGr7fd9alLifbc72AwAAAAAAAAA=", + "cursor": "IFBn8mMXntwmV26PIcG3KBSN1FZdaEP67KK/2Eepq1i0AwAAAAAAAAA=", "node": { "owner": { "owner": { - "address": "0xfccc9a421bbb13c1a66a1aa98f0ad75029ede94857779c6915b44f94068b921e", + "address": "0x8cca4e1ce0ba5904cea61df9242da2f7d29e3ef328fb7ec07c086b3bf47ca61a", "coins": { "edges": [ { - "cursor": "IInOO25b7OLrzHU3/p2iQ4vqVRlcuGr7fd9alLifbc72AwAAAAAAAAA=", + "cursor": "IFBn8mMXntwmV26PIcG3KBSN1FZdaEP67KK/2Eepq1i0AwAAAAAAAAA=", "node": { "contents": { "json": { - "id": "0x89ce3b6e5bece2ebcc7537fe9da2438bea55195cb86afb7ddf5a94b89f6dcef6", + "id": "0x5067f263179edc26576e8f21c1b728148dd4565d6843faeca2bfd847a9ab58b4", "balance": { - "value": "100300" + "value": "100100" } } } @@ -479,43 +479,43 @@ Response: { }, "contents": { "json": { - "id": "0x89ce3b6e5bece2ebcc7537fe9da2438bea55195cb86afb7ddf5a94b89f6dcef6", + "id": "0x5067f263179edc26576e8f21c1b728148dd4565d6843faeca2bfd847a9ab58b4", "balance": { - "value": "100300" + "value": "100100" } } } } }, { - "cursor": "INs4hFLNnqflqu5eGW8MOzUCEfYiGoqxYWNks0dajqpyAwAAAAAAAAA=", + "cursor": "IFxmBtJ0sDbMcgT4ONv7rxUYAZbmuvOuv29VNfiZ+gt8AwAAAAAAAAA=", "node": { "owner": { "owner": { - "address": "0xa7b032703878aa74c3126935789fd1d4d7e111d5911b09247d6963061c312b5a", + "address": "0x28f02a953f3553f51a9365593c7d4bd0643d2085f004b18c6ca9de51682b2c80", "coins": { "edges": [ { - "cursor": "INs4hFLNnqflqu5eGW8MOzUCEfYiGoqxYWNks0dajqpyAwAAAAAAAAA=", + "cursor": "IFxmBtJ0sDbMcgT4ONv7rxUYAZbmuvOuv29VNfiZ+gt8AwAAAAAAAAA=", "node": { "contents": { "json": { - "id": "0xdb388452cd9ea7e5aaee5e196f0c3b350211f6221a8ab1616364b3475a8eaa72", + "id": "0x5c6606d274b036cc7204f838dbfbaf15180196e6baf3aebf6f5535f899fa0b7c", "balance": { - "value": "200" + "value": "300" } } } } }, { - "cursor": "INvVgLVfu65ukifQh30BNot195gE45+jwKQekLi2+XX5AwAAAAAAAAA=", + "cursor": "IK1hlyYDivC/XDuHbsgi+0caTexgYnUDsm56nePOgmGlAwAAAAAAAAA=", "node": { "contents": { "json": { - "id": "0xdbd580b55fbbae6e9227d0877d01368b75f79804e39fa3c0a41e90b8b6f975f9", + "id": "0xad619726038af0bf5c3b876ec822fb471a4dec60627503b26e7a9de3ce8261a5", "balance": { - "value": "100" + "value": "200" } } } @@ -527,43 +527,43 @@ Response: { }, "contents": { "json": { - "id": "0xdb388452cd9ea7e5aaee5e196f0c3b350211f6221a8ab1616364b3475a8eaa72", + "id": "0x5c6606d274b036cc7204f838dbfbaf15180196e6baf3aebf6f5535f899fa0b7c", "balance": { - "value": "200" + "value": "300" } } } } }, { - "cursor": "INvVgLVfu65ukifQh30BNot195gE45+jwKQekLi2+XX5AwAAAAAAAAA=", + "cursor": "IK1hlyYDivC/XDuHbsgi+0caTexgYnUDsm56nePOgmGlAwAAAAAAAAA=", "node": { "owner": { "owner": { - "address": "0xa7b032703878aa74c3126935789fd1d4d7e111d5911b09247d6963061c312b5a", + "address": "0x28f02a953f3553f51a9365593c7d4bd0643d2085f004b18c6ca9de51682b2c80", "coins": { "edges": [ { - "cursor": "INs4hFLNnqflqu5eGW8MOzUCEfYiGoqxYWNks0dajqpyAwAAAAAAAAA=", + "cursor": "IFxmBtJ0sDbMcgT4ONv7rxUYAZbmuvOuv29VNfiZ+gt8AwAAAAAAAAA=", "node": { "contents": { "json": { - "id": "0xdb388452cd9ea7e5aaee5e196f0c3b350211f6221a8ab1616364b3475a8eaa72", + "id": "0x5c6606d274b036cc7204f838dbfbaf15180196e6baf3aebf6f5535f899fa0b7c", "balance": { - "value": "200" + "value": "300" } } } } }, { - "cursor": "INvVgLVfu65ukifQh30BNot195gE45+jwKQekLi2+XX5AwAAAAAAAAA=", + "cursor": "IK1hlyYDivC/XDuHbsgi+0caTexgYnUDsm56nePOgmGlAwAAAAAAAAA=", "node": { "contents": { "json": { - "id": "0xdbd580b55fbbae6e9227d0877d01368b75f79804e39fa3c0a41e90b8b6f975f9", + "id": "0xad619726038af0bf5c3b876ec822fb471a4dec60627503b26e7a9de3ce8261a5", "balance": { - "value": "100" + "value": "200" } } } @@ -575,9 +575,9 @@ Response: { }, "contents": { "json": { - "id": "0xdbd580b55fbbae6e9227d0877d01368b75f79804e39fa3c0a41e90b8b6f975f9", + "id": "0xad619726038af0bf5c3b876ec822fb471a4dec60627503b26e7a9de3ce8261a5", "balance": { - "value": "100" + "value": "200" } } } @@ -589,13 +589,13 @@ Response: { "coins": { "edges": [ { - "cursor": "IInOO25b7OLrzHU3/p2iQ4vqVRlcuGr7fd9alLifbc72AwAAAAAAAAA=", + "cursor": "IFBn8mMXntwmV26PIcG3KBSN1FZdaEP67KK/2Eepq1i0AwAAAAAAAAA=", "node": { "contents": { "json": { - "id": "0x89ce3b6e5bece2ebcc7537fe9da2438bea55195cb86afb7ddf5a94b89f6dcef6", + "id": "0x5067f263179edc26576e8f21c1b728148dd4565d6843faeca2bfd847a9ab58b4", "balance": { - "value": "100300" + "value": "100100" } } } @@ -608,26 +608,26 @@ Response: { "coins": { "edges": [ { - "cursor": "INs4hFLNnqflqu5eGW8MOzUCEfYiGoqxYWNks0dajqpyAwAAAAAAAAA=", + "cursor": "IFxmBtJ0sDbMcgT4ONv7rxUYAZbmuvOuv29VNfiZ+gt8AwAAAAAAAAA=", "node": { "contents": { "json": { - "id": "0xdb388452cd9ea7e5aaee5e196f0c3b350211f6221a8ab1616364b3475a8eaa72", + "id": "0x5c6606d274b036cc7204f838dbfbaf15180196e6baf3aebf6f5535f899fa0b7c", "balance": { - "value": "200" + "value": "300" } } } } }, { - "cursor": "INvVgLVfu65ukifQh30BNot195gE45+jwKQekLi2+XX5AwAAAAAAAAA=", + "cursor": "IK1hlyYDivC/XDuHbsgi+0caTexgYnUDsm56nePOgmGlAwAAAAAAAAA=", "node": { "contents": { "json": { - "id": "0xdbd580b55fbbae6e9227d0877d01368b75f79804e39fa3c0a41e90b8b6f975f9", + "id": "0xad619726038af0bf5c3b876ec822fb471a4dec60627503b26e7a9de3ce8261a5", "balance": { - "value": "100" + "value": "200" } } } @@ -639,66 +639,66 @@ Response: { } } -task 12, line 198: +task 12, line 199: //# create-checkpoint Checkpoint created: 4 -task 14, line 202: +task 14, line 203: //# create-checkpoint Checkpoint created: 5 -task 16, line 206: +task 16, line 207: //# create-checkpoint Checkpoint created: 6 -task 17, lines 208-249: +task 17, lines 209-250: //# run-graphql --cursors @{obj_1_3,1} Response: { "data": { "queryCoinsAtChkpt1BeforeSnapshotCatchup": { "edges": [ { - "cursor": "IInOO25b7OLrzHU3/p2iQ4vqVRlcuGr7fd9alLifbc72AQAAAAAAAAA=", + "cursor": "IFBn8mMXntwmV26PIcG3KBSN1FZdaEP67KK/2Eepq1i0AQAAAAAAAAA=", "node": { "consistentStateForEachCoin": { "owner": { - "address": "0xfccc9a421bbb13c1a66a1aa98f0ad75029ede94857779c6915b44f94068b921e", + "address": "0x8cca4e1ce0ba5904cea61df9242da2f7d29e3ef328fb7ec07c086b3bf47ca61a", "coins": { "edges": [ { - "cursor": "IInOO25b7OLrzHU3/p2iQ4vqVRlcuGr7fd9alLifbc72AQAAAAAAAAA=", + "cursor": "IFBn8mMXntwmV26PIcG3KBSN1FZdaEP67KK/2Eepq1i0AQAAAAAAAAA=", "node": { "contents": { "json": { - "id": "0x89ce3b6e5bece2ebcc7537fe9da2438bea55195cb86afb7ddf5a94b89f6dcef6", + "id": "0x5067f263179edc26576e8f21c1b728148dd4565d6843faeca2bfd847a9ab58b4", "balance": { - "value": "300" + "value": "100" } } } } }, { - "cursor": "INs4hFLNnqflqu5eGW8MOzUCEfYiGoqxYWNks0dajqpyAQAAAAAAAAA=", + "cursor": "IFxmBtJ0sDbMcgT4ONv7rxUYAZbmuvOuv29VNfiZ+gt8AQAAAAAAAAA=", "node": { "contents": { "json": { - "id": "0xdb388452cd9ea7e5aaee5e196f0c3b350211f6221a8ab1616364b3475a8eaa72", + "id": "0x5c6606d274b036cc7204f838dbfbaf15180196e6baf3aebf6f5535f899fa0b7c", "balance": { - "value": "200" + "value": "300" } } } } }, { - "cursor": "INvVgLVfu65ukifQh30BNot195gE45+jwKQekLi2+XX5AQAAAAAAAAA=", + "cursor": "IK1hlyYDivC/XDuHbsgi+0caTexgYnUDsm56nePOgmGlAQAAAAAAAAA=", "node": { "contents": { "json": { - "id": "0xdbd580b55fbbae6e9227d0877d01368b75f79804e39fa3c0a41e90b8b6f975f9", + "id": "0xad619726038af0bf5c3b876ec822fb471a4dec60627503b26e7a9de3ce8261a5", "balance": { - "value": "100" + "value": "200" } } } @@ -710,56 +710,56 @@ Response: { }, "contents": { "json": { - "id": "0x89ce3b6e5bece2ebcc7537fe9da2438bea55195cb86afb7ddf5a94b89f6dcef6", + "id": "0x5067f263179edc26576e8f21c1b728148dd4565d6843faeca2bfd847a9ab58b4", "balance": { - "value": "300" + "value": "100" } } } } }, { - "cursor": "INs4hFLNnqflqu5eGW8MOzUCEfYiGoqxYWNks0dajqpyAQAAAAAAAAA=", + "cursor": "IFxmBtJ0sDbMcgT4ONv7rxUYAZbmuvOuv29VNfiZ+gt8AQAAAAAAAAA=", "node": { "consistentStateForEachCoin": { "owner": { - "address": "0xfccc9a421bbb13c1a66a1aa98f0ad75029ede94857779c6915b44f94068b921e", + "address": "0x8cca4e1ce0ba5904cea61df9242da2f7d29e3ef328fb7ec07c086b3bf47ca61a", "coins": { "edges": [ { - "cursor": "IInOO25b7OLrzHU3/p2iQ4vqVRlcuGr7fd9alLifbc72AQAAAAAAAAA=", + "cursor": "IFBn8mMXntwmV26PIcG3KBSN1FZdaEP67KK/2Eepq1i0AQAAAAAAAAA=", "node": { "contents": { "json": { - "id": "0x89ce3b6e5bece2ebcc7537fe9da2438bea55195cb86afb7ddf5a94b89f6dcef6", + "id": "0x5067f263179edc26576e8f21c1b728148dd4565d6843faeca2bfd847a9ab58b4", "balance": { - "value": "300" + "value": "100" } } } } }, { - "cursor": "INs4hFLNnqflqu5eGW8MOzUCEfYiGoqxYWNks0dajqpyAQAAAAAAAAA=", + "cursor": "IFxmBtJ0sDbMcgT4ONv7rxUYAZbmuvOuv29VNfiZ+gt8AQAAAAAAAAA=", "node": { "contents": { "json": { - "id": "0xdb388452cd9ea7e5aaee5e196f0c3b350211f6221a8ab1616364b3475a8eaa72", + "id": "0x5c6606d274b036cc7204f838dbfbaf15180196e6baf3aebf6f5535f899fa0b7c", "balance": { - "value": "200" + "value": "300" } } } } }, { - "cursor": "INvVgLVfu65ukifQh30BNot195gE45+jwKQekLi2+XX5AQAAAAAAAAA=", + "cursor": "IK1hlyYDivC/XDuHbsgi+0caTexgYnUDsm56nePOgmGlAQAAAAAAAAA=", "node": { "contents": { "json": { - "id": "0xdbd580b55fbbae6e9227d0877d01368b75f79804e39fa3c0a41e90b8b6f975f9", + "id": "0xad619726038af0bf5c3b876ec822fb471a4dec60627503b26e7a9de3ce8261a5", "balance": { - "value": "100" + "value": "200" } } } @@ -771,9 +771,9 @@ Response: { }, "contents": { "json": { - "id": "0xdb388452cd9ea7e5aaee5e196f0c3b350211f6221a8ab1616364b3475a8eaa72", + "id": "0x5c6606d274b036cc7204f838dbfbaf15180196e6baf3aebf6f5535f899fa0b7c", "balance": { - "value": "200" + "value": "300" } } } @@ -785,26 +785,26 @@ Response: { "coins": { "edges": [ { - "cursor": "IInOO25b7OLrzHU3/p2iQ4vqVRlcuGr7fd9alLifbc72AQAAAAAAAAA=", + "cursor": "IFBn8mMXntwmV26PIcG3KBSN1FZdaEP67KK/2Eepq1i0AQAAAAAAAAA=", "node": { "contents": { "json": { - "id": "0x89ce3b6e5bece2ebcc7537fe9da2438bea55195cb86afb7ddf5a94b89f6dcef6", + "id": "0x5067f263179edc26576e8f21c1b728148dd4565d6843faeca2bfd847a9ab58b4", "balance": { - "value": "300" + "value": "100" } } } } }, { - "cursor": "INs4hFLNnqflqu5eGW8MOzUCEfYiGoqxYWNks0dajqpyAQAAAAAAAAA=", + "cursor": "IFxmBtJ0sDbMcgT4ONv7rxUYAZbmuvOuv29VNfiZ+gt8AQAAAAAAAAA=", "node": { "contents": { "json": { - "id": "0xdb388452cd9ea7e5aaee5e196f0c3b350211f6221a8ab1616364b3475a8eaa72", + "id": "0x5c6606d274b036cc7204f838dbfbaf15180196e6baf3aebf6f5535f899fa0b7c", "balance": { - "value": "200" + "value": "300" } } } @@ -816,15 +816,15 @@ Response: { } } -task 18, line 251: +task 18, line 252: //# force-object-snapshot-catchup --start-cp 0 --end-cp 4 Objects snapshot updated to [0 to 4) -task 19, line 253: +task 19, line 254: //# create-checkpoint Checkpoint created: 7 -task 20, lines 255-284: +task 20, lines 256-285: //# run-graphql --cursors @{obj_1_3,1} Response: { "data": null, diff --git a/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/deleted_df.exp b/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/deleted_df.exp index da0728326a0..7aa4df673b5 100644 --- a/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/deleted_df.exp +++ b/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/deleted_df.exp @@ -3,19 +3,19 @@ processed 13 tasks init: A: object(0,0) -task 1, lines 14-55: +task 1, lines 15-56: //# publish created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 8474000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2, line 57: +task 2, line 58: //# run Test::M1::parent --sender A --args @A created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3, line 59: +task 3, line 60: //# view-object 2,0 Owner: Account Address ( A ) Version: 2 @@ -28,13 +28,13 @@ Contents: Test::M1::Parent { count: 0u64, } -task 4, line 61: +task 4, line 62: //# run Test::M1::add_df --sender A --args object(2,0) created: object(4,0), object(4,1), object(4,2) mutated: object(0,0), object(2,0) -gas summary: computation_cost: 1000000, storage_cost: 8664000, storage_rebate: 2279772, non_refundable_storage_fee: 23028 +gas summary: computation_cost: 1000000, storage_cost: 8664000, storage_rebate: 2302800, non_refundable_storage_fee: 0 -task 5, line 63: +task 5, line 64: //# view-object 2,0 Owner: Account Address ( A ) Version: 3 @@ -47,13 +47,13 @@ Contents: Test::M1::Parent { count: 0u64, } -task 6, line 65: +task 6, line 66: //# run Test::M1::add_more_df --sender A --args object(2,0) created: object(6,0), object(6,1), object(6,2) mutated: object(0,0), object(2,0) -gas summary: computation_cost: 1000000, storage_cost: 8664000, storage_rebate: 2279772, non_refundable_storage_fee: 23028 +gas summary: computation_cost: 1000000, storage_cost: 8664000, storage_rebate: 2302800, non_refundable_storage_fee: 0 -task 7, line 67: +task 7, line 68: //# view-object 2,0 Owner: Account Address ( A ) Version: 4 @@ -66,22 +66,22 @@ Contents: Test::M1::Parent { count: 0u64, } -task 8, line 69: +task 8, line 70: //# run Test::M1::remove_df --sender A --args object(2,0) mutated: object(0,0), object(2,0) deleted: object(4,0), object(4,1), object(4,2) -gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 8577360, non_refundable_storage_fee: 86640 +gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 8664000, non_refundable_storage_fee: 0 -task 9, line 71: +task 9, line 72: //# run Test::M1::mutate_parent --sender A --args object(2,0) mutated: object(0,0), object(2,0) -gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 2279772, non_refundable_storage_fee: 23028 +gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 2302800, non_refundable_storage_fee: 0 -task 10, line 73: +task 10, line 74: //# create-checkpoint Checkpoint created: 1 -task 11, lines 75-138: +task 11, lines 76-139: //# run-graphql Response: { "data": { @@ -90,35 +90,35 @@ Response: { "dynamicFields": { "edges": [ { - "cursor": "IKZJq+zukU0mYqXPOEbMnAuJAEEJxRu/3QmIbhKM33V3AQAAAAAAAAA=", + "cursor": "IFNC1p+pdXV/1q95XFuga2Qx7DBEbYXFcWS9WuOEeJvmAQAAAAAAAAA=", "node": { "name": { - "bcs": "A2RmNQ==" + "bcs": "A2RmNg==" }, "value": { - "json": "df5" + "json": "df6" } } }, { - "cursor": "ILRu8aFxTJ4nn6MsbE3TJ/diWQoHMAICnUjy1RktEITLAQAAAAAAAAA=", + "cursor": "IF70AI15tmaCwc2NWc8aCpGamqL8BdZ8xuZNP3WCyDdrAQAAAAAAAAA=", "node": { "name": { - "bcs": "A2RmNA==" + "bcs": "A2RmNQ==" }, "value": { - "json": "df4" + "json": "df5" } } }, { - "cursor": "ILjcF1bSfeRYSdTStBcQVLiBb5YTmJ/qNviAKgZCGcDcAQAAAAAAAAA=", + "cursor": "IPrwwZasjDEUZXgY8DFjYKNZGokLOlxK6oB0LLbRMExgAQAAAAAAAAA=", "node": { "name": { - "bcs": "A2RmNg==" + "bcs": "A2RmNA==" }, "value": { - "json": "df6" + "json": "df4" } } } @@ -139,35 +139,35 @@ Response: { "dynamicFields": { "edges": [ { - "cursor": "IKZJq+zukU0mYqXPOEbMnAuJAEEJxRu/3QmIbhKM33V3AQAAAAAAAAA=", + "cursor": "IFNC1p+pdXV/1q95XFuga2Qx7DBEbYXFcWS9WuOEeJvmAQAAAAAAAAA=", "node": { "name": { - "bcs": "A2RmNQ==" + "bcs": "A2RmNg==" }, "value": { - "json": "df5" + "json": "df6" } } }, { - "cursor": "ILRu8aFxTJ4nn6MsbE3TJ/diWQoHMAICnUjy1RktEITLAQAAAAAAAAA=", + "cursor": "IF70AI15tmaCwc2NWc8aCpGamqL8BdZ8xuZNP3WCyDdrAQAAAAAAAAA=", "node": { "name": { - "bcs": "A2RmNA==" + "bcs": "A2RmNQ==" }, "value": { - "json": "df4" + "json": "df5" } } }, { - "cursor": "ILjcF1bSfeRYSdTStBcQVLiBb5YTmJ/qNviAKgZCGcDcAQAAAAAAAAA=", + "cursor": "IPrwwZasjDEUZXgY8DFjYKNZGokLOlxK6oB0LLbRMExgAQAAAAAAAAA=", "node": { "name": { - "bcs": "A2RmNg==" + "bcs": "A2RmNA==" }, "value": { - "json": "df6" + "json": "df4" } } } @@ -188,68 +188,68 @@ Response: { "dynamicFields": { "edges": [ { - "cursor": "IHqaCZ0vJNy8gny5hx0IinhABVDiHsTtxEeZ0Rc4mKGmAQAAAAAAAAA=", + "cursor": "IAkt6e577g2LtFAZ/LQt0cW2JZ9dVi7nVOHBBLOsrhzpAQAAAAAAAAA=", "node": { "name": { - "bcs": "A2RmMw==" + "bcs": "A2RmMg==" }, "value": { - "json": "df3" + "json": "df2" } } }, { - "cursor": "IHy6H8038k3eOI8fOlDrvDujD5mJgc3oaqf9bbilQ+RNAQAAAAAAAAA=", + "cursor": "IFNC1p+pdXV/1q95XFuga2Qx7DBEbYXFcWS9WuOEeJvmAQAAAAAAAAA=", "node": { "name": { - "bcs": "A2RmMQ==" + "bcs": "A2RmNg==" }, "value": { - "json": "df1" + "json": "df6" } } }, { - "cursor": "IJEAplHRqEgqh28GXZyD1a2GP5MPU594DXNvQGh68idPAQAAAAAAAAA=", + "cursor": "IF70AI15tmaCwc2NWc8aCpGamqL8BdZ8xuZNP3WCyDdrAQAAAAAAAAA=", "node": { "name": { - "bcs": "A2RmMg==" + "bcs": "A2RmNQ==" }, "value": { - "json": "df2" + "json": "df5" } } }, { - "cursor": "IKZJq+zukU0mYqXPOEbMnAuJAEEJxRu/3QmIbhKM33V3AQAAAAAAAAA=", + "cursor": "IIaJ3uAQdqlHf0ZTy76+jP/o+YPSYIFZROKkPQiLUTy/AQAAAAAAAAA=", "node": { "name": { - "bcs": "A2RmNQ==" + "bcs": "A2RmMQ==" }, "value": { - "json": "df5" + "json": "df1" } } }, { - "cursor": "ILRu8aFxTJ4nn6MsbE3TJ/diWQoHMAICnUjy1RktEITLAQAAAAAAAAA=", + "cursor": "IKSuDi9QeCGQJZaJSjNyMI8FmPFw92u9LHbMRbgqLVaIAQAAAAAAAAA=", "node": { "name": { - "bcs": "A2RmNA==" + "bcs": "A2RmMw==" }, "value": { - "json": "df4" + "json": "df3" } } }, { - "cursor": "ILjcF1bSfeRYSdTStBcQVLiBb5YTmJ/qNviAKgZCGcDcAQAAAAAAAAA=", + "cursor": "IPrwwZasjDEUZXgY8DFjYKNZGokLOlxK6oB0LLbRMExgAQAAAAAAAAA=", "node": { "name": { - "bcs": "A2RmNg==" + "bcs": "A2RmNA==" }, "value": { - "json": "df6" + "json": "df4" } } } @@ -275,7 +275,7 @@ Response: { } } -task 12, lines 140-178: +task 12, lines 141-179: //# run-graphql Response: { "data": { @@ -283,35 +283,35 @@ Response: { "dynamicFields": { "edges": [ { - "cursor": "IKZJq+zukU0mYqXPOEbMnAuJAEEJxRu/3QmIbhKM33V3AQAAAAAAAAA=", + "cursor": "IFNC1p+pdXV/1q95XFuga2Qx7DBEbYXFcWS9WuOEeJvmAQAAAAAAAAA=", "node": { "name": { - "bcs": "A2RmNQ==" + "bcs": "A2RmNg==" }, "value": { - "json": "df5" + "json": "df6" } } }, { - "cursor": "ILRu8aFxTJ4nn6MsbE3TJ/diWQoHMAICnUjy1RktEITLAQAAAAAAAAA=", + "cursor": "IF70AI15tmaCwc2NWc8aCpGamqL8BdZ8xuZNP3WCyDdrAQAAAAAAAAA=", "node": { "name": { - "bcs": "A2RmNA==" + "bcs": "A2RmNQ==" }, "value": { - "json": "df4" + "json": "df5" } } }, { - "cursor": "ILjcF1bSfeRYSdTStBcQVLiBb5YTmJ/qNviAKgZCGcDcAQAAAAAAAAA=", + "cursor": "IPrwwZasjDEUZXgY8DFjYKNZGokLOlxK6oB0LLbRMExgAQAAAAAAAAA=", "node": { "name": { - "bcs": "A2RmNg==" + "bcs": "A2RmNA==" }, "value": { - "json": "df6" + "json": "df4" } } } diff --git a/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/deleted_dof.exp b/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/deleted_dof.exp index f31230c2b72..19c348a23c1 100644 --- a/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/deleted_dof.exp +++ b/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/deleted_dof.exp @@ -3,13 +3,13 @@ processed 13 tasks init: A: object(0,0) -task 1, lines 14-58: +task 1, lines 15-59: //# publish created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 7949600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2, lines 60-62: +task 2, lines 61-63: //# programmable --sender A --inputs @A //> 0: Test::M1::child(Input(0)); //> 1: Test::M1::parent(Input(0)); @@ -17,22 +17,22 @@ created: object(2,0), object(2,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 3610000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3, line 64: +task 3, line 65: //# run Test::M1::add_child --sender A --args object(2,1) object(2,0) 42 created: object(3,0) mutated: object(0,0), object(2,0), object(2,1) -gas summary: computation_cost: 1000000, storage_cost: 6064800, storage_rebate: 3573900, non_refundable_storage_fee: 36100 +gas summary: computation_cost: 1000000, storage_cost: 6064800, storage_rebate: 3610000, non_refundable_storage_fee: 0 -task 4, line 66: +task 4, line 67: //# run Test::M1::mutate_parent --sender A --args object(2,1) mutated: object(0,0), object(2,1) -gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 2279772, non_refundable_storage_fee: 23028 +gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 2302800, non_refundable_storage_fee: 0 -task 5, line 68: +task 5, line 69: //# create-checkpoint Checkpoint created: 1 -task 6, lines 70-127: +task 6, lines 71-128: //# run-graphql Response: { "data": { @@ -41,7 +41,7 @@ Response: { "dynamicFields": { "edges": [ { - "cursor": "IHuruxbquGBybOUaXwCrYwB8y2JstlC7KGMPEhrLmQTfAQAAAAAAAAA=", + "cursor": "IM/yLtRUHPlkuTKQ2KZLMBvBTLcc9QVeLaaTsumsxYMHAQAAAAAAAAA=", "node": { "name": { "bcs": "KgAAAAAAAAA=" @@ -49,7 +49,7 @@ Response: { "value": { "contents": { "json": { - "id": "0x135e44a228378b182429771f0bbb1f1a8c7ad0139c79cbf6f1ba3c0b07c6e9e0", + "id": "0x4f5e0332a47cbe7f9c9873f6df7093fbd5d5f20570d0a01ba54b7f4eff4e0d3e", "count": "0" } } @@ -65,7 +65,7 @@ Response: { "value": { "contents": { "json": { - "id": "0x135e44a228378b182429771f0bbb1f1a8c7ad0139c79cbf6f1ba3c0b07c6e9e0", + "id": "0x4f5e0332a47cbe7f9c9873f6df7093fbd5d5f20570d0a01ba54b7f4eff4e0d3e", "count": "0" } } @@ -77,7 +77,7 @@ Response: { "dynamicFields": { "edges": [ { - "cursor": "IHuruxbquGBybOUaXwCrYwB8y2JstlC7KGMPEhrLmQTfAQAAAAAAAAA=", + "cursor": "IM/yLtRUHPlkuTKQ2KZLMBvBTLcc9QVeLaaTsumsxYMHAQAAAAAAAAA=", "node": { "name": { "bcs": "KgAAAAAAAAA=" @@ -85,7 +85,7 @@ Response: { "value": { "contents": { "json": { - "id": "0x135e44a228378b182429771f0bbb1f1a8c7ad0139c79cbf6f1ba3c0b07c6e9e0", + "id": "0x4f5e0332a47cbe7f9c9873f6df7093fbd5d5f20570d0a01ba54b7f4eff4e0d3e", "count": "0" } } @@ -101,7 +101,7 @@ Response: { "value": { "contents": { "json": { - "id": "0x135e44a228378b182429771f0bbb1f1a8c7ad0139c79cbf6f1ba3c0b07c6e9e0", + "id": "0x4f5e0332a47cbe7f9c9873f6df7093fbd5d5f20570d0a01ba54b7f4eff4e0d3e", "count": "0" } } @@ -117,7 +117,7 @@ Response: { "value": { "contents": { "json": { - "id": "0x135e44a228378b182429771f0bbb1f1a8c7ad0139c79cbf6f1ba3c0b07c6e9e0", + "id": "0x4f5e0332a47cbe7f9c9873f6df7093fbd5d5f20570d0a01ba54b7f4eff4e0d3e", "count": "0" } } @@ -131,17 +131,17 @@ Response: { } } -task 7, line 129: +task 7, line 130: //# run Test::M1::delete_child --sender A --args object(2,1) 42 mutated: object(0,0), object(2,1) deleted: object(2,0), object(3,0) -gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 6004152, non_refundable_storage_fee: 60648 +gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 6064800, non_refundable_storage_fee: 0 -task 8, line 131: +task 8, line 132: //# create-checkpoint Checkpoint created: 2 -task 9, lines 133-184: +task 9, lines 134-185: //# run-graphql Response: { "data": { @@ -168,7 +168,7 @@ Response: { "value": { "contents": { "json": { - "id": "0x135e44a228378b182429771f0bbb1f1a8c7ad0139c79cbf6f1ba3c0b07c6e9e0", + "id": "0x4f5e0332a47cbe7f9c9873f6df7093fbd5d5f20570d0a01ba54b7f4eff4e0d3e", "count": "0" } } @@ -178,16 +178,16 @@ Response: { } } -task 10, line 186: +task 10, line 187: //# run Test::M1::mutate_parent --sender A --args object(2,1) mutated: object(0,0), object(2,1) -gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 2279772, non_refundable_storage_fee: 23028 +gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 2302800, non_refundable_storage_fee: 0 -task 11, line 188: +task 11, line 189: //# create-checkpoint Checkpoint created: 3 -task 12, lines 190-253: +task 12, lines 191-254: //# run-graphql Response: { "data": { @@ -222,7 +222,7 @@ Response: { "value": { "contents": { "json": { - "id": "0x135e44a228378b182429771f0bbb1f1a8c7ad0139c79cbf6f1ba3c0b07c6e9e0", + "id": "0x4f5e0332a47cbe7f9c9873f6df7093fbd5d5f20570d0a01ba54b7f4eff4e0d3e", "count": "0" } } diff --git a/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/dof_add_reclaim_transfer.exp b/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/dof_add_reclaim_transfer.exp index 512f602e83b..549711ed19c 100644 --- a/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/dof_add_reclaim_transfer.exp +++ b/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/dof_add_reclaim_transfer.exp @@ -3,13 +3,13 @@ processed 9 tasks init: A: object(0,0) -task 1, lines 19-58: +task 1, lines 20-59: //# publish created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 7600000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2, lines 60-62: +task 2, lines 61-63: //# programmable --sender A --inputs @A //> 0: Test::M1::child(Input(0)); //> 1: Test::M1::parent(Input(0)); @@ -17,17 +17,17 @@ created: object(2,0), object(2,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 3610000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3, line 64: +task 3, line 65: //# run Test::M1::add_child --sender A --args object(2,1) object(2,0) 42 created: object(3,0) mutated: object(0,0), object(2,0), object(2,1) -gas summary: computation_cost: 1000000, storage_cost: 6064800, storage_rebate: 3573900, non_refundable_storage_fee: 36100 +gas summary: computation_cost: 1000000, storage_cost: 6064800, storage_rebate: 3610000, non_refundable_storage_fee: 0 -task 4, line 66: +task 4, line 67: //# create-checkpoint Checkpoint created: 1 -task 5, lines 68-130: +task 5, lines 69-131: //# run-graphql Response: { "data": { @@ -36,7 +36,7 @@ Response: { "dynamicFields": { "edges": [ { - "cursor": "IINo9rtSKYxa8qTnsANAx+SVF2gwG9jIfKKxVO/XfZaIAQAAAAAAAAA=", + "cursor": "ILT0f2k4pWxCyuN9VgNOnCLJgwqS6bp2jTC7GCmsaeDoAQAAAAAAAAA=", "node": { "name": { "bcs": "KgAAAAAAAAA=" @@ -44,7 +44,7 @@ Response: { "value": { "contents": { "json": { - "id": "0xdcaee2e464dd4cd63e5863474e921177ebbc3e9309f63eb3825ea98285600b7f", + "id": "0x5c2729447482a2b824d542322413a7f87f6c5df3c1d5e24f1463892b21f0274b", "count": "0" } } @@ -60,7 +60,7 @@ Response: { "value": { "contents": { "json": { - "id": "0xdcaee2e464dd4cd63e5863474e921177ebbc3e9309f63eb3825ea98285600b7f", + "id": "0x5c2729447482a2b824d542322413a7f87f6c5df3c1d5e24f1463892b21f0274b", "count": "0" } } @@ -71,7 +71,7 @@ Response: { "dynamicFields": { "edges": [ { - "cursor": "IINo9rtSKYxa8qTnsANAx+SVF2gwG9jIfKKxVO/XfZaIAQAAAAAAAAA=", + "cursor": "ILT0f2k4pWxCyuN9VgNOnCLJgwqS6bp2jTC7GCmsaeDoAQAAAAAAAAA=", "node": { "name": { "bcs": "KgAAAAAAAAA=" @@ -79,7 +79,7 @@ Response: { "value": { "contents": { "json": { - "id": "0xdcaee2e464dd4cd63e5863474e921177ebbc3e9309f63eb3825ea98285600b7f", + "id": "0x5c2729447482a2b824d542322413a7f87f6c5df3c1d5e24f1463892b21f0274b", "count": "0" } } @@ -95,7 +95,7 @@ Response: { "value": { "contents": { "json": { - "id": "0xdcaee2e464dd4cd63e5863474e921177ebbc3e9309f63eb3825ea98285600b7f", + "id": "0x5c2729447482a2b824d542322413a7f87f6c5df3c1d5e24f1463892b21f0274b", "count": "0" } } @@ -107,7 +107,7 @@ Response: { "dynamicFields": { "edges": [ { - "cursor": "IINo9rtSKYxa8qTnsANAx+SVF2gwG9jIfKKxVO/XfZaIAQAAAAAAAAA=", + "cursor": "ILT0f2k4pWxCyuN9VgNOnCLJgwqS6bp2jTC7GCmsaeDoAQAAAAAAAAA=", "node": { "name": { "bcs": "KgAAAAAAAAA=" @@ -115,7 +115,7 @@ Response: { "value": { "contents": { "json": { - "id": "0xdcaee2e464dd4cd63e5863474e921177ebbc3e9309f63eb3825ea98285600b7f", + "id": "0x5c2729447482a2b824d542322413a7f87f6c5df3c1d5e24f1463892b21f0274b", "count": "0" } } @@ -131,7 +131,7 @@ Response: { "value": { "contents": { "json": { - "id": "0xdcaee2e464dd4cd63e5863474e921177ebbc3e9309f63eb3825ea98285600b7f", + "id": "0x5c2729447482a2b824d542322413a7f87f6c5df3c1d5e24f1463892b21f0274b", "count": "0" } } @@ -148,17 +148,17 @@ Response: { } } -task 6, line 132: +task 6, line 133: //# run Test::M1::reclaim_and_transfer_child --sender A --args object(2,1) 42 @A mutated: object(0,0), object(2,0), object(2,1) deleted: object(3,0) -gas summary: computation_cost: 1000000, storage_cost: 3610000, storage_rebate: 6004152, non_refundable_storage_fee: 60648 +gas summary: computation_cost: 1000000, storage_cost: 3610000, storage_rebate: 6064800, non_refundable_storage_fee: 0 -task 7, line 134: +task 7, line 135: //# create-checkpoint Checkpoint created: 2 -task 8, lines 136-186: +task 8, lines 137-187: //# run-graphql Response: { "data": { @@ -184,7 +184,7 @@ Response: { "value": { "contents": { "json": { - "id": "0xdcaee2e464dd4cd63e5863474e921177ebbc3e9309f63eb3825ea98285600b7f", + "id": "0x5c2729447482a2b824d542322413a7f87f6c5df3c1d5e24f1463892b21f0274b", "count": "0" } } diff --git a/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/dof_add_reclaim_transfer_reclaim_add.exp b/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/dof_add_reclaim_transfer_reclaim_add.exp index 010d8622091..6c568cc3227 100644 --- a/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/dof_add_reclaim_transfer_reclaim_add.exp +++ b/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/dof_add_reclaim_transfer_reclaim_add.exp @@ -3,13 +3,13 @@ processed 10 tasks init: A: object(0,0) -task 1, lines 18-57: +task 1, lines 19-58: //# publish created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 7600000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2, lines 59-62: +task 2, lines 60-63: //# programmable --sender A --inputs @A //> 0: Test::M1::child(Input(0)); //> 1: Test::M1::parent(Input(0)); @@ -18,41 +18,41 @@ created: object(2,0), object(2,1), object(2,2) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 4924800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3, line 64: +task 3, line 65: //# run Test::M1::add_child --sender A --args object(2,1) object(2,0) 42 created: object(3,0) mutated: object(0,0), object(2,0), object(2,1) -gas summary: computation_cost: 1000000, storage_cost: 6064800, storage_rebate: 3573900, non_refundable_storage_fee: 36100 +gas summary: computation_cost: 1000000, storage_cost: 6064800, storage_rebate: 3610000, non_refundable_storage_fee: 0 -task 4, line 66: +task 4, line 67: //# run Test::M1::reclaim_and_transfer_child --sender A --args object(2,1) 42 @A mutated: object(0,0), object(2,0), object(2,1) deleted: object(3,0) -gas summary: computation_cost: 1000000, storage_cost: 3610000, storage_rebate: 6004152, non_refundable_storage_fee: 60648 +gas summary: computation_cost: 1000000, storage_cost: 3610000, storage_rebate: 6064800, non_refundable_storage_fee: 0 -task 5, line 68: +task 5, line 69: //# run Test::M1::add_child --sender A --args object(2,2) object(2,0) 42 created: object(5,0) mutated: object(0,0), object(2,0), object(2,2) -gas summary: computation_cost: 1000000, storage_cost: 6064800, storage_rebate: 3573900, non_refundable_storage_fee: 36100 +gas summary: computation_cost: 1000000, storage_cost: 6064800, storage_rebate: 3610000, non_refundable_storage_fee: 0 -task 6, line 70: +task 6, line 71: //# run Test::M1::reclaim_and_transfer_child --sender A --args object(2,2) 42 @A mutated: object(0,0), object(2,0), object(2,2) deleted: object(5,0) -gas summary: computation_cost: 1000000, storage_cost: 3610000, storage_rebate: 6004152, non_refundable_storage_fee: 60648 +gas summary: computation_cost: 1000000, storage_cost: 3610000, storage_rebate: 6064800, non_refundable_storage_fee: 0 -task 7, line 72: +task 7, line 73: //# run Test::M1::add_child --sender A --args object(2,1) object(2,0) 42 created: object(3,0) mutated: object(0,0), object(2,0), object(2,1) -gas summary: computation_cost: 1000000, storage_cost: 6064800, storage_rebate: 3573900, non_refundable_storage_fee: 36100 +gas summary: computation_cost: 1000000, storage_cost: 6064800, storage_rebate: 3610000, non_refundable_storage_fee: 0 -task 8, line 74: +task 8, line 75: //# create-checkpoint Checkpoint created: 1 -task 9, lines 76-156: +task 9, lines 77-157: //# run-graphql Response: { "data": { @@ -61,7 +61,7 @@ Response: { "dynamicFields": { "edges": [ { - "cursor": "ICfYK9hpoZz2TvVoLEtiMG3hhlC9hZZKkiU4pl4iMT4YAQAAAAAAAAA=", + "cursor": "IDQlVRhwm5zKtDCVpxaj2TRmrOq3npF+91oNOzlde5ZeAQAAAAAAAAA=", "node": { "name": { "bcs": "KgAAAAAAAAA=" @@ -69,7 +69,7 @@ Response: { "value": { "contents": { "json": { - "id": "0x082e460818873777f5d3bd1f9b4fefb932d010d508d4d17316b94b4efdd78151", + "id": "0x2832066705e5e7f9a0285c0b805e884b33561ef78063da7337a1a657ae04bdfd", "count": "0" } } @@ -85,7 +85,7 @@ Response: { "value": { "contents": { "json": { - "id": "0x082e460818873777f5d3bd1f9b4fefb932d010d508d4d17316b94b4efdd78151", + "id": "0x2832066705e5e7f9a0285c0b805e884b33561ef78063da7337a1a657ae04bdfd", "count": "0" } } @@ -96,7 +96,7 @@ Response: { "dynamicFields": { "edges": [ { - "cursor": "ICfYK9hpoZz2TvVoLEtiMG3hhlC9hZZKkiU4pl4iMT4YAQAAAAAAAAA=", + "cursor": "IDQlVRhwm5zKtDCVpxaj2TRmrOq3npF+91oNOzlde5ZeAQAAAAAAAAA=", "node": { "name": { "bcs": "KgAAAAAAAAA=" @@ -104,7 +104,7 @@ Response: { "value": { "contents": { "json": { - "id": "0x082e460818873777f5d3bd1f9b4fefb932d010d508d4d17316b94b4efdd78151", + "id": "0x2832066705e5e7f9a0285c0b805e884b33561ef78063da7337a1a657ae04bdfd", "count": "0" } } @@ -120,7 +120,7 @@ Response: { "value": { "contents": { "json": { - "id": "0x082e460818873777f5d3bd1f9b4fefb932d010d508d4d17316b94b4efdd78151", + "id": "0x2832066705e5e7f9a0285c0b805e884b33561ef78063da7337a1a657ae04bdfd", "count": "0" } } @@ -139,7 +139,7 @@ Response: { "dynamicFields": { "edges": [ { - "cursor": "ICfYK9hpoZz2TvVoLEtiMG3hhlC9hZZKkiU4pl4iMT4YAQAAAAAAAAA=", + "cursor": "IDQlVRhwm5zKtDCVpxaj2TRmrOq3npF+91oNOzlde5ZeAQAAAAAAAAA=", "node": { "name": { "bcs": "KgAAAAAAAAA=" @@ -147,7 +147,7 @@ Response: { "value": { "contents": { "json": { - "id": "0x082e460818873777f5d3bd1f9b4fefb932d010d508d4d17316b94b4efdd78151", + "id": "0x2832066705e5e7f9a0285c0b805e884b33561ef78063da7337a1a657ae04bdfd", "count": "0" } } @@ -163,7 +163,7 @@ Response: { "value": { "contents": { "json": { - "id": "0x082e460818873777f5d3bd1f9b4fefb932d010d508d4d17316b94b4efdd78151", + "id": "0x2832066705e5e7f9a0285c0b805e884b33561ef78063da7337a1a657ae04bdfd", "count": "0" } } @@ -182,7 +182,7 @@ Response: { "dynamicFields": { "edges": [ { - "cursor": "ICfYK9hpoZz2TvVoLEtiMG3hhlC9hZZKkiU4pl4iMT4YAQAAAAAAAAA=", + "cursor": "IDQlVRhwm5zKtDCVpxaj2TRmrOq3npF+91oNOzlde5ZeAQAAAAAAAAA=", "node": { "name": { "bcs": "KgAAAAAAAAA=" @@ -190,7 +190,7 @@ Response: { "value": { "contents": { "json": { - "id": "0x082e460818873777f5d3bd1f9b4fefb932d010d508d4d17316b94b4efdd78151", + "id": "0x2832066705e5e7f9a0285c0b805e884b33561ef78063da7337a1a657ae04bdfd", "count": "0" } } @@ -206,7 +206,7 @@ Response: { "value": { "contents": { "json": { - "id": "0x082e460818873777f5d3bd1f9b4fefb932d010d508d4d17316b94b4efdd78151", + "id": "0x2832066705e5e7f9a0285c0b805e884b33561ef78063da7337a1a657ae04bdfd", "count": "0" } } diff --git a/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/dynamic_fields.exp b/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/dynamic_fields.exp index c951f768e23..7e699d8b5ec 100644 --- a/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/dynamic_fields.exp +++ b/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/dynamic_fields.exp @@ -3,13 +3,13 @@ processed 35 tasks init: A: object(0,0) -task 1, lines 12-82: +task 1, lines 13-83: //# publish created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 11012400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2, lines 84-86: +task 2, lines 85-87: //# programmable --sender A --inputs @A 42 //> 0: Test::M1::parent(Input(0)); //> 1: Test::M1::child(Input(0)); @@ -17,7 +17,7 @@ created: object(2,0), object(2,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 3549200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3, line 88: +task 3, line 89: //# view-object 2,1 Owner: Account Address ( A ) Version: 2 @@ -29,7 +29,7 @@ Contents: Test::M1::Parent { }, } -task 4, line 90: +task 4, line 91: //# view-object 2,0 Owner: Account Address ( A ) Version: 2 @@ -42,15 +42,15 @@ Contents: Test::M1::Child { count: 0u64, } -task 5, lines 92-94: +task 5, lines 93-95: //# programmable --sender A --inputs object(2,1) object(2,0) 420 //> Test::M1::add_child(Input(0), Input(1), Input(2)); //> Test::M1::mutate_child_via_parent(Input(0), Input(2)); created: object(5,0) mutated: object(0,0), object(2,0), object(2,1) -gas summary: computation_cost: 1000000, storage_cost: 6004000, storage_rebate: 3513708, non_refundable_storage_fee: 35492 +gas summary: computation_cost: 1000000, storage_cost: 6004000, storage_rebate: 3549200, non_refundable_storage_fee: 0 -task 6, line 96: +task 6, line 97: //# view-object 2,1 Owner: Account Address ( A ) Version: 3 @@ -62,7 +62,7 @@ Contents: Test::M1::Parent { }, } -task 7, line 98: +task 7, line 99: //# view-object 2,0 Owner: Object ID: ( fake(5,0) ) Version: 3 @@ -75,16 +75,16 @@ Contents: Test::M1::Child { count: 1u64, } -task 8, line 100: +task 8, line 101: //# create-checkpoint Checkpoint created: 1 -task 9, lines 102-164: +task 9, lines 103-165: //# run-graphql Response: { "data": { "parent_version_2_no_dof": { - "address": "0x40a75d0f1bb3802e1ef5e5f98e4ce159870d80af3d7d79c4255de35d921bc2a4", + "address": "0x8686b4ee916ff7cc45d6668b7d85f7104ad87ef7c9b5f0fb414176bb340325ea", "dynamicFields": { "edges": [] } @@ -93,7 +93,7 @@ Response: { "dynamicFields": { "edges": [ { - "cursor": "ICcYjAeDlWXNcui8GLsj8FTtebUvmAuwomLTvboe4VlTAQAAAAAAAAA=", + "cursor": "IFtwa3yjrqlqQ5sHy9o2eWpl5q0AY94Hj1qaa6nUmZieAQAAAAAAAAA=", "node": { "name": { "bcs": "pAEAAAAAAAA=", @@ -104,7 +104,7 @@ Response: { "value": { "contents": { "json": { - "id": "0x6444dfc849d5430a0cc760d35a942d594984f940a26a70a78024a6f99da41d0f", + "id": "0xfc1485738e1f1a9f50e9fbcf5db5183c34a163fcf03fabbfc563900ac825762c", "count": "1" } } @@ -115,28 +115,28 @@ Response: { } }, "child_version_2_no_parent": { - "address": "0x6444dfc849d5430a0cc760d35a942d594984f940a26a70a78024a6f99da41d0f", + "address": "0xfc1485738e1f1a9f50e9fbcf5db5183c34a163fcf03fabbfc563900ac825762c", "owner": {} }, "child_version_3_has_parent": { "owner": { "parent": { - "address": "0x27188c07839565cd72e8bc18bb23f054ed79b52f980bb0a262d3bdba1ee15953" + "address": "0x5b706b7ca3aea96a439b07cbda36796a65e6ad0063de078f5a9a6ba9d499989e" } } } } } -task 10, lines 166-168: +task 10, lines 167-169: //# programmable --sender A --inputs object(2,1) 420 //> Test::M1::mutate_child_via_parent(Input(0), Input(1)); //> Test::M1::add_df(Input(0)); created: object(10,0), object(10,1), object(10,2) mutated: object(0,0), object(2,0), object(2,1) -gas summary: computation_cost: 1000000, storage_cost: 9910400, storage_rebate: 3513708, non_refundable_storage_fee: 35492 +gas summary: computation_cost: 1000000, storage_cost: 9910400, storage_rebate: 3549200, non_refundable_storage_fee: 0 -task 11, line 170: +task 11, line 171: //# view-object 2,1 Owner: Account Address ( A ) Version: 4 @@ -148,7 +148,7 @@ Contents: Test::M1::Parent { }, } -task 12, line 172: +task 12, line 173: //# view-object 2,0 Owner: Object ID: ( fake(5,0) ) Version: 4 @@ -161,11 +161,11 @@ Contents: Test::M1::Child { count: 2u64, } -task 13, line 174: +task 13, line 175: //# create-checkpoint Checkpoint created: 2 -task 14, lines 176-236: +task 14, lines 177-237: //# run-graphql --cursors @{obj_5_0,1} @{obj_5_0,2} Response: { "data": { @@ -173,63 +173,63 @@ Response: { "dynamicFields": { "edges": [ { - "cursor": "IBu9HmepVoENxkFIzNbdhqnTXOZUE+2eVoC/j4W8kZM0AgAAAAAAAAA=", + "cursor": "IBlBRVS6xO1wNTKuzyQIFRqBtLGdr7ng2SoBHYCz3LwWAgAAAAAAAAA=", "node": { "name": { - "bcs": "A2RmMg==", + "bcs": "A2RmMw==", "type": { "repr": "0x0000000000000000000000000000000000000000000000000000000000000001::string::String" } }, "value": { - "json": "df2" + "json": "df3" } } }, { - "cursor": "ICcYjAeDlWXNcui8GLsj8FTtebUvmAuwomLTvboe4VlTAgAAAAAAAAA=", + "cursor": "IEofIL5GWSj8dQyuNhY1ymzJ+LEkBrlG4lMQHsbXZ+IPAgAAAAAAAAA=", "node": { "name": { - "bcs": "pAEAAAAAAAA=", + "bcs": "A2RmMQ==", "type": { - "repr": "u64" + "repr": "0x0000000000000000000000000000000000000000000000000000000000000001::string::String" } }, "value": { - "contents": { - "json": { - "id": "0x6444dfc849d5430a0cc760d35a942d594984f940a26a70a78024a6f99da41d0f", - "count": "2" - } - } + "json": "df1" } } }, { - "cursor": "IDBPnpTMVoGeHsujMrTiQJkInJGvOqcRiRAq8gR7c+ZEAgAAAAAAAAA=", + "cursor": "IFtwa3yjrqlqQ5sHy9o2eWpl5q0AY94Hj1qaa6nUmZieAgAAAAAAAAA=", "node": { "name": { - "bcs": "A2RmMw==", + "bcs": "pAEAAAAAAAA=", "type": { - "repr": "0x0000000000000000000000000000000000000000000000000000000000000001::string::String" + "repr": "u64" } }, "value": { - "json": "df3" + "contents": { + "json": { + "id": "0xfc1485738e1f1a9f50e9fbcf5db5183c34a163fcf03fabbfc563900ac825762c", + "count": "2" + } + } } } }, { - "cursor": "IFrngMYMh3uJFj1HbkDk2ZD2SKCTSD/INbrn6SqQ1SoRAgAAAAAAAAA=", + "cursor": "INIgtZ0vilSxWiXyHM1QaQeARkq5p/luTBYT+6YBnzNEAgAAAAAAAAA=", "node": { "name": { - "bcs": "A2RmMQ==", + "bcs": "A2RmMg==", "type": { "repr": "0x0000000000000000000000000000000000000000000000000000000000000001::string::String" } }, "value": { - "json": "df1" + "json": "df2" } } } @@ -240,7 +240,7 @@ Response: { "dynamicFields": { "edges": [ { - "cursor": "ICcYjAeDlWXNcui8GLsj8FTtebUvmAuwomLTvboe4VlTAgAAAAAAAAA=", + "cursor": "IFtwa3yjrqlqQ5sHy9o2eWpl5q0AY94Hj1qaa6nUmZieAgAAAAAAAAA=", "node": { "name": { "bcs": "pAEAAAAAAAA=", @@ -251,7 +251,7 @@ Response: { "value": { "contents": { "json": { - "id": "0x6444dfc849d5430a0cc760d35a942d594984f940a26a70a78024a6f99da41d0f", + "id": "0xfc1485738e1f1a9f50e9fbcf5db5183c34a163fcf03fabbfc563900ac825762c", "count": "1" } } @@ -270,30 +270,16 @@ Response: { "dynamicFields": { "edges": [ { - "cursor": "IDBPnpTMVoGeHsujMrTiQJkInJGvOqcRiRAq8gR7c+ZEAgAAAAAAAAA=", - "node": { - "name": { - "bcs": "A2RmMw==", - "type": { - "repr": "0x0000000000000000000000000000000000000000000000000000000000000001::string::String" - } - }, - "value": { - "json": "df3" - } - } - }, - { - "cursor": "IFrngMYMh3uJFj1HbkDk2ZD2SKCTSD/INbrn6SqQ1SoRAgAAAAAAAAA=", + "cursor": "INIgtZ0vilSxWiXyHM1QaQeARkq5p/luTBYT+6YBnzNEAgAAAAAAAAA=", "node": { "name": { - "bcs": "A2RmMQ==", + "bcs": "A2RmMg==", "type": { "repr": "0x0000000000000000000000000000000000000000000000000000000000000001::string::String" } }, "value": { - "json": "df1" + "json": "df2" } } } @@ -313,7 +299,7 @@ Response: { } } -task 15, lines 238-275: +task 15, lines 239-276: //# run-graphql Response: { "data": { @@ -328,7 +314,7 @@ Response: { "value": { "contents": { "json": { - "id": "0x6444dfc849d5430a0cc760d35a942d594984f940a26a70a78024a6f99da41d0f", + "id": "0xfc1485738e1f1a9f50e9fbcf5db5183c34a163fcf03fabbfc563900ac825762c", "count": "1" } } @@ -347,7 +333,7 @@ Response: { "value": { "contents": { "json": { - "id": "0x6444dfc849d5430a0cc760d35a942d594984f940a26a70a78024a6f99da41d0f", + "id": "0xfc1485738e1f1a9f50e9fbcf5db5183c34a163fcf03fabbfc563900ac825762c", "count": "2" } } @@ -368,14 +354,14 @@ Response: { } } -task 16, lines 278-279: +task 16, lines 279-280: //# programmable --sender A --inputs object(2,1) //> Test::M1::add_more_df(Input(0)); created: object(16,0), object(16,1), object(16,2) mutated: object(0,0), object(2,1) -gas summary: computation_cost: 1000000, storage_cost: 8603200, storage_rebate: 2219580, non_refundable_storage_fee: 22420 +gas summary: computation_cost: 1000000, storage_cost: 8603200, storage_rebate: 2242000, non_refundable_storage_fee: 0 -task 17, line 281: +task 17, line 282: //# view-object 2,1 Owner: Account Address ( A ) Version: 5 @@ -387,7 +373,7 @@ Contents: Test::M1::Parent { }, } -task 18, line 283: +task 18, line 284: //# view-object 2,0 Owner: Object ID: ( fake(5,0) ) Version: 4 @@ -400,11 +386,11 @@ Contents: Test::M1::Child { count: 2u64, } -task 19, line 285: +task 19, line 286: //# create-checkpoint Checkpoint created: 3 -task 20, lines 287-337: +task 20, lines 288-338: //# run-graphql --cursors @{obj_5_0,2} @{obj_5_0,3} Response: { "data": { @@ -412,63 +398,63 @@ Response: { "dynamicFields": { "edges": [ { - "cursor": "IBu9HmepVoENxkFIzNbdhqnTXOZUE+2eVoC/j4W8kZM0AwAAAAAAAAA=", + "cursor": "IBlBRVS6xO1wNTKuzyQIFRqBtLGdr7ng2SoBHYCz3LwWAwAAAAAAAAA=", "node": { "name": { - "bcs": "A2RmMg==", + "bcs": "A2RmMw==", "type": { "repr": "0x0000000000000000000000000000000000000000000000000000000000000001::string::String" } }, "value": { - "json": "df2" + "json": "df3" } } }, { - "cursor": "ICcYjAeDlWXNcui8GLsj8FTtebUvmAuwomLTvboe4VlTAwAAAAAAAAA=", + "cursor": "IEofIL5GWSj8dQyuNhY1ymzJ+LEkBrlG4lMQHsbXZ+IPAwAAAAAAAAA=", "node": { "name": { - "bcs": "pAEAAAAAAAA=", + "bcs": "A2RmMQ==", "type": { - "repr": "u64" + "repr": "0x0000000000000000000000000000000000000000000000000000000000000001::string::String" } }, "value": { - "contents": { - "json": { - "id": "0x6444dfc849d5430a0cc760d35a942d594984f940a26a70a78024a6f99da41d0f", - "count": "2" - } - } + "json": "df1" } } }, { - "cursor": "IDBPnpTMVoGeHsujMrTiQJkInJGvOqcRiRAq8gR7c+ZEAwAAAAAAAAA=", + "cursor": "IFtwa3yjrqlqQ5sHy9o2eWpl5q0AY94Hj1qaa6nUmZieAwAAAAAAAAA=", "node": { "name": { - "bcs": "A2RmMw==", + "bcs": "pAEAAAAAAAA=", "type": { - "repr": "0x0000000000000000000000000000000000000000000000000000000000000001::string::String" + "repr": "u64" } }, "value": { - "json": "df3" + "contents": { + "json": { + "id": "0xfc1485738e1f1a9f50e9fbcf5db5183c34a163fcf03fabbfc563900ac825762c", + "count": "2" + } + } } } }, { - "cursor": "IFrngMYMh3uJFj1HbkDk2ZD2SKCTSD/INbrn6SqQ1SoRAwAAAAAAAAA=", + "cursor": "INIgtZ0vilSxWiXyHM1QaQeARkq5p/luTBYT+6YBnzNEAwAAAAAAAAA=", "node": { "name": { - "bcs": "A2RmMQ==", + "bcs": "A2RmMg==", "type": { "repr": "0x0000000000000000000000000000000000000000000000000000000000000001::string::String" } }, "value": { - "json": "df1" + "json": "df2" } } } @@ -479,30 +465,16 @@ Response: { "dynamicFields": { "edges": [ { - "cursor": "IDBPnpTMVoGeHsujMrTiQJkInJGvOqcRiRAq8gR7c+ZEAgAAAAAAAAA=", + "cursor": "INIgtZ0vilSxWiXyHM1QaQeARkq5p/luTBYT+6YBnzNEAgAAAAAAAAA=", "node": { "name": { - "bcs": "A2RmMw==", - "type": { - "repr": "0x0000000000000000000000000000000000000000000000000000000000000001::string::String" - } - }, - "value": { - "json": "df3" - } - } - }, - { - "cursor": "IFrngMYMh3uJFj1HbkDk2ZD2SKCTSD/INbrn6SqQ1SoRAgAAAAAAAAA=", - "node": { - "name": { - "bcs": "A2RmMQ==", + "bcs": "A2RmMg==", "type": { "repr": "0x0000000000000000000000000000000000000000000000000000000000000001::string::String" } }, "value": { - "json": "df1" + "json": "df2" } } } @@ -513,105 +485,105 @@ Response: { "dynamicFields": { "edges": [ { - "cursor": "IBu9HmepVoENxkFIzNbdhqnTXOZUE+2eVoC/j4W8kZM0AwAAAAAAAAA=", + "cursor": "IBlBRVS6xO1wNTKuzyQIFRqBtLGdr7ng2SoBHYCz3LwWAwAAAAAAAAA=", "node": { "name": { - "bcs": "A2RmMg==", + "bcs": "A2RmMw==", "type": { "repr": "0x0000000000000000000000000000000000000000000000000000000000000001::string::String" } }, "value": { - "json": "df2" + "json": "df3" } } }, { - "cursor": "ICcYjAeDlWXNcui8GLsj8FTtebUvmAuwomLTvboe4VlTAwAAAAAAAAA=", + "cursor": "ID4USb475WgsEZjSZHApJsICyAXBYh8k3+r5WlFJVE+WAwAAAAAAAAA=", "node": { "name": { - "bcs": "pAEAAAAAAAA=", + "bcs": "A2RmNA==", "type": { - "repr": "u64" + "repr": "0x0000000000000000000000000000000000000000000000000000000000000001::string::String" } }, "value": { - "contents": { - "json": { - "id": "0x6444dfc849d5430a0cc760d35a942d594984f940a26a70a78024a6f99da41d0f", - "count": "2" - } - } + "json": "df4" } } }, { - "cursor": "IDBPnpTMVoGeHsujMrTiQJkInJGvOqcRiRAq8gR7c+ZEAwAAAAAAAAA=", + "cursor": "IEofIL5GWSj8dQyuNhY1ymzJ+LEkBrlG4lMQHsbXZ+IPAwAAAAAAAAA=", "node": { "name": { - "bcs": "A2RmMw==", + "bcs": "A2RmMQ==", "type": { "repr": "0x0000000000000000000000000000000000000000000000000000000000000001::string::String" } }, "value": { - "json": "df3" + "json": "df1" } } }, { - "cursor": "IFrngMYMh3uJFj1HbkDk2ZD2SKCTSD/INbrn6SqQ1SoRAwAAAAAAAAA=", + "cursor": "IEr3EI+vVV2heHGSWR0gEIxqeR2Yl09dqiCglUsVEwEcAwAAAAAAAAA=", "node": { "name": { - "bcs": "A2RmMQ==", + "bcs": "A2RmNQ==", "type": { "repr": "0x0000000000000000000000000000000000000000000000000000000000000001::string::String" } }, "value": { - "json": "df1" + "json": "df5" } } }, { - "cursor": "IFshQaGmiN295CGbfzbLNJ8dM9rQd4ZFHYMKPA41oWdOAwAAAAAAAAA=", + "cursor": "IFtwa3yjrqlqQ5sHy9o2eWpl5q0AY94Hj1qaa6nUmZieAwAAAAAAAAA=", "node": { "name": { - "bcs": "A2RmNg==", + "bcs": "pAEAAAAAAAA=", "type": { - "repr": "0x0000000000000000000000000000000000000000000000000000000000000001::string::String" + "repr": "u64" } }, "value": { - "json": "df6" + "contents": { + "json": { + "id": "0xfc1485738e1f1a9f50e9fbcf5db5183c34a163fcf03fabbfc563900ac825762c", + "count": "2" + } + } } } }, { - "cursor": "IIRmgnmPueemYOYD96Wne4t7x4ZFBek0fbBlni8FlY5HAwAAAAAAAAA=", + "cursor": "IHVFCMnOpW5R1XZxgq6Y6Fgm9xH8MaLwtjteUcIQ2LoJAwAAAAAAAAA=", "node": { "name": { - "bcs": "A2RmNA==", + "bcs": "A2RmNg==", "type": { "repr": "0x0000000000000000000000000000000000000000000000000000000000000001::string::String" } }, "value": { - "json": "df4" + "json": "df6" } } }, { - "cursor": "IOFWPka97OJZ2Ia9l1R0ER1fhI5P/jltrvGJbm/ekNWAAwAAAAAAAAA=", + "cursor": "INIgtZ0vilSxWiXyHM1QaQeARkq5p/luTBYT+6YBnzNEAwAAAAAAAAA=", "node": { "name": { - "bcs": "A2RmNQ==", + "bcs": "A2RmMg==", "type": { "repr": "0x0000000000000000000000000000000000000000000000000000000000000001::string::String" } }, "value": { - "json": "df5" + "json": "df2" } } } @@ -622,35 +594,7 @@ Response: { "dynamicFields": { "edges": [ { - "cursor": "IDBPnpTMVoGeHsujMrTiQJkInJGvOqcRiRAq8gR7c+ZEAwAAAAAAAAA=", - "node": { - "name": { - "bcs": "A2RmMw==", - "type": { - "repr": "0x0000000000000000000000000000000000000000000000000000000000000001::string::String" - } - }, - "value": { - "json": "df3" - } - } - }, - { - "cursor": "IFrngMYMh3uJFj1HbkDk2ZD2SKCTSD/INbrn6SqQ1SoRAwAAAAAAAAA=", - "node": { - "name": { - "bcs": "A2RmMQ==", - "type": { - "repr": "0x0000000000000000000000000000000000000000000000000000000000000001::string::String" - } - }, - "value": { - "json": "df1" - } - } - }, - { - "cursor": "IFshQaGmiN295CGbfzbLNJ8dM9rQd4ZFHYMKPA41oWdOAwAAAAAAAAA=", + "cursor": "IHVFCMnOpW5R1XZxgq6Y6Fgm9xH8MaLwtjteUcIQ2LoJAwAAAAAAAAA=", "node": { "name": { "bcs": "A2RmNg==", @@ -664,30 +608,16 @@ Response: { } }, { - "cursor": "IIRmgnmPueemYOYD96Wne4t7x4ZFBek0fbBlni8FlY5HAwAAAAAAAAA=", - "node": { - "name": { - "bcs": "A2RmNA==", - "type": { - "repr": "0x0000000000000000000000000000000000000000000000000000000000000001::string::String" - } - }, - "value": { - "json": "df4" - } - } - }, - { - "cursor": "IOFWPka97OJZ2Ia9l1R0ER1fhI5P/jltrvGJbm/ekNWAAwAAAAAAAAA=", + "cursor": "INIgtZ0vilSxWiXyHM1QaQeARkq5p/luTBYT+6YBnzNEAwAAAAAAAAA=", "node": { "name": { - "bcs": "A2RmNQ==", + "bcs": "A2RmMg==", "type": { "repr": "0x0000000000000000000000000000000000000000000000000000000000000001::string::String" } }, "value": { - "json": "df5" + "json": "df2" } } } @@ -697,14 +627,14 @@ Response: { } } -task 21, lines 339-340: +task 21, lines 340-341: //# programmable --sender A --inputs object(2,1) 420 //> Test::M1::remove_df(Input(0)); mutated: object(0,0), object(2,1) deleted: object(10,0), object(10,1), object(10,2) -gas summary: computation_cost: 1000000, storage_cost: 2242000, storage_rebate: 8517168, non_refundable_storage_fee: 86032 +gas summary: computation_cost: 1000000, storage_cost: 2242000, storage_rebate: 8603200, non_refundable_storage_fee: 0 -task 22, line 342: +task 22, line 343: //# view-object 2,1 Owner: Account Address ( A ) Version: 6 @@ -716,7 +646,7 @@ Contents: Test::M1::Parent { }, } -task 23, line 344: +task 23, line 345: //# view-object 2,0 Owner: Object ID: ( fake(5,0) ) Version: 4 @@ -729,11 +659,11 @@ Contents: Test::M1::Child { count: 2u64, } -task 24, line 346: +task 24, line 347: //# create-checkpoint Checkpoint created: 4 -task 25, lines 348-398: +task 25, lines 349-399: //# run-graphql --cursors @{obj_5_0,2} @{obj_5_0,4} Response: { "data": { @@ -741,63 +671,63 @@ Response: { "dynamicFields": { "edges": [ { - "cursor": "IBu9HmepVoENxkFIzNbdhqnTXOZUE+2eVoC/j4W8kZM0BAAAAAAAAAA=", + "cursor": "IBlBRVS6xO1wNTKuzyQIFRqBtLGdr7ng2SoBHYCz3LwWBAAAAAAAAAA=", "node": { "name": { - "bcs": "A2RmMg==", + "bcs": "A2RmMw==", "type": { "repr": "0x0000000000000000000000000000000000000000000000000000000000000001::string::String" } }, "value": { - "json": "df2" + "json": "df3" } } }, { - "cursor": "ICcYjAeDlWXNcui8GLsj8FTtebUvmAuwomLTvboe4VlTBAAAAAAAAAA=", + "cursor": "IEofIL5GWSj8dQyuNhY1ymzJ+LEkBrlG4lMQHsbXZ+IPBAAAAAAAAAA=", "node": { "name": { - "bcs": "pAEAAAAAAAA=", + "bcs": "A2RmMQ==", "type": { - "repr": "u64" + "repr": "0x0000000000000000000000000000000000000000000000000000000000000001::string::String" } }, "value": { - "contents": { - "json": { - "id": "0x6444dfc849d5430a0cc760d35a942d594984f940a26a70a78024a6f99da41d0f", - "count": "2" - } - } + "json": "df1" } } }, { - "cursor": "IDBPnpTMVoGeHsujMrTiQJkInJGvOqcRiRAq8gR7c+ZEBAAAAAAAAAA=", + "cursor": "IFtwa3yjrqlqQ5sHy9o2eWpl5q0AY94Hj1qaa6nUmZieBAAAAAAAAAA=", "node": { "name": { - "bcs": "A2RmMw==", + "bcs": "pAEAAAAAAAA=", "type": { - "repr": "0x0000000000000000000000000000000000000000000000000000000000000001::string::String" + "repr": "u64" } }, "value": { - "json": "df3" + "contents": { + "json": { + "id": "0xfc1485738e1f1a9f50e9fbcf5db5183c34a163fcf03fabbfc563900ac825762c", + "count": "2" + } + } } } }, { - "cursor": "IFrngMYMh3uJFj1HbkDk2ZD2SKCTSD/INbrn6SqQ1SoRBAAAAAAAAAA=", + "cursor": "INIgtZ0vilSxWiXyHM1QaQeARkq5p/luTBYT+6YBnzNEBAAAAAAAAAA=", "node": { "name": { - "bcs": "A2RmMQ==", + "bcs": "A2RmMg==", "type": { "repr": "0x0000000000000000000000000000000000000000000000000000000000000001::string::String" } }, "value": { - "json": "df1" + "json": "df2" } } } @@ -808,30 +738,16 @@ Response: { "dynamicFields": { "edges": [ { - "cursor": "IDBPnpTMVoGeHsujMrTiQJkInJGvOqcRiRAq8gR7c+ZEAgAAAAAAAAA=", - "node": { - "name": { - "bcs": "A2RmMw==", - "type": { - "repr": "0x0000000000000000000000000000000000000000000000000000000000000001::string::String" - } - }, - "value": { - "json": "df3" - } - } - }, - { - "cursor": "IFrngMYMh3uJFj1HbkDk2ZD2SKCTSD/INbrn6SqQ1SoRAgAAAAAAAAA=", + "cursor": "INIgtZ0vilSxWiXyHM1QaQeARkq5p/luTBYT+6YBnzNEAgAAAAAAAAA=", "node": { "name": { - "bcs": "A2RmMQ==", + "bcs": "A2RmMg==", "type": { "repr": "0x0000000000000000000000000000000000000000000000000000000000000001::string::String" } }, "value": { - "json": "df1" + "json": "df2" } } } @@ -842,63 +758,63 @@ Response: { "dynamicFields": { "edges": [ { - "cursor": "ICcYjAeDlWXNcui8GLsj8FTtebUvmAuwomLTvboe4VlTBAAAAAAAAAA=", + "cursor": "ID4USb475WgsEZjSZHApJsICyAXBYh8k3+r5WlFJVE+WBAAAAAAAAAA=", "node": { "name": { - "bcs": "pAEAAAAAAAA=", + "bcs": "A2RmNA==", "type": { - "repr": "u64" + "repr": "0x0000000000000000000000000000000000000000000000000000000000000001::string::String" } }, "value": { - "contents": { - "json": { - "id": "0x6444dfc849d5430a0cc760d35a942d594984f940a26a70a78024a6f99da41d0f", - "count": "2" - } - } + "json": "df4" } } }, { - "cursor": "IFshQaGmiN295CGbfzbLNJ8dM9rQd4ZFHYMKPA41oWdOBAAAAAAAAAA=", + "cursor": "IEr3EI+vVV2heHGSWR0gEIxqeR2Yl09dqiCglUsVEwEcBAAAAAAAAAA=", "node": { "name": { - "bcs": "A2RmNg==", + "bcs": "A2RmNQ==", "type": { "repr": "0x0000000000000000000000000000000000000000000000000000000000000001::string::String" } }, "value": { - "json": "df6" + "json": "df5" } } }, { - "cursor": "IIRmgnmPueemYOYD96Wne4t7x4ZFBek0fbBlni8FlY5HBAAAAAAAAAA=", + "cursor": "IFtwa3yjrqlqQ5sHy9o2eWpl5q0AY94Hj1qaa6nUmZieBAAAAAAAAAA=", "node": { "name": { - "bcs": "A2RmNA==", + "bcs": "pAEAAAAAAAA=", "type": { - "repr": "0x0000000000000000000000000000000000000000000000000000000000000001::string::String" + "repr": "u64" } }, "value": { - "json": "df4" + "contents": { + "json": { + "id": "0xfc1485738e1f1a9f50e9fbcf5db5183c34a163fcf03fabbfc563900ac825762c", + "count": "2" + } + } } } }, { - "cursor": "IOFWPka97OJZ2Ia9l1R0ER1fhI5P/jltrvGJbm/ekNWABAAAAAAAAAA=", + "cursor": "IHVFCMnOpW5R1XZxgq6Y6Fgm9xH8MaLwtjteUcIQ2LoJBAAAAAAAAAA=", "node": { "name": { - "bcs": "A2RmNQ==", + "bcs": "A2RmNg==", "type": { "repr": "0x0000000000000000000000000000000000000000000000000000000000000001::string::String" } }, "value": { - "json": "df5" + "json": "df6" } } } @@ -909,7 +825,7 @@ Response: { "dynamicFields": { "edges": [ { - "cursor": "IFshQaGmiN295CGbfzbLNJ8dM9rQd4ZFHYMKPA41oWdOBAAAAAAAAAA=", + "cursor": "IHVFCMnOpW5R1XZxgq6Y6Fgm9xH8MaLwtjteUcIQ2LoJBAAAAAAAAAA=", "node": { "name": { "bcs": "A2RmNg==", @@ -921,34 +837,6 @@ Response: { "json": "df6" } } - }, - { - "cursor": "IIRmgnmPueemYOYD96Wne4t7x4ZFBek0fbBlni8FlY5HBAAAAAAAAAA=", - "node": { - "name": { - "bcs": "A2RmNA==", - "type": { - "repr": "0x0000000000000000000000000000000000000000000000000000000000000001::string::String" - } - }, - "value": { - "json": "df4" - } - } - }, - { - "cursor": "IOFWPka97OJZ2Ia9l1R0ER1fhI5P/jltrvGJbm/ekNWABAAAAAAAAAA=", - "node": { - "name": { - "bcs": "A2RmNQ==", - "type": { - "repr": "0x0000000000000000000000000000000000000000000000000000000000000001::string::String" - } - }, - "value": { - "json": "df5" - } - } } ] } @@ -956,7 +844,7 @@ Response: { } } -task 26, lines 400-431: +task 26, lines 401-432: //# run-graphql Response: { "data": { @@ -979,23 +867,23 @@ Response: { } } -task 28, line 435: +task 28, line 436: //# create-checkpoint Checkpoint created: 5 -task 30, line 439: +task 30, line 440: //# create-checkpoint Checkpoint created: 6 -task 31, line 441: +task 31, line 442: //# force-object-snapshot-catchup --start-cp 0 --end-cp 5 Objects snapshot updated to [0 to 5) -task 32, line 443: +task 32, line 444: //# create-checkpoint Checkpoint created: 7 -task 33, lines 445-495: +task 33, lines 446-496: //# run-graphql --cursors @{obj_5_0,2} @{obj_5_0,4} Response: { "data": { @@ -1003,7 +891,7 @@ Response: { "dynamicFields": { "edges": [ { - "cursor": "ICcYjAeDlWXNcui8GLsj8FTtebUvmAuwomLTvboe4VlTBwAAAAAAAAA=", + "cursor": "IFtwa3yjrqlqQ5sHy9o2eWpl5q0AY94Hj1qaa6nUmZieBwAAAAAAAAA=", "node": { "name": { "bcs": "pAEAAAAAAAA=", @@ -1014,7 +902,7 @@ Response: { "value": { "contents": { "json": { - "id": "0x6444dfc849d5430a0cc760d35a942d594984f940a26a70a78024a6f99da41d0f", + "id": "0xfc1485738e1f1a9f50e9fbcf5db5183c34a163fcf03fabbfc563900ac825762c", "count": "2" } } @@ -1029,63 +917,63 @@ Response: { "dynamicFields": { "edges": [ { - "cursor": "ICcYjAeDlWXNcui8GLsj8FTtebUvmAuwomLTvboe4VlTBwAAAAAAAAA=", + "cursor": "ID4USb475WgsEZjSZHApJsICyAXBYh8k3+r5WlFJVE+WBwAAAAAAAAA=", "node": { "name": { - "bcs": "pAEAAAAAAAA=", + "bcs": "A2RmNA==", "type": { - "repr": "u64" + "repr": "0x0000000000000000000000000000000000000000000000000000000000000001::string::String" } }, "value": { - "contents": { - "json": { - "id": "0x6444dfc849d5430a0cc760d35a942d594984f940a26a70a78024a6f99da41d0f", - "count": "2" - } - } + "json": "df4" } } }, { - "cursor": "IFshQaGmiN295CGbfzbLNJ8dM9rQd4ZFHYMKPA41oWdOBwAAAAAAAAA=", + "cursor": "IEr3EI+vVV2heHGSWR0gEIxqeR2Yl09dqiCglUsVEwEcBwAAAAAAAAA=", "node": { "name": { - "bcs": "A2RmNg==", + "bcs": "A2RmNQ==", "type": { "repr": "0x0000000000000000000000000000000000000000000000000000000000000001::string::String" } }, "value": { - "json": "df6" + "json": "df5" } } }, { - "cursor": "IIRmgnmPueemYOYD96Wne4t7x4ZFBek0fbBlni8FlY5HBwAAAAAAAAA=", + "cursor": "IFtwa3yjrqlqQ5sHy9o2eWpl5q0AY94Hj1qaa6nUmZieBwAAAAAAAAA=", "node": { "name": { - "bcs": "A2RmNA==", + "bcs": "pAEAAAAAAAA=", "type": { - "repr": "0x0000000000000000000000000000000000000000000000000000000000000001::string::String" + "repr": "u64" } }, "value": { - "json": "df4" + "contents": { + "json": { + "id": "0xfc1485738e1f1a9f50e9fbcf5db5183c34a163fcf03fabbfc563900ac825762c", + "count": "2" + } + } } } }, { - "cursor": "IOFWPka97OJZ2Ia9l1R0ER1fhI5P/jltrvGJbm/ekNWABwAAAAAAAAA=", + "cursor": "IHVFCMnOpW5R1XZxgq6Y6Fgm9xH8MaLwtjteUcIQ2LoJBwAAAAAAAAA=", "node": { "name": { - "bcs": "A2RmNQ==", + "bcs": "A2RmNg==", "type": { "repr": "0x0000000000000000000000000000000000000000000000000000000000000001::string::String" } }, "value": { - "json": "df5" + "json": "df6" } } } @@ -1096,7 +984,7 @@ Response: { "dynamicFields": { "edges": [ { - "cursor": "IFshQaGmiN295CGbfzbLNJ8dM9rQd4ZFHYMKPA41oWdOBAAAAAAAAAA=", + "cursor": "IHVFCMnOpW5R1XZxgq6Y6Fgm9xH8MaLwtjteUcIQ2LoJBAAAAAAAAAA=", "node": { "name": { "bcs": "A2RmNg==", @@ -1108,34 +996,6 @@ Response: { "json": "df6" } } - }, - { - "cursor": "IIRmgnmPueemYOYD96Wne4t7x4ZFBek0fbBlni8FlY5HBAAAAAAAAAA=", - "node": { - "name": { - "bcs": "A2RmNA==", - "type": { - "repr": "0x0000000000000000000000000000000000000000000000000000000000000001::string::String" - } - }, - "value": { - "json": "df4" - } - } - }, - { - "cursor": "IOFWPka97OJZ2Ia9l1R0ER1fhI5P/jltrvGJbm/ekNWABAAAAAAAAAA=", - "node": { - "name": { - "bcs": "A2RmNQ==", - "type": { - "repr": "0x0000000000000000000000000000000000000000000000000000000000000001::string::String" - } - }, - "value": { - "json": "df5" - } - } } ] } @@ -1161,7 +1021,7 @@ Response: { ] } -task 34, lines 497-528: +task 34, lines 498-529: //# run-graphql Response: { "data": { diff --git a/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/immutable_dof.exp b/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/immutable_dof.exp index 9b299a409ae..d82e452d069 100644 --- a/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/immutable_dof.exp +++ b/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/immutable_dof.exp @@ -3,53 +3,53 @@ processed 17 tasks init: A: object(0,0) -task 1, lines 20-68: +task 1, lines 21-69: //# publish created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 8770400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2, line 70: +task 2, line 71: //# run Test::M1::parent --sender A --args @A created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3, line 72: +task 3, line 73: //# run Test::M1::child --sender A --args @A created: object(3,0) mutated: object(0,0) -gas summary: computation_cost: 1000000, storage_cost: 2295200, storage_rebate: 978120, non_refundable_storage_fee: 9880 +gas summary: computation_cost: 1000000, storage_cost: 2295200, storage_rebate: 988000, non_refundable_storage_fee: 0 -task 4, line 74: +task 4, line 75: //# run Test::M1::child --sender A --args @A created: object(4,0) mutated: object(0,0) -gas summary: computation_cost: 1000000, storage_cost: 2295200, storage_rebate: 978120, non_refundable_storage_fee: 9880 +gas summary: computation_cost: 1000000, storage_cost: 2295200, storage_rebate: 988000, non_refundable_storage_fee: 0 -task 5, line 76: +task 5, line 77: //# run Test::M1::add_child --sender A --args object(2,0) object(3,0) 42 created: object(5,0) mutated: object(0,0), object(2,0), object(3,0) -gas summary: computation_cost: 1000000, storage_cost: 6064800, storage_rebate: 3573900, non_refundable_storage_fee: 36100 +gas summary: computation_cost: 1000000, storage_cost: 6064800, storage_rebate: 3610000, non_refundable_storage_fee: 0 -task 6, line 78: +task 6, line 79: //# run Test::M1::add_nested_child --sender A --args object(2,0) 42 object(4,0) 420 created: object(6,0) mutated: object(0,0), object(2,0), object(4,0) -gas summary: computation_cost: 1000000, storage_cost: 6064800, storage_rebate: 3573900, non_refundable_storage_fee: 36100 +gas summary: computation_cost: 1000000, storage_cost: 6064800, storage_rebate: 3610000, non_refundable_storage_fee: 0 -task 7, line 80: +task 7, line 81: //# run Test::M1::reclaim_and_freeze_child --sender A --args object(2,0) 42 mutated: object(0,0), object(2,0), object(3,0) deleted: object(5,0) -gas summary: computation_cost: 1000000, storage_cost: 3610000, storage_rebate: 6004152, non_refundable_storage_fee: 60648 +gas summary: computation_cost: 1000000, storage_cost: 3610000, storage_rebate: 6064800, non_refundable_storage_fee: 0 -task 8, line 82: +task 8, line 83: //# create-checkpoint Checkpoint created: 1 -task 9, lines 84-114: +task 9, lines 85-115: //# run-graphql Response: { "data": { @@ -58,11 +58,11 @@ Response: { "nodes": [ { "value": { - "address": "0x6b7e8ee3f855e9c484caf53b5fef5fe958d7266d8a3a12577f4a17830e213983", + "address": "0x3428c3cddda432637a0ae913233b8dbfe36027f223a119ee85b5a8f4c31b3535", "version": 5, "contents": { "json": { - "id": "0x6b7e8ee3f855e9c484caf53b5fef5fe958d7266d8a3a12577f4a17830e213983", + "id": "0x3428c3cddda432637a0ae913233b8dbfe36027f223a119ee85b5a8f4c31b3535", "count": "0" } }, @@ -77,7 +77,7 @@ Response: { } } -task 10, lines 116-146: +task 10, lines 117-147: //# run-graphql Response: { "data": { @@ -86,11 +86,11 @@ Response: { "nodes": [ { "value": { - "address": "0x6b7e8ee3f855e9c484caf53b5fef5fe958d7266d8a3a12577f4a17830e213983", + "address": "0x3428c3cddda432637a0ae913233b8dbfe36027f223a119ee85b5a8f4c31b3535", "version": 5, "contents": { "json": { - "id": "0x6b7e8ee3f855e9c484caf53b5fef5fe958d7266d8a3a12577f4a17830e213983", + "id": "0x3428c3cddda432637a0ae913233b8dbfe36027f223a119ee85b5a8f4c31b3535", "count": "0" } }, @@ -98,11 +98,11 @@ Response: { "nodes": [ { "value": { - "address": "0x4198a12c0cd01da21a6cd35cc5e986d855c532676233d004105dbaa77bdfda77", + "address": "0x607d463a549e3a28696b2255d0310374b2d0c9b37003adb981e3a74074917dde", "version": 6, "contents": { "json": { - "id": "0x4198a12c0cd01da21a6cd35cc5e986d855c532676233d004105dbaa77bdfda77", + "id": "0x607d463a549e3a28696b2255d0310374b2d0c9b37003adb981e3a74074917dde", "count": "0" } } @@ -118,7 +118,7 @@ Response: { } } -task 11, lines 148-178: +task 11, lines 149-179: //# run-graphql Response: { "data": { @@ -130,7 +130,7 @@ Response: { } } -task 12, lines 180-210: +task 12, lines 181-211: //# run-graphql Response: { "data": { @@ -138,14 +138,14 @@ Response: { } } -task 13, lines 212-239: +task 13, lines 213-240: //# run-graphql Response: { "data": { "object": { "owner": { "parent": { - "address": "0x14c69bfdef30d74f3cb7e305aead3f5d2558ca8d4a32c96b01936c7cfbb36af0" + "address": "0xc8a32be04d7bf3b702aa9291e9ad16201ec82e7dc56e700b93b5af7dbf48b1bc" } }, "dynamicFields": { @@ -155,7 +155,7 @@ Response: { } } -task 14, lines 241-258: +task 14, lines 242-259: //# run-graphql Response: { "data": { @@ -163,7 +163,7 @@ Response: { } } -task 15, lines 260-287: +task 15, lines 261-288: //# run-graphql Response: { "data": { @@ -175,11 +175,11 @@ Response: { "nodes": [ { "value": { - "address": "0x4198a12c0cd01da21a6cd35cc5e986d855c532676233d004105dbaa77bdfda77", + "address": "0x607d463a549e3a28696b2255d0310374b2d0c9b37003adb981e3a74074917dde", "version": 6, "contents": { "json": { - "id": "0x4198a12c0cd01da21a6cd35cc5e986d855c532676233d004105dbaa77bdfda77", + "id": "0x607d463a549e3a28696b2255d0310374b2d0c9b37003adb981e3a74074917dde", "count": "0" } } @@ -191,7 +191,7 @@ Response: { } } -task 16, lines 289-316: +task 16, lines 290-317: //# run-graphql Response: { "data": { @@ -203,11 +203,11 @@ Response: { "nodes": [ { "value": { - "address": "0x4198a12c0cd01da21a6cd35cc5e986d855c532676233d004105dbaa77bdfda77", + "address": "0x607d463a549e3a28696b2255d0310374b2d0c9b37003adb981e3a74074917dde", "version": 6, "contents": { "json": { - "id": "0x4198a12c0cd01da21a6cd35cc5e986d855c532676233d004105dbaa77bdfda77", + "id": "0x607d463a549e3a28696b2255d0310374b2d0c9b37003adb981e3a74074917dde", "count": "0" } } diff --git a/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/mutated_df.exp b/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/mutated_df.exp index 7fdbf42cc3c..aa1460ecdb7 100644 --- a/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/mutated_df.exp +++ b/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/mutated_df.exp @@ -3,19 +3,19 @@ processed 17 tasks init: A: object(0,0) -task 1, lines 14-45: +task 1, lines 15-46: //# publish created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 7828000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2, line 47: +task 2, line 48: //# run Test::M1::parent --sender A --args @A created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3, line 49: +task 3, line 50: //# view-object 2,0 Owner: Account Address ( A ) Version: 2 @@ -28,13 +28,13 @@ Contents: Test::M1::Parent { count: 0u64, } -task 4, line 51: +task 4, line 52: //# run Test::M1::add_df --sender A --args object(2,0) created: object(4,0), object(4,1), object(4,2) mutated: object(0,0), object(2,0) -gas summary: computation_cost: 1000000, storage_cost: 8664000, storage_rebate: 2279772, non_refundable_storage_fee: 23028 +gas summary: computation_cost: 1000000, storage_cost: 8664000, storage_rebate: 2302800, non_refundable_storage_fee: 0 -task 5, line 53: +task 5, line 54: //# view-object 2,0 Owner: Account Address ( A ) Version: 3 @@ -47,12 +47,12 @@ Contents: Test::M1::Parent { count: 0u64, } -task 6, line 55: +task 6, line 56: //# run Test::M1::mutate_parent --sender A --args object(2,0) mutated: object(0,0), object(2,0) -gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 2279772, non_refundable_storage_fee: 23028 +gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 2302800, non_refundable_storage_fee: 0 -task 7, line 57: +task 7, line 58: //# view-object 2,0 Owner: Account Address ( A ) Version: 4 @@ -65,11 +65,11 @@ Contents: Test::M1::Parent { count: 42u64, } -task 8, line 59: +task 8, line 60: //# create-checkpoint Checkpoint created: 1 -task 9, lines 61-109: +task 9, lines 62-110: //# run-graphql Response: { "data": { @@ -78,35 +78,35 @@ Response: { "dynamicFields": { "edges": [ { - "cursor": "IC2fT4MkuNdi3Nvnb8m8dqkwj9EcXifzn/uWeklDnbOTAQAAAAAAAAA=", + "cursor": "IAPncIzO93MccQ+AS4ELnuFrh+pu0bTBsQvTZ1AFf79gAQAAAAAAAAA=", "node": { "name": { - "bcs": "A2RmMQ==" + "bcs": "A2RmMw==" }, "value": { - "json": "df1" + "json": "df3" } } }, { - "cursor": "IHHoOU78QBVu3gJtqZMHtZhLsebo3AyFYSgZ+Mfmh2fPAQAAAAAAAAA=", + "cursor": "IHX+WwyIKioSoX7o16G/8Z4RcQXmTtJ3qDu+SNPODpXHAQAAAAAAAAA=", "node": { "name": { - "bcs": "A2RmMw==" + "bcs": "A2RmMg==" }, "value": { - "json": "df3" + "json": "df2" } } }, { - "cursor": "IOgTnWXmEwqr+XesX5bghNK0s1TBQJ0/GNLACjJ9LOytAQAAAAAAAAA=", + "cursor": "IHZPztaFOqqPy6t2XbveKwgeBNzDvSY+zbI2YrUD1A9NAQAAAAAAAAA=", "node": { "name": { - "bcs": "A2RmMg==" + "bcs": "A2RmMQ==" }, "value": { - "json": "df2" + "json": "df1" } } } @@ -139,7 +139,7 @@ Response: { } } -task 10, line 111: +task 10, line 112: //# view-object 2,0 Owner: Account Address ( A ) Version: 4 @@ -152,12 +152,12 @@ Contents: Test::M1::Parent { count: 42u64, } -task 11, line 113: +task 11, line 114: //# run Test::M1::mutate_df1 --sender A --args object(2,0) -mutated: object(0,0), object(2,0), object(4,0) -gas summary: computation_cost: 1000000, storage_cost: 4484000, storage_rebate: 4378968, non_refundable_storage_fee: 44232 +mutated: object(0,0), object(2,0), object(4,2) +gas summary: computation_cost: 1000000, storage_cost: 4484000, storage_rebate: 4423200, non_refundable_storage_fee: 0 -task 12, line 115: +task 12, line 116: //# view-object 2,0 Owner: Account Address ( A ) Version: 5 @@ -170,12 +170,12 @@ Contents: Test::M1::Parent { count: 42u64, } -task 13, line 117: +task 13, line 118: //# run Test::M1::mutate_parent --sender A --args object(2,0) mutated: object(0,0), object(2,0) -gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 2279772, non_refundable_storage_fee: 23028 +gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 2302800, non_refundable_storage_fee: 0 -task 14, line 119: +task 14, line 120: //# view-object 2,0 Owner: Account Address ( A ) Version: 6 @@ -188,11 +188,11 @@ Contents: Test::M1::Parent { count: 84u64, } -task 15, line 121: +task 15, line 122: //# create-checkpoint Checkpoint created: 2 -task 16, lines 123-171: +task 16, lines 124-172: //# run-graphql Response: { "data": { @@ -201,35 +201,35 @@ Response: { "dynamicFields": { "edges": [ { - "cursor": "IC2fT4MkuNdi3Nvnb8m8dqkwj9EcXifzn/uWeklDnbOTAgAAAAAAAAA=", + "cursor": "IAPncIzO93MccQ+AS4ELnuFrh+pu0bTBsQvTZ1AFf79gAgAAAAAAAAA=", "node": { "name": { - "bcs": "A2RmMQ==" + "bcs": "A2RmMw==" }, "value": { - "json": "df1_mutated" + "json": "df3" } } }, { - "cursor": "IHHoOU78QBVu3gJtqZMHtZhLsebo3AyFYSgZ+Mfmh2fPAgAAAAAAAAA=", + "cursor": "IHX+WwyIKioSoX7o16G/8Z4RcQXmTtJ3qDu+SNPODpXHAgAAAAAAAAA=", "node": { "name": { - "bcs": "A2RmMw==" + "bcs": "A2RmMg==" }, "value": { - "json": "df3" + "json": "df2" } } }, { - "cursor": "IOgTnWXmEwqr+XesX5bghNK0s1TBQJ0/GNLACjJ9LOytAgAAAAAAAAA=", + "cursor": "IHZPztaFOqqPy6t2XbveKwgeBNzDvSY+zbI2YrUD1A9NAgAAAAAAAAA=", "node": { "name": { - "bcs": "A2RmMg==" + "bcs": "A2RmMQ==" }, "value": { - "json": "df2" + "json": "df1_mutated" } } } diff --git a/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/mutated_dof.exp b/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/mutated_dof.exp index 2acec4d9987..d639c0cd976 100644 --- a/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/mutated_dof.exp +++ b/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/mutated_dof.exp @@ -3,13 +3,13 @@ processed 14 tasks init: A: object(0,0) -task 1, lines 15-62: +task 1, lines 16-63: //# publish created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 8390400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2, lines 64-66: +task 2, lines 65-67: //# programmable --sender A --inputs @A //> 0: Test::M1::child(Input(0)); //> 1: Test::M1::parent(Input(0)); @@ -17,22 +17,22 @@ created: object(2,0), object(2,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 3610000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3, line 68: +task 3, line 69: //# run Test::M1::add_child --sender A --args object(2,1) object(2,0) 42 created: object(3,0) mutated: object(0,0), object(2,0), object(2,1) -gas summary: computation_cost: 1000000, storage_cost: 6064800, storage_rebate: 3573900, non_refundable_storage_fee: 36100 +gas summary: computation_cost: 1000000, storage_cost: 6064800, storage_rebate: 3610000, non_refundable_storage_fee: 0 -task 4, line 70: +task 4, line 71: //# run Test::M1::mutate_parent --sender A --args object(2,1) mutated: object(0,0), object(2,1) -gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 2279772, non_refundable_storage_fee: 23028 +gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 2302800, non_refundable_storage_fee: 0 -task 5, line 72: +task 5, line 73: //# create-checkpoint Checkpoint created: 1 -task 6, lines 74-131: +task 6, lines 75-132: //# run-graphql Response: { "data": { @@ -41,7 +41,7 @@ Response: { "dynamicFields": { "edges": [ { - "cursor": "ICTT97Z4RvHmIwcxdPAmcPJw7gHLD+b58TJGeBgWQ4JtAQAAAAAAAAA=", + "cursor": "IKFoCRlgBTBlK6AL3VIpd6DjkIF/kRgoBODpinFZtKYFAQAAAAAAAAA=", "node": { "name": { "bcs": "KgAAAAAAAAA=" @@ -49,7 +49,7 @@ Response: { "value": { "contents": { "json": { - "id": "0x36c21ebf0f400be2910c524ee30635e60c220a4b493ce49536b10ec85519e065", + "id": "0x8ae652a657f5f98e850fa0faa7059887da6c4db60039450d9d954b5df3f0859a", "count": "0" } } @@ -65,7 +65,7 @@ Response: { "value": { "contents": { "json": { - "id": "0x36c21ebf0f400be2910c524ee30635e60c220a4b493ce49536b10ec85519e065", + "id": "0x8ae652a657f5f98e850fa0faa7059887da6c4db60039450d9d954b5df3f0859a", "count": "0" } } @@ -77,7 +77,7 @@ Response: { "dynamicFields": { "edges": [ { - "cursor": "ICTT97Z4RvHmIwcxdPAmcPJw7gHLD+b58TJGeBgWQ4JtAQAAAAAAAAA=", + "cursor": "IKFoCRlgBTBlK6AL3VIpd6DjkIF/kRgoBODpinFZtKYFAQAAAAAAAAA=", "node": { "name": { "bcs": "KgAAAAAAAAA=" @@ -85,7 +85,7 @@ Response: { "value": { "contents": { "json": { - "id": "0x36c21ebf0f400be2910c524ee30635e60c220a4b493ce49536b10ec85519e065", + "id": "0x8ae652a657f5f98e850fa0faa7059887da6c4db60039450d9d954b5df3f0859a", "count": "0" } } @@ -101,7 +101,7 @@ Response: { "value": { "contents": { "json": { - "id": "0x36c21ebf0f400be2910c524ee30635e60c220a4b493ce49536b10ec85519e065", + "id": "0x8ae652a657f5f98e850fa0faa7059887da6c4db60039450d9d954b5df3f0859a", "count": "0" } } @@ -117,7 +117,7 @@ Response: { "value": { "contents": { "json": { - "id": "0x36c21ebf0f400be2910c524ee30635e60c220a4b493ce49536b10ec85519e065", + "id": "0x8ae652a657f5f98e850fa0faa7059887da6c4db60039450d9d954b5df3f0859a", "count": "0" } } @@ -131,17 +131,17 @@ Response: { } } -task 7, line 133: +task 7, line 134: //# run Test::M1::reclaim_and_transfer_child --sender A --args object(2,1) 42 @A mutated: object(0,0), object(2,0), object(2,1) deleted: object(3,0) -gas summary: computation_cost: 1000000, storage_cost: 3610000, storage_rebate: 6004152, non_refundable_storage_fee: 60648 +gas summary: computation_cost: 1000000, storage_cost: 3610000, storage_rebate: 6064800, non_refundable_storage_fee: 0 -task 8, line 135: +task 8, line 136: //# create-checkpoint Checkpoint created: 2 -task 9, lines 137-188: +task 9, lines 138-189: //# run-graphql Response: { "data": { @@ -168,7 +168,7 @@ Response: { "value": { "contents": { "json": { - "id": "0x36c21ebf0f400be2910c524ee30635e60c220a4b493ce49536b10ec85519e065", + "id": "0x8ae652a657f5f98e850fa0faa7059887da6c4db60039450d9d954b5df3f0859a", "count": "0" } } @@ -178,22 +178,22 @@ Response: { } } -task 10, line 190: +task 10, line 191: //# run Test::M1::mutate_child --sender A --args object(2,0) mutated: object(0,0), object(2,0) -gas summary: computation_cost: 1000000, storage_cost: 2295200, storage_rebate: 2272248, non_refundable_storage_fee: 22952 +gas summary: computation_cost: 1000000, storage_cost: 2295200, storage_rebate: 2295200, non_refundable_storage_fee: 0 -task 11, line 192: +task 11, line 193: //# run Test::M1::add_child --sender A --args object(2,1) object(2,0) 42 created: object(3,0) mutated: object(0,0), object(2,0), object(2,1) -gas summary: computation_cost: 1000000, storage_cost: 6064800, storage_rebate: 3573900, non_refundable_storage_fee: 36100 +gas summary: computation_cost: 1000000, storage_cost: 6064800, storage_rebate: 3610000, non_refundable_storage_fee: 0 -task 12, line 194: +task 12, line 195: //# create-checkpoint Checkpoint created: 3 -task 13, lines 196-259: +task 13, lines 197-260: //# run-graphql Response: { "data": { @@ -202,7 +202,7 @@ Response: { "dynamicFields": { "edges": [ { - "cursor": "ICTT97Z4RvHmIwcxdPAmcPJw7gHLD+b58TJGeBgWQ4JtAwAAAAAAAAA=", + "cursor": "IKFoCRlgBTBlK6AL3VIpd6DjkIF/kRgoBODpinFZtKYFAwAAAAAAAAA=", "node": { "name": { "bcs": "KgAAAAAAAAA=" @@ -210,7 +210,7 @@ Response: { "value": { "contents": { "json": { - "id": "0x36c21ebf0f400be2910c524ee30635e60c220a4b493ce49536b10ec85519e065", + "id": "0x8ae652a657f5f98e850fa0faa7059887da6c4db60039450d9d954b5df3f0859a", "count": "1" } } @@ -226,7 +226,7 @@ Response: { "value": { "contents": { "json": { - "id": "0x36c21ebf0f400be2910c524ee30635e60c220a4b493ce49536b10ec85519e065", + "id": "0x8ae652a657f5f98e850fa0faa7059887da6c4db60039450d9d954b5df3f0859a", "count": "1" } } @@ -238,7 +238,7 @@ Response: { "dynamicFields": { "edges": [ { - "cursor": "ICTT97Z4RvHmIwcxdPAmcPJw7gHLD+b58TJGeBgWQ4JtAwAAAAAAAAA=", + "cursor": "IKFoCRlgBTBlK6AL3VIpd6DjkIF/kRgoBODpinFZtKYFAwAAAAAAAAA=", "node": { "name": { "bcs": "KgAAAAAAAAA=" @@ -246,7 +246,7 @@ Response: { "value": { "contents": { "json": { - "id": "0x36c21ebf0f400be2910c524ee30635e60c220a4b493ce49536b10ec85519e065", + "id": "0x8ae652a657f5f98e850fa0faa7059887da6c4db60039450d9d954b5df3f0859a", "count": "1" } } @@ -262,7 +262,7 @@ Response: { "value": { "contents": { "json": { - "id": "0x36c21ebf0f400be2910c524ee30635e60c220a4b493ce49536b10ec85519e065", + "id": "0x8ae652a657f5f98e850fa0faa7059887da6c4db60039450d9d954b5df3f0859a", "count": "1" } } @@ -283,7 +283,7 @@ Response: { "value": { "contents": { "json": { - "id": "0x36c21ebf0f400be2910c524ee30635e60c220a4b493ce49536b10ec85519e065", + "id": "0x8ae652a657f5f98e850fa0faa7059887da6c4db60039450d9d954b5df3f0859a", "count": "0" } } diff --git a/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/nested_dof.exp b/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/nested_dof.exp index 54a0230eff3..0bea8bca3fa 100644 --- a/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/nested_dof.exp +++ b/crates/iota-graphql-e2e-tests/tests/consistency/dynamic_fields/nested_dof.exp @@ -3,57 +3,57 @@ processed 17 tasks init: A: object(0,0) -task 1, lines 24-75: +task 1, lines 25-76: //# publish created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 8960400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2, line 77: +task 2, line 78: //# run Test::M1::parent --sender A --args @A created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3, line 79: +task 3, line 80: //# run Test::M1::child --sender A --args @A created: object(3,0) mutated: object(0,0) -gas summary: computation_cost: 1000000, storage_cost: 2295200, storage_rebate: 978120, non_refundable_storage_fee: 9880 +gas summary: computation_cost: 1000000, storage_cost: 2295200, storage_rebate: 988000, non_refundable_storage_fee: 0 -task 4, line 81: +task 4, line 82: //# run Test::M1::child --sender A --args @A created: object(4,0) mutated: object(0,0) -gas summary: computation_cost: 1000000, storage_cost: 2295200, storage_rebate: 978120, non_refundable_storage_fee: 9880 +gas summary: computation_cost: 1000000, storage_cost: 2295200, storage_rebate: 988000, non_refundable_storage_fee: 0 -task 5, line 83: +task 5, line 84: //# run Test::M1::add_child --sender A --args object(2,0) object(3,0) 42 created: object(5,0) mutated: object(0,0), object(2,0), object(3,0) -gas summary: computation_cost: 1000000, storage_cost: 6064800, storage_rebate: 3573900, non_refundable_storage_fee: 36100 +gas summary: computation_cost: 1000000, storage_cost: 6064800, storage_rebate: 3610000, non_refundable_storage_fee: 0 -task 6, line 85: +task 6, line 86: //# run Test::M1::add_nested_child --sender A --args object(2,0) 42 object(4,0) 420 created: object(6,0) mutated: object(0,0), object(2,0), object(4,0) -gas summary: computation_cost: 1000000, storage_cost: 6064800, storage_rebate: 3573900, non_refundable_storage_fee: 36100 +gas summary: computation_cost: 1000000, storage_cost: 6064800, storage_rebate: 3610000, non_refundable_storage_fee: 0 -task 7, line 87: +task 7, line 88: //# run Test::M1::mutate_child_on_parent --sender A --args object(2,0) 42 mutated: object(0,0), object(2,0), object(3,0) -gas summary: computation_cost: 1000000, storage_cost: 3610000, storage_rebate: 3573900, non_refundable_storage_fee: 36100 +gas summary: computation_cost: 1000000, storage_cost: 3610000, storage_rebate: 3610000, non_refundable_storage_fee: 0 -task 8, line 89: +task 8, line 90: //# run Test::M1::mutate_nested_child_on_parent --sender A --args object(2,0) 42 420 mutated: object(0,0), object(2,0), object(4,0) -gas summary: computation_cost: 1000000, storage_cost: 3610000, storage_rebate: 3573900, non_refundable_storage_fee: 36100 +gas summary: computation_cost: 1000000, storage_cost: 3610000, storage_rebate: 3610000, non_refundable_storage_fee: 0 -task 9, line 91: +task 9, line 92: //# create-checkpoint Checkpoint created: 1 -task 10, lines 93-123: +task 10, lines 94-124: //# run-graphql Response: { "data": { @@ -62,11 +62,11 @@ Response: { "nodes": [ { "value": { - "address": "0x73f7e04f424045e449ed940a29a191045a40089fab972a4d83d7715d06c7ecf4", + "address": "0x7833a80d5b4294ea1a52aa5a0a2a1c40d8a425a8d893745ad8127480b7450831", "version": 5, "contents": { "json": { - "id": "0x73f7e04f424045e449ed940a29a191045a40089fab972a4d83d7715d06c7ecf4", + "id": "0x7833a80d5b4294ea1a52aa5a0a2a1c40d8a425a8d893745ad8127480b7450831", "count": "0" } }, @@ -81,7 +81,7 @@ Response: { } } -task 11, lines 125-155: +task 11, lines 126-156: //# run-graphql Response: { "data": { @@ -90,11 +90,11 @@ Response: { "nodes": [ { "value": { - "address": "0x73f7e04f424045e449ed940a29a191045a40089fab972a4d83d7715d06c7ecf4", + "address": "0x7833a80d5b4294ea1a52aa5a0a2a1c40d8a425a8d893745ad8127480b7450831", "version": 5, "contents": { "json": { - "id": "0x73f7e04f424045e449ed940a29a191045a40089fab972a4d83d7715d06c7ecf4", + "id": "0x7833a80d5b4294ea1a52aa5a0a2a1c40d8a425a8d893745ad8127480b7450831", "count": "0" } }, @@ -102,11 +102,11 @@ Response: { "nodes": [ { "value": { - "address": "0xc01dbc5bc85403c91054fc00aceffde453d176eecd91c216cace519337f3880b", + "address": "0x5f544520e19dc639e551b796e27bdedd096e5be93650d79f6d76acc16c833045", "version": 6, "contents": { "json": { - "id": "0xc01dbc5bc85403c91054fc00aceffde453d176eecd91c216cace519337f3880b", + "id": "0x5f544520e19dc639e551b796e27bdedd096e5be93650d79f6d76acc16c833045", "count": "0" } } @@ -122,7 +122,7 @@ Response: { } } -task 12, lines 157-187: +task 12, lines 158-188: //# run-graphql Response: { "data": { @@ -131,11 +131,11 @@ Response: { "nodes": [ { "value": { - "address": "0x73f7e04f424045e449ed940a29a191045a40089fab972a4d83d7715d06c7ecf4", + "address": "0x7833a80d5b4294ea1a52aa5a0a2a1c40d8a425a8d893745ad8127480b7450831", "version": 7, "contents": { "json": { - "id": "0x73f7e04f424045e449ed940a29a191045a40089fab972a4d83d7715d06c7ecf4", + "id": "0x7833a80d5b4294ea1a52aa5a0a2a1c40d8a425a8d893745ad8127480b7450831", "count": "1" } }, @@ -143,11 +143,11 @@ Response: { "nodes": [ { "value": { - "address": "0xc01dbc5bc85403c91054fc00aceffde453d176eecd91c216cace519337f3880b", + "address": "0x5f544520e19dc639e551b796e27bdedd096e5be93650d79f6d76acc16c833045", "version": 6, "contents": { "json": { - "id": "0xc01dbc5bc85403c91054fc00aceffde453d176eecd91c216cace519337f3880b", + "id": "0x5f544520e19dc639e551b796e27bdedd096e5be93650d79f6d76acc16c833045", "count": "0" } } @@ -163,7 +163,7 @@ Response: { } } -task 13, lines 189-219: +task 13, lines 190-220: //# run-graphql Response: { "data": { @@ -172,11 +172,11 @@ Response: { "nodes": [ { "value": { - "address": "0x73f7e04f424045e449ed940a29a191045a40089fab972a4d83d7715d06c7ecf4", + "address": "0x7833a80d5b4294ea1a52aa5a0a2a1c40d8a425a8d893745ad8127480b7450831", "version": 7, "contents": { "json": { - "id": "0x73f7e04f424045e449ed940a29a191045a40089fab972a4d83d7715d06c7ecf4", + "id": "0x7833a80d5b4294ea1a52aa5a0a2a1c40d8a425a8d893745ad8127480b7450831", "count": "1" } }, @@ -184,11 +184,11 @@ Response: { "nodes": [ { "value": { - "address": "0xc01dbc5bc85403c91054fc00aceffde453d176eecd91c216cace519337f3880b", + "address": "0x5f544520e19dc639e551b796e27bdedd096e5be93650d79f6d76acc16c833045", "version": 8, "contents": { "json": { - "id": "0xc01dbc5bc85403c91054fc00aceffde453d176eecd91c216cace519337f3880b", + "id": "0x5f544520e19dc639e551b796e27bdedd096e5be93650d79f6d76acc16c833045", "count": "1" } } @@ -204,7 +204,7 @@ Response: { } } -task 14, lines 221-238: +task 14, lines 222-239: //# run-graphql Response: { "data": { @@ -216,7 +216,7 @@ Response: { } } -task 15, lines 240-257: +task 15, lines 241-258: //# run-graphql Response: { "data": { @@ -224,7 +224,7 @@ Response: { } } -task 16, lines 259-276: +task 16, lines 260-277: //# run-graphql Response: { "data": { @@ -233,11 +233,11 @@ Response: { "nodes": [ { "value": { - "address": "0xc01dbc5bc85403c91054fc00aceffde453d176eecd91c216cace519337f3880b", + "address": "0x5f544520e19dc639e551b796e27bdedd096e5be93650d79f6d76acc16c833045", "version": 6, "contents": { "json": { - "id": "0xc01dbc5bc85403c91054fc00aceffde453d176eecd91c216cace519337f3880b", + "id": "0x5f544520e19dc639e551b796e27bdedd096e5be93650d79f6d76acc16c833045", "count": "0" } } diff --git a/crates/iota-graphql-e2e-tests/tests/consistency/epochs/checkpoints.exp b/crates/iota-graphql-e2e-tests/tests/consistency/epochs/checkpoints.exp index b92ffe6535b..c0939b6336e 100644 --- a/crates/iota-graphql-e2e-tests/tests/consistency/epochs/checkpoints.exp +++ b/crates/iota-graphql-e2e-tests/tests/consistency/epochs/checkpoints.exp @@ -3,19 +3,19 @@ processed 16 tasks init: A: object(0,0), B: object(0,1) -task 1, line 13: +task 1, line 14: //# create-checkpoint Checkpoint created: 1 -task 2, line 15: +task 2, line 16: //# create-checkpoint Checkpoint created: 2 -task 3, line 17: +task 3, line 18: //# advance-epoch Epoch advanced: 0 -task 4, lines 19-34: +task 4, lines 20-35: //# run-graphql Response: { "data": { @@ -44,31 +44,31 @@ Response: { } } -task 5, line 36: +task 5, line 37: //# create-checkpoint Checkpoint created: 4 -task 6, line 38: +task 6, line 39: //# create-checkpoint Checkpoint created: 5 -task 7, line 40: +task 7, line 41: //# create-checkpoint Checkpoint created: 6 -task 8, line 42: +task 8, line 43: //# advance-epoch Epoch advanced: 1 -task 9, line 44: +task 9, line 45: //# create-checkpoint Checkpoint created: 8 -task 10, line 46: +task 10, line 47: //# create-checkpoint Checkpoint created: 9 -task 11, lines 48-87: +task 11, lines 49-88: //# run-graphql Response: { "data": { @@ -159,11 +159,11 @@ Response: { } } -task 12, line 89: +task 12, line 90: //# create-checkpoint Checkpoint created: 10 -task 13, lines 91-122: +task 13, lines 92-123: //# run-graphql --cursors {"s":3,"c":4} {"s":7,"c":8} {"s":9,"c":10} Response: { "data": { @@ -215,7 +215,7 @@ Response: { } } -task 14, lines 124-155: +task 14, lines 125-156: //# run-graphql --cursors {"s":0,"c":3} {"s":4,"c":7} {"s":8,"c":9} Response: { "data": { @@ -267,7 +267,7 @@ Response: { } } -task 15, lines 157-188: +task 15, lines 158-189: //# run-graphql --cursors {"s":1,"c":2} {"s":5,"c":6} {"s":9,"c":9} Response: { "data": { diff --git a/crates/iota-graphql-e2e-tests/tests/consistency/epochs/transaction_blocks.exp b/crates/iota-graphql-e2e-tests/tests/consistency/epochs/transaction_blocks.exp index 7b25ef908d6..a29d25d2f4e 100644 --- a/crates/iota-graphql-e2e-tests/tests/consistency/epochs/transaction_blocks.exp +++ b/crates/iota-graphql-e2e-tests/tests/consistency/epochs/transaction_blocks.exp @@ -3,31 +3,31 @@ processed 26 tasks init: A: object(0,0), B: object(0,1) -task 1, lines 22-35: +task 1, lines 23-36: //# publish created: object(1,0) mutated: object(0,2) gas summary: computation_cost: 1000000, storage_cost: 5175600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2, line 37: +task 2, line 38: //# create-checkpoint Checkpoint created: 1 -task 3, line 39: +task 3, line 40: //# run Test::M1::create --args 0 @A --sender A created: object(3,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 4, line 41: +task 4, line 42: //# create-checkpoint Checkpoint created: 2 -task 5, line 43: +task 5, line 44: //# advance-epoch Epoch advanced: 0 -task 6, lines 45-61: +task 6, lines 46-62: //# run-graphql Response: { "data": { @@ -41,25 +41,25 @@ Response: { { "cursor": "eyJjIjozLCJ0IjowLCJpIjpmYWxzZX0", "node": { - "digest": "J7mHXcoa7LXwyjzZUWsk8zvYZjek359TM4d2hQK4LGHo" + "digest": "5wn4yRKTAb2rpPLH2WjRVkgU6hRMiXEo12oCTofh1PbF" } }, { "cursor": "eyJjIjozLCJ0IjoxLCJpIjpmYWxzZX0", "node": { - "digest": "J1pYPDrTgsKgzB8XWtW8jLJ8RPsbJcC1SQ4Mv2T1hAWt" + "digest": "8wE6tNFZ7YpbEAQSZ8ygwyY2UeH2qCF289B6JB8TFpQs" } }, { "cursor": "eyJjIjozLCJ0IjoyLCJpIjpmYWxzZX0", "node": { - "digest": "Cwqr9jTgQjajoYaqcjzAaQGcQEyCg8XxoN7smGCLiBrs" + "digest": "5PZJkMMWUNyE1sXy3cQ4uX74Ns5vQvt6NN4FC56xQJ8n" } }, { "cursor": "eyJjIjozLCJ0IjozLCJpIjpmYWxzZX0", "node": { - "digest": "Bym7b7ELP77KxVHtgj6F4FB7H6n5LYQuBQYmdvvFxEmM" + "digest": "4dnUK4vANg6NeSv58qw2Lq6XHgBSvDHPU1HYF71DzxnZ" } } ] @@ -68,79 +68,79 @@ Response: { } } -task 7, line 63: +task 7, line 64: //# run Test::M1::create --args 0 @A --sender A created: object(7,0) mutated: object(0,0) -gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 978120, non_refundable_storage_fee: 9880 +gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 988000, non_refundable_storage_fee: 0 -task 8, line 65: +task 8, line 66: //# create-checkpoint Checkpoint created: 4 -task 9, line 67: +task 9, line 68: //# run Test::M1::create --args 0 @A --sender A created: object(9,0) mutated: object(0,0) -gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 978120, non_refundable_storage_fee: 9880 +gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 988000, non_refundable_storage_fee: 0 -task 10, line 69: +task 10, line 70: //# create-checkpoint Checkpoint created: 5 -task 11, line 71: +task 11, line 72: //# run Test::M1::create --args 0 @A --sender A created: object(11,0) mutated: object(0,0) -gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 978120, non_refundable_storage_fee: 9880 +gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 988000, non_refundable_storage_fee: 0 -task 12, line 73: +task 12, line 74: //# create-checkpoint Checkpoint created: 6 -task 13, line 75: +task 13, line 76: //# advance-epoch Epoch advanced: 1 -task 14, line 77: +task 14, line 78: //# run Test::M1::create --args 0 @A --sender A created: object(14,0) mutated: object(0,0) -gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 978120, non_refundable_storage_fee: 9880 +gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 988000, non_refundable_storage_fee: 0 -task 15, line 79: +task 15, line 80: //# create-checkpoint Checkpoint created: 8 -task 16, line 81: +task 16, line 82: //# run Test::M1::create --args 0 @A --sender A created: object(16,0) mutated: object(0,0) -gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 978120, non_refundable_storage_fee: 9880 +gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 988000, non_refundable_storage_fee: 0 -task 17, line 83: +task 17, line 84: //# create-checkpoint Checkpoint created: 9 -task 18, line 85: +task 18, line 86: //# run Test::M1::create --args 0 @A --sender A created: object(18,0) mutated: object(0,0) -gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 978120, non_refundable_storage_fee: 9880 +gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 988000, non_refundable_storage_fee: 0 -task 19, line 87: +task 19, line 88: //# create-checkpoint Checkpoint created: 10 -task 20, line 89: +task 20, line 90: //# advance-epoch Epoch advanced: 2 -task 21, line 91: +task 21, line 92: //# advance-epoch Epoch advanced: 3 -task 22, lines 93-157: +task 22, lines 94-158: //# run-graphql --cursors {"t":3,"i":false,"c":4} {"t":7,"i":false,"c":8} {"t":11,"i":false,"c":12} Response: { "data": { @@ -154,25 +154,25 @@ Response: { { "cursor": "eyJjIjoxMiwidCI6MCwiaSI6ZmFsc2V9", "node": { - "digest": "J7mHXcoa7LXwyjzZUWsk8zvYZjek359TM4d2hQK4LGHo" + "digest": "5wn4yRKTAb2rpPLH2WjRVkgU6hRMiXEo12oCTofh1PbF" } }, { "cursor": "eyJjIjoxMiwidCI6MSwiaSI6ZmFsc2V9", "node": { - "digest": "J1pYPDrTgsKgzB8XWtW8jLJ8RPsbJcC1SQ4Mv2T1hAWt" + "digest": "8wE6tNFZ7YpbEAQSZ8ygwyY2UeH2qCF289B6JB8TFpQs" } }, { "cursor": "eyJjIjoxMiwidCI6MiwiaSI6ZmFsc2V9", "node": { - "digest": "Cwqr9jTgQjajoYaqcjzAaQGcQEyCg8XxoN7smGCLiBrs" + "digest": "5PZJkMMWUNyE1sXy3cQ4uX74Ns5vQvt6NN4FC56xQJ8n" } }, { "cursor": "eyJjIjoxMiwidCI6MywiaSI6ZmFsc2V9", "node": { - "digest": "Bym7b7ELP77KxVHtgj6F4FB7H6n5LYQuBQYmdvvFxEmM" + "digest": "4dnUK4vANg6NeSv58qw2Lq6XHgBSvDHPU1HYF71DzxnZ" } } ] @@ -183,19 +183,19 @@ Response: { { "cursor": "eyJjIjo0LCJ0IjowLCJpIjpmYWxzZX0", "node": { - "digest": "J7mHXcoa7LXwyjzZUWsk8zvYZjek359TM4d2hQK4LGHo" + "digest": "5wn4yRKTAb2rpPLH2WjRVkgU6hRMiXEo12oCTofh1PbF" } }, { "cursor": "eyJjIjo0LCJ0IjoxLCJpIjpmYWxzZX0", "node": { - "digest": "J1pYPDrTgsKgzB8XWtW8jLJ8RPsbJcC1SQ4Mv2T1hAWt" + "digest": "8wE6tNFZ7YpbEAQSZ8ygwyY2UeH2qCF289B6JB8TFpQs" } }, { "cursor": "eyJjIjo0LCJ0IjoyLCJpIjpmYWxzZX0", "node": { - "digest": "Cwqr9jTgQjajoYaqcjzAaQGcQEyCg8XxoN7smGCLiBrs" + "digest": "5PZJkMMWUNyE1sXy3cQ4uX74Ns5vQvt6NN4FC56xQJ8n" } } ] @@ -207,25 +207,25 @@ Response: { { "cursor": "eyJjIjoxMiwidCI6NCwiaSI6ZmFsc2V9", "node": { - "digest": "H1WU8uXMGaENQs54EpoHGpV1iMYdH8P5scd1d16s9ECB" + "digest": "FY74u4UxdA4F1cyKTKU9nca1ZUxsAqN9v7CfWsw7Egkx" } }, { "cursor": "eyJjIjoxMiwidCI6NSwiaSI6ZmFsc2V9", "node": { - "digest": "4vJbSYKwEJb5sYU2jiayqsZNRnBywD8y6sd3RQoMppF9" + "digest": "FNA1q8ndHddbMWsztHQZeojnhuRK9opMT7mHhJv2vW6K" } }, { "cursor": "eyJjIjoxMiwidCI6NiwiaSI6ZmFsc2V9", "node": { - "digest": "4W23PZz7dHVxoZ2VMCWU9j38Jxy7tLkqcFBcJUB3aCSB" + "digest": "7VTFfa48yfegREkGTETs2PsYoQ1kpL5315uM7FcgdH4j" } }, { "cursor": "eyJjIjoxMiwidCI6NywiaSI6ZmFsc2V9", "node": { - "digest": "D251V1BnvyRKNFZmiFxaf7gSZLGdLo8fYbbVDb5vJWfd" + "digest": "5LVpMhzDM4Umk1KDqfqrCembsKai4yPj3BTyTyh9e8zM" } } ] @@ -236,43 +236,43 @@ Response: { { "cursor": "eyJjIjo4LCJ0IjowLCJpIjpmYWxzZX0", "node": { - "digest": "J7mHXcoa7LXwyjzZUWsk8zvYZjek359TM4d2hQK4LGHo" + "digest": "5wn4yRKTAb2rpPLH2WjRVkgU6hRMiXEo12oCTofh1PbF" } }, { "cursor": "eyJjIjo4LCJ0IjoxLCJpIjpmYWxzZX0", "node": { - "digest": "J1pYPDrTgsKgzB8XWtW8jLJ8RPsbJcC1SQ4Mv2T1hAWt" + "digest": "8wE6tNFZ7YpbEAQSZ8ygwyY2UeH2qCF289B6JB8TFpQs" } }, { "cursor": "eyJjIjo4LCJ0IjoyLCJpIjpmYWxzZX0", "node": { - "digest": "Cwqr9jTgQjajoYaqcjzAaQGcQEyCg8XxoN7smGCLiBrs" + "digest": "5PZJkMMWUNyE1sXy3cQ4uX74Ns5vQvt6NN4FC56xQJ8n" } }, { "cursor": "eyJjIjo4LCJ0IjozLCJpIjpmYWxzZX0", "node": { - "digest": "Bym7b7ELP77KxVHtgj6F4FB7H6n5LYQuBQYmdvvFxEmM" + "digest": "4dnUK4vANg6NeSv58qw2Lq6XHgBSvDHPU1HYF71DzxnZ" } }, { "cursor": "eyJjIjo4LCJ0Ijo0LCJpIjpmYWxzZX0", "node": { - "digest": "H1WU8uXMGaENQs54EpoHGpV1iMYdH8P5scd1d16s9ECB" + "digest": "FY74u4UxdA4F1cyKTKU9nca1ZUxsAqN9v7CfWsw7Egkx" } }, { "cursor": "eyJjIjo4LCJ0Ijo1LCJpIjpmYWxzZX0", "node": { - "digest": "4vJbSYKwEJb5sYU2jiayqsZNRnBywD8y6sd3RQoMppF9" + "digest": "FNA1q8ndHddbMWsztHQZeojnhuRK9opMT7mHhJv2vW6K" } }, { "cursor": "eyJjIjo4LCJ0Ijo2LCJpIjpmYWxzZX0", "node": { - "digest": "4W23PZz7dHVxoZ2VMCWU9j38Jxy7tLkqcFBcJUB3aCSB" + "digest": "7VTFfa48yfegREkGTETs2PsYoQ1kpL5315uM7FcgdH4j" } } ] @@ -284,25 +284,25 @@ Response: { { "cursor": "eyJjIjoxMiwidCI6OCwiaSI6ZmFsc2V9", "node": { - "digest": "JLAF7P6DumC8rgzT1Ygp2QgTwpHE2FUqQbVXL6cGEEQ" + "digest": "EWrgm6gr5dKneCc83NfGLZw7UH9mbEQmv7yfJLkCQk2z" } }, { "cursor": "eyJjIjoxMiwidCI6OSwiaSI6ZmFsc2V9", "node": { - "digest": "BVMVdn7DDpTbCjtYwWFekcFA9sNeMgDh1wTNWRrngZxh" + "digest": "FZm3UYq9whLyZstBjFQweua7ETToUQWkYhsTrW99Ce1G" } }, { "cursor": "eyJjIjoxMiwidCI6MTAsImkiOmZhbHNlfQ", "node": { - "digest": "4J5tno4AoU4NPS2NgEseAZK7cpLDh6KJduVtbtwzmHk5" + "digest": "Aek7YFwpSys8ogAovQPquPmJyV7tQzGv1Qoqwg9Hkgst" } }, { "cursor": "eyJjIjoxMiwidCI6MTEsImkiOmZhbHNlfQ", "node": { - "digest": "GngPX2ztACkKE96VUfoujZ3vA11MMDhPSwwgKhK7hVa" + "digest": "4vazmSJxiWNBkLMN1CKpKb16uYfq62cSYEMB5GJSZZ32" } } ] @@ -313,67 +313,67 @@ Response: { { "cursor": "eyJjIjoxMiwidCI6MCwiaSI6ZmFsc2V9", "node": { - "digest": "J7mHXcoa7LXwyjzZUWsk8zvYZjek359TM4d2hQK4LGHo" + "digest": "5wn4yRKTAb2rpPLH2WjRVkgU6hRMiXEo12oCTofh1PbF" } }, { "cursor": "eyJjIjoxMiwidCI6MSwiaSI6ZmFsc2V9", "node": { - "digest": "J1pYPDrTgsKgzB8XWtW8jLJ8RPsbJcC1SQ4Mv2T1hAWt" + "digest": "8wE6tNFZ7YpbEAQSZ8ygwyY2UeH2qCF289B6JB8TFpQs" } }, { "cursor": "eyJjIjoxMiwidCI6MiwiaSI6ZmFsc2V9", "node": { - "digest": "Cwqr9jTgQjajoYaqcjzAaQGcQEyCg8XxoN7smGCLiBrs" + "digest": "5PZJkMMWUNyE1sXy3cQ4uX74Ns5vQvt6NN4FC56xQJ8n" } }, { "cursor": "eyJjIjoxMiwidCI6MywiaSI6ZmFsc2V9", "node": { - "digest": "Bym7b7ELP77KxVHtgj6F4FB7H6n5LYQuBQYmdvvFxEmM" + "digest": "4dnUK4vANg6NeSv58qw2Lq6XHgBSvDHPU1HYF71DzxnZ" } }, { "cursor": "eyJjIjoxMiwidCI6NCwiaSI6ZmFsc2V9", "node": { - "digest": "H1WU8uXMGaENQs54EpoHGpV1iMYdH8P5scd1d16s9ECB" + "digest": "FY74u4UxdA4F1cyKTKU9nca1ZUxsAqN9v7CfWsw7Egkx" } }, { "cursor": "eyJjIjoxMiwidCI6NSwiaSI6ZmFsc2V9", "node": { - "digest": "4vJbSYKwEJb5sYU2jiayqsZNRnBywD8y6sd3RQoMppF9" + "digest": "FNA1q8ndHddbMWsztHQZeojnhuRK9opMT7mHhJv2vW6K" } }, { "cursor": "eyJjIjoxMiwidCI6NiwiaSI6ZmFsc2V9", "node": { - "digest": "4W23PZz7dHVxoZ2VMCWU9j38Jxy7tLkqcFBcJUB3aCSB" + "digest": "7VTFfa48yfegREkGTETs2PsYoQ1kpL5315uM7FcgdH4j" } }, { "cursor": "eyJjIjoxMiwidCI6NywiaSI6ZmFsc2V9", "node": { - "digest": "D251V1BnvyRKNFZmiFxaf7gSZLGdLo8fYbbVDb5vJWfd" + "digest": "5LVpMhzDM4Umk1KDqfqrCembsKai4yPj3BTyTyh9e8zM" } }, { "cursor": "eyJjIjoxMiwidCI6OCwiaSI6ZmFsc2V9", "node": { - "digest": "JLAF7P6DumC8rgzT1Ygp2QgTwpHE2FUqQbVXL6cGEEQ" + "digest": "EWrgm6gr5dKneCc83NfGLZw7UH9mbEQmv7yfJLkCQk2z" } }, { "cursor": "eyJjIjoxMiwidCI6OSwiaSI6ZmFsc2V9", "node": { - "digest": "BVMVdn7DDpTbCjtYwWFekcFA9sNeMgDh1wTNWRrngZxh" + "digest": "FZm3UYq9whLyZstBjFQweua7ETToUQWkYhsTrW99Ce1G" } }, { "cursor": "eyJjIjoxMiwidCI6MTAsImkiOmZhbHNlfQ", "node": { - "digest": "4J5tno4AoU4NPS2NgEseAZK7cpLDh6KJduVtbtwzmHk5" + "digest": "Aek7YFwpSys8ogAovQPquPmJyV7tQzGv1Qoqwg9Hkgst" } } ] @@ -381,7 +381,7 @@ Response: { } } -task 23, lines 159-199: +task 23, lines 160-200: //# run-graphql --cursors {"t":0,"i":false,"c":7} {"t":4,"i":false,"c":11} {"t":8,"i":false,"c":12} Response: { "data": { @@ -395,19 +395,19 @@ Response: { { "cursor": "eyJjIjo3LCJ0IjoxLCJpIjpmYWxzZX0", "node": { - "digest": "J1pYPDrTgsKgzB8XWtW8jLJ8RPsbJcC1SQ4Mv2T1hAWt" + "digest": "8wE6tNFZ7YpbEAQSZ8ygwyY2UeH2qCF289B6JB8TFpQs" } }, { "cursor": "eyJjIjo3LCJ0IjoyLCJpIjpmYWxzZX0", "node": { - "digest": "Cwqr9jTgQjajoYaqcjzAaQGcQEyCg8XxoN7smGCLiBrs" + "digest": "5PZJkMMWUNyE1sXy3cQ4uX74Ns5vQvt6NN4FC56xQJ8n" } }, { "cursor": "eyJjIjo3LCJ0IjozLCJpIjpmYWxzZX0", "node": { - "digest": "Bym7b7ELP77KxVHtgj6F4FB7H6n5LYQuBQYmdvvFxEmM" + "digest": "4dnUK4vANg6NeSv58qw2Lq6XHgBSvDHPU1HYF71DzxnZ" } } ] @@ -420,19 +420,19 @@ Response: { { "cursor": "eyJjIjoxMSwidCI6NSwiaSI6ZmFsc2V9", "node": { - "digest": "4vJbSYKwEJb5sYU2jiayqsZNRnBywD8y6sd3RQoMppF9" + "digest": "FNA1q8ndHddbMWsztHQZeojnhuRK9opMT7mHhJv2vW6K" } }, { "cursor": "eyJjIjoxMSwidCI6NiwiaSI6ZmFsc2V9", "node": { - "digest": "4W23PZz7dHVxoZ2VMCWU9j38Jxy7tLkqcFBcJUB3aCSB" + "digest": "7VTFfa48yfegREkGTETs2PsYoQ1kpL5315uM7FcgdH4j" } }, { "cursor": "eyJjIjoxMSwidCI6NywiaSI6ZmFsc2V9", "node": { - "digest": "D251V1BnvyRKNFZmiFxaf7gSZLGdLo8fYbbVDb5vJWfd" + "digest": "5LVpMhzDM4Umk1KDqfqrCembsKai4yPj3BTyTyh9e8zM" } } ] @@ -445,19 +445,19 @@ Response: { { "cursor": "eyJjIjoxMiwidCI6OSwiaSI6ZmFsc2V9", "node": { - "digest": "BVMVdn7DDpTbCjtYwWFekcFA9sNeMgDh1wTNWRrngZxh" + "digest": "FZm3UYq9whLyZstBjFQweua7ETToUQWkYhsTrW99Ce1G" } }, { "cursor": "eyJjIjoxMiwidCI6MTAsImkiOmZhbHNlfQ", "node": { - "digest": "4J5tno4AoU4NPS2NgEseAZK7cpLDh6KJduVtbtwzmHk5" + "digest": "Aek7YFwpSys8ogAovQPquPmJyV7tQzGv1Qoqwg9Hkgst" } }, { "cursor": "eyJjIjoxMiwidCI6MTEsImkiOmZhbHNlfQ", "node": { - "digest": "GngPX2ztACkKE96VUfoujZ3vA11MMDhPSwwgKhK7hVa" + "digest": "4vazmSJxiWNBkLMN1CKpKb16uYfq62cSYEMB5GJSZZ32" } } ] @@ -466,7 +466,7 @@ Response: { } } -task 24, lines 201-241: +task 24, lines 202-242: //# run-graphql --cursors {"t":1,"i":false,"c":2} {"t":5,"i":false,"c":6} {"t":9,"i":false,"c":10} Response: { "data": { @@ -480,7 +480,7 @@ Response: { { "cursor": "eyJjIjoyLCJ0IjoyLCJpIjpmYWxzZX0", "node": { - "digest": "Cwqr9jTgQjajoYaqcjzAaQGcQEyCg8XxoN7smGCLiBrs" + "digest": "5PZJkMMWUNyE1sXy3cQ4uX74Ns5vQvt6NN4FC56xQJ8n" } } ] @@ -493,7 +493,7 @@ Response: { { "cursor": "eyJjIjo2LCJ0Ijo2LCJpIjpmYWxzZX0", "node": { - "digest": "4W23PZz7dHVxoZ2VMCWU9j38Jxy7tLkqcFBcJUB3aCSB" + "digest": "7VTFfa48yfegREkGTETs2PsYoQ1kpL5315uM7FcgdH4j" } } ] @@ -506,7 +506,7 @@ Response: { { "cursor": "eyJjIjoxMCwidCI6MTAsImkiOmZhbHNlfQ", "node": { - "digest": "4J5tno4AoU4NPS2NgEseAZK7cpLDh6KJduVtbtwzmHk5" + "digest": "Aek7YFwpSys8ogAovQPquPmJyV7tQzGv1Qoqwg9Hkgst" } } ] @@ -515,7 +515,7 @@ Response: { } } -task 25, lines 243-282: +task 25, lines 244-283: //# run-graphql --cursors {"t":5,"i":false,"c":6} Response: { "data": { @@ -527,24 +527,24 @@ Response: { { "cursor": "eyJjIjo2LCJ0Ijo2LCJpIjpmYWxzZX0", "node": { - "digest": "4W23PZz7dHVxoZ2VMCWU9j38Jxy7tLkqcFBcJUB3aCSB", + "digest": "7VTFfa48yfegREkGTETs2PsYoQ1kpL5315uM7FcgdH4j", "sender": { "objects": { "edges": [ { - "cursor": "IEc7/GlJ0OzYvLoXrYb8i5a4bH/GJV+rf3OdCN0ybK6BBgAAAAAAAAA=" + "cursor": "IBEgBGE/W1wox68FPNW3IJ4xg2ODm9izLjLP35xhHIQKBgAAAAAAAAA=" }, { - "cursor": "IIqPTFnX+rHDcS4xCUFXG4ZsOQcWEdkXi1f+8/v0IBH0BgAAAAAAAAA=" + "cursor": "IE3IjEtvHzJZOfhK76F70SM9klRy5YEeAMrgMOwJZIHwBgAAAAAAAAA=" }, { - "cursor": "INbqP41ZqynANs92ptMyMn/+lSNP12oLtw8bpZIEWDkmBgAAAAAAAAA=" + "cursor": "IGCbbJm5ioUDqN+VuJ5OLkHeqQpP/hnA5zLJ2CAkVBshBgAAAAAAAAA=" }, { - "cursor": "INpMDx0x9g66unG0Cuxh6o2J2gVYeYeWUOCSgt4SbrtUBgAAAAAAAAA=" + "cursor": "ILeEOirzBbvW5h6BWjXtB6zJEYtzGBDh1tM7iIqHzwF4BgAAAAAAAAA=" }, { - "cursor": "IOLsptmHdyPvEY5wclPNEAiDho6BXIICZmmOGq0F0DNkBgAAAAAAAAA=" + "cursor": "INoj8+OJrOE8SpMXy6RJ7k0Yhk1o8V+rNid8uHF9Wz0eBgAAAAAAAAA=" } ] } @@ -558,33 +558,33 @@ Response: { { "cursor": "eyJjIjoxMiwidCI6MiwiaSI6ZmFsc2V9", "node": { - "digest": "Cwqr9jTgQjajoYaqcjzAaQGcQEyCg8XxoN7smGCLiBrs", + "digest": "5PZJkMMWUNyE1sXy3cQ4uX74Ns5vQvt6NN4FC56xQJ8n", "sender": { "objects": { "edges": [ { - "cursor": "IEc7/GlJ0OzYvLoXrYb8i5a4bH/GJV+rf3OdCN0ybK6BDAAAAAAAAAA=" + "cursor": "IBEgBGE/W1wox68FPNW3IJ4xg2ODm9izLjLP35xhHIQKDAAAAAAAAAA=" }, { - "cursor": "IF/uIRaMgBMCI+kzIXbynkkgR1IqqzEFTdlab1OX1hK7DAAAAAAAAAA=" + "cursor": "IE3IjEtvHzJZOfhK76F70SM9klRy5YEeAMrgMOwJZIHwDAAAAAAAAAA=" }, { - "cursor": "IIqPTFnX+rHDcS4xCUFXG4ZsOQcWEdkXi1f+8/v0IBH0DAAAAAAAAAA=" + "cursor": "IGCbbJm5ioUDqN+VuJ5OLkHeqQpP/hnA5zLJ2CAkVBshDAAAAAAAAAA=" }, { - "cursor": "IKlQ9F2RqOqHllHkIqzqS/vQR74f1DWxQJuH7L0DCyToDAAAAAAAAAA=" + "cursor": "IHRyO9h2K42J8dYL/rv/OpiWJOP74rr3f0FzTW2/nfBvDAAAAAAAAAA=" }, { - "cursor": "INbqP41ZqynANs92ptMyMn/+lSNP12oLtw8bpZIEWDkmDAAAAAAAAAA=" + "cursor": "ILeEOirzBbvW5h6BWjXtB6zJEYtzGBDh1tM7iIqHzwF4DAAAAAAAAAA=" }, { - "cursor": "INpMDx0x9g66unG0Cuxh6o2J2gVYeYeWUOCSgt4SbrtUDAAAAAAAAAA=" + "cursor": "INoj8+OJrOE8SpMXy6RJ7k0Yhk1o8V+rNid8uHF9Wz0eDAAAAAAAAAA=" }, { - "cursor": "IOLsptmHdyPvEY5wclPNEAiDho6BXIICZmmOGq0F0DNkDAAAAAAAAAA=" + "cursor": "IOGQKd6jfNJS2yqGY5NBzRYkJ+M4ONNeBH92W0u/B6BIDAAAAAAAAAA=" }, { - "cursor": "IPdBQipzs53YXv+f5ZHkysnhkenevKFjtWcKDBtTiWu8DAAAAAAAAAA=" + "cursor": "IOeFiuyCKZMRqQSrTW/5/uPz+/haO74PT234s0CvjO2IDAAAAAAAAAA=" } ] } @@ -594,33 +594,33 @@ Response: { { "cursor": "eyJjIjoxMiwidCI6NCwiaSI6ZmFsc2V9", "node": { - "digest": "H1WU8uXMGaENQs54EpoHGpV1iMYdH8P5scd1d16s9ECB", + "digest": "FY74u4UxdA4F1cyKTKU9nca1ZUxsAqN9v7CfWsw7Egkx", "sender": { "objects": { "edges": [ { - "cursor": "IEc7/GlJ0OzYvLoXrYb8i5a4bH/GJV+rf3OdCN0ybK6BDAAAAAAAAAA=" + "cursor": "IBEgBGE/W1wox68FPNW3IJ4xg2ODm9izLjLP35xhHIQKDAAAAAAAAAA=" }, { - "cursor": "IF/uIRaMgBMCI+kzIXbynkkgR1IqqzEFTdlab1OX1hK7DAAAAAAAAAA=" + "cursor": "IE3IjEtvHzJZOfhK76F70SM9klRy5YEeAMrgMOwJZIHwDAAAAAAAAAA=" }, { - "cursor": "IIqPTFnX+rHDcS4xCUFXG4ZsOQcWEdkXi1f+8/v0IBH0DAAAAAAAAAA=" + "cursor": "IGCbbJm5ioUDqN+VuJ5OLkHeqQpP/hnA5zLJ2CAkVBshDAAAAAAAAAA=" }, { - "cursor": "IKlQ9F2RqOqHllHkIqzqS/vQR74f1DWxQJuH7L0DCyToDAAAAAAAAAA=" + "cursor": "IHRyO9h2K42J8dYL/rv/OpiWJOP74rr3f0FzTW2/nfBvDAAAAAAAAAA=" }, { - "cursor": "INbqP41ZqynANs92ptMyMn/+lSNP12oLtw8bpZIEWDkmDAAAAAAAAAA=" + "cursor": "ILeEOirzBbvW5h6BWjXtB6zJEYtzGBDh1tM7iIqHzwF4DAAAAAAAAAA=" }, { - "cursor": "INpMDx0x9g66unG0Cuxh6o2J2gVYeYeWUOCSgt4SbrtUDAAAAAAAAAA=" + "cursor": "INoj8+OJrOE8SpMXy6RJ7k0Yhk1o8V+rNid8uHF9Wz0eDAAAAAAAAAA=" }, { - "cursor": "IOLsptmHdyPvEY5wclPNEAiDho6BXIICZmmOGq0F0DNkDAAAAAAAAAA=" + "cursor": "IOGQKd6jfNJS2yqGY5NBzRYkJ+M4ONNeBH92W0u/B6BIDAAAAAAAAAA=" }, { - "cursor": "IPdBQipzs53YXv+f5ZHkysnhkenevKFjtWcKDBtTiWu8DAAAAAAAAAA=" + "cursor": "IOeFiuyCKZMRqQSrTW/5/uPz+/haO74PT234s0CvjO2IDAAAAAAAAAA=" } ] } @@ -630,33 +630,33 @@ Response: { { "cursor": "eyJjIjoxMiwidCI6NSwiaSI6ZmFsc2V9", "node": { - "digest": "4vJbSYKwEJb5sYU2jiayqsZNRnBywD8y6sd3RQoMppF9", + "digest": "FNA1q8ndHddbMWsztHQZeojnhuRK9opMT7mHhJv2vW6K", "sender": { "objects": { "edges": [ { - "cursor": "IEc7/GlJ0OzYvLoXrYb8i5a4bH/GJV+rf3OdCN0ybK6BDAAAAAAAAAA=" + "cursor": "IBEgBGE/W1wox68FPNW3IJ4xg2ODm9izLjLP35xhHIQKDAAAAAAAAAA=" }, { - "cursor": "IF/uIRaMgBMCI+kzIXbynkkgR1IqqzEFTdlab1OX1hK7DAAAAAAAAAA=" + "cursor": "IE3IjEtvHzJZOfhK76F70SM9klRy5YEeAMrgMOwJZIHwDAAAAAAAAAA=" }, { - "cursor": "IIqPTFnX+rHDcS4xCUFXG4ZsOQcWEdkXi1f+8/v0IBH0DAAAAAAAAAA=" + "cursor": "IGCbbJm5ioUDqN+VuJ5OLkHeqQpP/hnA5zLJ2CAkVBshDAAAAAAAAAA=" }, { - "cursor": "IKlQ9F2RqOqHllHkIqzqS/vQR74f1DWxQJuH7L0DCyToDAAAAAAAAAA=" + "cursor": "IHRyO9h2K42J8dYL/rv/OpiWJOP74rr3f0FzTW2/nfBvDAAAAAAAAAA=" }, { - "cursor": "INbqP41ZqynANs92ptMyMn/+lSNP12oLtw8bpZIEWDkmDAAAAAAAAAA=" + "cursor": "ILeEOirzBbvW5h6BWjXtB6zJEYtzGBDh1tM7iIqHzwF4DAAAAAAAAAA=" }, { - "cursor": "INpMDx0x9g66unG0Cuxh6o2J2gVYeYeWUOCSgt4SbrtUDAAAAAAAAAA=" + "cursor": "INoj8+OJrOE8SpMXy6RJ7k0Yhk1o8V+rNid8uHF9Wz0eDAAAAAAAAAA=" }, { - "cursor": "IOLsptmHdyPvEY5wclPNEAiDho6BXIICZmmOGq0F0DNkDAAAAAAAAAA=" + "cursor": "IOGQKd6jfNJS2yqGY5NBzRYkJ+M4ONNeBH92W0u/B6BIDAAAAAAAAAA=" }, { - "cursor": "IPdBQipzs53YXv+f5ZHkysnhkenevKFjtWcKDBtTiWu8DAAAAAAAAAA=" + "cursor": "IOeFiuyCKZMRqQSrTW/5/uPz+/haO74PT234s0CvjO2IDAAAAAAAAAA=" } ] } @@ -666,33 +666,33 @@ Response: { { "cursor": "eyJjIjoxMiwidCI6NiwiaSI6ZmFsc2V9", "node": { - "digest": "4W23PZz7dHVxoZ2VMCWU9j38Jxy7tLkqcFBcJUB3aCSB", + "digest": "7VTFfa48yfegREkGTETs2PsYoQ1kpL5315uM7FcgdH4j", "sender": { "objects": { "edges": [ { - "cursor": "IEc7/GlJ0OzYvLoXrYb8i5a4bH/GJV+rf3OdCN0ybK6BDAAAAAAAAAA=" + "cursor": "IBEgBGE/W1wox68FPNW3IJ4xg2ODm9izLjLP35xhHIQKDAAAAAAAAAA=" }, { - "cursor": "IF/uIRaMgBMCI+kzIXbynkkgR1IqqzEFTdlab1OX1hK7DAAAAAAAAAA=" + "cursor": "IE3IjEtvHzJZOfhK76F70SM9klRy5YEeAMrgMOwJZIHwDAAAAAAAAAA=" }, { - "cursor": "IIqPTFnX+rHDcS4xCUFXG4ZsOQcWEdkXi1f+8/v0IBH0DAAAAAAAAAA=" + "cursor": "IGCbbJm5ioUDqN+VuJ5OLkHeqQpP/hnA5zLJ2CAkVBshDAAAAAAAAAA=" }, { - "cursor": "IKlQ9F2RqOqHllHkIqzqS/vQR74f1DWxQJuH7L0DCyToDAAAAAAAAAA=" + "cursor": "IHRyO9h2K42J8dYL/rv/OpiWJOP74rr3f0FzTW2/nfBvDAAAAAAAAAA=" }, { - "cursor": "INbqP41ZqynANs92ptMyMn/+lSNP12oLtw8bpZIEWDkmDAAAAAAAAAA=" + "cursor": "ILeEOirzBbvW5h6BWjXtB6zJEYtzGBDh1tM7iIqHzwF4DAAAAAAAAAA=" }, { - "cursor": "INpMDx0x9g66unG0Cuxh6o2J2gVYeYeWUOCSgt4SbrtUDAAAAAAAAAA=" + "cursor": "INoj8+OJrOE8SpMXy6RJ7k0Yhk1o8V+rNid8uHF9Wz0eDAAAAAAAAAA=" }, { - "cursor": "IOLsptmHdyPvEY5wclPNEAiDho6BXIICZmmOGq0F0DNkDAAAAAAAAAA=" + "cursor": "IOGQKd6jfNJS2yqGY5NBzRYkJ+M4ONNeBH92W0u/B6BIDAAAAAAAAAA=" }, { - "cursor": "IPdBQipzs53YXv+f5ZHkysnhkenevKFjtWcKDBtTiWu8DAAAAAAAAAA=" + "cursor": "IOeFiuyCKZMRqQSrTW/5/uPz+/haO74PT234s0CvjO2IDAAAAAAAAAA=" } ] } @@ -702,33 +702,33 @@ Response: { { "cursor": "eyJjIjoxMiwidCI6OCwiaSI6ZmFsc2V9", "node": { - "digest": "JLAF7P6DumC8rgzT1Ygp2QgTwpHE2FUqQbVXL6cGEEQ", + "digest": "EWrgm6gr5dKneCc83NfGLZw7UH9mbEQmv7yfJLkCQk2z", "sender": { "objects": { "edges": [ { - "cursor": "IEc7/GlJ0OzYvLoXrYb8i5a4bH/GJV+rf3OdCN0ybK6BDAAAAAAAAAA=" + "cursor": "IBEgBGE/W1wox68FPNW3IJ4xg2ODm9izLjLP35xhHIQKDAAAAAAAAAA=" }, { - "cursor": "IF/uIRaMgBMCI+kzIXbynkkgR1IqqzEFTdlab1OX1hK7DAAAAAAAAAA=" + "cursor": "IE3IjEtvHzJZOfhK76F70SM9klRy5YEeAMrgMOwJZIHwDAAAAAAAAAA=" }, { - "cursor": "IIqPTFnX+rHDcS4xCUFXG4ZsOQcWEdkXi1f+8/v0IBH0DAAAAAAAAAA=" + "cursor": "IGCbbJm5ioUDqN+VuJ5OLkHeqQpP/hnA5zLJ2CAkVBshDAAAAAAAAAA=" }, { - "cursor": "IKlQ9F2RqOqHllHkIqzqS/vQR74f1DWxQJuH7L0DCyToDAAAAAAAAAA=" + "cursor": "IHRyO9h2K42J8dYL/rv/OpiWJOP74rr3f0FzTW2/nfBvDAAAAAAAAAA=" }, { - "cursor": "INbqP41ZqynANs92ptMyMn/+lSNP12oLtw8bpZIEWDkmDAAAAAAAAAA=" + "cursor": "ILeEOirzBbvW5h6BWjXtB6zJEYtzGBDh1tM7iIqHzwF4DAAAAAAAAAA=" }, { - "cursor": "INpMDx0x9g66unG0Cuxh6o2J2gVYeYeWUOCSgt4SbrtUDAAAAAAAAAA=" + "cursor": "INoj8+OJrOE8SpMXy6RJ7k0Yhk1o8V+rNid8uHF9Wz0eDAAAAAAAAAA=" }, { - "cursor": "IOLsptmHdyPvEY5wclPNEAiDho6BXIICZmmOGq0F0DNkDAAAAAAAAAA=" + "cursor": "IOGQKd6jfNJS2yqGY5NBzRYkJ+M4ONNeBH92W0u/B6BIDAAAAAAAAAA=" }, { - "cursor": "IPdBQipzs53YXv+f5ZHkysnhkenevKFjtWcKDBtTiWu8DAAAAAAAAAA=" + "cursor": "IOeFiuyCKZMRqQSrTW/5/uPz+/haO74PT234s0CvjO2IDAAAAAAAAAA=" } ] } @@ -738,33 +738,33 @@ Response: { { "cursor": "eyJjIjoxMiwidCI6OSwiaSI6ZmFsc2V9", "node": { - "digest": "BVMVdn7DDpTbCjtYwWFekcFA9sNeMgDh1wTNWRrngZxh", + "digest": "FZm3UYq9whLyZstBjFQweua7ETToUQWkYhsTrW99Ce1G", "sender": { "objects": { "edges": [ { - "cursor": "IEc7/GlJ0OzYvLoXrYb8i5a4bH/GJV+rf3OdCN0ybK6BDAAAAAAAAAA=" + "cursor": "IBEgBGE/W1wox68FPNW3IJ4xg2ODm9izLjLP35xhHIQKDAAAAAAAAAA=" }, { - "cursor": "IF/uIRaMgBMCI+kzIXbynkkgR1IqqzEFTdlab1OX1hK7DAAAAAAAAAA=" + "cursor": "IE3IjEtvHzJZOfhK76F70SM9klRy5YEeAMrgMOwJZIHwDAAAAAAAAAA=" }, { - "cursor": "IIqPTFnX+rHDcS4xCUFXG4ZsOQcWEdkXi1f+8/v0IBH0DAAAAAAAAAA=" + "cursor": "IGCbbJm5ioUDqN+VuJ5OLkHeqQpP/hnA5zLJ2CAkVBshDAAAAAAAAAA=" }, { - "cursor": "IKlQ9F2RqOqHllHkIqzqS/vQR74f1DWxQJuH7L0DCyToDAAAAAAAAAA=" + "cursor": "IHRyO9h2K42J8dYL/rv/OpiWJOP74rr3f0FzTW2/nfBvDAAAAAAAAAA=" }, { - "cursor": "INbqP41ZqynANs92ptMyMn/+lSNP12oLtw8bpZIEWDkmDAAAAAAAAAA=" + "cursor": "ILeEOirzBbvW5h6BWjXtB6zJEYtzGBDh1tM7iIqHzwF4DAAAAAAAAAA=" }, { - "cursor": "INpMDx0x9g66unG0Cuxh6o2J2gVYeYeWUOCSgt4SbrtUDAAAAAAAAAA=" + "cursor": "INoj8+OJrOE8SpMXy6RJ7k0Yhk1o8V+rNid8uHF9Wz0eDAAAAAAAAAA=" }, { - "cursor": "IOLsptmHdyPvEY5wclPNEAiDho6BXIICZmmOGq0F0DNkDAAAAAAAAAA=" + "cursor": "IOGQKd6jfNJS2yqGY5NBzRYkJ+M4ONNeBH92W0u/B6BIDAAAAAAAAAA=" }, { - "cursor": "IPdBQipzs53YXv+f5ZHkysnhkenevKFjtWcKDBtTiWu8DAAAAAAAAAA=" + "cursor": "IOeFiuyCKZMRqQSrTW/5/uPz+/haO74PT234s0CvjO2IDAAAAAAAAAA=" } ] } @@ -774,33 +774,33 @@ Response: { { "cursor": "eyJjIjoxMiwidCI6MTAsImkiOmZhbHNlfQ", "node": { - "digest": "4J5tno4AoU4NPS2NgEseAZK7cpLDh6KJduVtbtwzmHk5", + "digest": "Aek7YFwpSys8ogAovQPquPmJyV7tQzGv1Qoqwg9Hkgst", "sender": { "objects": { "edges": [ { - "cursor": "IEc7/GlJ0OzYvLoXrYb8i5a4bH/GJV+rf3OdCN0ybK6BDAAAAAAAAAA=" + "cursor": "IBEgBGE/W1wox68FPNW3IJ4xg2ODm9izLjLP35xhHIQKDAAAAAAAAAA=" }, { - "cursor": "IF/uIRaMgBMCI+kzIXbynkkgR1IqqzEFTdlab1OX1hK7DAAAAAAAAAA=" + "cursor": "IE3IjEtvHzJZOfhK76F70SM9klRy5YEeAMrgMOwJZIHwDAAAAAAAAAA=" }, { - "cursor": "IIqPTFnX+rHDcS4xCUFXG4ZsOQcWEdkXi1f+8/v0IBH0DAAAAAAAAAA=" + "cursor": "IGCbbJm5ioUDqN+VuJ5OLkHeqQpP/hnA5zLJ2CAkVBshDAAAAAAAAAA=" }, { - "cursor": "IKlQ9F2RqOqHllHkIqzqS/vQR74f1DWxQJuH7L0DCyToDAAAAAAAAAA=" + "cursor": "IHRyO9h2K42J8dYL/rv/OpiWJOP74rr3f0FzTW2/nfBvDAAAAAAAAAA=" }, { - "cursor": "INbqP41ZqynANs92ptMyMn/+lSNP12oLtw8bpZIEWDkmDAAAAAAAAAA=" + "cursor": "ILeEOirzBbvW5h6BWjXtB6zJEYtzGBDh1tM7iIqHzwF4DAAAAAAAAAA=" }, { - "cursor": "INpMDx0x9g66unG0Cuxh6o2J2gVYeYeWUOCSgt4SbrtUDAAAAAAAAAA=" + "cursor": "INoj8+OJrOE8SpMXy6RJ7k0Yhk1o8V+rNid8uHF9Wz0eDAAAAAAAAAA=" }, { - "cursor": "IOLsptmHdyPvEY5wclPNEAiDho6BXIICZmmOGq0F0DNkDAAAAAAAAAA=" + "cursor": "IOGQKd6jfNJS2yqGY5NBzRYkJ+M4ONNeBH92W0u/B6BIDAAAAAAAAAA=" }, { - "cursor": "IPdBQipzs53YXv+f5ZHkysnhkenevKFjtWcKDBtTiWu8DAAAAAAAAAA=" + "cursor": "IOeFiuyCKZMRqQSrTW/5/uPz+/haO74PT234s0CvjO2IDAAAAAAAAAA=" } ] } diff --git a/crates/iota-graphql-e2e-tests/tests/consistency/object_at_version.exp b/crates/iota-graphql-e2e-tests/tests/consistency/object_at_version.exp index 5c5af602370..5892ff6a5de 100644 --- a/crates/iota-graphql-e2e-tests/tests/consistency/object_at_version.exp +++ b/crates/iota-graphql-e2e-tests/tests/consistency/object_at_version.exp @@ -3,23 +3,23 @@ processed 20 tasks init: A: object(0,0) -task 1, lines 19-56: +task 1, lines 20-57: //# publish created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 7014800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2, line 58: +task 2, line 59: //# run Test::M1::create --args 0 @A created: object(2,0) mutated: object(0,1) -gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 978120, non_refundable_storage_fee: 9880 +gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 988000, non_refundable_storage_fee: 0 -task 3, line 60: +task 3, line 61: //# create-checkpoint Checkpoint created: 1 -task 4, lines 62-75: +task 4, lines 63-76: //# run-graphql Response: { "data": { @@ -29,7 +29,7 @@ Response: { "asMoveObject": { "contents": { "json": { - "id": "0x08db6cef6b0f6a69902b4476a5e9b3db98789497a664bbfe054c4754625d86d7", + "id": "0xf590274bb295a6aa90f3204376664a126cd7991dc55a51a097c0f131a51a1688", "value": "0" } } @@ -38,16 +38,16 @@ Response: { } } -task 5, line 77: +task 5, line 78: //# run Test::M1::update --sender A --args object(2,0) 1 mutated: object(0,0), object(2,0) -gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 1301652, non_refundable_storage_fee: 13148 +gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 1314800, non_refundable_storage_fee: 0 -task 6, line 79: +task 6, line 80: //# create-checkpoint Checkpoint created: 2 -task 7, lines 81-107: +task 7, lines 82-108: //# run-graphql Response: { "data": { @@ -57,7 +57,7 @@ Response: { "asMoveObject": { "contents": { "json": { - "id": "0x08db6cef6b0f6a69902b4476a5e9b3db98789497a664bbfe054c4754625d86d7", + "id": "0xf590274bb295a6aa90f3204376664a126cd7991dc55a51a097c0f131a51a1688", "value": "1" } } @@ -69,7 +69,7 @@ Response: { "asMoveObject": { "contents": { "json": { - "id": "0x08db6cef6b0f6a69902b4476a5e9b3db98789497a664bbfe054c4754625d86d7", + "id": "0xf590274bb295a6aa90f3204376664a126cd7991dc55a51a097c0f131a51a1688", "value": "0" } } @@ -78,18 +78,18 @@ Response: { } } -task 8, line 109: +task 8, line 110: //# run Test::M1::wrap --sender A --args object(2,0) created: object(8,0) mutated: object(0,0) wrapped: object(2,0) -gas summary: computation_cost: 1000000, storage_cost: 2553600, storage_rebate: 2279772, non_refundable_storage_fee: 23028 +gas summary: computation_cost: 1000000, storage_cost: 2553600, storage_rebate: 2302800, non_refundable_storage_fee: 0 -task 9, line 111: +task 9, line 112: //# create-checkpoint Checkpoint created: 3 -task 10, lines 113-139: +task 10, lines 114-140: //# run-graphql Response: { "data": { @@ -104,7 +104,7 @@ Response: { "asMoveObject": { "contents": { "json": { - "id": "0x08db6cef6b0f6a69902b4476a5e9b3db98789497a664bbfe054c4754625d86d7", + "id": "0xf590274bb295a6aa90f3204376664a126cd7991dc55a51a097c0f131a51a1688", "value": "1" } } @@ -113,18 +113,18 @@ Response: { } } -task 11, line 141: +task 11, line 142: //# run Test::M1::unwrap --sender A --args object(8,0) mutated: object(0,0) unwrapped: object(2,0) deleted: object(8,0) -gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 2528064, non_refundable_storage_fee: 25536 +gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 2553600, non_refundable_storage_fee: 0 -task 12, line 143: +task 12, line 144: //# create-checkpoint Checkpoint created: 4 -task 13, lines 145-183: +task 13, lines 146-184: //# run-graphql Response: { "data": { @@ -134,7 +134,7 @@ Response: { "asMoveObject": { "contents": { "json": { - "id": "0x08db6cef6b0f6a69902b4476a5e9b3db98789497a664bbfe054c4754625d86d7", + "id": "0xf590274bb295a6aa90f3204376664a126cd7991dc55a51a097c0f131a51a1688", "value": "1" } } @@ -151,7 +151,7 @@ Response: { "asMoveObject": { "contents": { "json": { - "id": "0x08db6cef6b0f6a69902b4476a5e9b3db98789497a664bbfe054c4754625d86d7", + "id": "0xf590274bb295a6aa90f3204376664a126cd7991dc55a51a097c0f131a51a1688", "value": "0" } } @@ -160,17 +160,17 @@ Response: { } } -task 14, line 185: +task 14, line 186: //# run Test::M1::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: 2279772, non_refundable_storage_fee: 23028 +gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 2302800, non_refundable_storage_fee: 0 -task 15, line 187: +task 15, line 188: //# create-checkpoint Checkpoint created: 5 -task 16, lines 189-215: +task 16, lines 190-216: //# run-graphql Response: { "data": { @@ -187,15 +187,15 @@ Response: { } } -task 17, line 217: +task 17, line 218: //# force-object-snapshot-catchup --start-cp 0 --end-cp 5 Objects snapshot updated to [0 to 5) -task 18, line 219: +task 18, line 220: //# create-checkpoint Checkpoint created: 6 -task 19, lines 221-260: +task 19, lines 222-261: //# run-graphql Response: { "data": { @@ -205,7 +205,7 @@ Response: { "asMoveObject": { "contents": { "json": { - "id": "0x08db6cef6b0f6a69902b4476a5e9b3db98789497a664bbfe054c4754625d86d7", + "id": "0xf590274bb295a6aa90f3204376664a126cd7991dc55a51a097c0f131a51a1688", "value": "1" } } @@ -222,7 +222,7 @@ Response: { "asMoveObject": { "contents": { "json": { - "id": "0x08db6cef6b0f6a69902b4476a5e9b3db98789497a664bbfe054c4754625d86d7", + "id": "0xf590274bb295a6aa90f3204376664a126cd7991dc55a51a097c0f131a51a1688", "value": "0" } } diff --git a/crates/iota-graphql-e2e-tests/tests/consistency/objects_pagination.exp b/crates/iota-graphql-e2e-tests/tests/consistency/objects_pagination.exp index 137fc52f209..c76bcc699f4 100644 --- a/crates/iota-graphql-e2e-tests/tests/consistency/objects_pagination.exp +++ b/crates/iota-graphql-e2e-tests/tests/consistency/objects_pagination.exp @@ -3,29 +3,29 @@ processed 24 tasks init: A: object(0,0), B: object(0,1) -task 1, lines 15-28: +task 1, lines 16-29: //# publish created: object(1,0) mutated: object(0,2) gas summary: computation_cost: 1000000, storage_cost: 5175600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2, line 30: +task 2, line 31: //# run Test::M1::create --args 0 @A created: object(2,0) mutated: object(0,2) -gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 978120, non_refundable_storage_fee: 9880 +gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 988000, non_refundable_storage_fee: 0 -task 3, line 32: +task 3, line 33: //# run Test::M1::create --args 1 @A created: object(3,0) mutated: object(0,2) -gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 978120, non_refundable_storage_fee: 9880 +gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 988000, non_refundable_storage_fee: 0 -task 4, line 34: +task 4, line 35: //# create-checkpoint Checkpoint created: 1 -task 5, lines 36-64: +task 5, lines 37-65: //# run-graphql --cursors @{obj_2_0} @{obj_3_0} Response: { "data": { @@ -41,10 +41,10 @@ Response: { "asMoveObject": { "contents": { "type": { - "repr": "0xf8ecbba416b85769db9b3425d240e9e350c2994bc68d944ac19ebecffb7e0c60::M1::Object" + "repr": "0x88201db44a46887df73a52908041701241693ecfd606827e0c63965958a81a6a::M1::Object" }, "json": { - "id": "0xc4e6c824c72af97ed831b666173a96111e573e0162b205b51c23ae242757e8d2", + "id": "0x13788583d54bfb6064ac827e19fc60b2318f524a243cd3e10732d48c6b7e7999", "value": "0" } } @@ -55,23 +55,23 @@ Response: { } } -task 6, line 66: +task 6, line 67: //# run Test::M1::create --args 2 @A created: object(6,0) mutated: object(0,2) -gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 978120, non_refundable_storage_fee: 9880 +gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 988000, non_refundable_storage_fee: 0 -task 7, line 68: +task 7, line 69: //# run Test::M1::create --args 3 @A created: object(7,0) mutated: object(0,2) -gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 978120, non_refundable_storage_fee: 9880 +gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 988000, non_refundable_storage_fee: 0 -task 8, line 70: +task 8, line 71: //# create-checkpoint Checkpoint created: 2 -task 9, lines 72-100: +task 9, lines 73-101: //# run-graphql --cursors @{obj_2_0,1} @{obj_3_0,1} Response: { "data": { @@ -87,10 +87,10 @@ Response: { "asMoveObject": { "contents": { "type": { - "repr": "0xf8ecbba416b85769db9b3425d240e9e350c2994bc68d944ac19ebecffb7e0c60::M1::Object" + "repr": "0x88201db44a46887df73a52908041701241693ecfd606827e0c63965958a81a6a::M1::Object" }, "json": { - "id": "0xc4e6c824c72af97ed831b666173a96111e573e0162b205b51c23ae242757e8d2", + "id": "0x13788583d54bfb6064ac827e19fc60b2318f524a243cd3e10732d48c6b7e7999", "value": "0" } } @@ -101,7 +101,7 @@ Response: { } } -task 10, lines 102-117: +task 10, lines 103-118: //# run-graphql Response: { "data": { @@ -112,35 +112,35 @@ Response: { "version": 4, "contents": { "type": { - "repr": "0xf8ecbba416b85769db9b3425d240e9e350c2994bc68d944ac19ebecffb7e0c60::M1::Object" + "repr": "0x88201db44a46887df73a52908041701241693ecfd606827e0c63965958a81a6a::M1::Object" }, "json": { - "id": "0x0f2ff2731e04cef60e75403b02f31721406c99cb05eb3029f697de89a3d70a71", + "id": "0x1053da878c47a975f7ce0d3bc5d7101f66a909de887a8f6abd8b7f571b9894b7", "value": "1" } } }, { - "version": 6, + "version": 3, "contents": { "type": { - "repr": "0xf8ecbba416b85769db9b3425d240e9e350c2994bc68d944ac19ebecffb7e0c60::M1::Object" + "repr": "0x88201db44a46887df73a52908041701241693ecfd606827e0c63965958a81a6a::M1::Object" }, "json": { - "id": "0x44864f8c6cad831f338516aa3ebeacf00c60a13fb4a5a4200b35f376af227cf3", - "value": "3" + "id": "0x13788583d54bfb6064ac827e19fc60b2318f524a243cd3e10732d48c6b7e7999", + "value": "0" } } }, { - "version": 3, + "version": 6, "contents": { "type": { - "repr": "0xf8ecbba416b85769db9b3425d240e9e350c2994bc68d944ac19ebecffb7e0c60::M1::Object" + "repr": "0x88201db44a46887df73a52908041701241693ecfd606827e0c63965958a81a6a::M1::Object" }, "json": { - "id": "0xc4e6c824c72af97ed831b666173a96111e573e0162b205b51c23ae242757e8d2", - "value": "0" + "id": "0x8d25929c1d172eceb41267dc3e53254b8eaa5fdd29df98572335828d67f9640d", + "value": "3" } } }, @@ -148,10 +148,10 @@ Response: { "version": 5, "contents": { "type": { - "repr": "0xf8ecbba416b85769db9b3425d240e9e350c2994bc68d944ac19ebecffb7e0c60::M1::Object" + "repr": "0x88201db44a46887df73a52908041701241693ecfd606827e0c63965958a81a6a::M1::Object" }, "json": { - "id": "0xd0a70e7cf1fa823e6bf035f878cc33ee3d221d7f956da78e572bb52574482471", + "id": "0xba30bd0bd69f96769783c38c3a80b3c14eba69c3eddc35d4b063fbf34c1b476d", "value": "2" } } @@ -162,7 +162,7 @@ Response: { } } -task 11, lines 119-144: +task 11, lines 120-145: //# run-graphql Response: { "data": { @@ -173,35 +173,35 @@ Response: { "version": 4, "contents": { "type": { - "repr": "0xf8ecbba416b85769db9b3425d240e9e350c2994bc68d944ac19ebecffb7e0c60::M1::Object" + "repr": "0x88201db44a46887df73a52908041701241693ecfd606827e0c63965958a81a6a::M1::Object" }, "json": { - "id": "0x0f2ff2731e04cef60e75403b02f31721406c99cb05eb3029f697de89a3d70a71", + "id": "0x1053da878c47a975f7ce0d3bc5d7101f66a909de887a8f6abd8b7f571b9894b7", "value": "1" } } }, { - "version": 6, + "version": 3, "contents": { "type": { - "repr": "0xf8ecbba416b85769db9b3425d240e9e350c2994bc68d944ac19ebecffb7e0c60::M1::Object" + "repr": "0x88201db44a46887df73a52908041701241693ecfd606827e0c63965958a81a6a::M1::Object" }, "json": { - "id": "0x44864f8c6cad831f338516aa3ebeacf00c60a13fb4a5a4200b35f376af227cf3", - "value": "3" + "id": "0x13788583d54bfb6064ac827e19fc60b2318f524a243cd3e10732d48c6b7e7999", + "value": "0" } } }, { - "version": 3, + "version": 6, "contents": { "type": { - "repr": "0xf8ecbba416b85769db9b3425d240e9e350c2994bc68d944ac19ebecffb7e0c60::M1::Object" + "repr": "0x88201db44a46887df73a52908041701241693ecfd606827e0c63965958a81a6a::M1::Object" }, "json": { - "id": "0xc4e6c824c72af97ed831b666173a96111e573e0162b205b51c23ae242757e8d2", - "value": "0" + "id": "0x8d25929c1d172eceb41267dc3e53254b8eaa5fdd29df98572335828d67f9640d", + "value": "3" } } }, @@ -209,10 +209,10 @@ Response: { "version": 5, "contents": { "type": { - "repr": "0xf8ecbba416b85769db9b3425d240e9e350c2994bc68d944ac19ebecffb7e0c60::M1::Object" + "repr": "0x88201db44a46887df73a52908041701241693ecfd606827e0c63965958a81a6a::M1::Object" }, "json": { - "id": "0xd0a70e7cf1fa823e6bf035f878cc33ee3d221d7f956da78e572bb52574482471", + "id": "0xba30bd0bd69f96769783c38c3a80b3c14eba69c3eddc35d4b063fbf34c1b476d", "value": "2" } } @@ -223,17 +223,17 @@ Response: { } } -task 12, lines 146-147: +task 12, lines 147-148: //# programmable --sender A --inputs object(2,0) object(3,0) object(6,0) object(7,0) @B //> TransferObjects([Input(0), Input(1), Input(2), Input(3)], Input(4)) mutated: object(0,0), object(2,0), object(3,0), object(6,0), object(7,0) -gas summary: computation_cost: 1000000, storage_cost: 6247200, storage_rebate: 5206608, non_refundable_storage_fee: 52592 +gas summary: computation_cost: 1000000, storage_cost: 6247200, storage_rebate: 5259200, non_refundable_storage_fee: 0 -task 13, line 149: +task 13, line 150: //# create-checkpoint Checkpoint created: 3 -task 14, lines 151-213: +task 14, lines 152-214: //# run-graphql --cursors @{obj_6_0,2} Response: { "data": { @@ -249,10 +249,10 @@ Response: { "asMoveObject": { "contents": { "type": { - "repr": "0xf8ecbba416b85769db9b3425d240e9e350c2994bc68d944ac19ebecffb7e0c60::M1::Object" + "repr": "0x88201db44a46887df73a52908041701241693ecfd606827e0c63965958a81a6a::M1::Object" }, "json": { - "id": "0x0f2ff2731e04cef60e75403b02f31721406c99cb05eb3029f697de89a3d70a71", + "id": "0x1053da878c47a975f7ce0d3bc5d7101f66a909de887a8f6abd8b7f571b9894b7", "value": "1" } }, @@ -264,23 +264,23 @@ Response: { "version": 4, "contents": { "type": { - "repr": "0xf8ecbba416b85769db9b3425d240e9e350c2994bc68d944ac19ebecffb7e0c60::M1::Object" + "repr": "0x88201db44a46887df73a52908041701241693ecfd606827e0c63965958a81a6a::M1::Object" }, "json": { - "id": "0x0f2ff2731e04cef60e75403b02f31721406c99cb05eb3029f697de89a3d70a71", + "id": "0x1053da878c47a975f7ce0d3bc5d7101f66a909de887a8f6abd8b7f571b9894b7", "value": "1" } } }, { - "version": 6, + "version": 3, "contents": { "type": { - "repr": "0xf8ecbba416b85769db9b3425d240e9e350c2994bc68d944ac19ebecffb7e0c60::M1::Object" + "repr": "0x88201db44a46887df73a52908041701241693ecfd606827e0c63965958a81a6a::M1::Object" }, "json": { - "id": "0x44864f8c6cad831f338516aa3ebeacf00c60a13fb4a5a4200b35f376af227cf3", - "value": "3" + "id": "0x13788583d54bfb6064ac827e19fc60b2318f524a243cd3e10732d48c6b7e7999", + "value": "0" } } }, @@ -291,7 +291,7 @@ Response: { "repr": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin<0x0000000000000000000000000000000000000000000000000000000000000002::iota::IOTA>" }, "json": { - "id": "0x473bfc6949d0ecd8bcba17ad86fc8b96b86c7fc6255fab7f739d08dd326cae81", + "id": "0x609b6c99b98a8503a8df95b89e4e2e41dea90a4ffe19c0e732c9d82024541b21", "balance": { "value": "300000000000000" } @@ -299,14 +299,14 @@ Response: { } }, { - "version": 3, + "version": 6, "contents": { "type": { - "repr": "0xf8ecbba416b85769db9b3425d240e9e350c2994bc68d944ac19ebecffb7e0c60::M1::Object" + "repr": "0x88201db44a46887df73a52908041701241693ecfd606827e0c63965958a81a6a::M1::Object" }, "json": { - "id": "0xc4e6c824c72af97ed831b666173a96111e573e0162b205b51c23ae242757e8d2", - "value": "0" + "id": "0x8d25929c1d172eceb41267dc3e53254b8eaa5fdd29df98572335828d67f9640d", + "value": "3" } } }, @@ -314,10 +314,10 @@ Response: { "version": 5, "contents": { "type": { - "repr": "0xf8ecbba416b85769db9b3425d240e9e350c2994bc68d944ac19ebecffb7e0c60::M1::Object" + "repr": "0x88201db44a46887df73a52908041701241693ecfd606827e0c63965958a81a6a::M1::Object" }, "json": { - "id": "0xd0a70e7cf1fa823e6bf035f878cc33ee3d221d7f956da78e572bb52574482471", + "id": "0xba30bd0bd69f96769783c38c3a80b3c14eba69c3eddc35d4b063fbf34c1b476d", "value": "2" } } @@ -329,15 +329,15 @@ Response: { } }, { - "version": 6, + "version": 3, "asMoveObject": { "contents": { "type": { - "repr": "0xf8ecbba416b85769db9b3425d240e9e350c2994bc68d944ac19ebecffb7e0c60::M1::Object" + "repr": "0x88201db44a46887df73a52908041701241693ecfd606827e0c63965958a81a6a::M1::Object" }, "json": { - "id": "0x44864f8c6cad831f338516aa3ebeacf00c60a13fb4a5a4200b35f376af227cf3", - "value": "3" + "id": "0x13788583d54bfb6064ac827e19fc60b2318f524a243cd3e10732d48c6b7e7999", + "value": "0" } }, "note_that_owner_result_should_reflect_latest_state": { @@ -348,23 +348,23 @@ Response: { "version": 4, "contents": { "type": { - "repr": "0xf8ecbba416b85769db9b3425d240e9e350c2994bc68d944ac19ebecffb7e0c60::M1::Object" + "repr": "0x88201db44a46887df73a52908041701241693ecfd606827e0c63965958a81a6a::M1::Object" }, "json": { - "id": "0x0f2ff2731e04cef60e75403b02f31721406c99cb05eb3029f697de89a3d70a71", + "id": "0x1053da878c47a975f7ce0d3bc5d7101f66a909de887a8f6abd8b7f571b9894b7", "value": "1" } } }, { - "version": 6, + "version": 3, "contents": { "type": { - "repr": "0xf8ecbba416b85769db9b3425d240e9e350c2994bc68d944ac19ebecffb7e0c60::M1::Object" + "repr": "0x88201db44a46887df73a52908041701241693ecfd606827e0c63965958a81a6a::M1::Object" }, "json": { - "id": "0x44864f8c6cad831f338516aa3ebeacf00c60a13fb4a5a4200b35f376af227cf3", - "value": "3" + "id": "0x13788583d54bfb6064ac827e19fc60b2318f524a243cd3e10732d48c6b7e7999", + "value": "0" } } }, @@ -375,7 +375,7 @@ Response: { "repr": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin<0x0000000000000000000000000000000000000000000000000000000000000002::iota::IOTA>" }, "json": { - "id": "0x473bfc6949d0ecd8bcba17ad86fc8b96b86c7fc6255fab7f739d08dd326cae81", + "id": "0x609b6c99b98a8503a8df95b89e4e2e41dea90a4ffe19c0e732c9d82024541b21", "balance": { "value": "300000000000000" } @@ -383,14 +383,14 @@ Response: { } }, { - "version": 3, + "version": 6, "contents": { "type": { - "repr": "0xf8ecbba416b85769db9b3425d240e9e350c2994bc68d944ac19ebecffb7e0c60::M1::Object" + "repr": "0x88201db44a46887df73a52908041701241693ecfd606827e0c63965958a81a6a::M1::Object" }, "json": { - "id": "0xc4e6c824c72af97ed831b666173a96111e573e0162b205b51c23ae242757e8d2", - "value": "0" + "id": "0x8d25929c1d172eceb41267dc3e53254b8eaa5fdd29df98572335828d67f9640d", + "value": "3" } } }, @@ -398,10 +398,10 @@ Response: { "version": 5, "contents": { "type": { - "repr": "0xf8ecbba416b85769db9b3425d240e9e350c2994bc68d944ac19ebecffb7e0c60::M1::Object" + "repr": "0x88201db44a46887df73a52908041701241693ecfd606827e0c63965958a81a6a::M1::Object" }, "json": { - "id": "0xd0a70e7cf1fa823e6bf035f878cc33ee3d221d7f956da78e572bb52574482471", + "id": "0xba30bd0bd69f96769783c38c3a80b3c14eba69c3eddc35d4b063fbf34c1b476d", "value": "2" } } @@ -413,15 +413,15 @@ Response: { } }, { - "version": 3, + "version": 6, "asMoveObject": { "contents": { "type": { - "repr": "0xf8ecbba416b85769db9b3425d240e9e350c2994bc68d944ac19ebecffb7e0c60::M1::Object" + "repr": "0x88201db44a46887df73a52908041701241693ecfd606827e0c63965958a81a6a::M1::Object" }, "json": { - "id": "0xc4e6c824c72af97ed831b666173a96111e573e0162b205b51c23ae242757e8d2", - "value": "0" + "id": "0x8d25929c1d172eceb41267dc3e53254b8eaa5fdd29df98572335828d67f9640d", + "value": "3" } }, "note_that_owner_result_should_reflect_latest_state": { @@ -432,23 +432,23 @@ Response: { "version": 4, "contents": { "type": { - "repr": "0xf8ecbba416b85769db9b3425d240e9e350c2994bc68d944ac19ebecffb7e0c60::M1::Object" + "repr": "0x88201db44a46887df73a52908041701241693ecfd606827e0c63965958a81a6a::M1::Object" }, "json": { - "id": "0x0f2ff2731e04cef60e75403b02f31721406c99cb05eb3029f697de89a3d70a71", + "id": "0x1053da878c47a975f7ce0d3bc5d7101f66a909de887a8f6abd8b7f571b9894b7", "value": "1" } } }, { - "version": 6, + "version": 3, "contents": { "type": { - "repr": "0xf8ecbba416b85769db9b3425d240e9e350c2994bc68d944ac19ebecffb7e0c60::M1::Object" + "repr": "0x88201db44a46887df73a52908041701241693ecfd606827e0c63965958a81a6a::M1::Object" }, "json": { - "id": "0x44864f8c6cad831f338516aa3ebeacf00c60a13fb4a5a4200b35f376af227cf3", - "value": "3" + "id": "0x13788583d54bfb6064ac827e19fc60b2318f524a243cd3e10732d48c6b7e7999", + "value": "0" } } }, @@ -459,7 +459,7 @@ Response: { "repr": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin<0x0000000000000000000000000000000000000000000000000000000000000002::iota::IOTA>" }, "json": { - "id": "0x473bfc6949d0ecd8bcba17ad86fc8b96b86c7fc6255fab7f739d08dd326cae81", + "id": "0x609b6c99b98a8503a8df95b89e4e2e41dea90a4ffe19c0e732c9d82024541b21", "balance": { "value": "300000000000000" } @@ -467,14 +467,14 @@ Response: { } }, { - "version": 3, + "version": 6, "contents": { "type": { - "repr": "0xf8ecbba416b85769db9b3425d240e9e350c2994bc68d944ac19ebecffb7e0c60::M1::Object" + "repr": "0x88201db44a46887df73a52908041701241693ecfd606827e0c63965958a81a6a::M1::Object" }, "json": { - "id": "0xc4e6c824c72af97ed831b666173a96111e573e0162b205b51c23ae242757e8d2", - "value": "0" + "id": "0x8d25929c1d172eceb41267dc3e53254b8eaa5fdd29df98572335828d67f9640d", + "value": "3" } } }, @@ -482,10 +482,10 @@ Response: { "version": 5, "contents": { "type": { - "repr": "0xf8ecbba416b85769db9b3425d240e9e350c2994bc68d944ac19ebecffb7e0c60::M1::Object" + "repr": "0x88201db44a46887df73a52908041701241693ecfd606827e0c63965958a81a6a::M1::Object" }, "json": { - "id": "0xd0a70e7cf1fa823e6bf035f878cc33ee3d221d7f956da78e572bb52574482471", + "id": "0xba30bd0bd69f96769783c38c3a80b3c14eba69c3eddc35d4b063fbf34c1b476d", "value": "2" } } @@ -501,23 +501,23 @@ Response: { } } -task 16, line 217: +task 16, line 218: //# create-checkpoint Checkpoint created: 4 -task 18, line 221: +task 18, line 222: //# create-checkpoint Checkpoint created: 5 -task 19, line 223: +task 19, line 224: //# force-object-snapshot-catchup --start-cp 0 --end-cp 4 Objects snapshot updated to [0 to 4) -task 20, line 225: +task 20, line 226: //# create-checkpoint Checkpoint created: 6 -task 21, lines 227-242: +task 21, lines 228-243: //# run-graphql --cursors @{obj_6_0,2} Response: { "data": null, @@ -540,7 +540,7 @@ Response: { ] } -task 22, lines 244-260: +task 22, lines 245-261: //# run-graphql Response: { "data": { @@ -551,10 +551,10 @@ Response: { "version": 7, "contents": { "type": { - "repr": "0xf8ecbba416b85769db9b3425d240e9e350c2994bc68d944ac19ebecffb7e0c60::M1::Object" + "repr": "0x88201db44a46887df73a52908041701241693ecfd606827e0c63965958a81a6a::M1::Object" }, "json": { - "id": "0x0f2ff2731e04cef60e75403b02f31721406c99cb05eb3029f697de89a3d70a71", + "id": "0x1053da878c47a975f7ce0d3bc5d7101f66a909de887a8f6abd8b7f571b9894b7", "value": "1" } } @@ -563,11 +563,11 @@ Response: { "version": 7, "contents": { "type": { - "repr": "0xf8ecbba416b85769db9b3425d240e9e350c2994bc68d944ac19ebecffb7e0c60::M1::Object" + "repr": "0x88201db44a46887df73a52908041701241693ecfd606827e0c63965958a81a6a::M1::Object" }, "json": { - "id": "0x44864f8c6cad831f338516aa3ebeacf00c60a13fb4a5a4200b35f376af227cf3", - "value": "3" + "id": "0x13788583d54bfb6064ac827e19fc60b2318f524a243cd3e10732d48c6b7e7999", + "value": "0" } } }, @@ -575,11 +575,11 @@ Response: { "version": 7, "contents": { "type": { - "repr": "0xf8ecbba416b85769db9b3425d240e9e350c2994bc68d944ac19ebecffb7e0c60::M1::Object" + "repr": "0x88201db44a46887df73a52908041701241693ecfd606827e0c63965958a81a6a::M1::Object" }, "json": { - "id": "0xc4e6c824c72af97ed831b666173a96111e573e0162b205b51c23ae242757e8d2", - "value": "0" + "id": "0x8d25929c1d172eceb41267dc3e53254b8eaa5fdd29df98572335828d67f9640d", + "value": "3" } } }, @@ -587,10 +587,10 @@ Response: { "version": 7, "contents": { "type": { - "repr": "0xf8ecbba416b85769db9b3425d240e9e350c2994bc68d944ac19ebecffb7e0c60::M1::Object" + "repr": "0x88201db44a46887df73a52908041701241693ecfd606827e0c63965958a81a6a::M1::Object" }, "json": { - "id": "0xd0a70e7cf1fa823e6bf035f878cc33ee3d221d7f956da78e572bb52574482471", + "id": "0xba30bd0bd69f96769783c38c3a80b3c14eba69c3eddc35d4b063fbf34c1b476d", "value": "2" } } @@ -601,7 +601,7 @@ Response: { } } -task 23, lines 262-288: +task 23, lines 263-289: //# run-graphql Response: { "data": { @@ -612,35 +612,35 @@ Response: { "version": 4, "contents": { "type": { - "repr": "0xf8ecbba416b85769db9b3425d240e9e350c2994bc68d944ac19ebecffb7e0c60::M1::Object" + "repr": "0x88201db44a46887df73a52908041701241693ecfd606827e0c63965958a81a6a::M1::Object" }, "json": { - "id": "0x0f2ff2731e04cef60e75403b02f31721406c99cb05eb3029f697de89a3d70a71", + "id": "0x1053da878c47a975f7ce0d3bc5d7101f66a909de887a8f6abd8b7f571b9894b7", "value": "1" } } }, { - "version": 6, + "version": 3, "contents": { "type": { - "repr": "0xf8ecbba416b85769db9b3425d240e9e350c2994bc68d944ac19ebecffb7e0c60::M1::Object" + "repr": "0x88201db44a46887df73a52908041701241693ecfd606827e0c63965958a81a6a::M1::Object" }, "json": { - "id": "0x44864f8c6cad831f338516aa3ebeacf00c60a13fb4a5a4200b35f376af227cf3", - "value": "3" + "id": "0x13788583d54bfb6064ac827e19fc60b2318f524a243cd3e10732d48c6b7e7999", + "value": "0" } } }, { - "version": 3, + "version": 6, "contents": { "type": { - "repr": "0xf8ecbba416b85769db9b3425d240e9e350c2994bc68d944ac19ebecffb7e0c60::M1::Object" + "repr": "0x88201db44a46887df73a52908041701241693ecfd606827e0c63965958a81a6a::M1::Object" }, "json": { - "id": "0xc4e6c824c72af97ed831b666173a96111e573e0162b205b51c23ae242757e8d2", - "value": "0" + "id": "0x8d25929c1d172eceb41267dc3e53254b8eaa5fdd29df98572335828d67f9640d", + "value": "3" } } }, @@ -648,10 +648,10 @@ Response: { "version": 5, "contents": { "type": { - "repr": "0xf8ecbba416b85769db9b3425d240e9e350c2994bc68d944ac19ebecffb7e0c60::M1::Object" + "repr": "0x88201db44a46887df73a52908041701241693ecfd606827e0c63965958a81a6a::M1::Object" }, "json": { - "id": "0xd0a70e7cf1fa823e6bf035f878cc33ee3d221d7f956da78e572bb52574482471", + "id": "0xba30bd0bd69f96769783c38c3a80b3c14eba69c3eddc35d4b063fbf34c1b476d", "value": "2" } } diff --git a/crates/iota-graphql-e2e-tests/tests/consistency/objects_pagination_single.exp b/crates/iota-graphql-e2e-tests/tests/consistency/objects_pagination_single.exp index 526cf915ec0..332e9a9978b 100644 --- a/crates/iota-graphql-e2e-tests/tests/consistency/objects_pagination_single.exp +++ b/crates/iota-graphql-e2e-tests/tests/consistency/objects_pagination_single.exp @@ -3,103 +3,103 @@ processed 15 tasks init: A: object(0,0), B: object(0,1) -task 1, lines 10-27: +task 1, lines 11-28: //# publish created: object(1,0) mutated: object(0,2) gas summary: computation_cost: 1000000, storage_cost: 5456800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2, line 29: +task 2, line 30: //# run Test::M1::create --args 0 @A created: object(2,0) mutated: object(0,2) -gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 978120, non_refundable_storage_fee: 9880 +gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 988000, non_refundable_storage_fee: 0 -task 3, line 31: +task 3, line 32: //# run Test::M1::create --args 1 @A created: object(3,0) mutated: object(0,2) -gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 978120, non_refundable_storage_fee: 9880 +gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 988000, non_refundable_storage_fee: 0 -task 4, line 33: +task 4, line 34: //# run Test::M1::update --sender A --args 100 object(2,0) mutated: object(0,0), object(2,0) -gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 1301652, non_refundable_storage_fee: 13148 +gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 1314800, non_refundable_storage_fee: 0 -task 5, line 35: +task 5, line 36: //# create-checkpoint Checkpoint created: 1 -task 6, lines 37-65: +task 6, lines 38-66: //# run-graphql --cursors @{obj_3_0} Response: { "data": { "after_obj_3_0": { + "objects": { + "nodes": [] + } + }, + "before_obj_3_0": { "objects": { "nodes": [ { "version": 4, "contents": { "type": { - "repr": "0x20cee016ae87d51618e53d13497a6558c373f80647fd570b1d60dea66fda28d5::M1::Object" + "repr": "0x52fb5a41fe66037b70b99e58f9fe6d8f9a8aad3814d1635beeee15fb570788a2::M1::Object" }, "json": { - "id": "0xcfa9863ef3521130fa9821f63be4db23a292af6da509a9e0d7c8121a21a98685", + "id": "0x5560b291b3e83f98e49b826699c5a97c73dcf9d0d497ae547b2e9acea6dfd68b", "value": "100" } } } ] } - }, - "before_obj_3_0": { - "objects": { - "nodes": [] - } } } } -task 7, line 67: +task 7, line 68: //# run Test::M1::update --sender A --args 200 object(2,0) mutated: object(0,0), object(2,0) -gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 2279772, non_refundable_storage_fee: 23028 +gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 2302800, non_refundable_storage_fee: 0 -task 8, line 69: +task 8, line 70: //# create-checkpoint Checkpoint created: 2 -task 9, lines 71-100: +task 9, lines 72-101: //# run-graphql --cursors @{obj_3_0,1} Response: { "data": { "after_obj_3_0_chkpt_1": { + "objects": { + "nodes": [] + } + }, + "before_obj_3_0_chkpt_1": { "objects": { "nodes": [ { "version": 4, "contents": { "type": { - "repr": "0x20cee016ae87d51618e53d13497a6558c373f80647fd570b1d60dea66fda28d5::M1::Object" + "repr": "0x52fb5a41fe66037b70b99e58f9fe6d8f9a8aad3814d1635beeee15fb570788a2::M1::Object" }, "json": { - "id": "0xcfa9863ef3521130fa9821f63be4db23a292af6da509a9e0d7c8121a21a98685", + "id": "0x5560b291b3e83f98e49b826699c5a97c73dcf9d0d497ae547b2e9acea6dfd68b", "value": "100" } } } ] } - }, - "before_obj_3_0_chkpt_1": { - "objects": { - "nodes": [] - } } } } -task 10, lines 102-177: +task 10, lines 103-178: //# run-graphql --cursors @{obj_3_0,2} Response: { "data": { @@ -107,26 +107,26 @@ Response: { "objects": { "nodes": [ { - "version": 4, + "version": 5, "contents": { "type": { - "repr": "0x20cee016ae87d51618e53d13497a6558c373f80647fd570b1d60dea66fda28d5::M1::Object" + "repr": "0x52fb5a41fe66037b70b99e58f9fe6d8f9a8aad3814d1635beeee15fb570788a2::M1::Object" }, "json": { - "id": "0x5a036eccabb35fa40c8dce9e83414df4086b4c14505b95ba6791de66e20e9648", - "value": "1" + "id": "0x5560b291b3e83f98e49b826699c5a97c73dcf9d0d497ae547b2e9acea6dfd68b", + "value": "200" } } }, { - "version": 5, + "version": 4, "contents": { "type": { - "repr": "0x20cee016ae87d51618e53d13497a6558c373f80647fd570b1d60dea66fda28d5::M1::Object" + "repr": "0x52fb5a41fe66037b70b99e58f9fe6d8f9a8aad3814d1635beeee15fb570788a2::M1::Object" }, "json": { - "id": "0xcfa9863ef3521130fa9821f63be4db23a292af6da509a9e0d7c8121a21a98685", - "value": "200" + "id": "0xe1e857bb70493750d531fd8dab88ed9ff6108489dd3dccdf7653a51b676b5d95", + "value": "1" } } } @@ -134,16 +134,21 @@ Response: { } }, "after_obj_3_0_chkpt_2": { + "consistent_with_above": { + "nodes": [] + } + }, + "before_obj_3_0_chkpt_2": { "consistent_with_above": { "nodes": [ { "version": 5, "contents": { "type": { - "repr": "0x20cee016ae87d51618e53d13497a6558c373f80647fd570b1d60dea66fda28d5::M1::Object" + "repr": "0x52fb5a41fe66037b70b99e58f9fe6d8f9a8aad3814d1635beeee15fb570788a2::M1::Object" }, "json": { - "id": "0xcfa9863ef3521130fa9821f63be4db23a292af6da509a9e0d7c8121a21a98685", + "id": "0x5560b291b3e83f98e49b826699c5a97c73dcf9d0d497ae547b2e9acea6dfd68b", "value": "200" } }, @@ -152,26 +157,26 @@ Response: { "objects": { "nodes": [ { - "version": 4, + "version": 5, "contents": { "type": { - "repr": "0x20cee016ae87d51618e53d13497a6558c373f80647fd570b1d60dea66fda28d5::M1::Object" + "repr": "0x52fb5a41fe66037b70b99e58f9fe6d8f9a8aad3814d1635beeee15fb570788a2::M1::Object" }, "json": { - "id": "0x5a036eccabb35fa40c8dce9e83414df4086b4c14505b95ba6791de66e20e9648", - "value": "1" + "id": "0x5560b291b3e83f98e49b826699c5a97c73dcf9d0d497ae547b2e9acea6dfd68b", + "value": "200" } } }, { - "version": 5, + "version": 4, "contents": { "type": { - "repr": "0x20cee016ae87d51618e53d13497a6558c373f80647fd570b1d60dea66fda28d5::M1::Object" + "repr": "0x52fb5a41fe66037b70b99e58f9fe6d8f9a8aad3814d1635beeee15fb570788a2::M1::Object" }, "json": { - "id": "0xcfa9863ef3521130fa9821f63be4db23a292af6da509a9e0d7c8121a21a98685", - "value": "200" + "id": "0xe1e857bb70493750d531fd8dab88ed9ff6108489dd3dccdf7653a51b676b5d95", + "value": "1" } } } @@ -182,39 +187,39 @@ Response: { } ] } - }, - "before_obj_3_0_chkpt_2": { - "consistent_with_above": { - "nodes": [] - } } } } -task 11, line 179: +task 11, line 180: //# run Test::M1::update --sender A --args 300 object(3,0) mutated: object(0,0), object(3,0) -gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 2279772, non_refundable_storage_fee: 23028 +gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 2302800, non_refundable_storage_fee: 0 -task 12, line 181: +task 12, line 182: //# create-checkpoint Checkpoint created: 3 -task 13, lines 183-246: +task 13, lines 184-247: //# run-graphql --cursors @{obj_3_0,2} Response: { "data": { "after_obj_3_0_chkpt_2": { + "objects": { + "nodes": [] + } + }, + "before_obj_3_0_chkpt_2": { "objects": { "nodes": [ { "version": 5, "contents": { "type": { - "repr": "0x20cee016ae87d51618e53d13497a6558c373f80647fd570b1d60dea66fda28d5::M1::Object" + "repr": "0x52fb5a41fe66037b70b99e58f9fe6d8f9a8aad3814d1635beeee15fb570788a2::M1::Object" }, "json": { - "id": "0xcfa9863ef3521130fa9821f63be4db23a292af6da509a9e0d7c8121a21a98685", + "id": "0x5560b291b3e83f98e49b826699c5a97c73dcf9d0d497ae547b2e9acea6dfd68b", "value": "200" } }, @@ -223,26 +228,26 @@ Response: { "objects": { "nodes": [ { - "version": 4, + "version": 5, "contents": { "type": { - "repr": "0x20cee016ae87d51618e53d13497a6558c373f80647fd570b1d60dea66fda28d5::M1::Object" + "repr": "0x52fb5a41fe66037b70b99e58f9fe6d8f9a8aad3814d1635beeee15fb570788a2::M1::Object" }, "json": { - "id": "0x5a036eccabb35fa40c8dce9e83414df4086b4c14505b95ba6791de66e20e9648", - "value": "1" + "id": "0x5560b291b3e83f98e49b826699c5a97c73dcf9d0d497ae547b2e9acea6dfd68b", + "value": "200" } } }, { - "version": 5, + "version": 4, "contents": { "type": { - "repr": "0x20cee016ae87d51618e53d13497a6558c373f80647fd570b1d60dea66fda28d5::M1::Object" + "repr": "0x52fb5a41fe66037b70b99e58f9fe6d8f9a8aad3814d1635beeee15fb570788a2::M1::Object" }, "json": { - "id": "0xcfa9863ef3521130fa9821f63be4db23a292af6da509a9e0d7c8121a21a98685", - "value": "200" + "id": "0xe1e857bb70493750d531fd8dab88ed9ff6108489dd3dccdf7653a51b676b5d95", + "value": "1" } } } @@ -253,16 +258,11 @@ Response: { } ] } - }, - "before_obj_3_0_chkpt_2": { - "objects": { - "nodes": [] - } } } } -task 14, lines 248-323: +task 14, lines 249-324: //# run-graphql --cursors @{obj_3_0,3} Response: { "data": { @@ -270,26 +270,26 @@ Response: { "objects": { "nodes": [ { - "version": 6, + "version": 5, "contents": { "type": { - "repr": "0x20cee016ae87d51618e53d13497a6558c373f80647fd570b1d60dea66fda28d5::M1::Object" + "repr": "0x52fb5a41fe66037b70b99e58f9fe6d8f9a8aad3814d1635beeee15fb570788a2::M1::Object" }, "json": { - "id": "0x5a036eccabb35fa40c8dce9e83414df4086b4c14505b95ba6791de66e20e9648", - "value": "300" + "id": "0x5560b291b3e83f98e49b826699c5a97c73dcf9d0d497ae547b2e9acea6dfd68b", + "value": "200" } } }, { - "version": 5, + "version": 6, "contents": { "type": { - "repr": "0x20cee016ae87d51618e53d13497a6558c373f80647fd570b1d60dea66fda28d5::M1::Object" + "repr": "0x52fb5a41fe66037b70b99e58f9fe6d8f9a8aad3814d1635beeee15fb570788a2::M1::Object" }, "json": { - "id": "0xcfa9863ef3521130fa9821f63be4db23a292af6da509a9e0d7c8121a21a98685", - "value": "200" + "id": "0xe1e857bb70493750d531fd8dab88ed9ff6108489dd3dccdf7653a51b676b5d95", + "value": "300" } } } @@ -297,16 +297,21 @@ Response: { } }, "after_obj_3_0_chkpt_3": { + "consistent_with_above": { + "nodes": [] + } + }, + "before_obj_3_0_chkpt_3": { "consistent_with_above": { "nodes": [ { "version": 5, "contents": { "type": { - "repr": "0x20cee016ae87d51618e53d13497a6558c373f80647fd570b1d60dea66fda28d5::M1::Object" + "repr": "0x52fb5a41fe66037b70b99e58f9fe6d8f9a8aad3814d1635beeee15fb570788a2::M1::Object" }, "json": { - "id": "0xcfa9863ef3521130fa9821f63be4db23a292af6da509a9e0d7c8121a21a98685", + "id": "0x5560b291b3e83f98e49b826699c5a97c73dcf9d0d497ae547b2e9acea6dfd68b", "value": "200" } }, @@ -315,26 +320,26 @@ Response: { "objects": { "nodes": [ { - "version": 6, + "version": 5, "contents": { "type": { - "repr": "0x20cee016ae87d51618e53d13497a6558c373f80647fd570b1d60dea66fda28d5::M1::Object" + "repr": "0x52fb5a41fe66037b70b99e58f9fe6d8f9a8aad3814d1635beeee15fb570788a2::M1::Object" }, "json": { - "id": "0x5a036eccabb35fa40c8dce9e83414df4086b4c14505b95ba6791de66e20e9648", - "value": "300" + "id": "0x5560b291b3e83f98e49b826699c5a97c73dcf9d0d497ae547b2e9acea6dfd68b", + "value": "200" } } }, { - "version": 5, + "version": 6, "contents": { "type": { - "repr": "0x20cee016ae87d51618e53d13497a6558c373f80647fd570b1d60dea66fda28d5::M1::Object" + "repr": "0x52fb5a41fe66037b70b99e58f9fe6d8f9a8aad3814d1635beeee15fb570788a2::M1::Object" }, "json": { - "id": "0xcfa9863ef3521130fa9821f63be4db23a292af6da509a9e0d7c8121a21a98685", - "value": "200" + "id": "0xe1e857bb70493750d531fd8dab88ed9ff6108489dd3dccdf7653a51b676b5d95", + "value": "300" } } } @@ -345,11 +350,6 @@ Response: { } ] } - }, - "before_obj_3_0_chkpt_3": { - "consistent_with_above": { - "nodes": [] - } } } } diff --git a/crates/iota-graphql-e2e-tests/tests/consistency/performance/many_objects.exp b/crates/iota-graphql-e2e-tests/tests/consistency/performance/many_objects.exp index 1aa3800ea6f..ba668e34772 100644 --- a/crates/iota-graphql-e2e-tests/tests/consistency/performance/many_objects.exp +++ b/crates/iota-graphql-e2e-tests/tests/consistency/performance/many_objects.exp @@ -3,23 +3,23 @@ processed 13 tasks init: A: object(0,0), B: object(0,1) -task 1, lines 12-35: +task 1, lines 13-36: //# publish created: object(1,0) mutated: object(0,2) gas summary: computation_cost: 1000000, storage_cost: 6118000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2, line 37: +task 2, line 38: //# run Test::M1::create_many --sender A --args @A 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), object(2,17), object(2,18), object(2,19), object(2,20), object(2,21), object(2,22), object(2,23), object(2,24), object(2,25), object(2,26), object(2,27), object(2,28), object(2,29), object(2,30), object(2,31), object(2,32), object(2,33), object(2,34), object(2,35), object(2,36), object(2,37), object(2,38), object(2,39), object(2,40), object(2,41), object(2,42), object(2,43), object(2,44), object(2,45), object(2,46), object(2,47), object(2,48), object(2,49), object(2,50), object(2,51), object(2,52), object(2,53), object(2,54), object(2,55), object(2,56), object(2,57), object(2,58), object(2,59), object(2,60), object(2,61), object(2,62), object(2,63), object(2,64), object(2,65), object(2,66), object(2,67), object(2,68), object(2,69), object(2,70), object(2,71), object(2,72), object(2,73), object(2,74), object(2,75), object(2,76), object(2,77), object(2,78), object(2,79), object(2,80), object(2,81), object(2,82), object(2,83), object(2,84), object(2,85), object(2,86), object(2,87), object(2,88), object(2,89), object(2,90), object(2,91), object(2,92), object(2,93), object(2,94), object(2,95), object(2,96), object(2,97), object(2,98), object(2,99), object(2,100), object(2,101), object(2,102), object(2,103), object(2,104), object(2,105), object(2,106), object(2,107), object(2,108), object(2,109), object(2,110), object(2,111), object(2,112), object(2,113), object(2,114), object(2,115), object(2,116), object(2,117), object(2,118), object(2,119), object(2,120), object(2,121), object(2,122), object(2,123), object(2,124), object(2,125), object(2,126), object(2,127), object(2,128), object(2,129), object(2,130), object(2,131), object(2,132), object(2,133), object(2,134), object(2,135), object(2,136), object(2,137), object(2,138), object(2,139), object(2,140), object(2,141), object(2,142), object(2,143), object(2,144), object(2,145), object(2,146), object(2,147), object(2,148), object(2,149), object(2,150), object(2,151), object(2,152), object(2,153), object(2,154), object(2,155), object(2,156), object(2,157), object(2,158), object(2,159), object(2,160), object(2,161), object(2,162), object(2,163), object(2,164), object(2,165), object(2,166), object(2,167), object(2,168), object(2,169), object(2,170), object(2,171), object(2,172), object(2,173), object(2,174), object(2,175), object(2,176), object(2,177), object(2,178), object(2,179), object(2,180), object(2,181), object(2,182), object(2,183), object(2,184), object(2,185), object(2,186), object(2,187), object(2,188), object(2,189), object(2,190), object(2,191), object(2,192), object(2,193), object(2,194), object(2,195), object(2,196), object(2,197), object(2,198), object(2,199), object(2,200), object(2,201), object(2,202), object(2,203), object(2,204), object(2,205), object(2,206), object(2,207), object(2,208), object(2,209), object(2,210), object(2,211), object(2,212), object(2,213), object(2,214), object(2,215), object(2,216), object(2,217), object(2,218), object(2,219), object(2,220), object(2,221), object(2,222), object(2,223), object(2,224), object(2,225), object(2,226), object(2,227), object(2,228), object(2,229), object(2,230), object(2,231), object(2,232), object(2,233), object(2,234), object(2,235), object(2,236), object(2,237), object(2,238), object(2,239), object(2,240), object(2,241), object(2,242), object(2,243), object(2,244), object(2,245), object(2,246), object(2,247), object(2,248), object(2,249), object(2,250), object(2,251), object(2,252), object(2,253), object(2,254), object(2,255), object(2,256), object(2,257), object(2,258), object(2,259), object(2,260), object(2,261), object(2,262), object(2,263), object(2,264), object(2,265), object(2,266), object(2,267), object(2,268), object(2,269), object(2,270), object(2,271), object(2,272), object(2,273), object(2,274), object(2,275), object(2,276), object(2,277), object(2,278), object(2,279), object(2,280), object(2,281), object(2,282), object(2,283), object(2,284), object(2,285), object(2,286), object(2,287), object(2,288), object(2,289), object(2,290), object(2,291), object(2,292), object(2,293), object(2,294), object(2,295), object(2,296), object(2,297), object(2,298), object(2,299), object(2,300), object(2,301), object(2,302), object(2,303), object(2,304), object(2,305), object(2,306), object(2,307), object(2,308), object(2,309), object(2,310), object(2,311), object(2,312), object(2,313), object(2,314), object(2,315), object(2,316), object(2,317), object(2,318), object(2,319), object(2,320), object(2,321), object(2,322), object(2,323), object(2,324), object(2,325), object(2,326), object(2,327), object(2,328), object(2,329), object(2,330), object(2,331), object(2,332), object(2,333), object(2,334), object(2,335), object(2,336), object(2,337), object(2,338), object(2,339), object(2,340), object(2,341), object(2,342), object(2,343), object(2,344), object(2,345), object(2,346), object(2,347), object(2,348), object(2,349), object(2,350), object(2,351), object(2,352), object(2,353), object(2,354), object(2,355), object(2,356), object(2,357), object(2,358), object(2,359), object(2,360), object(2,361), object(2,362), object(2,363), object(2,364), object(2,365), object(2,366), object(2,367), object(2,368), object(2,369), object(2,370), object(2,371), object(2,372), object(2,373), object(2,374), object(2,375), object(2,376), object(2,377), object(2,378), object(2,379), object(2,380), object(2,381), object(2,382), object(2,383), object(2,384), object(2,385), object(2,386), object(2,387), object(2,388), object(2,389), object(2,390), object(2,391), object(2,392), object(2,393), object(2,394), object(2,395), object(2,396), object(2,397), object(2,398), object(2,399), object(2,400), object(2,401), object(2,402), object(2,403), object(2,404), object(2,405), object(2,406), object(2,407), object(2,408), object(2,409), object(2,410), object(2,411), object(2,412), object(2,413), object(2,414), object(2,415), object(2,416), object(2,417), object(2,418), object(2,419), object(2,420), object(2,421), object(2,422), object(2,423), object(2,424), object(2,425), object(2,426), object(2,427), object(2,428), object(2,429), object(2,430), object(2,431), object(2,432), object(2,433), object(2,434), object(2,435), object(2,436), object(2,437), object(2,438), object(2,439), object(2,440), object(2,441), object(2,442), object(2,443), object(2,444), object(2,445), object(2,446), object(2,447), object(2,448), object(2,449), object(2,450), object(2,451), object(2,452), object(2,453), object(2,454), object(2,455), object(2,456), object(2,457), object(2,458), object(2,459), object(2,460), object(2,461), object(2,462), object(2,463), object(2,464), object(2,465), object(2,466), object(2,467), object(2,468), object(2,469), object(2,470), object(2,471), object(2,472), object(2,473), object(2,474), object(2,475), object(2,476), object(2,477), object(2,478), object(2,479), object(2,480), object(2,481), object(2,482), object(2,483), object(2,484), object(2,485), object(2,486), object(2,487), object(2,488), object(2,489), object(2,490), object(2,491), object(2,492), object(2,493), object(2,494), object(2,495), object(2,496), object(2,497), object(2,498), object(2,499) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 658388000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3, line 39: +task 3, line 40: //# create-checkpoint 2 Checkpoint created: 2 -task 4, lines 41-82: +task 4, lines 42-83: //# run-graphql Response: { "data": { @@ -30,16 +30,16 @@ Response: { "asMoveObject": { "owner": { "owner": { - "address": "0xfccc9a421bbb13c1a66a1aa98f0ad75029ede94857779c6915b44f94068b921e" + "address": "0x8cca4e1ce0ba5904cea61df9242da2f7d29e3ef328fb7ec07c086b3bf47ca61a" } }, "contents": { "json": { - "id": "0xff7f5ef9e5a7b5b6265b414ddc0f76a1daa5677e6333d10c280223d036a7038f", - "value": "6" + "id": "0xfc6bf14017bf257c86af525b666782b4e369852d61b939b98ddbdce447bb1eca", + "value": "132" }, "type": { - "repr": "0x361adca72b31788356405445166ccc9c01ab86b80ab7a28fc7aff4da14b0bbb7::M1::Object" + "repr": "0xe673ed6971adda1ed57d9be0b15c2b75d87b246c0abdc96286b9cbf360285d93::M1::Object" } } } @@ -49,16 +49,16 @@ Response: { "asMoveObject": { "owner": { "owner": { - "address": "0xfccc9a421bbb13c1a66a1aa98f0ad75029ede94857779c6915b44f94068b921e" + "address": "0x8cca4e1ce0ba5904cea61df9242da2f7d29e3ef328fb7ec07c086b3bf47ca61a" } }, "contents": { "json": { - "id": "0xfffc711287a6c859f0855d276c5439941b0a916bcdb4f31a62547bf94b073682", - "value": "107" + "id": "0xffa7c8c9846f84328e62cfdb272246de80d9d382ebcb2623286c5d65346ad7e2", + "value": "34" }, "type": { - "repr": "0x361adca72b31788356405445166ccc9c01ab86b80ab7a28fc7aff4da14b0bbb7::M1::Object" + "repr": "0xe673ed6971adda1ed57d9be0b15c2b75d87b246c0abdc96286b9cbf360285d93::M1::Object" } } } @@ -71,64 +71,64 @@ Response: { { "owner": { "owner": { - "address": "0xfccc9a421bbb13c1a66a1aa98f0ad75029ede94857779c6915b44f94068b921e" + "address": "0x8cca4e1ce0ba5904cea61df9242da2f7d29e3ef328fb7ec07c086b3bf47ca61a" } }, "contents": { "json": { - "id": "0xfecefff3d2e3952957d14e450ef967f370986d101867386df4d581366063f153", - "value": "263" + "id": "0xfbd093ae5d7e89b4713fe3bd982a2a8b2007a10c8bade7324231b74da66f80aa", + "value": "438" }, "type": { - "repr": "0x361adca72b31788356405445166ccc9c01ab86b80ab7a28fc7aff4da14b0bbb7::M1::Object" + "repr": "0xe673ed6971adda1ed57d9be0b15c2b75d87b246c0abdc96286b9cbf360285d93::M1::Object" } } }, { "owner": { "owner": { - "address": "0xfccc9a421bbb13c1a66a1aa98f0ad75029ede94857779c6915b44f94068b921e" + "address": "0x8cca4e1ce0ba5904cea61df9242da2f7d29e3ef328fb7ec07c086b3bf47ca61a" } }, "contents": { "json": { - "id": "0xfef205520684c9953fac1dee89681b03fc8cd19d8574f660202972b95bb7a5a8", - "value": "275" + "id": "0xfbfb53e145cd1821d3e454a35a577c6fe26ca2dcd2d27aa105bab8650ff227ce", + "value": "454" }, "type": { - "repr": "0x361adca72b31788356405445166ccc9c01ab86b80ab7a28fc7aff4da14b0bbb7::M1::Object" + "repr": "0xe673ed6971adda1ed57d9be0b15c2b75d87b246c0abdc96286b9cbf360285d93::M1::Object" } } }, { "owner": { "owner": { - "address": "0xfccc9a421bbb13c1a66a1aa98f0ad75029ede94857779c6915b44f94068b921e" + "address": "0x8cca4e1ce0ba5904cea61df9242da2f7d29e3ef328fb7ec07c086b3bf47ca61a" } }, "contents": { "json": { - "id": "0xff7f5ef9e5a7b5b6265b414ddc0f76a1daa5677e6333d10c280223d036a7038f", - "value": "6" + "id": "0xfc6bf14017bf257c86af525b666782b4e369852d61b939b98ddbdce447bb1eca", + "value": "132" }, "type": { - "repr": "0x361adca72b31788356405445166ccc9c01ab86b80ab7a28fc7aff4da14b0bbb7::M1::Object" + "repr": "0xe673ed6971adda1ed57d9be0b15c2b75d87b246c0abdc96286b9cbf360285d93::M1::Object" } } }, { "owner": { "owner": { - "address": "0xfccc9a421bbb13c1a66a1aa98f0ad75029ede94857779c6915b44f94068b921e" + "address": "0x8cca4e1ce0ba5904cea61df9242da2f7d29e3ef328fb7ec07c086b3bf47ca61a" } }, "contents": { "json": { - "id": "0xfffc711287a6c859f0855d276c5439941b0a916bcdb4f31a62547bf94b073682", - "value": "107" + "id": "0xffa7c8c9846f84328e62cfdb272246de80d9d382ebcb2623286c5d65346ad7e2", + "value": "34" }, "type": { - "repr": "0x361adca72b31788356405445166ccc9c01ab86b80ab7a28fc7aff4da14b0bbb7::M1::Object" + "repr": "0xe673ed6971adda1ed57d9be0b15c2b75d87b246c0abdc96286b9cbf360285d93::M1::Object" } } } @@ -138,22 +138,22 @@ Response: { } } -task 5, line 84: +task 5, line 85: //# transfer-object 2,499 --sender A --recipient B mutated: object(0,0), object(2,499) -gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 2279772, non_refundable_storage_fee: 23028 +gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 2302800, non_refundable_storage_fee: 0 -task 6, line 86: +task 6, line 87: //# transfer-object 2,498 --sender A --recipient B mutated: object(0,0), object(2,498) -gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 2279772, non_refundable_storage_fee: 23028 +gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 2302800, non_refundable_storage_fee: 0 -task 7, line 88: +task 7, line 89: //# transfer-object 2,497 --sender A --recipient B mutated: object(0,0), object(2,497) -gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 2279772, non_refundable_storage_fee: 23028 +gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 2302800, non_refundable_storage_fee: 0 -task 8, line 90: +task 8, line 91: //# view-object 2,498 Owner: Account Address ( B ) Version: 4 @@ -163,10 +163,10 @@ Contents: Test::M1::Object { bytes: fake(2,498), }, }, - value: 6u64, + value: 132u64, } -task 9, line 92: +task 9, line 93: //# view-object 2,497 Owner: Account Address ( B ) Version: 5 @@ -176,14 +176,14 @@ Contents: Test::M1::Object { bytes: fake(2,497), }, }, - value: 275u64, + value: 454u64, } -task 10, line 94: +task 10, line 95: //# create-checkpoint Checkpoint created: 3 -task 11, lines 96-138: +task 11, lines 97-139: //# run-graphql Response: { "data": { @@ -194,16 +194,16 @@ Response: { "asMoveObject": { "owner": { "owner": { - "address": "0xa7b032703878aa74c3126935789fd1d4d7e111d5911b09247d6963061c312b5a" + "address": "0x28f02a953f3553f51a9365593c7d4bd0643d2085f004b18c6ca9de51682b2c80" } }, "contents": { "json": { - "id": "0xfef205520684c9953fac1dee89681b03fc8cd19d8574f660202972b95bb7a5a8", - "value": "275" + "id": "0xfbfb53e145cd1821d3e454a35a577c6fe26ca2dcd2d27aa105bab8650ff227ce", + "value": "454" }, "type": { - "repr": "0x361adca72b31788356405445166ccc9c01ab86b80ab7a28fc7aff4da14b0bbb7::M1::Object" + "repr": "0xe673ed6971adda1ed57d9be0b15c2b75d87b246c0abdc96286b9cbf360285d93::M1::Object" } } } @@ -213,16 +213,16 @@ Response: { "asMoveObject": { "owner": { "owner": { - "address": "0xa7b032703878aa74c3126935789fd1d4d7e111d5911b09247d6963061c312b5a" + "address": "0x28f02a953f3553f51a9365593c7d4bd0643d2085f004b18c6ca9de51682b2c80" } }, "contents": { "json": { - "id": "0xff7f5ef9e5a7b5b6265b414ddc0f76a1daa5677e6333d10c280223d036a7038f", - "value": "6" + "id": "0xfc6bf14017bf257c86af525b666782b4e369852d61b939b98ddbdce447bb1eca", + "value": "132" }, "type": { - "repr": "0x361adca72b31788356405445166ccc9c01ab86b80ab7a28fc7aff4da14b0bbb7::M1::Object" + "repr": "0xe673ed6971adda1ed57d9be0b15c2b75d87b246c0abdc96286b9cbf360285d93::M1::Object" } } } @@ -232,16 +232,16 @@ Response: { "asMoveObject": { "owner": { "owner": { - "address": "0xa7b032703878aa74c3126935789fd1d4d7e111d5911b09247d6963061c312b5a" + "address": "0x28f02a953f3553f51a9365593c7d4bd0643d2085f004b18c6ca9de51682b2c80" } }, "contents": { "json": { - "id": "0xfffc711287a6c859f0855d276c5439941b0a916bcdb4f31a62547bf94b073682", - "value": "107" + "id": "0xffa7c8c9846f84328e62cfdb272246de80d9d382ebcb2623286c5d65346ad7e2", + "value": "34" }, "type": { - "repr": "0x361adca72b31788356405445166ccc9c01ab86b80ab7a28fc7aff4da14b0bbb7::M1::Object" + "repr": "0xe673ed6971adda1ed57d9be0b15c2b75d87b246c0abdc96286b9cbf360285d93::M1::Object" } } } @@ -255,16 +255,16 @@ Response: { "version": 2, "owner": { "owner": { - "address": "0xfccc9a421bbb13c1a66a1aa98f0ad75029ede94857779c6915b44f94068b921e" + "address": "0x8cca4e1ce0ba5904cea61df9242da2f7d29e3ef328fb7ec07c086b3bf47ca61a" } }, "contents": { "json": { - "id": "0xfecefff3d2e3952957d14e450ef967f370986d101867386df4d581366063f153", - "value": "263" + "id": "0xfbd093ae5d7e89b4713fe3bd982a2a8b2007a10c8bade7324231b74da66f80aa", + "value": "438" }, "type": { - "repr": "0x361adca72b31788356405445166ccc9c01ab86b80ab7a28fc7aff4da14b0bbb7::M1::Object" + "repr": "0xe673ed6971adda1ed57d9be0b15c2b75d87b246c0abdc96286b9cbf360285d93::M1::Object" } } } @@ -274,7 +274,7 @@ Response: { } } -task 12, lines 140-244: +task 12, lines 141-245: //# run-graphql Response: { "data": { @@ -282,16 +282,16 @@ Response: { "asMoveObject": { "owner": { "owner": { - "address": "0xfccc9a421bbb13c1a66a1aa98f0ad75029ede94857779c6915b44f94068b921e" + "address": "0x8cca4e1ce0ba5904cea61df9242da2f7d29e3ef328fb7ec07c086b3bf47ca61a" } }, "contents": { "json": { - "id": "0xfffc711287a6c859f0855d276c5439941b0a916bcdb4f31a62547bf94b073682", - "value": "107" + "id": "0xffa7c8c9846f84328e62cfdb272246de80d9d382ebcb2623286c5d65346ad7e2", + "value": "34" }, "type": { - "repr": "0x361adca72b31788356405445166ccc9c01ab86b80ab7a28fc7aff4da14b0bbb7::M1::Object" + "repr": "0xe673ed6971adda1ed57d9be0b15c2b75d87b246c0abdc96286b9cbf360285d93::M1::Object" } } } @@ -300,16 +300,16 @@ Response: { "asMoveObject": { "owner": { "owner": { - "address": "0xa7b032703878aa74c3126935789fd1d4d7e111d5911b09247d6963061c312b5a" + "address": "0x28f02a953f3553f51a9365593c7d4bd0643d2085f004b18c6ca9de51682b2c80" } }, "contents": { "json": { - "id": "0xfffc711287a6c859f0855d276c5439941b0a916bcdb4f31a62547bf94b073682", - "value": "107" + "id": "0xffa7c8c9846f84328e62cfdb272246de80d9d382ebcb2623286c5d65346ad7e2", + "value": "34" }, "type": { - "repr": "0x361adca72b31788356405445166ccc9c01ab86b80ab7a28fc7aff4da14b0bbb7::M1::Object" + "repr": "0xe673ed6971adda1ed57d9be0b15c2b75d87b246c0abdc96286b9cbf360285d93::M1::Object" } } } @@ -320,16 +320,16 @@ Response: { "asMoveObject": { "owner": { "owner": { - "address": "0xfccc9a421bbb13c1a66a1aa98f0ad75029ede94857779c6915b44f94068b921e" + "address": "0x8cca4e1ce0ba5904cea61df9242da2f7d29e3ef328fb7ec07c086b3bf47ca61a" } }, "contents": { "json": { - "id": "0xfef205520684c9953fac1dee89681b03fc8cd19d8574f660202972b95bb7a5a8", - "value": "275" + "id": "0xfbfb53e145cd1821d3e454a35a577c6fe26ca2dcd2d27aa105bab8650ff227ce", + "value": "454" }, "type": { - "repr": "0x361adca72b31788356405445166ccc9c01ab86b80ab7a28fc7aff4da14b0bbb7::M1::Object" + "repr": "0xe673ed6971adda1ed57d9be0b15c2b75d87b246c0abdc96286b9cbf360285d93::M1::Object" } } } @@ -338,16 +338,16 @@ Response: { "asMoveObject": { "owner": { "owner": { - "address": "0xfccc9a421bbb13c1a66a1aa98f0ad75029ede94857779c6915b44f94068b921e" + "address": "0x8cca4e1ce0ba5904cea61df9242da2f7d29e3ef328fb7ec07c086b3bf47ca61a" } }, "contents": { "json": { - "id": "0xff7f5ef9e5a7b5b6265b414ddc0f76a1daa5677e6333d10c280223d036a7038f", - "value": "6" + "id": "0xfc6bf14017bf257c86af525b666782b4e369852d61b939b98ddbdce447bb1eca", + "value": "132" }, "type": { - "repr": "0x361adca72b31788356405445166ccc9c01ab86b80ab7a28fc7aff4da14b0bbb7::M1::Object" + "repr": "0xe673ed6971adda1ed57d9be0b15c2b75d87b246c0abdc96286b9cbf360285d93::M1::Object" } } } @@ -356,16 +356,16 @@ Response: { "asMoveObject": { "owner": { "owner": { - "address": "0xfccc9a421bbb13c1a66a1aa98f0ad75029ede94857779c6915b44f94068b921e" + "address": "0x8cca4e1ce0ba5904cea61df9242da2f7d29e3ef328fb7ec07c086b3bf47ca61a" } }, "contents": { "json": { - "id": "0xfffc711287a6c859f0855d276c5439941b0a916bcdb4f31a62547bf94b073682", - "value": "107" + "id": "0xffa7c8c9846f84328e62cfdb272246de80d9d382ebcb2623286c5d65346ad7e2", + "value": "34" }, "type": { - "repr": "0x361adca72b31788356405445166ccc9c01ab86b80ab7a28fc7aff4da14b0bbb7::M1::Object" + "repr": "0xe673ed6971adda1ed57d9be0b15c2b75d87b246c0abdc96286b9cbf360285d93::M1::Object" } } } @@ -378,16 +378,16 @@ Response: { "asMoveObject": { "owner": { "owner": { - "address": "0xa7b032703878aa74c3126935789fd1d4d7e111d5911b09247d6963061c312b5a" + "address": "0x28f02a953f3553f51a9365593c7d4bd0643d2085f004b18c6ca9de51682b2c80" } }, "contents": { "json": { - "id": "0xfef205520684c9953fac1dee89681b03fc8cd19d8574f660202972b95bb7a5a8", - "value": "275" + "id": "0xfbfb53e145cd1821d3e454a35a577c6fe26ca2dcd2d27aa105bab8650ff227ce", + "value": "454" }, "type": { - "repr": "0x361adca72b31788356405445166ccc9c01ab86b80ab7a28fc7aff4da14b0bbb7::M1::Object" + "repr": "0xe673ed6971adda1ed57d9be0b15c2b75d87b246c0abdc96286b9cbf360285d93::M1::Object" } } } @@ -396,16 +396,16 @@ Response: { "asMoveObject": { "owner": { "owner": { - "address": "0xa7b032703878aa74c3126935789fd1d4d7e111d5911b09247d6963061c312b5a" + "address": "0x28f02a953f3553f51a9365593c7d4bd0643d2085f004b18c6ca9de51682b2c80" } }, "contents": { "json": { - "id": "0xff7f5ef9e5a7b5b6265b414ddc0f76a1daa5677e6333d10c280223d036a7038f", - "value": "6" + "id": "0xfc6bf14017bf257c86af525b666782b4e369852d61b939b98ddbdce447bb1eca", + "value": "132" }, "type": { - "repr": "0x361adca72b31788356405445166ccc9c01ab86b80ab7a28fc7aff4da14b0bbb7::M1::Object" + "repr": "0xe673ed6971adda1ed57d9be0b15c2b75d87b246c0abdc96286b9cbf360285d93::M1::Object" } } } @@ -414,16 +414,16 @@ Response: { "asMoveObject": { "owner": { "owner": { - "address": "0xa7b032703878aa74c3126935789fd1d4d7e111d5911b09247d6963061c312b5a" + "address": "0x28f02a953f3553f51a9365593c7d4bd0643d2085f004b18c6ca9de51682b2c80" } }, "contents": { "json": { - "id": "0xfffc711287a6c859f0855d276c5439941b0a916bcdb4f31a62547bf94b073682", - "value": "107" + "id": "0xffa7c8c9846f84328e62cfdb272246de80d9d382ebcb2623286c5d65346ad7e2", + "value": "34" }, "type": { - "repr": "0x361adca72b31788356405445166ccc9c01ab86b80ab7a28fc7aff4da14b0bbb7::M1::Object" + "repr": "0xe673ed6971adda1ed57d9be0b15c2b75d87b246c0abdc96286b9cbf360285d93::M1::Object" } } } @@ -437,12 +437,12 @@ Response: { "version": 1, "owner": { "owner": { - "address": "0xa7b032703878aa74c3126935789fd1d4d7e111d5911b09247d6963061c312b5a" + "address": "0x28f02a953f3553f51a9365593c7d4bd0643d2085f004b18c6ca9de51682b2c80" } }, "contents": { "json": { - "id": "0x666f28299115f43a52d09d94ffda7828cc16a28daeb6dc2ed89665cf2d014f53", + "id": "0x62dd4ea73c85fa3828fc824b6cb56f75af234132b10dfa03d0ec93f0e734ad07", "balance": { "value": "300000000000000" } @@ -456,16 +456,16 @@ Response: { "version": 5, "owner": { "owner": { - "address": "0xa7b032703878aa74c3126935789fd1d4d7e111d5911b09247d6963061c312b5a" + "address": "0x28f02a953f3553f51a9365593c7d4bd0643d2085f004b18c6ca9de51682b2c80" } }, "contents": { "json": { - "id": "0xfef205520684c9953fac1dee89681b03fc8cd19d8574f660202972b95bb7a5a8", - "value": "275" + "id": "0xfbfb53e145cd1821d3e454a35a577c6fe26ca2dcd2d27aa105bab8650ff227ce", + "value": "454" }, "type": { - "repr": "0x361adca72b31788356405445166ccc9c01ab86b80ab7a28fc7aff4da14b0bbb7::M1::Object" + "repr": "0xe673ed6971adda1ed57d9be0b15c2b75d87b246c0abdc96286b9cbf360285d93::M1::Object" } } }, @@ -473,16 +473,16 @@ Response: { "version": 4, "owner": { "owner": { - "address": "0xa7b032703878aa74c3126935789fd1d4d7e111d5911b09247d6963061c312b5a" + "address": "0x28f02a953f3553f51a9365593c7d4bd0643d2085f004b18c6ca9de51682b2c80" } }, "contents": { "json": { - "id": "0xff7f5ef9e5a7b5b6265b414ddc0f76a1daa5677e6333d10c280223d036a7038f", - "value": "6" + "id": "0xfc6bf14017bf257c86af525b666782b4e369852d61b939b98ddbdce447bb1eca", + "value": "132" }, "type": { - "repr": "0x361adca72b31788356405445166ccc9c01ab86b80ab7a28fc7aff4da14b0bbb7::M1::Object" + "repr": "0xe673ed6971adda1ed57d9be0b15c2b75d87b246c0abdc96286b9cbf360285d93::M1::Object" } } }, @@ -490,16 +490,16 @@ Response: { "version": 3, "owner": { "owner": { - "address": "0xa7b032703878aa74c3126935789fd1d4d7e111d5911b09247d6963061c312b5a" + "address": "0x28f02a953f3553f51a9365593c7d4bd0643d2085f004b18c6ca9de51682b2c80" } }, "contents": { "json": { - "id": "0xfffc711287a6c859f0855d276c5439941b0a916bcdb4f31a62547bf94b073682", - "value": "107" + "id": "0xffa7c8c9846f84328e62cfdb272246de80d9d382ebcb2623286c5d65346ad7e2", + "value": "34" }, "type": { - "repr": "0x361adca72b31788356405445166ccc9c01ab86b80ab7a28fc7aff4da14b0bbb7::M1::Object" + "repr": "0xe673ed6971adda1ed57d9be0b15c2b75d87b246c0abdc96286b9cbf360285d93::M1::Object" } } } diff --git a/crates/iota-graphql-e2e-tests/tests/consistency/staked_iota.exp b/crates/iota-graphql-e2e-tests/tests/consistency/staked_iota.exp index 32a73226a4e..6d25172ccb9 100644 --- a/crates/iota-graphql-e2e-tests/tests/consistency/staked_iota.exp +++ b/crates/iota-graphql-e2e-tests/tests/consistency/staked_iota.exp @@ -3,7 +3,7 @@ processed 15 tasks init: C: object(0,0) -task 1, lines 6-18: +task 1, lines 7-19: //# run-graphql Response: { "data": { @@ -15,7 +15,7 @@ Response: { } } -task 2, lines 20-22: +task 2, lines 21-23: //# programmable --sender C --inputs 10000000000 @C //> SplitCoins(Gas, [Input(0)]); //> TransferObjects([Result(0)], Input(1)) @@ -23,47 +23,47 @@ created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 1976000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3, line 24: +task 3, line 25: //# run 0x3::iota_system::request_add_stake --args object(0x5) object(2,0) @validator_0 --sender C -events: Event { package_id: iota_system, transaction_module: Identifier("iota_system"), sender: C, type_: StructTag { address: iota_system, module: Identifier("validator"), name: Identifier("StakingRequestEvent"), type_params: [] }, contents: [135, 141, 242, 35, 38, 24, 124, 195, 86, 219, 178, 127, 110, 40, 201, 151, 112, 169, 166, 183, 93, 180, 71, 210, 141, 37, 35, 151, 110, 94, 69, 29, 218, 131, 22, 109, 1, 175, 215, 221, 207, 138, 245, 248, 68, 244, 90, 170, 83, 244, 133, 72, 229, 17, 124, 35, 245, 162, 151, 140, 253, 66, 34, 68, 252, 204, 154, 66, 27, 187, 19, 193, 166, 106, 26, 169, 143, 10, 215, 80, 41, 237, 233, 72, 87, 119, 156, 105, 21, 180, 79, 148, 6, 139, 146, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 228, 11, 84, 2, 0, 0, 0] } +events: Event { package_id: iota_system, transaction_module: Identifier("iota_system"), sender: C, type_: StructTag { address: iota_system, module: Identifier("validator"), name: Identifier("StakingRequestEvent"), type_params: [] }, contents: [51, 134, 205, 5, 82, 22, 56, 71, 216, 221, 16, 110, 87, 246, 247, 94, 33, 78, 90, 194, 6, 201, 10, 51, 249, 117, 97, 162, 61, 0, 139, 91, 175, 163, 158, 79, 0, 218, 226, 120, 249, 119, 199, 198, 147, 10, 94, 44, 118, 232, 93, 23, 165, 38, 215, 36, 187, 206, 15, 184, 31, 176, 125, 76, 140, 202, 78, 28, 224, 186, 89, 4, 206, 166, 29, 249, 36, 45, 162, 247, 210, 158, 62, 243, 40, 251, 126, 192, 124, 8, 107, 59, 244, 124, 166, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 228, 11, 84, 2, 0, 0, 0] } created: object(3,0), object(3,1) mutated: 0x0000000000000000000000000000000000000000000000000000000000000005, object(0,0) deleted: object(_), object(2,0) -gas summary: computation_cost: 1000000, storage_cost: 15078400, storage_rebate: 1956240, non_refundable_storage_fee: 19760 +gas summary: computation_cost: 1000000, storage_cost: 14789600, storage_rebate: 1976000, non_refundable_storage_fee: 0 -task 4, line 26: +task 4, line 27: //# create-checkpoint Checkpoint created: 1 -task 5, line 28: +task 5, line 29: //# advance-epoch Epoch advanced: 0 -task 6, lines 30-32: +task 6, lines 31-33: //# programmable --sender C --inputs 10000000000 @C //> SplitCoins(Gas, [Input(0)]); //> TransferObjects([Result(0)], Input(1)) created: object(6,0) mutated: object(0,0) -gas summary: computation_cost: 1000000, storage_cost: 1976000, storage_rebate: 978120, non_refundable_storage_fee: 9880 +gas summary: computation_cost: 1000000, storage_cost: 1976000, storage_rebate: 988000, non_refundable_storage_fee: 0 -task 7, line 34: +task 7, line 35: //# run 0x3::iota_system::request_add_stake --args object(0x5) object(6,0) @validator_0 --sender C -events: Event { package_id: iota_system, transaction_module: Identifier("iota_system"), sender: C, type_: StructTag { address: iota_system, module: Identifier("validator"), name: Identifier("StakingRequestEvent"), type_params: [] }, contents: [135, 141, 242, 35, 38, 24, 124, 195, 86, 219, 178, 127, 110, 40, 201, 151, 112, 169, 166, 183, 93, 180, 71, 210, 141, 37, 35, 151, 110, 94, 69, 29, 218, 131, 22, 109, 1, 175, 215, 221, 207, 138, 245, 248, 68, 244, 90, 170, 83, 244, 133, 72, 229, 17, 124, 35, 245, 162, 151, 140, 253, 66, 34, 68, 252, 204, 154, 66, 27, 187, 19, 193, 166, 106, 26, 169, 143, 10, 215, 80, 41, 237, 233, 72, 87, 119, 156, 105, 21, 180, 79, 148, 6, 139, 146, 30, 1, 0, 0, 0, 0, 0, 0, 0, 0, 228, 11, 84, 2, 0, 0, 0] } +events: Event { package_id: iota_system, transaction_module: Identifier("iota_system"), sender: C, type_: StructTag { address: iota_system, module: Identifier("validator"), name: Identifier("StakingRequestEvent"), type_params: [] }, contents: [51, 134, 205, 5, 82, 22, 56, 71, 216, 221, 16, 110, 87, 246, 247, 94, 33, 78, 90, 194, 6, 201, 10, 51, 249, 117, 97, 162, 61, 0, 139, 91, 175, 163, 158, 79, 0, 218, 226, 120, 249, 119, 199, 198, 147, 10, 94, 44, 118, 232, 93, 23, 165, 38, 215, 36, 187, 206, 15, 184, 31, 176, 125, 76, 140, 202, 78, 28, 224, 186, 89, 4, 206, 166, 29, 249, 36, 45, 162, 247, 210, 158, 62, 243, 40, 251, 126, 192, 124, 8, 107, 59, 244, 124, 166, 26, 1, 0, 0, 0, 0, 0, 0, 0, 0, 228, 11, 84, 2, 0, 0, 0] } created: object(7,0) mutated: 0x0000000000000000000000000000000000000000000000000000000000000005, object(0,0), object(3,0) deleted: object(6,0) -gas summary: computation_cost: 1000000, storage_cost: 15078400, storage_rebate: 14626656, non_refundable_storage_fee: 147744 +gas summary: computation_cost: 1000000, storage_cost: 14789600, storage_rebate: 14485600, non_refundable_storage_fee: 0 -task 8, line 36: +task 8, line 37: //# create-checkpoint Checkpoint created: 3 -task 9, line 38: +task 9, line 39: //# advance-epoch Epoch advanced: 1 -task 10, line 40: +task 10, line 41: //# view-object 3,1 Owner: Account Address ( C ) Version: 3 @@ -82,7 +82,7 @@ Contents: iota_system::staking_pool::StakedIota { }, } -task 11, line 42: +task 11, line 43: //# view-object 7,0 Owner: Account Address ( C ) Version: 5 @@ -101,7 +101,7 @@ Contents: iota_system::staking_pool::StakedIota { }, } -task 12, lines 44-56: +task 12, lines 45-57: //# run-graphql Response: { "data": { @@ -109,13 +109,13 @@ Response: { "stakedIotas": { "edges": [ { - "cursor": "IAidrcQW7UwLfNo5bGuGok1F1WjdHLpWsHjM9DfHu3cTBAAAAAAAAAA=", + "cursor": "IDzBlAKNHdoYLmDCEaRG1iHhlSv713F1XQvml1ThXehiBAAAAAAAAAA=", "node": { "principal": "10000000000" } }, { - "cursor": "IIfCdVF/ksapbQZhjXV6RV32ZC1RPOn4asTmI03lIcvOBAAAAAAAAAA=", + "cursor": "IPSaw56yCE5pNRFiJKgY0Hjo4koBkVvBMI13rTpr2ir1BAAAAAAAAAA=", "node": { "principal": "10000000000" } @@ -126,7 +126,7 @@ Response: { } } -task 13, lines 58-102: +task 13, lines 59-103: //# run-graphql --cursors @{obj_3_1,1} @{obj_7_0,1} Response: { "data": { @@ -153,7 +153,7 @@ Response: { } } -task 14, lines 104-147: +task 14, lines 105-148: //# run-graphql --cursors @{obj_3_1,3} @{obj_7_0,3} Response: { "data": { @@ -166,7 +166,7 @@ Response: { "stakedIotas": { "edges": [ { - "cursor": "IAidrcQW7UwLfNo5bGuGok1F1WjdHLpWsHjM9DfHu3cTAwAAAAAAAAA=", + "cursor": "IDzBlAKNHdoYLmDCEaRG1iHhlSv713F1XQvml1ThXehiAwAAAAAAAAA=", "node": { "principal": "10000000000" } @@ -178,7 +178,7 @@ Response: { "stakedIotas": { "edges": [ { - "cursor": "IIfCdVF/ksapbQZhjXV6RV32ZC1RPOn4asTmI03lIcvOAwAAAAAAAAA=", + "cursor": "IPSaw56yCE5pNRFiJKgY0Hjo4koBkVvBMI13rTpr2ir1AwAAAAAAAAA=", "node": { "principal": "10000000000" } diff --git a/crates/iota-graphql-e2e-tests/tests/consistency/tx_address_objects.exp b/crates/iota-graphql-e2e-tests/tests/consistency/tx_address_objects.exp index f9a29fed55f..27109266f2e 100644 --- a/crates/iota-graphql-e2e-tests/tests/consistency/tx_address_objects.exp +++ b/crates/iota-graphql-e2e-tests/tests/consistency/tx_address_objects.exp @@ -3,37 +3,37 @@ processed 17 tasks init: A: object(0,0), B: object(0,1) -task 1, lines 17-34: +task 1, lines 18-35: //# publish created: object(1,0) mutated: object(0,2) gas summary: computation_cost: 1000000, storage_cost: 5479600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2, lines 36-37: +task 2, lines 37-38: //# programmable --sender A --inputs 0 1 @A //> 0: Test::M1::create(Input(0), Input(2)); created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3, line 39: +task 3, line 40: //# create-checkpoint Checkpoint created: 1 -task 4, lines 41-44: +task 4, lines 42-45: //# programmable --sender A --inputs object(2,0) 100 2 3 @A //> Test::M1::set_value(Input(0), Input(1)); //> Test::M1::create(Input(2), Input(4)); //> Test::M1::create(Input(3), Input(4)); created: object(4,0), object(4,1) mutated: object(0,0), object(2,0) -gas summary: computation_cost: 1000000, storage_cost: 4932400, storage_rebate: 2279772, non_refundable_storage_fee: 23028 +gas summary: computation_cost: 1000000, storage_cost: 4932400, storage_rebate: 2302800, non_refundable_storage_fee: 0 -task 5, line 46: +task 5, line 47: //# create-checkpoint Checkpoint created: 2 -task 6, lines 48-52: +task 6, lines 49-53: //# programmable --sender A --inputs object(2,0) 200 4 5 6 @A //> Test::M1::set_value(Input(0), Input(1)); //> Test::M1::create(Input(2), Input(5)); @@ -41,17 +41,17 @@ task 6, lines 48-52: //> Test::M1::create(Input(4), Input(5)); created: object(6,0), object(6,1), object(6,2) mutated: object(0,0), object(2,0) -gas summary: computation_cost: 1000000, storage_cost: 6247200, storage_rebate: 2279772, non_refundable_storage_fee: 23028 +gas summary: computation_cost: 1000000, storage_cost: 6247200, storage_rebate: 2302800, non_refundable_storage_fee: 0 -task 7, line 54: +task 7, line 55: //# create-checkpoint Checkpoint created: 3 -task 9, line 58: +task 9, line 59: //# create-checkpoint Checkpoint created: 4 -task 10, lines 60-134: +task 10, lines 61-135: //# run-graphql Response: { "data": { @@ -61,66 +61,66 @@ Response: { { "contents": { "json": { - "id": "0x061f33f54b5739b9e1f07c6f6e7920190c479ca4ac891072bbf064f7ea0acc2d", - "value": "2" + "id": "0x18af24877e0e94def108a91eb5d43d1c85ab2f129adc6c29d48b1ba1af612cbd", + "value": "6" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x0ce458859f0a77b9d37bd9314e8d84a16031681b2f4bffbdfd593f07bbe4ef3a", - "value": "5" + "id": "0x8b713623c4253a0a31d930187ebf94e1214015a1af24d20a7778cbc939fa133e", + "value": "200" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x48c00039edcf263d27eb7f2acd79fe0725b23d28496cd71f62501034eec3204e", + "id": "0xa0e65a918d9f886135294ccc13deeb90ab2a3fca09dcde928448c6c173ceb995", "value": "3" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x7588dfba122235fc33c51c5d220af6031f8f735456ab1e76741856c7f3f416d6", - "value": "6" + "id": "0xa7da47c1528a286b0d2814e4836a974e366defdf120b95f7f7509a1309ac7392", + "value": "2" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x96a0f7ec0384968bad48e98227bcf85607ca88ecf0b579676af72e40a1e7d83a", - "value": "200" + "id": "0xb1a53c52370cf06bb95d75b816b5edc4e883f060518a91e9bebb7a65f6442536", + "value": "5" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0xfc4ac7a73983267a4e4c29b1b75767ecc1047ceba8b5ac68a201016558df2960", + "id": "0xd541ee18fc789bdbae612e374d12d8d6ad7548d21a32f11139d4e46b1f741ad8", "value": "4" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } } @@ -136,66 +136,66 @@ Response: { { "contents": { "json": { - "id": "0x061f33f54b5739b9e1f07c6f6e7920190c479ca4ac891072bbf064f7ea0acc2d", - "value": "2" + "id": "0x18af24877e0e94def108a91eb5d43d1c85ab2f129adc6c29d48b1ba1af612cbd", + "value": "6" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x0ce458859f0a77b9d37bd9314e8d84a16031681b2f4bffbdfd593f07bbe4ef3a", - "value": "5" + "id": "0x8b713623c4253a0a31d930187ebf94e1214015a1af24d20a7778cbc939fa133e", + "value": "200" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x48c00039edcf263d27eb7f2acd79fe0725b23d28496cd71f62501034eec3204e", + "id": "0xa0e65a918d9f886135294ccc13deeb90ab2a3fca09dcde928448c6c173ceb995", "value": "3" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x7588dfba122235fc33c51c5d220af6031f8f735456ab1e76741856c7f3f416d6", - "value": "6" + "id": "0xa7da47c1528a286b0d2814e4836a974e366defdf120b95f7f7509a1309ac7392", + "value": "2" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x96a0f7ec0384968bad48e98227bcf85607ca88ecf0b579676af72e40a1e7d83a", - "value": "200" + "id": "0xb1a53c52370cf06bb95d75b816b5edc4e883f060518a91e9bebb7a65f6442536", + "value": "5" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0xfc4ac7a73983267a4e4c29b1b75767ecc1047ceba8b5ac68a201016558df2960", + "id": "0xd541ee18fc789bdbae612e374d12d8d6ad7548d21a32f11139d4e46b1f741ad8", "value": "4" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } } @@ -209,66 +209,66 @@ Response: { { "contents": { "json": { - "id": "0x061f33f54b5739b9e1f07c6f6e7920190c479ca4ac891072bbf064f7ea0acc2d", - "value": "2" + "id": "0x18af24877e0e94def108a91eb5d43d1c85ab2f129adc6c29d48b1ba1af612cbd", + "value": "6" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x0ce458859f0a77b9d37bd9314e8d84a16031681b2f4bffbdfd593f07bbe4ef3a", - "value": "5" + "id": "0x8b713623c4253a0a31d930187ebf94e1214015a1af24d20a7778cbc939fa133e", + "value": "200" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x48c00039edcf263d27eb7f2acd79fe0725b23d28496cd71f62501034eec3204e", + "id": "0xa0e65a918d9f886135294ccc13deeb90ab2a3fca09dcde928448c6c173ceb995", "value": "3" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x7588dfba122235fc33c51c5d220af6031f8f735456ab1e76741856c7f3f416d6", - "value": "6" + "id": "0xa7da47c1528a286b0d2814e4836a974e366defdf120b95f7f7509a1309ac7392", + "value": "2" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x96a0f7ec0384968bad48e98227bcf85607ca88ecf0b579676af72e40a1e7d83a", - "value": "200" + "id": "0xb1a53c52370cf06bb95d75b816b5edc4e883f060518a91e9bebb7a65f6442536", + "value": "5" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0xfc4ac7a73983267a4e4c29b1b75767ecc1047ceba8b5ac68a201016558df2960", + "id": "0xd541ee18fc789bdbae612e374d12d8d6ad7548d21a32f11139d4e46b1f741ad8", "value": "4" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } } @@ -284,9 +284,9 @@ Response: { "repr": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin<0x0000000000000000000000000000000000000000000000000000000000000002::iota::IOTA>" }, "json": { - "id": "0x473bfc6949d0ecd8bcba17ad86fc8b96b86c7fc6255fab7f739d08dd326cae81", + "id": "0x609b6c99b98a8503a8df95b89e4e2e41dea90a4ffe19c0e732c9d82024541b21", "balance": { - "value": "299999993044572" + "value": "299999993067600" } } } @@ -306,66 +306,66 @@ Response: { { "contents": { "json": { - "id": "0x061f33f54b5739b9e1f07c6f6e7920190c479ca4ac891072bbf064f7ea0acc2d", - "value": "2" + "id": "0x18af24877e0e94def108a91eb5d43d1c85ab2f129adc6c29d48b1ba1af612cbd", + "value": "6" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x0ce458859f0a77b9d37bd9314e8d84a16031681b2f4bffbdfd593f07bbe4ef3a", - "value": "5" + "id": "0x8b713623c4253a0a31d930187ebf94e1214015a1af24d20a7778cbc939fa133e", + "value": "200" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x48c00039edcf263d27eb7f2acd79fe0725b23d28496cd71f62501034eec3204e", + "id": "0xa0e65a918d9f886135294ccc13deeb90ab2a3fca09dcde928448c6c173ceb995", "value": "3" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x7588dfba122235fc33c51c5d220af6031f8f735456ab1e76741856c7f3f416d6", - "value": "6" + "id": "0xa7da47c1528a286b0d2814e4836a974e366defdf120b95f7f7509a1309ac7392", + "value": "2" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x96a0f7ec0384968bad48e98227bcf85607ca88ecf0b579676af72e40a1e7d83a", - "value": "200" + "id": "0xb1a53c52370cf06bb95d75b816b5edc4e883f060518a91e9bebb7a65f6442536", + "value": "5" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0xfc4ac7a73983267a4e4c29b1b75767ecc1047ceba8b5ac68a201016558df2960", + "id": "0xd541ee18fc789bdbae612e374d12d8d6ad7548d21a32f11139d4e46b1f741ad8", "value": "4" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } } @@ -377,7 +377,7 @@ Response: { } } -task 11, lines 136-180: +task 11, lines 137-181: //# run-graphql Response: { "data": { @@ -390,66 +390,66 @@ Response: { { "contents": { "json": { - "id": "0x061f33f54b5739b9e1f07c6f6e7920190c479ca4ac891072bbf064f7ea0acc2d", - "value": "2" + "id": "0x18af24877e0e94def108a91eb5d43d1c85ab2f129adc6c29d48b1ba1af612cbd", + "value": "6" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x0ce458859f0a77b9d37bd9314e8d84a16031681b2f4bffbdfd593f07bbe4ef3a", - "value": "5" + "id": "0x8b713623c4253a0a31d930187ebf94e1214015a1af24d20a7778cbc939fa133e", + "value": "200" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x48c00039edcf263d27eb7f2acd79fe0725b23d28496cd71f62501034eec3204e", + "id": "0xa0e65a918d9f886135294ccc13deeb90ab2a3fca09dcde928448c6c173ceb995", "value": "3" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x7588dfba122235fc33c51c5d220af6031f8f735456ab1e76741856c7f3f416d6", - "value": "6" + "id": "0xa7da47c1528a286b0d2814e4836a974e366defdf120b95f7f7509a1309ac7392", + "value": "2" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x96a0f7ec0384968bad48e98227bcf85607ca88ecf0b579676af72e40a1e7d83a", - "value": "200" + "id": "0xb1a53c52370cf06bb95d75b816b5edc4e883f060518a91e9bebb7a65f6442536", + "value": "5" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0xfc4ac7a73983267a4e4c29b1b75767ecc1047ceba8b5ac68a201016558df2960", + "id": "0xd541ee18fc789bdbae612e374d12d8d6ad7548d21a32f11139d4e46b1f741ad8", "value": "4" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } } @@ -463,66 +463,66 @@ Response: { { "contents": { "json": { - "id": "0x061f33f54b5739b9e1f07c6f6e7920190c479ca4ac891072bbf064f7ea0acc2d", - "value": "2" + "id": "0x18af24877e0e94def108a91eb5d43d1c85ab2f129adc6c29d48b1ba1af612cbd", + "value": "6" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x0ce458859f0a77b9d37bd9314e8d84a16031681b2f4bffbdfd593f07bbe4ef3a", - "value": "5" + "id": "0x8b713623c4253a0a31d930187ebf94e1214015a1af24d20a7778cbc939fa133e", + "value": "200" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x48c00039edcf263d27eb7f2acd79fe0725b23d28496cd71f62501034eec3204e", + "id": "0xa0e65a918d9f886135294ccc13deeb90ab2a3fca09dcde928448c6c173ceb995", "value": "3" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x7588dfba122235fc33c51c5d220af6031f8f735456ab1e76741856c7f3f416d6", - "value": "6" + "id": "0xa7da47c1528a286b0d2814e4836a974e366defdf120b95f7f7509a1309ac7392", + "value": "2" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x96a0f7ec0384968bad48e98227bcf85607ca88ecf0b579676af72e40a1e7d83a", - "value": "200" + "id": "0xb1a53c52370cf06bb95d75b816b5edc4e883f060518a91e9bebb7a65f6442536", + "value": "5" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0xfc4ac7a73983267a4e4c29b1b75767ecc1047ceba8b5ac68a201016558df2960", + "id": "0xd541ee18fc789bdbae612e374d12d8d6ad7548d21a32f11139d4e46b1f741ad8", "value": "4" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } } @@ -538,7 +538,7 @@ Response: { "repr": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin<0x0000000000000000000000000000000000000000000000000000000000000002::iota::IOTA>" }, "json": { - "id": "0x473bfc6949d0ecd8bcba17ad86fc8b96b86c7fc6255fab7f739d08dd326cae81", + "id": "0x609b6c99b98a8503a8df95b89e4e2e41dea90a4ffe19c0e732c9d82024541b21", "balance": { "value": "300000000000000" } @@ -557,66 +557,66 @@ Response: { { "contents": { "json": { - "id": "0x061f33f54b5739b9e1f07c6f6e7920190c479ca4ac891072bbf064f7ea0acc2d", - "value": "2" + "id": "0x18af24877e0e94def108a91eb5d43d1c85ab2f129adc6c29d48b1ba1af612cbd", + "value": "6" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x0ce458859f0a77b9d37bd9314e8d84a16031681b2f4bffbdfd593f07bbe4ef3a", - "value": "5" + "id": "0x8b713623c4253a0a31d930187ebf94e1214015a1af24d20a7778cbc939fa133e", + "value": "200" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x48c00039edcf263d27eb7f2acd79fe0725b23d28496cd71f62501034eec3204e", + "id": "0xa0e65a918d9f886135294ccc13deeb90ab2a3fca09dcde928448c6c173ceb995", "value": "3" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x7588dfba122235fc33c51c5d220af6031f8f735456ab1e76741856c7f3f416d6", - "value": "6" + "id": "0xa7da47c1528a286b0d2814e4836a974e366defdf120b95f7f7509a1309ac7392", + "value": "2" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x96a0f7ec0384968bad48e98227bcf85607ca88ecf0b579676af72e40a1e7d83a", - "value": "200" + "id": "0xb1a53c52370cf06bb95d75b816b5edc4e883f060518a91e9bebb7a65f6442536", + "value": "5" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0xfc4ac7a73983267a4e4c29b1b75767ecc1047ceba8b5ac68a201016558df2960", + "id": "0xd541ee18fc789bdbae612e374d12d8d6ad7548d21a32f11139d4e46b1f741ad8", "value": "4" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } } @@ -630,66 +630,66 @@ Response: { { "contents": { "json": { - "id": "0x061f33f54b5739b9e1f07c6f6e7920190c479ca4ac891072bbf064f7ea0acc2d", - "value": "2" + "id": "0x18af24877e0e94def108a91eb5d43d1c85ab2f129adc6c29d48b1ba1af612cbd", + "value": "6" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x0ce458859f0a77b9d37bd9314e8d84a16031681b2f4bffbdfd593f07bbe4ef3a", - "value": "5" + "id": "0x8b713623c4253a0a31d930187ebf94e1214015a1af24d20a7778cbc939fa133e", + "value": "200" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x48c00039edcf263d27eb7f2acd79fe0725b23d28496cd71f62501034eec3204e", + "id": "0xa0e65a918d9f886135294ccc13deeb90ab2a3fca09dcde928448c6c173ceb995", "value": "3" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x7588dfba122235fc33c51c5d220af6031f8f735456ab1e76741856c7f3f416d6", - "value": "6" + "id": "0xa7da47c1528a286b0d2814e4836a974e366defdf120b95f7f7509a1309ac7392", + "value": "2" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x96a0f7ec0384968bad48e98227bcf85607ca88ecf0b579676af72e40a1e7d83a", - "value": "200" + "id": "0xb1a53c52370cf06bb95d75b816b5edc4e883f060518a91e9bebb7a65f6442536", + "value": "5" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0xfc4ac7a73983267a4e4c29b1b75767ecc1047ceba8b5ac68a201016558df2960", + "id": "0xd541ee18fc789bdbae612e374d12d8d6ad7548d21a32f11139d4e46b1f741ad8", "value": "4" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } } @@ -705,7 +705,7 @@ Response: { "repr": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin<0x0000000000000000000000000000000000000000000000000000000000000002::iota::IOTA>" }, "json": { - "id": "0x473bfc6949d0ecd8bcba17ad86fc8b96b86c7fc6255fab7f739d08dd326cae81", + "id": "0x609b6c99b98a8503a8df95b89e4e2e41dea90a4ffe19c0e732c9d82024541b21", "balance": { "value": "299999996697200" } @@ -724,66 +724,66 @@ Response: { { "contents": { "json": { - "id": "0x061f33f54b5739b9e1f07c6f6e7920190c479ca4ac891072bbf064f7ea0acc2d", - "value": "2" + "id": "0x18af24877e0e94def108a91eb5d43d1c85ab2f129adc6c29d48b1ba1af612cbd", + "value": "6" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x0ce458859f0a77b9d37bd9314e8d84a16031681b2f4bffbdfd593f07bbe4ef3a", - "value": "5" + "id": "0x8b713623c4253a0a31d930187ebf94e1214015a1af24d20a7778cbc939fa133e", + "value": "200" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x48c00039edcf263d27eb7f2acd79fe0725b23d28496cd71f62501034eec3204e", + "id": "0xa0e65a918d9f886135294ccc13deeb90ab2a3fca09dcde928448c6c173ceb995", "value": "3" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x7588dfba122235fc33c51c5d220af6031f8f735456ab1e76741856c7f3f416d6", - "value": "6" + "id": "0xa7da47c1528a286b0d2814e4836a974e366defdf120b95f7f7509a1309ac7392", + "value": "2" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x96a0f7ec0384968bad48e98227bcf85607ca88ecf0b579676af72e40a1e7d83a", - "value": "200" + "id": "0xb1a53c52370cf06bb95d75b816b5edc4e883f060518a91e9bebb7a65f6442536", + "value": "5" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0xfc4ac7a73983267a4e4c29b1b75767ecc1047ceba8b5ac68a201016558df2960", + "id": "0xd541ee18fc789bdbae612e374d12d8d6ad7548d21a32f11139d4e46b1f741ad8", "value": "4" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } } @@ -797,66 +797,66 @@ Response: { { "contents": { "json": { - "id": "0x061f33f54b5739b9e1f07c6f6e7920190c479ca4ac891072bbf064f7ea0acc2d", - "value": "2" + "id": "0x18af24877e0e94def108a91eb5d43d1c85ab2f129adc6c29d48b1ba1af612cbd", + "value": "6" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x0ce458859f0a77b9d37bd9314e8d84a16031681b2f4bffbdfd593f07bbe4ef3a", - "value": "5" + "id": "0x8b713623c4253a0a31d930187ebf94e1214015a1af24d20a7778cbc939fa133e", + "value": "200" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x48c00039edcf263d27eb7f2acd79fe0725b23d28496cd71f62501034eec3204e", + "id": "0xa0e65a918d9f886135294ccc13deeb90ab2a3fca09dcde928448c6c173ceb995", "value": "3" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x7588dfba122235fc33c51c5d220af6031f8f735456ab1e76741856c7f3f416d6", - "value": "6" + "id": "0xa7da47c1528a286b0d2814e4836a974e366defdf120b95f7f7509a1309ac7392", + "value": "2" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x96a0f7ec0384968bad48e98227bcf85607ca88ecf0b579676af72e40a1e7d83a", - "value": "200" + "id": "0xb1a53c52370cf06bb95d75b816b5edc4e883f060518a91e9bebb7a65f6442536", + "value": "5" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0xfc4ac7a73983267a4e4c29b1b75767ecc1047ceba8b5ac68a201016558df2960", + "id": "0xd541ee18fc789bdbae612e374d12d8d6ad7548d21a32f11139d4e46b1f741ad8", "value": "4" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } } @@ -872,9 +872,9 @@ Response: { "repr": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin<0x0000000000000000000000000000000000000000000000000000000000000002::iota::IOTA>" }, "json": { - "id": "0x473bfc6949d0ecd8bcba17ad86fc8b96b86c7fc6255fab7f739d08dd326cae81", + "id": "0x609b6c99b98a8503a8df95b89e4e2e41dea90a4ffe19c0e732c9d82024541b21", "balance": { - "value": "299999993044572" + "value": "299999993067600" } } } @@ -889,15 +889,15 @@ Response: { } } -task 12, line 182: +task 12, line 183: //# force-object-snapshot-catchup --start-cp 0 --end-cp 3 Objects snapshot updated to [0 to 3) -task 13, line 184: +task 13, line 185: //# create-checkpoint Checkpoint created: 5 -task 14, lines 186-260: +task 14, lines 187-261: //# run-graphql Response: { "data": { @@ -907,66 +907,66 @@ Response: { { "contents": { "json": { - "id": "0x061f33f54b5739b9e1f07c6f6e7920190c479ca4ac891072bbf064f7ea0acc2d", - "value": "2" + "id": "0x18af24877e0e94def108a91eb5d43d1c85ab2f129adc6c29d48b1ba1af612cbd", + "value": "6" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x0ce458859f0a77b9d37bd9314e8d84a16031681b2f4bffbdfd593f07bbe4ef3a", - "value": "5" + "id": "0x8b713623c4253a0a31d930187ebf94e1214015a1af24d20a7778cbc939fa133e", + "value": "200" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x48c00039edcf263d27eb7f2acd79fe0725b23d28496cd71f62501034eec3204e", + "id": "0xa0e65a918d9f886135294ccc13deeb90ab2a3fca09dcde928448c6c173ceb995", "value": "3" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x7588dfba122235fc33c51c5d220af6031f8f735456ab1e76741856c7f3f416d6", - "value": "6" + "id": "0xa7da47c1528a286b0d2814e4836a974e366defdf120b95f7f7509a1309ac7392", + "value": "2" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x96a0f7ec0384968bad48e98227bcf85607ca88ecf0b579676af72e40a1e7d83a", - "value": "200" + "id": "0xb1a53c52370cf06bb95d75b816b5edc4e883f060518a91e9bebb7a65f6442536", + "value": "5" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0xfc4ac7a73983267a4e4c29b1b75767ecc1047ceba8b5ac68a201016558df2960", + "id": "0xd541ee18fc789bdbae612e374d12d8d6ad7548d21a32f11139d4e46b1f741ad8", "value": "4" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } } @@ -982,66 +982,66 @@ Response: { { "contents": { "json": { - "id": "0x061f33f54b5739b9e1f07c6f6e7920190c479ca4ac891072bbf064f7ea0acc2d", - "value": "2" + "id": "0x18af24877e0e94def108a91eb5d43d1c85ab2f129adc6c29d48b1ba1af612cbd", + "value": "6" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x0ce458859f0a77b9d37bd9314e8d84a16031681b2f4bffbdfd593f07bbe4ef3a", - "value": "5" + "id": "0x8b713623c4253a0a31d930187ebf94e1214015a1af24d20a7778cbc939fa133e", + "value": "200" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x48c00039edcf263d27eb7f2acd79fe0725b23d28496cd71f62501034eec3204e", + "id": "0xa0e65a918d9f886135294ccc13deeb90ab2a3fca09dcde928448c6c173ceb995", "value": "3" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x7588dfba122235fc33c51c5d220af6031f8f735456ab1e76741856c7f3f416d6", - "value": "6" + "id": "0xa7da47c1528a286b0d2814e4836a974e366defdf120b95f7f7509a1309ac7392", + "value": "2" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x96a0f7ec0384968bad48e98227bcf85607ca88ecf0b579676af72e40a1e7d83a", - "value": "200" + "id": "0xb1a53c52370cf06bb95d75b816b5edc4e883f060518a91e9bebb7a65f6442536", + "value": "5" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0xfc4ac7a73983267a4e4c29b1b75767ecc1047ceba8b5ac68a201016558df2960", + "id": "0xd541ee18fc789bdbae612e374d12d8d6ad7548d21a32f11139d4e46b1f741ad8", "value": "4" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } } @@ -1055,66 +1055,66 @@ Response: { { "contents": { "json": { - "id": "0x061f33f54b5739b9e1f07c6f6e7920190c479ca4ac891072bbf064f7ea0acc2d", - "value": "2" + "id": "0x18af24877e0e94def108a91eb5d43d1c85ab2f129adc6c29d48b1ba1af612cbd", + "value": "6" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x0ce458859f0a77b9d37bd9314e8d84a16031681b2f4bffbdfd593f07bbe4ef3a", - "value": "5" + "id": "0x8b713623c4253a0a31d930187ebf94e1214015a1af24d20a7778cbc939fa133e", + "value": "200" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x48c00039edcf263d27eb7f2acd79fe0725b23d28496cd71f62501034eec3204e", + "id": "0xa0e65a918d9f886135294ccc13deeb90ab2a3fca09dcde928448c6c173ceb995", "value": "3" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x7588dfba122235fc33c51c5d220af6031f8f735456ab1e76741856c7f3f416d6", - "value": "6" + "id": "0xa7da47c1528a286b0d2814e4836a974e366defdf120b95f7f7509a1309ac7392", + "value": "2" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x96a0f7ec0384968bad48e98227bcf85607ca88ecf0b579676af72e40a1e7d83a", - "value": "200" + "id": "0xb1a53c52370cf06bb95d75b816b5edc4e883f060518a91e9bebb7a65f6442536", + "value": "5" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0xfc4ac7a73983267a4e4c29b1b75767ecc1047ceba8b5ac68a201016558df2960", + "id": "0xd541ee18fc789bdbae612e374d12d8d6ad7548d21a32f11139d4e46b1f741ad8", "value": "4" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } } @@ -1130,9 +1130,9 @@ Response: { "repr": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin<0x0000000000000000000000000000000000000000000000000000000000000002::iota::IOTA>" }, "json": { - "id": "0x473bfc6949d0ecd8bcba17ad86fc8b96b86c7fc6255fab7f739d08dd326cae81", + "id": "0x609b6c99b98a8503a8df95b89e4e2e41dea90a4ffe19c0e732c9d82024541b21", "balance": { - "value": "299999993044572" + "value": "299999993067600" } } } @@ -1152,66 +1152,66 @@ Response: { { "contents": { "json": { - "id": "0x061f33f54b5739b9e1f07c6f6e7920190c479ca4ac891072bbf064f7ea0acc2d", - "value": "2" + "id": "0x18af24877e0e94def108a91eb5d43d1c85ab2f129adc6c29d48b1ba1af612cbd", + "value": "6" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x0ce458859f0a77b9d37bd9314e8d84a16031681b2f4bffbdfd593f07bbe4ef3a", - "value": "5" + "id": "0x8b713623c4253a0a31d930187ebf94e1214015a1af24d20a7778cbc939fa133e", + "value": "200" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x48c00039edcf263d27eb7f2acd79fe0725b23d28496cd71f62501034eec3204e", + "id": "0xa0e65a918d9f886135294ccc13deeb90ab2a3fca09dcde928448c6c173ceb995", "value": "3" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x7588dfba122235fc33c51c5d220af6031f8f735456ab1e76741856c7f3f416d6", - "value": "6" + "id": "0xa7da47c1528a286b0d2814e4836a974e366defdf120b95f7f7509a1309ac7392", + "value": "2" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x96a0f7ec0384968bad48e98227bcf85607ca88ecf0b579676af72e40a1e7d83a", - "value": "200" + "id": "0xb1a53c52370cf06bb95d75b816b5edc4e883f060518a91e9bebb7a65f6442536", + "value": "5" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0xfc4ac7a73983267a4e4c29b1b75767ecc1047ceba8b5ac68a201016558df2960", + "id": "0xd541ee18fc789bdbae612e374d12d8d6ad7548d21a32f11139d4e46b1f741ad8", "value": "4" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } } @@ -1223,11 +1223,11 @@ Response: { } } -task 15, line 262: +task 15, line 263: //# create-checkpoint Checkpoint created: 6 -task 16, lines 264-299: +task 16, lines 265-300: //# run-graphql Response: { "data": { @@ -1240,66 +1240,66 @@ Response: { { "contents": { "json": { - "id": "0x061f33f54b5739b9e1f07c6f6e7920190c479ca4ac891072bbf064f7ea0acc2d", - "value": "2" + "id": "0x18af24877e0e94def108a91eb5d43d1c85ab2f129adc6c29d48b1ba1af612cbd", + "value": "6" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x0ce458859f0a77b9d37bd9314e8d84a16031681b2f4bffbdfd593f07bbe4ef3a", - "value": "5" + "id": "0x8b713623c4253a0a31d930187ebf94e1214015a1af24d20a7778cbc939fa133e", + "value": "200" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x48c00039edcf263d27eb7f2acd79fe0725b23d28496cd71f62501034eec3204e", + "id": "0xa0e65a918d9f886135294ccc13deeb90ab2a3fca09dcde928448c6c173ceb995", "value": "3" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x7588dfba122235fc33c51c5d220af6031f8f735456ab1e76741856c7f3f416d6", - "value": "6" + "id": "0xa7da47c1528a286b0d2814e4836a974e366defdf120b95f7f7509a1309ac7392", + "value": "2" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x96a0f7ec0384968bad48e98227bcf85607ca88ecf0b579676af72e40a1e7d83a", - "value": "200" + "id": "0xb1a53c52370cf06bb95d75b816b5edc4e883f060518a91e9bebb7a65f6442536", + "value": "5" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0xfc4ac7a73983267a4e4c29b1b75767ecc1047ceba8b5ac68a201016558df2960", + "id": "0xd541ee18fc789bdbae612e374d12d8d6ad7548d21a32f11139d4e46b1f741ad8", "value": "4" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } } @@ -1313,66 +1313,66 @@ Response: { { "contents": { "json": { - "id": "0x061f33f54b5739b9e1f07c6f6e7920190c479ca4ac891072bbf064f7ea0acc2d", - "value": "2" + "id": "0x18af24877e0e94def108a91eb5d43d1c85ab2f129adc6c29d48b1ba1af612cbd", + "value": "6" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x0ce458859f0a77b9d37bd9314e8d84a16031681b2f4bffbdfd593f07bbe4ef3a", - "value": "5" + "id": "0x8b713623c4253a0a31d930187ebf94e1214015a1af24d20a7778cbc939fa133e", + "value": "200" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x48c00039edcf263d27eb7f2acd79fe0725b23d28496cd71f62501034eec3204e", + "id": "0xa0e65a918d9f886135294ccc13deeb90ab2a3fca09dcde928448c6c173ceb995", "value": "3" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x7588dfba122235fc33c51c5d220af6031f8f735456ab1e76741856c7f3f416d6", - "value": "6" + "id": "0xa7da47c1528a286b0d2814e4836a974e366defdf120b95f7f7509a1309ac7392", + "value": "2" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x96a0f7ec0384968bad48e98227bcf85607ca88ecf0b579676af72e40a1e7d83a", - "value": "200" + "id": "0xb1a53c52370cf06bb95d75b816b5edc4e883f060518a91e9bebb7a65f6442536", + "value": "5" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0xfc4ac7a73983267a4e4c29b1b75767ecc1047ceba8b5ac68a201016558df2960", + "id": "0xd541ee18fc789bdbae612e374d12d8d6ad7548d21a32f11139d4e46b1f741ad8", "value": "4" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } } @@ -1388,66 +1388,66 @@ Response: { { "contents": { "json": { - "id": "0x061f33f54b5739b9e1f07c6f6e7920190c479ca4ac891072bbf064f7ea0acc2d", - "value": "2" + "id": "0x18af24877e0e94def108a91eb5d43d1c85ab2f129adc6c29d48b1ba1af612cbd", + "value": "6" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x0ce458859f0a77b9d37bd9314e8d84a16031681b2f4bffbdfd593f07bbe4ef3a", - "value": "5" + "id": "0x8b713623c4253a0a31d930187ebf94e1214015a1af24d20a7778cbc939fa133e", + "value": "200" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x48c00039edcf263d27eb7f2acd79fe0725b23d28496cd71f62501034eec3204e", + "id": "0xa0e65a918d9f886135294ccc13deeb90ab2a3fca09dcde928448c6c173ceb995", "value": "3" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x7588dfba122235fc33c51c5d220af6031f8f735456ab1e76741856c7f3f416d6", - "value": "6" + "id": "0xa7da47c1528a286b0d2814e4836a974e366defdf120b95f7f7509a1309ac7392", + "value": "2" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x96a0f7ec0384968bad48e98227bcf85607ca88ecf0b579676af72e40a1e7d83a", - "value": "200" + "id": "0xb1a53c52370cf06bb95d75b816b5edc4e883f060518a91e9bebb7a65f6442536", + "value": "5" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0xfc4ac7a73983267a4e4c29b1b75767ecc1047ceba8b5ac68a201016558df2960", + "id": "0xd541ee18fc789bdbae612e374d12d8d6ad7548d21a32f11139d4e46b1f741ad8", "value": "4" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } } @@ -1461,66 +1461,66 @@ Response: { { "contents": { "json": { - "id": "0x061f33f54b5739b9e1f07c6f6e7920190c479ca4ac891072bbf064f7ea0acc2d", - "value": "2" + "id": "0x18af24877e0e94def108a91eb5d43d1c85ab2f129adc6c29d48b1ba1af612cbd", + "value": "6" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x0ce458859f0a77b9d37bd9314e8d84a16031681b2f4bffbdfd593f07bbe4ef3a", - "value": "5" + "id": "0x8b713623c4253a0a31d930187ebf94e1214015a1af24d20a7778cbc939fa133e", + "value": "200" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x48c00039edcf263d27eb7f2acd79fe0725b23d28496cd71f62501034eec3204e", + "id": "0xa0e65a918d9f886135294ccc13deeb90ab2a3fca09dcde928448c6c173ceb995", "value": "3" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x7588dfba122235fc33c51c5d220af6031f8f735456ab1e76741856c7f3f416d6", - "value": "6" + "id": "0xa7da47c1528a286b0d2814e4836a974e366defdf120b95f7f7509a1309ac7392", + "value": "2" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x96a0f7ec0384968bad48e98227bcf85607ca88ecf0b579676af72e40a1e7d83a", - "value": "200" + "id": "0xb1a53c52370cf06bb95d75b816b5edc4e883f060518a91e9bebb7a65f6442536", + "value": "5" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0xfc4ac7a73983267a4e4c29b1b75767ecc1047ceba8b5ac68a201016558df2960", + "id": "0xd541ee18fc789bdbae612e374d12d8d6ad7548d21a32f11139d4e46b1f741ad8", "value": "4" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } } @@ -1536,66 +1536,66 @@ Response: { { "contents": { "json": { - "id": "0x061f33f54b5739b9e1f07c6f6e7920190c479ca4ac891072bbf064f7ea0acc2d", - "value": "2" + "id": "0x18af24877e0e94def108a91eb5d43d1c85ab2f129adc6c29d48b1ba1af612cbd", + "value": "6" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x0ce458859f0a77b9d37bd9314e8d84a16031681b2f4bffbdfd593f07bbe4ef3a", - "value": "5" + "id": "0x8b713623c4253a0a31d930187ebf94e1214015a1af24d20a7778cbc939fa133e", + "value": "200" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x48c00039edcf263d27eb7f2acd79fe0725b23d28496cd71f62501034eec3204e", + "id": "0xa0e65a918d9f886135294ccc13deeb90ab2a3fca09dcde928448c6c173ceb995", "value": "3" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x7588dfba122235fc33c51c5d220af6031f8f735456ab1e76741856c7f3f416d6", - "value": "6" + "id": "0xa7da47c1528a286b0d2814e4836a974e366defdf120b95f7f7509a1309ac7392", + "value": "2" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x96a0f7ec0384968bad48e98227bcf85607ca88ecf0b579676af72e40a1e7d83a", - "value": "200" + "id": "0xb1a53c52370cf06bb95d75b816b5edc4e883f060518a91e9bebb7a65f6442536", + "value": "5" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0xfc4ac7a73983267a4e4c29b1b75767ecc1047ceba8b5ac68a201016558df2960", + "id": "0xd541ee18fc789bdbae612e374d12d8d6ad7548d21a32f11139d4e46b1f741ad8", "value": "4" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } } @@ -1609,66 +1609,66 @@ Response: { { "contents": { "json": { - "id": "0x061f33f54b5739b9e1f07c6f6e7920190c479ca4ac891072bbf064f7ea0acc2d", - "value": "2" + "id": "0x18af24877e0e94def108a91eb5d43d1c85ab2f129adc6c29d48b1ba1af612cbd", + "value": "6" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x0ce458859f0a77b9d37bd9314e8d84a16031681b2f4bffbdfd593f07bbe4ef3a", - "value": "5" + "id": "0x8b713623c4253a0a31d930187ebf94e1214015a1af24d20a7778cbc939fa133e", + "value": "200" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x48c00039edcf263d27eb7f2acd79fe0725b23d28496cd71f62501034eec3204e", + "id": "0xa0e65a918d9f886135294ccc13deeb90ab2a3fca09dcde928448c6c173ceb995", "value": "3" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x7588dfba122235fc33c51c5d220af6031f8f735456ab1e76741856c7f3f416d6", - "value": "6" + "id": "0xa7da47c1528a286b0d2814e4836a974e366defdf120b95f7f7509a1309ac7392", + "value": "2" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0x96a0f7ec0384968bad48e98227bcf85607ca88ecf0b579676af72e40a1e7d83a", - "value": "200" + "id": "0xb1a53c52370cf06bb95d75b816b5edc4e883f060518a91e9bebb7a65f6442536", + "value": "5" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } }, { "contents": { "json": { - "id": "0xfc4ac7a73983267a4e4c29b1b75767ecc1047ceba8b5ac68a201016558df2960", + "id": "0xd541ee18fc789bdbae612e374d12d8d6ad7548d21a32f11139d4e46b1f741ad8", "value": "4" }, "type": { - "repr": "0x8c554cf17f642954470b874c3846d3e0d81bb9b5401e86ecda92924b766277c1::M1::Object" + "repr": "0x0c036868a9741e923b3822d0b93874f374117f0f8f085a2c35156e796930762e::M1::Object" } } } diff --git a/crates/iota-graphql-e2e-tests/tests/datetime/datetime.exp b/crates/iota-graphql-e2e-tests/tests/datetime/datetime.exp index 4b514880d10..123c8c33270 100644 --- a/crates/iota-graphql-e2e-tests/tests/datetime/datetime.exp +++ b/crates/iota-graphql-e2e-tests/tests/datetime/datetime.exp @@ -1,50 +1,50 @@ processed 23 tasks -task 1, lines 6-8: +task 1, lines 7-9: //# create-checkpoint Checkpoint created: 1 -task 3, lines 11-13: +task 3, lines 12-14: //# create-checkpoint Checkpoint created: 2 -task 5, lines 16-18: +task 5, lines 17-19: //# create-checkpoint Checkpoint created: 3 -task 7, lines 21-23: +task 7, lines 22-24: //# create-checkpoint Checkpoint created: 4 -task 9, lines 26-28: +task 9, lines 27-29: //# create-checkpoint Checkpoint created: 5 -task 11, lines 31-33: +task 11, lines 32-34: //# create-checkpoint Checkpoint created: 6 -task 13, lines 36-38: +task 13, lines 37-39: //# create-checkpoint Checkpoint created: 7 -task 15, line 41: +task 15, line 42: //# advance-epoch Epoch advanced: 0 -task 16, lines 43-45: +task 16, lines 44-46: //# create-checkpoint Checkpoint created: 9 -task 19, line 51: +task 19, line 52: //# create-checkpoint Checkpoint created: 10 -task 20, line 53: +task 20, line 54: //# advance-epoch Epoch advanced: 1 -task 21, lines 55-66: +task 21, lines 56-67: //# run-graphql Response: { "data": { @@ -125,7 +125,7 @@ Response: { } } -task 22, lines 68-86: +task 22, lines 69-87: //# run-graphql Response: { "data": { diff --git a/crates/iota-graphql-e2e-tests/tests/epoch/chain_identifier.exp b/crates/iota-graphql-e2e-tests/tests/epoch/chain_identifier.exp index c53d33a7503..7ffcd61a250 100644 --- a/crates/iota-graphql-e2e-tests/tests/epoch/chain_identifier.exp +++ b/crates/iota-graphql-e2e-tests/tests/epoch/chain_identifier.exp @@ -3,14 +3,14 @@ processed 3 tasks init: C: object(0,0) -task 1, line 7: +task 1, line 8: //# create-checkpoint Checkpoint created: 1 -task 2, lines 9-12: +task 2, lines 10-13: //# run-graphql Response: { "data": { - "chainIdentifier": "8f58ad28" + "chainIdentifier": "d2b57ae4" } } diff --git a/crates/iota-graphql-e2e-tests/tests/epoch/epoch.exp b/crates/iota-graphql-e2e-tests/tests/epoch/epoch.exp index 23d10558de2..60f9cfea51f 100644 --- a/crates/iota-graphql-e2e-tests/tests/epoch/epoch.exp +++ b/crates/iota-graphql-e2e-tests/tests/epoch/epoch.exp @@ -3,15 +3,15 @@ processed 11 tasks init: C: object(0,0) -task 1, line 8: +task 1, line 9: //# create-checkpoint Checkpoint created: 1 -task 2, line 10: +task 2, line 11: //# advance-epoch Epoch advanced: 0 -task 3, lines 12-14: +task 3, lines 13-15: //# programmable --sender C --inputs 10000000000 @C //> SplitCoins(Gas, [Input(0)]); //> TransferObjects([Result(0)], Input(1)) @@ -19,46 +19,46 @@ created: object(3,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 1976000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 4, lines 16-18: +task 4, lines 17-19: //# run 0x3::iota_system::request_add_stake --args object(0x5) object(3,0) @validator_0 --sender C -events: Event { package_id: iota_system, transaction_module: Identifier("iota_system"), sender: C, type_: StructTag { address: iota_system, module: Identifier("validator"), name: Identifier("StakingRequestEvent"), type_params: [] }, contents: [135, 141, 242, 35, 38, 24, 124, 195, 86, 219, 178, 127, 110, 40, 201, 151, 112, 169, 166, 183, 93, 180, 71, 210, 141, 37, 35, 151, 110, 94, 69, 29, 218, 131, 22, 109, 1, 175, 215, 221, 207, 138, 245, 248, 68, 244, 90, 170, 83, 244, 133, 72, 229, 17, 124, 35, 245, 162, 151, 140, 253, 66, 34, 68, 252, 204, 154, 66, 27, 187, 19, 193, 166, 106, 26, 169, 143, 10, 215, 80, 41, 237, 233, 72, 87, 119, 156, 105, 21, 180, 79, 148, 6, 139, 146, 30, 1, 0, 0, 0, 0, 0, 0, 0, 0, 228, 11, 84, 2, 0, 0, 0] } +events: Event { package_id: iota_system, transaction_module: Identifier("iota_system"), sender: C, type_: StructTag { address: iota_system, module: Identifier("validator"), name: Identifier("StakingRequestEvent"), type_params: [] }, contents: [51, 134, 205, 5, 82, 22, 56, 71, 216, 221, 16, 110, 87, 246, 247, 94, 33, 78, 90, 194, 6, 201, 10, 51, 249, 117, 97, 162, 61, 0, 139, 91, 175, 163, 158, 79, 0, 218, 226, 120, 249, 119, 199, 198, 147, 10, 94, 44, 118, 232, 93, 23, 165, 38, 215, 36, 187, 206, 15, 184, 31, 176, 125, 76, 140, 202, 78, 28, 224, 186, 89, 4, 206, 166, 29, 249, 36, 45, 162, 247, 210, 158, 62, 243, 40, 251, 126, 192, 124, 8, 107, 59, 244, 124, 166, 26, 1, 0, 0, 0, 0, 0, 0, 0, 0, 228, 11, 84, 2, 0, 0, 0] } created: object(4,0) mutated: object(_), 0x0000000000000000000000000000000000000000000000000000000000000005, object(0,0) deleted: object(3,0) -gas summary: computation_cost: 1000000, storage_cost: 15078400, storage_rebate: 1956240, non_refundable_storage_fee: 19760 +gas summary: computation_cost: 1000000, storage_cost: 14789600, storage_rebate: 1976000, non_refundable_storage_fee: 0 -task 5, line 19: +task 5, line 20: //# create-checkpoint Checkpoint created: 3 -task 6, lines 21-23: +task 6, lines 22-24: //# advance-epoch Epoch advanced: 1 -task 7, lines 24-28: +task 7, lines 25-29: //# programmable --sender C --inputs 10000000000 @C //> SplitCoins(Gas, [Input(0)]); //> TransferObjects([Result(0)], Input(1)) // TODO: Short term hack to get around indexer epoch issue created: object(7,0) mutated: object(0,0) -gas summary: computation_cost: 1000000, storage_cost: 1976000, storage_rebate: 978120, non_refundable_storage_fee: 9880 +gas summary: computation_cost: 1000000, storage_cost: 1976000, storage_rebate: 988000, non_refundable_storage_fee: 0 -task 8, line 29: +task 8, line 30: //# create-checkpoint Checkpoint created: 5 -task 9, lines 31-32: +task 9, lines 32-33: //# advance-epoch Epoch advanced: 2 -task 10, lines 33-62: +task 10, lines 34-62: //# run-graphql Response: { "data": { "epoch": { "validatorSet": { - "totalStake": "20000010002000000", + "totalStake": "3034010000000000", "activeValidators": { "nodes": [ { @@ -67,27 +67,27 @@ Response: { ] }, "validatorCandidatesSize": 0, - "inactivePoolsId": "0xf937977c0d8d7627bca5e2abe751a5aba6a69b9fe3dd9afbcf913a9654285d3f" + "inactivePoolsId": "0x649194bc0373f44623fcfcff350b88521c86107d314aea7f850a487d34d2ac8a" }, "totalGasFees": "1000000", - "totalStakeRewards": "1000000", - "fundSize": "15098160", + "totalStakeRewards": "767000000000000", + "fundSize": "14789600", "fundInflow": "1976000", - "fundOutflow": "978120", - "netInflow": "997880", + "fundOutflow": "988000", + "netInflow": "988000", "transactionBlocks": { "nodes": [ { "kind": { "__typename": "ProgrammableTransactionBlock" }, - "digest": "Gmyzb2VbPeBeaEaUHz7UkcLy8ptVe3CCynfKdvd27BYs" + "digest": "95yd25kvtZXTSu6kBPi9SfmSe8ZcKgq7G6VwGEyd48hf" }, { "kind": { "__typename": "EndOfEpochTransaction" }, - "digest": "3e1j1uEGkxTFNdsq5srGGGNADrDuebKFj9c2JFeqNG7t" + "digest": "HA6PvtnNKdSJrXojWzBBL9x7W15YwSh3wWpvwNSsYAeQ" } ] } diff --git a/crates/iota-graphql-e2e-tests/tests/epoch/protocol_configs.exp b/crates/iota-graphql-e2e-tests/tests/epoch/protocol_configs.exp index e237e6000cd..af1f20f0029 100644 --- a/crates/iota-graphql-e2e-tests/tests/epoch/protocol_configs.exp +++ b/crates/iota-graphql-e2e-tests/tests/epoch/protocol_configs.exp @@ -3,16 +3,16 @@ processed 4 tasks init: C: object(0,0) -task 1, line 6: +task 1, line 7: //# create-checkpoint Checkpoint created: 1 -task 2, lines 8-19: +task 2, lines 9-20: //# run-graphql Response: { "data": { "protocolConfig": { - "protocolVersion": 51, + "protocolVersion": 1, "config": { "value": "128" }, @@ -23,17 +23,17 @@ Response: { } } -task 3, lines 21-32: +task 3, lines 22-33: //# run-graphql Response: { "data": { "protocolConfig": { - "protocolVersion": 8, + "protocolVersion": 1, "config": { - "value": null + "value": "128" }, "featureFlag": { - "value": false + "value": true } } } diff --git a/crates/iota-graphql-e2e-tests/tests/epoch/protocol_configs.move b/crates/iota-graphql-e2e-tests/tests/epoch/protocol_configs.move index 5eec4c48350..879b985c9f4 100644 --- a/crates/iota-graphql-e2e-tests/tests/epoch/protocol_configs.move +++ b/crates/iota-graphql-e2e-tests/tests/epoch/protocol_configs.move @@ -21,7 +21,7 @@ //# run-graphql { - protocolConfig(protocolVersion: 8) { + protocolConfig(protocolVersion: 1) { protocolVersion config(key: "max_move_identifier_len") { value diff --git a/crates/iota-graphql-e2e-tests/tests/epoch/system_state.exp b/crates/iota-graphql-e2e-tests/tests/epoch/system_state.exp index 5b12cb844dd..f7f6dde3020 100644 --- a/crates/iota-graphql-e2e-tests/tests/epoch/system_state.exp +++ b/crates/iota-graphql-e2e-tests/tests/epoch/system_state.exp @@ -3,15 +3,15 @@ processed 23 tasks init: C: object(0,0), validator_0: object(0,1) -task 1, line 10: +task 1, line 11: //# create-checkpoint Checkpoint created: 1 -task 2, line 12: +task 2, line 13: //# advance-epoch Epoch advanced: 0 -task 3, lines 14-16: +task 3, lines 15-17: //# programmable --sender C --inputs 10000000000 @C //> SplitCoins(Gas, [Input(0)]); //> TransferObjects([Result(0)], Input(1)) @@ -19,79 +19,79 @@ created: object(3,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 1976000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 4, line 18: +task 4, line 19: //# run 0x3::iota_system::request_add_stake --args object(0x5) object(3,0) @validator_0 --sender C -events: Event { package_id: iota_system, transaction_module: Identifier("iota_system"), sender: C, type_: StructTag { address: iota_system, module: Identifier("validator"), name: Identifier("StakingRequestEvent"), type_params: [] }, contents: [248, 78, 186, 99, 231, 9, 139, 242, 111, 186, 194, 226, 178, 139, 36, 108, 107, 38, 243, 45, 234, 239, 71, 218, 67, 179, 228, 139, 121, 123, 170, 161, 218, 131, 22, 109, 1, 175, 215, 221, 207, 138, 245, 248, 68, 244, 90, 170, 83, 244, 133, 72, 229, 17, 124, 35, 245, 162, 151, 140, 253, 66, 34, 68, 252, 204, 154, 66, 27, 187, 19, 193, 166, 106, 26, 169, 143, 10, 215, 80, 41, 237, 233, 72, 87, 119, 156, 105, 21, 180, 79, 148, 6, 139, 146, 30, 1, 0, 0, 0, 0, 0, 0, 0, 0, 228, 11, 84, 2, 0, 0, 0] } +events: Event { package_id: iota_system, transaction_module: Identifier("iota_system"), sender: C, type_: StructTag { address: iota_system, module: Identifier("validator"), name: Identifier("StakingRequestEvent"), type_params: [] }, contents: [58, 51, 158, 82, 252, 190, 80, 208, 59, 38, 91, 170, 140, 74, 249, 157, 100, 18, 59, 242, 254, 110, 226, 100, 220, 205, 65, 137, 48, 142, 12, 12, 175, 163, 158, 79, 0, 218, 226, 120, 249, 119, 199, 198, 147, 10, 94, 44, 118, 232, 93, 23, 165, 38, 215, 36, 187, 206, 15, 184, 31, 176, 125, 76, 140, 202, 78, 28, 224, 186, 89, 4, 206, 166, 29, 249, 36, 45, 162, 247, 210, 158, 62, 243, 40, 251, 126, 192, 124, 8, 107, 59, 244, 124, 166, 26, 1, 0, 0, 0, 0, 0, 0, 0, 0, 228, 11, 84, 2, 0, 0, 0] } created: object(4,0) mutated: object(_), 0x0000000000000000000000000000000000000000000000000000000000000005, object(0,0) deleted: object(3,0) -gas summary: computation_cost: 1000000, storage_cost: 15078400, storage_rebate: 1956240, non_refundable_storage_fee: 19760 +gas summary: computation_cost: 1000000, storage_cost: 14789600, storage_rebate: 1976000, non_refundable_storage_fee: 0 -task 5, line 20: +task 5, line 21: //# create-checkpoint Checkpoint created: 3 -task 6, line 22: +task 6, line 23: //# advance-epoch Epoch advanced: 1 -task 7, line 24: +task 7, line 25: //# create-checkpoint Checkpoint created: 5 -task 8, line 26: +task 8, line 27: //# advance-epoch Epoch advanced: 2 -task 9, lines 28-30: +task 9, lines 29-31: //# programmable --sender C --inputs 10000000000 @C //> SplitCoins(Gas, [Input(0)]); //> TransferObjects([Result(0)], Input(1)) created: object(9,0) mutated: object(0,0) -gas summary: computation_cost: 1000000, storage_cost: 1976000, storage_rebate: 978120, non_refundable_storage_fee: 9880 +gas summary: computation_cost: 1000000, storage_cost: 1976000, storage_rebate: 988000, non_refundable_storage_fee: 0 -task 10, line 32: +task 10, line 33: //# create-checkpoint Checkpoint created: 7 -task 11, line 34: +task 11, line 35: //# advance-epoch Epoch advanced: 3 -task 12, line 36: +task 12, line 37: //# run 0x3::iota_system::request_withdraw_stake --args object(0x5) object(4,0) --sender C -events: Event { package_id: iota_system, transaction_module: Identifier("iota_system"), sender: C, type_: StructTag { address: iota_system, module: Identifier("validator"), name: Identifier("UnstakingRequestEvent"), type_params: [] }, contents: [248, 78, 186, 99, 231, 9, 139, 242, 111, 186, 194, 226, 178, 139, 36, 108, 107, 38, 243, 45, 234, 239, 71, 218, 67, 179, 228, 139, 121, 123, 170, 161, 218, 131, 22, 109, 1, 175, 215, 221, 207, 138, 245, 248, 68, 244, 90, 170, 83, 244, 133, 72, 229, 17, 124, 35, 245, 162, 151, 140, 253, 66, 34, 68, 252, 204, 154, 66, 27, 187, 19, 193, 166, 106, 26, 169, 143, 10, 215, 80, 41, 237, 233, 72, 87, 119, 156, 105, 21, 180, 79, 148, 6, 139, 146, 30, 2, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 228, 11, 84, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] } +events: Event { package_id: iota_system, transaction_module: Identifier("iota_system"), sender: C, type_: StructTag { address: iota_system, module: Identifier("validator"), name: Identifier("UnstakingRequestEvent"), type_params: [] }, contents: [58, 51, 158, 82, 252, 190, 80, 208, 59, 38, 91, 170, 140, 74, 249, 157, 100, 18, 59, 242, 254, 110, 226, 100, 220, 205, 65, 137, 48, 142, 12, 12, 175, 163, 158, 79, 0, 218, 226, 120, 249, 119, 199, 198, 147, 10, 94, 44, 118, 232, 93, 23, 165, 38, 215, 36, 187, 206, 15, 184, 31, 176, 125, 76, 140, 202, 78, 28, 224, 186, 89, 4, 206, 166, 29, 249, 36, 45, 162, 247, 210, 158, 62, 243, 40, 251, 126, 192, 124, 8, 107, 59, 244, 124, 166, 26, 2, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 228, 11, 84, 2, 0, 0, 0, 12, 33, 189, 38, 1, 0, 0, 0] } created: object(12,0) mutated: object(_), 0x0000000000000000000000000000000000000000000000000000000000000005, object(0,0) deleted: object(4,0) -gas summary: computation_cost: 1000000, storage_cost: 14774400, storage_rebate: 14927616, non_refundable_storage_fee: 150784 +gas summary: computation_cost: 1000000, storage_cost: 14485600, storage_rebate: 14789600, non_refundable_storage_fee: 0 -task 13, line 38: +task 13, line 39: //# create-checkpoint Checkpoint created: 9 -task 14, line 40: +task 14, line 41: //# advance-epoch Epoch advanced: 4 -task 15, lines 42-44: +task 15, lines 43-45: //# programmable --sender C --inputs 10000000000 @C //> SplitCoins(Gas, [Input(0)]); //> TransferObjects([Result(0)], Input(1)) created: object(15,0) mutated: object(0,0) -gas summary: computation_cost: 1000000, storage_cost: 1976000, storage_rebate: 978120, non_refundable_storage_fee: 9880 +gas summary: computation_cost: 1000000, storage_cost: 1976000, storage_rebate: 988000, non_refundable_storage_fee: 0 -task 16, line 46: +task 16, line 47: //# create-checkpoint Checkpoint created: 11 -task 17, line 48: +task 17, line 49: //# advance-epoch Epoch advanced: 5 -task 18, lines 50-60: +task 18, lines 51-61: //# run-graphql Response: { "data": { @@ -99,14 +99,14 @@ Response: { "epochId": 4, "systemStateVersion": 2, "storageFund": { - "totalObjectStorageRebates": "15762400", - "nonRefundableBalance": "180424" + "totalObjectStorageRebates": "15473600", + "nonRefundableBalance": "0" } } } } -task 19, lines 62-72: +task 19, lines 63-73: //# run-graphql Response: { "data": { @@ -114,14 +114,14 @@ Response: { "epochId": 3, "systemStateVersion": 2, "storageFund": { - "totalObjectStorageRebates": "16066400", - "nonRefundableBalance": "29640" + "totalObjectStorageRebates": "15777600", + "nonRefundableBalance": "0" } } } } -task 20, lines 74-84: +task 20, lines 75-85: //# run-graphql Response: { "data": { @@ -129,14 +129,14 @@ Response: { "epochId": 2, "systemStateVersion": 2, "storageFund": { - "totalObjectStorageRebates": "15078400", - "nonRefundableBalance": "19760" + "totalObjectStorageRebates": "14789600", + "nonRefundableBalance": "0" } } } } -task 21, lines 86-96: +task 21, lines 87-97: //# run-graphql Response: { "data": { @@ -144,14 +144,14 @@ Response: { "epochId": 1, "systemStateVersion": 2, "storageFund": { - "totalObjectStorageRebates": "15078400", - "nonRefundableBalance": "19760" + "totalObjectStorageRebates": "14789600", + "nonRefundableBalance": "0" } } } } -task 22, lines 98-108: +task 22, lines 99-109: //# run-graphql Response: { "data": { @@ -159,8 +159,8 @@ Response: { "epochId": 4, "systemStateVersion": 2, "storageFund": { - "totalObjectStorageRebates": "15762400", - "nonRefundableBalance": "180424" + "totalObjectStorageRebates": "15473600", + "nonRefundableBalance": "0" } } } diff --git a/crates/iota-graphql-e2e-tests/tests/errors/clever_errors.exp b/crates/iota-graphql-e2e-tests/tests/errors/clever_errors.exp index 8c4d3de6e40..11fd43d784a 100644 --- a/crates/iota-graphql-e2e-tests/tests/errors/clever_errors.exp +++ b/crates/iota-graphql-e2e-tests/tests/errors/clever_errors.exp @@ -3,72 +3,72 @@ processed 29 tasks init: A: object(0,0) -task 1, lines 6-81: +task 1, lines 7-82: //# publish --upgradeable --sender A created: object(1,0), object(1,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 9743200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2, line 83: +task 2, line 84: //# run P0::m::callU8 -Error: Transaction Effects Status: Move Runtime Abort. Location: P0::m::callU8 (function index 0) at offset 1, Abort Code: 9223372161408827393 -Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: P0, name: Identifier("m") }, function: 0, instruction: 1, function_name: Some("callU8") }, 9223372161408827393), source: Some(VMError { major_status: ABORTED, sub_status: Some(9223372161408827393), message: Some("P0::m::callU8 at offset 1"), exec_state: None, location: Module(ModuleId { address: P0, name: Identifier("m") }), indices: [], offsets: [(FunctionDefinitionIndex(0), 1)] }), command: Some(0) } } +Error: Transaction Effects Status: Move Runtime Abort. Location: P0::m::callU8 (function index 0) at offset 1, Abort Code: 9223372165703794689 +Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: P0, name: Identifier("m") }, function: 0, instruction: 1, function_name: Some("callU8") }, 9223372165703794689), source: Some(VMError { major_status: ABORTED, sub_status: Some(9223372165703794689), message: Some("P0::m::callU8 at offset 1"), exec_state: None, location: Module(ModuleId { address: P0, name: Identifier("m") }), indices: [], offsets: [(FunctionDefinitionIndex(0), 1)] }), command: Some(0) } } -task 3, line 85: +task 3, line 86: //# run P0::m::callU16 -Error: Transaction Effects Status: Move Runtime Abort. Location: P0::m::callU16 (function index 1) at offset 1, Abort Code: 9223372174293860355 -Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: P0, name: Identifier("m") }, function: 1, instruction: 1, function_name: Some("callU16") }, 9223372174293860355), source: Some(VMError { major_status: ABORTED, sub_status: Some(9223372174293860355), message: Some("P0::m::callU16 at offset 1"), exec_state: None, location: Module(ModuleId { address: P0, name: Identifier("m") }), indices: [], offsets: [(FunctionDefinitionIndex(1), 1)] }), command: Some(0) } } +Error: Transaction Effects Status: Move Runtime Abort. Location: P0::m::callU16 (function index 1) at offset 1, Abort Code: 9223372178588827651 +Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: P0, name: Identifier("m") }, function: 1, instruction: 1, function_name: Some("callU16") }, 9223372178588827651), source: Some(VMError { major_status: ABORTED, sub_status: Some(9223372178588827651), message: Some("P0::m::callU16 at offset 1"), exec_state: None, location: Module(ModuleId { address: P0, name: Identifier("m") }), indices: [], offsets: [(FunctionDefinitionIndex(1), 1)] }), command: Some(0) } } -task 4, line 87: +task 4, line 88: //# run P0::m::callU32 -Error: Transaction Effects Status: Move Runtime Abort. Location: P0::m::callU32 (function index 2) at offset 1, Abort Code: 9223372187178893317 -Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: P0, name: Identifier("m") }, function: 2, instruction: 1, function_name: Some("callU32") }, 9223372187178893317), source: Some(VMError { major_status: ABORTED, sub_status: Some(9223372187178893317), message: Some("P0::m::callU32 at offset 1"), exec_state: None, location: Module(ModuleId { address: P0, name: Identifier("m") }), indices: [], offsets: [(FunctionDefinitionIndex(2), 1)] }), command: Some(0) } } +Error: Transaction Effects Status: Move Runtime Abort. Location: P0::m::callU32 (function index 2) at offset 1, Abort Code: 9223372191473860613 +Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: P0, name: Identifier("m") }, function: 2, instruction: 1, function_name: Some("callU32") }, 9223372191473860613), source: Some(VMError { major_status: ABORTED, sub_status: Some(9223372191473860613), message: Some("P0::m::callU32 at offset 1"), exec_state: None, location: Module(ModuleId { address: P0, name: Identifier("m") }), indices: [], offsets: [(FunctionDefinitionIndex(2), 1)] }), command: Some(0) } } -task 5, line 89: +task 5, line 90: //# run P0::m::callU64 -Error: Transaction Effects Status: Move Runtime Abort. Location: P0::m::callU64 (function index 3) at offset 1, Abort Code: 9223372200063926279 -Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: P0, name: Identifier("m") }, function: 3, instruction: 1, function_name: Some("callU64") }, 9223372200063926279), source: Some(VMError { major_status: ABORTED, sub_status: Some(9223372200063926279), message: Some("P0::m::callU64 at offset 1"), exec_state: None, location: Module(ModuleId { address: P0, name: Identifier("m") }), indices: [], offsets: [(FunctionDefinitionIndex(3), 1)] }), command: Some(0) } } +Error: Transaction Effects Status: Move Runtime Abort. Location: P0::m::callU64 (function index 3) at offset 1, Abort Code: 9223372204358893575 +Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: P0, name: Identifier("m") }, function: 3, instruction: 1, function_name: Some("callU64") }, 9223372204358893575), source: Some(VMError { major_status: ABORTED, sub_status: Some(9223372204358893575), message: Some("P0::m::callU64 at offset 1"), exec_state: None, location: Module(ModuleId { address: P0, name: Identifier("m") }), indices: [], offsets: [(FunctionDefinitionIndex(3), 1)] }), command: Some(0) } } -task 6, line 91: +task 6, line 92: //# run P0::m::callU128 -Error: Transaction Effects Status: Move Runtime Abort. Location: P0::m::callU128 (function index 4) at offset 1, Abort Code: 9223372212948959241 -Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: P0, name: Identifier("m") }, function: 4, instruction: 1, function_name: Some("callU128") }, 9223372212948959241), source: Some(VMError { major_status: ABORTED, sub_status: Some(9223372212948959241), message: Some("P0::m::callU128 at offset 1"), exec_state: None, location: Module(ModuleId { address: P0, name: Identifier("m") }), indices: [], offsets: [(FunctionDefinitionIndex(4), 1)] }), command: Some(0) } } +Error: Transaction Effects Status: Move Runtime Abort. Location: P0::m::callU128 (function index 4) at offset 1, Abort Code: 9223372217243926537 +Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: P0, name: Identifier("m") }, function: 4, instruction: 1, function_name: Some("callU128") }, 9223372217243926537), source: Some(VMError { major_status: ABORTED, sub_status: Some(9223372217243926537), message: Some("P0::m::callU128 at offset 1"), exec_state: None, location: Module(ModuleId { address: P0, name: Identifier("m") }), indices: [], offsets: [(FunctionDefinitionIndex(4), 1)] }), command: Some(0) } } -task 7, line 93: +task 7, line 94: //# run P0::m::callU256 -Error: Transaction Effects Status: Move Runtime Abort. Location: P0::m::callU256 (function index 5) at offset 1, Abort Code: 9223372225833992203 -Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: P0, name: Identifier("m") }, function: 5, instruction: 1, function_name: Some("callU256") }, 9223372225833992203), source: Some(VMError { major_status: ABORTED, sub_status: Some(9223372225833992203), message: Some("P0::m::callU256 at offset 1"), exec_state: None, location: Module(ModuleId { address: P0, name: Identifier("m") }), indices: [], offsets: [(FunctionDefinitionIndex(5), 1)] }), command: Some(0) } } +Error: Transaction Effects Status: Move Runtime Abort. Location: P0::m::callU256 (function index 5) at offset 1, Abort Code: 9223372230128959499 +Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: P0, name: Identifier("m") }, function: 5, instruction: 1, function_name: Some("callU256") }, 9223372230128959499), source: Some(VMError { major_status: ABORTED, sub_status: Some(9223372230128959499), message: Some("P0::m::callU256 at offset 1"), exec_state: None, location: Module(ModuleId { address: P0, name: Identifier("m") }), indices: [], offsets: [(FunctionDefinitionIndex(5), 1)] }), command: Some(0) } } -task 8, line 95: +task 8, line 96: //# run P0::m::callAddress -Error: Transaction Effects Status: Move Runtime Abort. Location: P0::m::callAddress (function index 6) at offset 1, Abort Code: 9223372238719156239 -Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: P0, name: Identifier("m") }, function: 6, instruction: 1, function_name: Some("callAddress") }, 9223372238719156239), source: Some(VMError { major_status: ABORTED, sub_status: Some(9223372238719156239), message: Some("P0::m::callAddress at offset 1"), exec_state: None, location: Module(ModuleId { address: P0, name: Identifier("m") }), indices: [], offsets: [(FunctionDefinitionIndex(6), 1)] }), command: Some(0) } } +Error: Transaction Effects Status: Move Runtime Abort. Location: P0::m::callAddress (function index 6) at offset 1, Abort Code: 9223372243014123535 +Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: P0, name: Identifier("m") }, function: 6, instruction: 1, function_name: Some("callAddress") }, 9223372243014123535), source: Some(VMError { major_status: ABORTED, sub_status: Some(9223372243014123535), message: Some("P0::m::callAddress at offset 1"), exec_state: None, location: Module(ModuleId { address: P0, name: Identifier("m") }), indices: [], offsets: [(FunctionDefinitionIndex(6), 1)] }), command: Some(0) } } -task 9, line 97: +task 9, line 98: //# run P0::m::callString -Error: Transaction Effects Status: Move Runtime Abort. Location: P0::m::callString (function index 7) at offset 1, Abort Code: 9223372251604189201 -Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: P0, name: Identifier("m") }, function: 7, instruction: 1, function_name: Some("callString") }, 9223372251604189201), source: Some(VMError { major_status: ABORTED, sub_status: Some(9223372251604189201), message: Some("P0::m::callString at offset 1"), exec_state: None, location: Module(ModuleId { address: P0, name: Identifier("m") }), indices: [], offsets: [(FunctionDefinitionIndex(7), 1)] }), command: Some(0) } } +Error: Transaction Effects Status: Move Runtime Abort. Location: P0::m::callString (function index 7) at offset 1, Abort Code: 9223372255899156497 +Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: P0, name: Identifier("m") }, function: 7, instruction: 1, function_name: Some("callString") }, 9223372255899156497), source: Some(VMError { major_status: ABORTED, sub_status: Some(9223372255899156497), message: Some("P0::m::callString at offset 1"), exec_state: None, location: Module(ModuleId { address: P0, name: Identifier("m") }), indices: [], offsets: [(FunctionDefinitionIndex(7), 1)] }), command: Some(0) } } -task 10, line 99: +task 10, line 100: //# run P0::m::callU64vec -Error: Transaction Effects Status: Move Runtime Abort. Location: P0::m::callU64vec (function index 8) at offset 1, Abort Code: 9223372264489222163 -Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: P0, name: Identifier("m") }, function: 8, instruction: 1, function_name: Some("callU64vec") }, 9223372264489222163), source: Some(VMError { major_status: ABORTED, sub_status: Some(9223372264489222163), message: Some("P0::m::callU64vec at offset 1"), exec_state: None, location: Module(ModuleId { address: P0, name: Identifier("m") }), indices: [], offsets: [(FunctionDefinitionIndex(8), 1)] }), command: Some(0) } } +Error: Transaction Effects Status: Move Runtime Abort. Location: P0::m::callU64vec (function index 8) at offset 1, Abort Code: 9223372268784189459 +Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: P0, name: Identifier("m") }, function: 8, instruction: 1, function_name: Some("callU64vec") }, 9223372268784189459), source: Some(VMError { major_status: ABORTED, sub_status: Some(9223372268784189459), message: Some("P0::m::callU64vec at offset 1"), exec_state: None, location: Module(ModuleId { address: P0, name: Identifier("m") }), indices: [], offsets: [(FunctionDefinitionIndex(8), 1)] }), command: Some(0) } } -task 11, line 101: +task 11, line 102: //# run P0::m::normalAbort Error: Transaction Effects Status: Move Runtime Abort. Location: P0::m::normalAbort (function index 9) at offset 1, Abort Code: 0 Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: P0, name: Identifier("m") }, function: 9, instruction: 1, function_name: Some("normalAbort") }, 0), source: Some(VMError { major_status: ABORTED, sub_status: Some(0), message: Some("P0::m::normalAbort at offset 1"), exec_state: None, location: Module(ModuleId { address: P0, name: Identifier("m") }), indices: [], offsets: [(FunctionDefinitionIndex(9), 1)] }), command: Some(0) } } -task 12, line 103: +task 12, line 104: //# run P0::m::assertLineNo -Error: Transaction Effects Status: Move Runtime Abort. Location: P0::m::assertLineNo (function index 10) at offset 1, Abort Code: 9223372294552813567 -Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: P0, name: Identifier("m") }, function: 10, instruction: 1, function_name: Some("assertLineNo") }, 9223372294552813567), source: Some(VMError { major_status: ABORTED, sub_status: Some(9223372294552813567), message: Some("P0::m::assertLineNo at offset 1"), exec_state: None, location: Module(ModuleId { address: P0, name: Identifier("m") }), indices: [], offsets: [(FunctionDefinitionIndex(10), 1)] }), command: Some(0) } } +Error: Transaction Effects Status: Move Runtime Abort. Location: P0::m::assertLineNo (function index 10) at offset 1, Abort Code: 9223372298847780863 +Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: P0, name: Identifier("m") }, function: 10, instruction: 1, function_name: Some("assertLineNo") }, 9223372298847780863), source: Some(VMError { major_status: ABORTED, sub_status: Some(9223372298847780863), message: Some("P0::m::assertLineNo at offset 1"), exec_state: None, location: Module(ModuleId { address: P0, name: Identifier("m") }), indices: [], offsets: [(FunctionDefinitionIndex(10), 1)] }), command: Some(0) } } -task 13, line 105: +task 13, line 106: //# create-checkpoint Checkpoint created: 1 -task 14, lines 107-117: +task 14, lines 108-118: //# run-graphql Response: { "data": { @@ -77,67 +77,67 @@ Response: { { "effects": { "status": "FAILURE", - "errors": "Error in 1st command, from '0xc4823e6a5f0f064ab9004946eed4875893f664cb0fe611c106ea85f34c52a7cd::m::callU8' (line 29), abort 'ImAU8': 0" + "errors": "Error in 1st command, from '0x83d7fb693af3966beb4d4103ac094cbec6dac73e861a37648fe6b7cac018af9c::m::callU8' (line 30), abort 'ImAU8': 0" } }, { "effects": { "status": "FAILURE", - "errors": "Error in 1st command, from '0xc4823e6a5f0f064ab9004946eed4875893f664cb0fe611c106ea85f34c52a7cd::m::callU16' (line 32), abort 'ImAU16': 1" + "errors": "Error in 1st command, from '0x83d7fb693af3966beb4d4103ac094cbec6dac73e861a37648fe6b7cac018af9c::m::callU16' (line 33), abort 'ImAU16': 1" } }, { "effects": { "status": "FAILURE", - "errors": "Error in 1st command, from '0xc4823e6a5f0f064ab9004946eed4875893f664cb0fe611c106ea85f34c52a7cd::m::callU32' (line 35), abort 'ImAU32': 2" + "errors": "Error in 1st command, from '0x83d7fb693af3966beb4d4103ac094cbec6dac73e861a37648fe6b7cac018af9c::m::callU32' (line 36), abort 'ImAU32': 2" } }, { "effects": { "status": "FAILURE", - "errors": "Error in 1st command, from '0xc4823e6a5f0f064ab9004946eed4875893f664cb0fe611c106ea85f34c52a7cd::m::callU64' (line 38), abort 'ImAU64': 3" + "errors": "Error in 1st command, from '0x83d7fb693af3966beb4d4103ac094cbec6dac73e861a37648fe6b7cac018af9c::m::callU64' (line 39), abort 'ImAU64': 3" } }, { "effects": { "status": "FAILURE", - "errors": "Error in 1st command, from '0xc4823e6a5f0f064ab9004946eed4875893f664cb0fe611c106ea85f34c52a7cd::m::callU128' (line 41), abort 'ImAU128': 4" + "errors": "Error in 1st command, from '0x83d7fb693af3966beb4d4103ac094cbec6dac73e861a37648fe6b7cac018af9c::m::callU128' (line 42), abort 'ImAU128': 4" } }, { "effects": { "status": "FAILURE", - "errors": "Error in 1st command, from '0xc4823e6a5f0f064ab9004946eed4875893f664cb0fe611c106ea85f34c52a7cd::m::callU256' (line 44), abort 'ImAU256': 5" + "errors": "Error in 1st command, from '0x83d7fb693af3966beb4d4103ac094cbec6dac73e861a37648fe6b7cac018af9c::m::callU256' (line 45), abort 'ImAU256': 5" } }, { "effects": { "status": "FAILURE", - "errors": "Error in 1st command, from '0xc4823e6a5f0f064ab9004946eed4875893f664cb0fe611c106ea85f34c52a7cd::m::callAddress' (line 47), abort 'ImAnAddress': 0x0000000000000000000000000000000000000000000000000000000000000006" + "errors": "Error in 1st command, from '0x83d7fb693af3966beb4d4103ac094cbec6dac73e861a37648fe6b7cac018af9c::m::callAddress' (line 48), abort 'ImAnAddress': 0x0000000000000000000000000000000000000000000000000000000000000006" } }, { "effects": { "status": "FAILURE", - "errors": "Error in 1st command, from '0xc4823e6a5f0f064ab9004946eed4875893f664cb0fe611c106ea85f34c52a7cd::m::callString' (line 50), abort 'ImAString': This is a string" + "errors": "Error in 1st command, from '0x83d7fb693af3966beb4d4103ac094cbec6dac73e861a37648fe6b7cac018af9c::m::callString' (line 51), abort 'ImAString': This is a string" } }, { "effects": { "status": "FAILURE", - "errors": "Error in 1st command, from '0xc4823e6a5f0f064ab9004946eed4875893f664cb0fe611c106ea85f34c52a7cd::m::callU64vec' (line 53), abort 'ImNotAString': BQEAAAAAAAAAAgAAAAAAAAADAAAAAAAAAAQAAAAAAAAABQAAAAAAAAA=" + "errors": "Error in 1st command, from '0x83d7fb693af3966beb4d4103ac094cbec6dac73e861a37648fe6b7cac018af9c::m::callU64vec' (line 54), abort 'ImNotAString': BQEAAAAAAAAAAgAAAAAAAAADAAAAAAAAAAQAAAAAAAAABQAAAAAAAAA=" } }, { "effects": { "status": "FAILURE", - "errors": "Error in 1st command, from '0xc4823e6a5f0f064ab9004946eed4875893f664cb0fe611c106ea85f34c52a7cd::m::normalAbort' (instruction 1), abort code: 0" + "errors": "Error in 1st command, from '0x83d7fb693af3966beb4d4103ac094cbec6dac73e861a37648fe6b7cac018af9c::m::normalAbort' (instruction 1), abort code: 0" } }, { "effects": { "status": "FAILURE", - "errors": "Error in 1st command, from '0xc4823e6a5f0f064ab9004946eed4875893f664cb0fe611c106ea85f34c52a7cd::m::assertLineNo' (line 59)" + "errors": "Error in 1st command, from '0x83d7fb693af3966beb4d4103ac094cbec6dac73e861a37648fe6b7cac018af9c::m::assertLineNo' (line 60)" } } ] @@ -145,72 +145,72 @@ Response: { } } -task 15, lines 119-197: -//# upgrade --package P0 --upgrade-capability 1,1 --sender A +task 15, lines 120-198: +//# upgrade --package P0 --upgrade-capability 1,0 --sender A created: object(15,0) -mutated: object(0,0), object(1,1) -gas summary: computation_cost: 1000000, storage_cost: 9849600, storage_rebate: 2595780, non_refundable_storage_fee: 26220 +mutated: object(0,0), object(1,0) +gas summary: computation_cost: 1000000, storage_cost: 9849600, storage_rebate: 2622000, non_refundable_storage_fee: 0 -task 16, line 199: +task 16, line 200: //# run P0::m::callU8 -Error: Transaction Effects Status: Move Runtime Abort. Location: P0::m::callU8 (function index 0) at offset 1, Abort Code: 9223372659625033729 -Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: P0, name: Identifier("m") }, function: 0, instruction: 1, function_name: Some("callU8") }, 9223372659625033729), source: Some(VMError { major_status: ABORTED, sub_status: Some(9223372659625033729), message: Some("fake(1,0)::m::callU8 at offset 1"), exec_state: None, location: Module(ModuleId { address: fake(1,0), name: Identifier("m") }), indices: [], offsets: [(FunctionDefinitionIndex(0), 1)] }), command: Some(0) } } +Error: Transaction Effects Status: Move Runtime Abort. Location: P0::m::callU8 (function index 0) at offset 1, Abort Code: 9223372663920001025 +Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: P0, name: Identifier("m") }, function: 0, instruction: 1, function_name: Some("callU8") }, 9223372663920001025), source: Some(VMError { major_status: ABORTED, sub_status: Some(9223372663920001025), message: Some("fake(1,1)::m::callU8 at offset 1"), exec_state: None, location: Module(ModuleId { address: fake(1,1), name: Identifier("m") }), indices: [], offsets: [(FunctionDefinitionIndex(0), 1)] }), command: Some(0) } } -task 17, line 201: +task 17, line 202: //# run P0::m::callU16 -Error: Transaction Effects Status: Move Runtime Abort. Location: P0::m::callU16 (function index 1) at offset 1, Abort Code: 9223372672510066691 -Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: P0, name: Identifier("m") }, function: 1, instruction: 1, function_name: Some("callU16") }, 9223372672510066691), source: Some(VMError { major_status: ABORTED, sub_status: Some(9223372672510066691), message: Some("fake(1,0)::m::callU16 at offset 1"), exec_state: None, location: Module(ModuleId { address: fake(1,0), name: Identifier("m") }), indices: [], offsets: [(FunctionDefinitionIndex(1), 1)] }), command: Some(0) } } +Error: Transaction Effects Status: Move Runtime Abort. Location: P0::m::callU16 (function index 1) at offset 1, Abort Code: 9223372676805033987 +Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: P0, name: Identifier("m") }, function: 1, instruction: 1, function_name: Some("callU16") }, 9223372676805033987), source: Some(VMError { major_status: ABORTED, sub_status: Some(9223372676805033987), message: Some("fake(1,1)::m::callU16 at offset 1"), exec_state: None, location: Module(ModuleId { address: fake(1,1), name: Identifier("m") }), indices: [], offsets: [(FunctionDefinitionIndex(1), 1)] }), command: Some(0) } } -task 18, line 203: +task 18, line 204: //# run P0::m::callU32 -Error: Transaction Effects Status: Move Runtime Abort. Location: P0::m::callU32 (function index 2) at offset 1, Abort Code: 9223372685395099653 -Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: P0, name: Identifier("m") }, function: 2, instruction: 1, function_name: Some("callU32") }, 9223372685395099653), source: Some(VMError { major_status: ABORTED, sub_status: Some(9223372685395099653), message: Some("fake(1,0)::m::callU32 at offset 1"), exec_state: None, location: Module(ModuleId { address: fake(1,0), name: Identifier("m") }), indices: [], offsets: [(FunctionDefinitionIndex(2), 1)] }), command: Some(0) } } +Error: Transaction Effects Status: Move Runtime Abort. Location: P0::m::callU32 (function index 2) at offset 1, Abort Code: 9223372689690066949 +Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: P0, name: Identifier("m") }, function: 2, instruction: 1, function_name: Some("callU32") }, 9223372689690066949), source: Some(VMError { major_status: ABORTED, sub_status: Some(9223372689690066949), message: Some("fake(1,1)::m::callU32 at offset 1"), exec_state: None, location: Module(ModuleId { address: fake(1,1), name: Identifier("m") }), indices: [], offsets: [(FunctionDefinitionIndex(2), 1)] }), command: Some(0) } } -task 19, line 205: +task 19, line 206: //# run P0::m::callU64 -Error: Transaction Effects Status: Move Runtime Abort. Location: P0::m::callU64 (function index 3) at offset 1, Abort Code: 9223372698280132615 -Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: P0, name: Identifier("m") }, function: 3, instruction: 1, function_name: Some("callU64") }, 9223372698280132615), source: Some(VMError { major_status: ABORTED, sub_status: Some(9223372698280132615), message: Some("fake(1,0)::m::callU64 at offset 1"), exec_state: None, location: Module(ModuleId { address: fake(1,0), name: Identifier("m") }), indices: [], offsets: [(FunctionDefinitionIndex(3), 1)] }), command: Some(0) } } +Error: Transaction Effects Status: Move Runtime Abort. Location: P0::m::callU64 (function index 3) at offset 1, Abort Code: 9223372702575099911 +Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: P0, name: Identifier("m") }, function: 3, instruction: 1, function_name: Some("callU64") }, 9223372702575099911), source: Some(VMError { major_status: ABORTED, sub_status: Some(9223372702575099911), message: Some("fake(1,1)::m::callU64 at offset 1"), exec_state: None, location: Module(ModuleId { address: fake(1,1), name: Identifier("m") }), indices: [], offsets: [(FunctionDefinitionIndex(3), 1)] }), command: Some(0) } } -task 20, line 207: +task 20, line 208: //# run P0::m::callU128 -Error: Transaction Effects Status: Move Runtime Abort. Location: P0::m::callU128 (function index 4) at offset 1, Abort Code: 9223372711165165577 -Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: P0, name: Identifier("m") }, function: 4, instruction: 1, function_name: Some("callU128") }, 9223372711165165577), source: Some(VMError { major_status: ABORTED, sub_status: Some(9223372711165165577), message: Some("fake(1,0)::m::callU128 at offset 1"), exec_state: None, location: Module(ModuleId { address: fake(1,0), name: Identifier("m") }), indices: [], offsets: [(FunctionDefinitionIndex(4), 1)] }), command: Some(0) } } +Error: Transaction Effects Status: Move Runtime Abort. Location: P0::m::callU128 (function index 4) at offset 1, Abort Code: 9223372715460132873 +Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: P0, name: Identifier("m") }, function: 4, instruction: 1, function_name: Some("callU128") }, 9223372715460132873), source: Some(VMError { major_status: ABORTED, sub_status: Some(9223372715460132873), message: Some("fake(1,1)::m::callU128 at offset 1"), exec_state: None, location: Module(ModuleId { address: fake(1,1), name: Identifier("m") }), indices: [], offsets: [(FunctionDefinitionIndex(4), 1)] }), command: Some(0) } } -task 21, line 209: +task 21, line 210: //# run P0::m::callU256 -Error: Transaction Effects Status: Move Runtime Abort. Location: P0::m::callU256 (function index 5) at offset 1, Abort Code: 9223372724050198539 -Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: P0, name: Identifier("m") }, function: 5, instruction: 1, function_name: Some("callU256") }, 9223372724050198539), source: Some(VMError { major_status: ABORTED, sub_status: Some(9223372724050198539), message: Some("fake(1,0)::m::callU256 at offset 1"), exec_state: None, location: Module(ModuleId { address: fake(1,0), name: Identifier("m") }), indices: [], offsets: [(FunctionDefinitionIndex(5), 1)] }), command: Some(0) } } +Error: Transaction Effects Status: Move Runtime Abort. Location: P0::m::callU256 (function index 5) at offset 1, Abort Code: 9223372728345165835 +Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: P0, name: Identifier("m") }, function: 5, instruction: 1, function_name: Some("callU256") }, 9223372728345165835), source: Some(VMError { major_status: ABORTED, sub_status: Some(9223372728345165835), message: Some("fake(1,1)::m::callU256 at offset 1"), exec_state: None, location: Module(ModuleId { address: fake(1,1), name: Identifier("m") }), indices: [], offsets: [(FunctionDefinitionIndex(5), 1)] }), command: Some(0) } } -task 22, line 211: +task 22, line 212: //# run P0::m::callAddress -Error: Transaction Effects Status: Move Runtime Abort. Location: P0::m::callAddress (function index 6) at offset 1, Abort Code: 9223372736935362575 -Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: P0, name: Identifier("m") }, function: 6, instruction: 1, function_name: Some("callAddress") }, 9223372736935362575), source: Some(VMError { major_status: ABORTED, sub_status: Some(9223372736935362575), message: Some("fake(1,0)::m::callAddress at offset 1"), exec_state: None, location: Module(ModuleId { address: fake(1,0), name: Identifier("m") }), indices: [], offsets: [(FunctionDefinitionIndex(6), 1)] }), command: Some(0) } } +Error: Transaction Effects Status: Move Runtime Abort. Location: P0::m::callAddress (function index 6) at offset 1, Abort Code: 9223372741230329871 +Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: P0, name: Identifier("m") }, function: 6, instruction: 1, function_name: Some("callAddress") }, 9223372741230329871), source: Some(VMError { major_status: ABORTED, sub_status: Some(9223372741230329871), message: Some("fake(1,1)::m::callAddress at offset 1"), exec_state: None, location: Module(ModuleId { address: fake(1,1), name: Identifier("m") }), indices: [], offsets: [(FunctionDefinitionIndex(6), 1)] }), command: Some(0) } } -task 23, line 213: +task 23, line 214: //# run P0::m::callString -Error: Transaction Effects Status: Move Runtime Abort. Location: P0::m::callString (function index 7) at offset 1, Abort Code: 9223372749820395537 -Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: P0, name: Identifier("m") }, function: 7, instruction: 1, function_name: Some("callString") }, 9223372749820395537), source: Some(VMError { major_status: ABORTED, sub_status: Some(9223372749820395537), message: Some("fake(1,0)::m::callString at offset 1"), exec_state: None, location: Module(ModuleId { address: fake(1,0), name: Identifier("m") }), indices: [], offsets: [(FunctionDefinitionIndex(7), 1)] }), command: Some(0) } } +Error: Transaction Effects Status: Move Runtime Abort. Location: P0::m::callString (function index 7) at offset 1, Abort Code: 9223372754115362833 +Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: P0, name: Identifier("m") }, function: 7, instruction: 1, function_name: Some("callString") }, 9223372754115362833), source: Some(VMError { major_status: ABORTED, sub_status: Some(9223372754115362833), message: Some("fake(1,1)::m::callString at offset 1"), exec_state: None, location: Module(ModuleId { address: fake(1,1), name: Identifier("m") }), indices: [], offsets: [(FunctionDefinitionIndex(7), 1)] }), command: Some(0) } } -task 24, line 215: +task 24, line 216: //# run P0::m::callU64vec -Error: Transaction Effects Status: Move Runtime Abort. Location: P0::m::callU64vec (function index 8) at offset 1, Abort Code: 9223372762705428499 -Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: P0, name: Identifier("m") }, function: 8, instruction: 1, function_name: Some("callU64vec") }, 9223372762705428499), source: Some(VMError { major_status: ABORTED, sub_status: Some(9223372762705428499), message: Some("fake(1,0)::m::callU64vec at offset 1"), exec_state: None, location: Module(ModuleId { address: fake(1,0), name: Identifier("m") }), indices: [], offsets: [(FunctionDefinitionIndex(8), 1)] }), command: Some(0) } } +Error: Transaction Effects Status: Move Runtime Abort. Location: P0::m::callU64vec (function index 8) at offset 1, Abort Code: 9223372767000395795 +Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: P0, name: Identifier("m") }, function: 8, instruction: 1, function_name: Some("callU64vec") }, 9223372767000395795), source: Some(VMError { major_status: ABORTED, sub_status: Some(9223372767000395795), message: Some("fake(1,1)::m::callU64vec at offset 1"), exec_state: None, location: Module(ModuleId { address: fake(1,1), name: Identifier("m") }), indices: [], offsets: [(FunctionDefinitionIndex(8), 1)] }), command: Some(0) } } -task 25, line 217: +task 25, line 218: //# run P0::m::normalAbort Error: Transaction Effects Status: Move Runtime Abort. Location: P0::m::normalAbort (function index 9) at offset 1, Abort Code: 0 -Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: P0, name: Identifier("m") }, function: 9, instruction: 1, function_name: Some("normalAbort") }, 0), source: Some(VMError { major_status: ABORTED, sub_status: Some(0), message: Some("fake(1,0)::m::normalAbort at offset 1"), exec_state: None, location: Module(ModuleId { address: fake(1,0), name: Identifier("m") }), indices: [], offsets: [(FunctionDefinitionIndex(9), 1)] }), command: Some(0) } } +Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: P0, name: Identifier("m") }, function: 9, instruction: 1, function_name: Some("normalAbort") }, 0), source: Some(VMError { major_status: ABORTED, sub_status: Some(0), message: Some("fake(1,1)::m::normalAbort at offset 1"), exec_state: None, location: Module(ModuleId { address: fake(1,1), name: Identifier("m") }), indices: [], offsets: [(FunctionDefinitionIndex(9), 1)] }), command: Some(0) } } -task 26, line 219: +task 26, line 220: //# run P0::m::assertLineNo -Error: Transaction Effects Status: Move Runtime Abort. Location: P0::m::assertLineNo (function index 10) at offset 1, Abort Code: 9223372792769019903 -Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: P0, name: Identifier("m") }, function: 10, instruction: 1, function_name: Some("assertLineNo") }, 9223372792769019903), source: Some(VMError { major_status: ABORTED, sub_status: Some(9223372792769019903), message: Some("fake(1,0)::m::assertLineNo at offset 1"), exec_state: None, location: Module(ModuleId { address: fake(1,0), name: Identifier("m") }), indices: [], offsets: [(FunctionDefinitionIndex(10), 1)] }), command: Some(0) } } +Error: Transaction Effects Status: Move Runtime Abort. Location: P0::m::assertLineNo (function index 10) at offset 1, Abort Code: 9223372797063987199 +Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: P0, name: Identifier("m") }, function: 10, instruction: 1, function_name: Some("assertLineNo") }, 9223372797063987199), source: Some(VMError { major_status: ABORTED, sub_status: Some(9223372797063987199), message: Some("fake(1,1)::m::assertLineNo at offset 1"), exec_state: None, location: Module(ModuleId { address: fake(1,1), name: Identifier("m") }), indices: [], offsets: [(FunctionDefinitionIndex(10), 1)] }), command: Some(0) } } -task 27, line 221: +task 27, line 222: //# create-checkpoint Checkpoint created: 2 -task 28, lines 223-233: +task 28, lines 224-234: //# run-graphql Response: { "data": { @@ -248,7 +248,7 @@ Response: { }, "errors": [ { - "message": "Internal error occurred while processing request: Error resolving Move location: Linkage not found for package: d1bd7272f34936db7dc7600632e33be690fc45912db6f309a390f143be72ea20", + "message": "Internal error occurred while processing request: Error resolving Move location: Linkage not found for package: 3196ff36e610586151e68723597dbd94613d53f799a1d7506802c7e9ad04bfa2", "locations": [ { "line": 6, @@ -264,7 +264,7 @@ Response: { ] }, { - "message": "Internal error occurred while processing request: Error resolving Move location: Linkage not found for package: d1bd7272f34936db7dc7600632e33be690fc45912db6f309a390f143be72ea20", + "message": "Internal error occurred while processing request: Error resolving Move location: Linkage not found for package: 3196ff36e610586151e68723597dbd94613d53f799a1d7506802c7e9ad04bfa2", "locations": [ { "line": 6, @@ -280,7 +280,7 @@ Response: { ] }, { - "message": "Internal error occurred while processing request: Error resolving Move location: Linkage not found for package: d1bd7272f34936db7dc7600632e33be690fc45912db6f309a390f143be72ea20", + "message": "Internal error occurred while processing request: Error resolving Move location: Linkage not found for package: 3196ff36e610586151e68723597dbd94613d53f799a1d7506802c7e9ad04bfa2", "locations": [ { "line": 6, @@ -296,7 +296,7 @@ Response: { ] }, { - "message": "Internal error occurred while processing request: Error resolving Move location: Linkage not found for package: d1bd7272f34936db7dc7600632e33be690fc45912db6f309a390f143be72ea20", + "message": "Internal error occurred while processing request: Error resolving Move location: Linkage not found for package: 3196ff36e610586151e68723597dbd94613d53f799a1d7506802c7e9ad04bfa2", "locations": [ { "line": 6, @@ -312,7 +312,7 @@ Response: { ] }, { - "message": "Internal error occurred while processing request: Error resolving Move location: Linkage not found for package: d1bd7272f34936db7dc7600632e33be690fc45912db6f309a390f143be72ea20", + "message": "Internal error occurred while processing request: Error resolving Move location: Linkage not found for package: 3196ff36e610586151e68723597dbd94613d53f799a1d7506802c7e9ad04bfa2", "locations": [ { "line": 6, @@ -328,7 +328,7 @@ Response: { ] }, { - "message": "Internal error occurred while processing request: Error resolving Move location: Linkage not found for package: d1bd7272f34936db7dc7600632e33be690fc45912db6f309a390f143be72ea20", + "message": "Internal error occurred while processing request: Error resolving Move location: Linkage not found for package: 3196ff36e610586151e68723597dbd94613d53f799a1d7506802c7e9ad04bfa2", "locations": [ { "line": 6, @@ -344,7 +344,7 @@ Response: { ] }, { - "message": "Internal error occurred while processing request: Error resolving Move location: Linkage not found for package: d1bd7272f34936db7dc7600632e33be690fc45912db6f309a390f143be72ea20", + "message": "Internal error occurred while processing request: Error resolving Move location: Linkage not found for package: 3196ff36e610586151e68723597dbd94613d53f799a1d7506802c7e9ad04bfa2", "locations": [ { "line": 6, @@ -360,7 +360,7 @@ Response: { ] }, { - "message": "Internal error occurred while processing request: Error resolving Move location: Linkage not found for package: d1bd7272f34936db7dc7600632e33be690fc45912db6f309a390f143be72ea20", + "message": "Internal error occurred while processing request: Error resolving Move location: Linkage not found for package: 3196ff36e610586151e68723597dbd94613d53f799a1d7506802c7e9ad04bfa2", "locations": [ { "line": 6, @@ -376,7 +376,7 @@ Response: { ] }, { - "message": "Internal error occurred while processing request: Error resolving Move location: Linkage not found for package: d1bd7272f34936db7dc7600632e33be690fc45912db6f309a390f143be72ea20", + "message": "Internal error occurred while processing request: Error resolving Move location: Linkage not found for package: 3196ff36e610586151e68723597dbd94613d53f799a1d7506802c7e9ad04bfa2", "locations": [ { "line": 6, diff --git a/crates/iota-graphql-e2e-tests/tests/errors/clever_errors.move b/crates/iota-graphql-e2e-tests/tests/errors/clever_errors.move index 98fdf862c9b..80f4b884b04 100644 --- a/crates/iota-graphql-e2e-tests/tests/errors/clever_errors.move +++ b/crates/iota-graphql-e2e-tests/tests/errors/clever_errors.move @@ -117,7 +117,7 @@ module P0::m { } } -//# upgrade --package P0 --upgrade-capability 1,1 --sender A +//# upgrade --package P0 --upgrade-capability 1,0 --sender A // Upgrade the module with new error values but using the same constant names // (etc) to make sure we properly resolve the module location for clever // errors. diff --git a/crates/iota-graphql-e2e-tests/tests/errors/clever_errors_in_macros.exp b/crates/iota-graphql-e2e-tests/tests/errors/clever_errors_in_macros.exp index 1dbc3c2db31..dea1e33f1c1 100644 --- a/crates/iota-graphql-e2e-tests/tests/errors/clever_errors_in_macros.exp +++ b/crates/iota-graphql-e2e-tests/tests/errors/clever_errors_in_macros.exp @@ -3,32 +3,32 @@ processed 7 tasks init: A: object(0,0) -task 1, lines 6-34: +task 1, lines 7-35: //# publish --sender A created: object(1,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 4187600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2, line 36: +task 2, line 37: //# run P0::m::t_a -Error: Transaction Effects Status: Move Runtime Abort. Location: P0::m::t_a (function index 0) at offset 1, Abort Code: 9223372127049089023 -Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: P0, name: Identifier("m") }, function: 0, instruction: 1, function_name: Some("t_a") }, 9223372127049089023), source: Some(VMError { major_status: ABORTED, sub_status: Some(9223372127049089023), message: Some("P0::m::t_a at offset 1"), exec_state: None, location: Module(ModuleId { address: P0, name: Identifier("m") }), indices: [], offsets: [(FunctionDefinitionIndex(0), 1)] }), command: Some(0) } } +Error: Transaction Effects Status: Move Runtime Abort. Location: P0::m::t_a (function index 0) at offset 1, Abort Code: 9223372131344056319 +Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: P0, name: Identifier("m") }, function: 0, instruction: 1, function_name: Some("t_a") }, 9223372131344056319), source: Some(VMError { major_status: ABORTED, sub_status: Some(9223372131344056319), message: Some("P0::m::t_a at offset 1"), exec_state: None, location: Module(ModuleId { address: P0, name: Identifier("m") }), indices: [], offsets: [(FunctionDefinitionIndex(0), 1)] }), command: Some(0) } } -task 3, line 38: +task 3, line 39: //# run P0::m::t_calls_a -Error: Transaction Effects Status: Move Runtime Abort. Location: P0::m::t_calls_a (function index 1) at offset 1, Abort Code: 9223372139933990911 -Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: P0, name: Identifier("m") }, function: 1, instruction: 1, function_name: Some("t_calls_a") }, 9223372139933990911), source: Some(VMError { major_status: ABORTED, sub_status: Some(9223372139933990911), message: Some("P0::m::t_calls_a at offset 1"), exec_state: None, location: Module(ModuleId { address: P0, name: Identifier("m") }), indices: [], offsets: [(FunctionDefinitionIndex(1), 1)] }), command: Some(0) } } +Error: Transaction Effects Status: Move Runtime Abort. Location: P0::m::t_calls_a (function index 1) at offset 1, Abort Code: 9223372144228958207 +Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: P0, name: Identifier("m") }, function: 1, instruction: 1, function_name: Some("t_calls_a") }, 9223372144228958207), source: Some(VMError { major_status: ABORTED, sub_status: Some(9223372144228958207), message: Some("P0::m::t_calls_a at offset 1"), exec_state: None, location: Module(ModuleId { address: P0, name: Identifier("m") }), indices: [], offsets: [(FunctionDefinitionIndex(1), 1)] }), command: Some(0) } } -task 4, line 40: +task 4, line 41: //# run P0::m::t_const_assert -Error: Transaction Effects Status: Move Runtime Abort. Location: P0::m::t_const_assert (function index 2) at offset 1, Abort Code: 9223372075509481473 -Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: P0, name: Identifier("m") }, function: 2, instruction: 1, function_name: Some("t_const_assert") }, 9223372075509481473), source: Some(VMError { major_status: ABORTED, sub_status: Some(9223372075509481473), message: Some("P0::m::t_const_assert at offset 1"), exec_state: None, location: Module(ModuleId { address: P0, name: Identifier("m") }), indices: [], offsets: [(FunctionDefinitionIndex(2), 1)] }), command: Some(0) } } +Error: Transaction Effects Status: Move Runtime Abort. Location: P0::m::t_const_assert (function index 2) at offset 1, Abort Code: 9223372079804448769 +Execution Error: ExecutionError: ExecutionError { inner: ExecutionErrorInner { kind: MoveAbort(MoveLocation { module: ModuleId { address: P0, name: Identifier("m") }, function: 2, instruction: 1, function_name: Some("t_const_assert") }, 9223372079804448769), source: Some(VMError { major_status: ABORTED, sub_status: Some(9223372079804448769), message: Some("P0::m::t_const_assert at offset 1"), exec_state: None, location: Module(ModuleId { address: P0, name: Identifier("m") }), indices: [], offsets: [(FunctionDefinitionIndex(2), 1)] }), command: Some(0) } } -task 5, line 42: +task 5, line 43: //# create-checkpoint Checkpoint created: 1 -task 6, lines 44-54: +task 6, lines 45-55: //# run-graphql Response: { "data": { @@ -37,19 +37,19 @@ Response: { { "effects": { "status": "FAILURE", - "errors": "Error in 1st command, from '0x6846951eaea99f8742b4ad253534ef8b44459248f322f3cd404050aa1b9a3cbb::m::t_a' (line 20)" + "errors": "Error in 1st command, from '0x0f50a2a7227cd0b8bbac16e3debae9078bc5c4a09c253c789944f850ea3ff3f3::m::t_a' (line 21)" } }, { "effects": { "status": "FAILURE", - "errors": "Error in 1st command, from '0x6846951eaea99f8742b4ad253534ef8b44459248f322f3cd404050aa1b9a3cbb::m::t_calls_a' (line 23)" + "errors": "Error in 1st command, from '0x0f50a2a7227cd0b8bbac16e3debae9078bc5c4a09c253c789944f850ea3ff3f3::m::t_calls_a' (line 24)" } }, { "effects": { "status": "FAILURE", - "errors": "Error in 1st command, from '0x6846951eaea99f8742b4ad253534ef8b44459248f322f3cd404050aa1b9a3cbb::m::t_const_assert' (line 9), abort 'EMsg': This is a string" + "errors": "Error in 1st command, from '0x0f50a2a7227cd0b8bbac16e3debae9078bc5c4a09c253c789944f850ea3ff3f3::m::t_const_assert' (line 10), abort 'EMsg': This is a string" } } ] diff --git a/crates/iota-graphql-e2e-tests/tests/event_connection/combo_filter_error.exp b/crates/iota-graphql-e2e-tests/tests/event_connection/combo_filter_error.exp index 2e134867efb..62475c2f565 100644 --- a/crates/iota-graphql-e2e-tests/tests/event_connection/combo_filter_error.exp +++ b/crates/iota-graphql-e2e-tests/tests/event_connection/combo_filter_error.exp @@ -3,23 +3,23 @@ processed 5 tasks init: A: object(0,0), B: object(0,1) -task 1, lines 9-28: +task 1, lines 10-29: //# publish created: object(1,0) mutated: object(0,2) gas summary: computation_cost: 1000000, storage_cost: 5380800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2, line 30: +task 2, line 31: //# run Test::M2::emit_emit_a --sender A --args 20 events: Event { package_id: Test, transaction_module: Identifier("M2"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [20, 0, 0, 0, 0, 0, 0, 0] } mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3, line 32: +task 3, line 33: //# create-checkpoint Checkpoint created: 1 -task 4, lines 34-51: +task 4, lines 35-52: //# run-graphql Response: { "data": null, diff --git a/crates/iota-graphql-e2e-tests/tests/event_connection/event_connection.exp b/crates/iota-graphql-e2e-tests/tests/event_connection/event_connection.exp index eb00b535469..27bda01c9df 100644 --- a/crates/iota-graphql-e2e-tests/tests/event_connection/event_connection.exp +++ b/crates/iota-graphql-e2e-tests/tests/event_connection/event_connection.exp @@ -3,53 +3,53 @@ processed 17 tasks init: A: object(0,0), B: object(0,1) -task 1, lines 14-81: +task 1, lines 15-82: //# publish created: object(1,0) mutated: object(0,2) gas summary: computation_cost: 1000000, storage_cost: 11263200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2, line 83: +task 2, line 84: //# run Test::M1::create --sender A --args 0 @A created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3, line 85: +task 3, line 86: //# run Test::M1::emit_a --sender A --args object(2,0) 0 events: Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [0, 0, 0, 0, 0, 0, 0, 0] } mutated: object(0,0), object(2,0) -gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 2279772, non_refundable_storage_fee: 23028 +gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 2302800, non_refundable_storage_fee: 0 -task 4, line 87: +task 4, line 88: //# run Test::M1::emit_b --sender A --args object(2,0) 1 events: Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventB"), type_params: [Struct(StructTag { address: Test, module: Identifier("M1"), name: Identifier("Object"), type_params: [] })] }, contents: [1, 0, 0, 0, 0, 0, 0, 0] } mutated: object(0,0), object(2,0) -gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 2279772, non_refundable_storage_fee: 23028 +gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 2302800, non_refundable_storage_fee: 0 -task 5, line 89: +task 5, line 90: //# run Test::M2::create --sender A --args 2 @A created: object(5,0) mutated: object(0,0) -gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 978120, non_refundable_storage_fee: 9880 +gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 988000, non_refundable_storage_fee: 0 -task 6, line 91: +task 6, line 92: //# run Test::M2::emit_a --sender A --args object(5,0) 2 events: Event { package_id: Test, transaction_module: Identifier("M2"), sender: A, type_: StructTag { address: Test, module: Identifier("M2"), name: Identifier("EventA"), type_params: [] }, contents: [2, 0, 0, 0, 0, 0, 0, 0] } mutated: object(0,0), object(5,0) -gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 2279772, non_refundable_storage_fee: 23028 +gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 2302800, non_refundable_storage_fee: 0 -task 7, line 93: +task 7, line 94: //# run Test::M2::emit_b --sender A --args object(5,0) 3 events: Event { package_id: Test, transaction_module: Identifier("M2"), sender: A, type_: StructTag { address: Test, module: Identifier("M2"), name: Identifier("EventB"), type_params: [Struct(StructTag { address: Test, module: Identifier("M2"), name: Identifier("Object"), type_params: [] })] }, contents: [3, 0, 0, 0, 0, 0, 0, 0] } mutated: object(0,0), object(5,0) -gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 2279772, non_refundable_storage_fee: 23028 +gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 2302800, non_refundable_storage_fee: 0 -task 8, line 95: +task 8, line 96: //# create-checkpoint Checkpoint created: 1 -task 9, lines 97-117: +task 9, lines 98-118: //# run-graphql Response: { "data": { @@ -62,10 +62,10 @@ Response: { "name": "M1" }, "type": { - "repr": "0x08c5d7466382add5a3962c5fbe295af8fc8331bd3140f4f23b031cc1439416ab::M1::EventA" + "repr": "0xa311cc9f1181c713c1613df0d5770195d810a5d570c3ed4f5fc7702ebb151519::M1::EventA" }, "sender": { - "address": "0xfccc9a421bbb13c1a66a1aa98f0ad75029ede94857779c6915b44f94068b921e" + "address": "0x8cca4e1ce0ba5904cea61df9242da2f7d29e3ef328fb7ec07c086b3bf47ca61a" }, "json": { "new_value": "0" @@ -80,10 +80,10 @@ Response: { "name": "M1" }, "type": { - "repr": "0x08c5d7466382add5a3962c5fbe295af8fc8331bd3140f4f23b031cc1439416ab::M1::EventB<0x08c5d7466382add5a3962c5fbe295af8fc8331bd3140f4f23b031cc1439416ab::M1::Object>" + "repr": "0xa311cc9f1181c713c1613df0d5770195d810a5d570c3ed4f5fc7702ebb151519::M1::EventB<0xa311cc9f1181c713c1613df0d5770195d810a5d570c3ed4f5fc7702ebb151519::M1::Object>" }, "sender": { - "address": "0xfccc9a421bbb13c1a66a1aa98f0ad75029ede94857779c6915b44f94068b921e" + "address": "0x8cca4e1ce0ba5904cea61df9242da2f7d29e3ef328fb7ec07c086b3bf47ca61a" }, "json": { "new_value": "1" @@ -98,10 +98,10 @@ Response: { "name": "M2" }, "type": { - "repr": "0x08c5d7466382add5a3962c5fbe295af8fc8331bd3140f4f23b031cc1439416ab::M2::EventA" + "repr": "0xa311cc9f1181c713c1613df0d5770195d810a5d570c3ed4f5fc7702ebb151519::M2::EventA" }, "sender": { - "address": "0xfccc9a421bbb13c1a66a1aa98f0ad75029ede94857779c6915b44f94068b921e" + "address": "0x8cca4e1ce0ba5904cea61df9242da2f7d29e3ef328fb7ec07c086b3bf47ca61a" }, "json": { "new_value": "2" @@ -116,10 +116,10 @@ Response: { "name": "M2" }, "type": { - "repr": "0x08c5d7466382add5a3962c5fbe295af8fc8331bd3140f4f23b031cc1439416ab::M2::EventB<0x08c5d7466382add5a3962c5fbe295af8fc8331bd3140f4f23b031cc1439416ab::M2::Object>" + "repr": "0xa311cc9f1181c713c1613df0d5770195d810a5d570c3ed4f5fc7702ebb151519::M2::EventB<0xa311cc9f1181c713c1613df0d5770195d810a5d570c3ed4f5fc7702ebb151519::M2::Object>" }, "sender": { - "address": "0xfccc9a421bbb13c1a66a1aa98f0ad75029ede94857779c6915b44f94068b921e" + "address": "0x8cca4e1ce0ba5904cea61df9242da2f7d29e3ef328fb7ec07c086b3bf47ca61a" }, "json": { "new_value": "3" @@ -132,7 +132,7 @@ Response: { } } -task 10, lines 119-139: +task 10, lines 120-140: //# run-graphql Response: { "data": { @@ -145,10 +145,10 @@ Response: { "name": "M1" }, "type": { - "repr": "0x08c5d7466382add5a3962c5fbe295af8fc8331bd3140f4f23b031cc1439416ab::M1::EventA" + "repr": "0xa311cc9f1181c713c1613df0d5770195d810a5d570c3ed4f5fc7702ebb151519::M1::EventA" }, "sender": { - "address": "0xfccc9a421bbb13c1a66a1aa98f0ad75029ede94857779c6915b44f94068b921e" + "address": "0x8cca4e1ce0ba5904cea61df9242da2f7d29e3ef328fb7ec07c086b3bf47ca61a" }, "json": { "new_value": "0" @@ -163,10 +163,10 @@ Response: { "name": "M1" }, "type": { - "repr": "0x08c5d7466382add5a3962c5fbe295af8fc8331bd3140f4f23b031cc1439416ab::M1::EventB<0x08c5d7466382add5a3962c5fbe295af8fc8331bd3140f4f23b031cc1439416ab::M1::Object>" + "repr": "0xa311cc9f1181c713c1613df0d5770195d810a5d570c3ed4f5fc7702ebb151519::M1::EventB<0xa311cc9f1181c713c1613df0d5770195d810a5d570c3ed4f5fc7702ebb151519::M1::Object>" }, "sender": { - "address": "0xfccc9a421bbb13c1a66a1aa98f0ad75029ede94857779c6915b44f94068b921e" + "address": "0x8cca4e1ce0ba5904cea61df9242da2f7d29e3ef328fb7ec07c086b3bf47ca61a" }, "json": { "new_value": "1" @@ -181,10 +181,10 @@ Response: { "name": "M2" }, "type": { - "repr": "0x08c5d7466382add5a3962c5fbe295af8fc8331bd3140f4f23b031cc1439416ab::M2::EventA" + "repr": "0xa311cc9f1181c713c1613df0d5770195d810a5d570c3ed4f5fc7702ebb151519::M2::EventA" }, "sender": { - "address": "0xfccc9a421bbb13c1a66a1aa98f0ad75029ede94857779c6915b44f94068b921e" + "address": "0x8cca4e1ce0ba5904cea61df9242da2f7d29e3ef328fb7ec07c086b3bf47ca61a" }, "json": { "new_value": "2" @@ -199,10 +199,10 @@ Response: { "name": "M2" }, "type": { - "repr": "0x08c5d7466382add5a3962c5fbe295af8fc8331bd3140f4f23b031cc1439416ab::M2::EventB<0x08c5d7466382add5a3962c5fbe295af8fc8331bd3140f4f23b031cc1439416ab::M2::Object>" + "repr": "0xa311cc9f1181c713c1613df0d5770195d810a5d570c3ed4f5fc7702ebb151519::M2::EventB<0xa311cc9f1181c713c1613df0d5770195d810a5d570c3ed4f5fc7702ebb151519::M2::Object>" }, "sender": { - "address": "0xfccc9a421bbb13c1a66a1aa98f0ad75029ede94857779c6915b44f94068b921e" + "address": "0x8cca4e1ce0ba5904cea61df9242da2f7d29e3ef328fb7ec07c086b3bf47ca61a" }, "json": { "new_value": "3" @@ -215,7 +215,7 @@ Response: { } } -task 11, lines 141-161: +task 11, lines 142-162: //# run-graphql Response: { "data": { @@ -228,10 +228,10 @@ Response: { "name": "M1" }, "type": { - "repr": "0x08c5d7466382add5a3962c5fbe295af8fc8331bd3140f4f23b031cc1439416ab::M1::EventA" + "repr": "0xa311cc9f1181c713c1613df0d5770195d810a5d570c3ed4f5fc7702ebb151519::M1::EventA" }, "sender": { - "address": "0xfccc9a421bbb13c1a66a1aa98f0ad75029ede94857779c6915b44f94068b921e" + "address": "0x8cca4e1ce0ba5904cea61df9242da2f7d29e3ef328fb7ec07c086b3bf47ca61a" }, "json": { "new_value": "0" @@ -246,10 +246,10 @@ Response: { "name": "M1" }, "type": { - "repr": "0x08c5d7466382add5a3962c5fbe295af8fc8331bd3140f4f23b031cc1439416ab::M1::EventB<0x08c5d7466382add5a3962c5fbe295af8fc8331bd3140f4f23b031cc1439416ab::M1::Object>" + "repr": "0xa311cc9f1181c713c1613df0d5770195d810a5d570c3ed4f5fc7702ebb151519::M1::EventB<0xa311cc9f1181c713c1613df0d5770195d810a5d570c3ed4f5fc7702ebb151519::M1::Object>" }, "sender": { - "address": "0xfccc9a421bbb13c1a66a1aa98f0ad75029ede94857779c6915b44f94068b921e" + "address": "0x8cca4e1ce0ba5904cea61df9242da2f7d29e3ef328fb7ec07c086b3bf47ca61a" }, "json": { "new_value": "1" @@ -262,7 +262,7 @@ Response: { } } -task 12, lines 163-183: +task 12, lines 164-184: //# run-graphql Response: { "data": { @@ -275,10 +275,10 @@ Response: { "name": "M1" }, "type": { - "repr": "0x08c5d7466382add5a3962c5fbe295af8fc8331bd3140f4f23b031cc1439416ab::M1::EventA" + "repr": "0xa311cc9f1181c713c1613df0d5770195d810a5d570c3ed4f5fc7702ebb151519::M1::EventA" }, "sender": { - "address": "0xfccc9a421bbb13c1a66a1aa98f0ad75029ede94857779c6915b44f94068b921e" + "address": "0x8cca4e1ce0ba5904cea61df9242da2f7d29e3ef328fb7ec07c086b3bf47ca61a" }, "json": { "new_value": "0" @@ -291,7 +291,7 @@ Response: { } } -task 13, lines 185-205: +task 13, lines 186-206: //# run-graphql Response: { "data": { @@ -304,10 +304,10 @@ Response: { "name": "M1" }, "type": { - "repr": "0x08c5d7466382add5a3962c5fbe295af8fc8331bd3140f4f23b031cc1439416ab::M1::EventB<0x08c5d7466382add5a3962c5fbe295af8fc8331bd3140f4f23b031cc1439416ab::M1::Object>" + "repr": "0xa311cc9f1181c713c1613df0d5770195d810a5d570c3ed4f5fc7702ebb151519::M1::EventB<0xa311cc9f1181c713c1613df0d5770195d810a5d570c3ed4f5fc7702ebb151519::M1::Object>" }, "sender": { - "address": "0xfccc9a421bbb13c1a66a1aa98f0ad75029ede94857779c6915b44f94068b921e" + "address": "0x8cca4e1ce0ba5904cea61df9242da2f7d29e3ef328fb7ec07c086b3bf47ca61a" }, "json": { "new_value": "1" @@ -320,7 +320,7 @@ Response: { } } -task 14, lines 207-227: +task 14, lines 208-228: //# run-graphql Response: { "data": null, @@ -340,7 +340,7 @@ Response: { ] } -task 15, lines 229-249: +task 15, lines 230-250: //# run-graphql Response: { "data": null, @@ -360,7 +360,7 @@ Response: { ] } -task 16, lines 251-271: +task 16, lines 252-272: //# run-graphql Response: { "data": null, diff --git a/crates/iota-graphql-e2e-tests/tests/event_connection/nested_emit_event.exp b/crates/iota-graphql-e2e-tests/tests/event_connection/nested_emit_event.exp index 97c97d609d0..18620d5de4f 100644 --- a/crates/iota-graphql-e2e-tests/tests/event_connection/nested_emit_event.exp +++ b/crates/iota-graphql-e2e-tests/tests/event_connection/nested_emit_event.exp @@ -3,23 +3,23 @@ processed 9 tasks init: A: object(0,0) -task 1, lines 10-37: +task 1, lines 11-38: //# publish created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 6095200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2, line 39: +task 2, line 40: //# run Test::M3::yeet --sender A --args 2 events: Event { package_id: Test, transaction_module: Identifier("M3"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [2, 0, 0, 0, 0, 0, 0, 0] } mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3, line 41: +task 3, line 42: //# create-checkpoint Checkpoint created: 1 -task 4, lines 43-60: +task 4, lines 44-61: //# run-graphql Response: { "data": { @@ -30,10 +30,10 @@ Response: { "name": "M3" }, "type": { - "repr": "0x0d72d40a7520bc67f48a16f325a5f189cb79788025784c7f41bf02598d02d2d0::M1::EventA" + "repr": "0x6cbc7dc28016b960fee7bd5312aed507936b59283b0e89c60205dc8c2f894855::M1::EventA" }, "sender": { - "address": "0xfccc9a421bbb13c1a66a1aa98f0ad75029ede94857779c6915b44f94068b921e" + "address": "0x8cca4e1ce0ba5904cea61df9242da2f7d29e3ef328fb7ec07c086b3bf47ca61a" }, "json": { "new_value": "2" @@ -45,7 +45,7 @@ Response: { } } -task 5, lines 62-79: +task 5, lines 63-80: //# run-graphql Response: { "data": { @@ -56,10 +56,10 @@ Response: { "name": "M3" }, "type": { - "repr": "0x0d72d40a7520bc67f48a16f325a5f189cb79788025784c7f41bf02598d02d2d0::M1::EventA" + "repr": "0x6cbc7dc28016b960fee7bd5312aed507936b59283b0e89c60205dc8c2f894855::M1::EventA" }, "sender": { - "address": "0xfccc9a421bbb13c1a66a1aa98f0ad75029ede94857779c6915b44f94068b921e" + "address": "0x8cca4e1ce0ba5904cea61df9242da2f7d29e3ef328fb7ec07c086b3bf47ca61a" }, "json": { "new_value": "2" @@ -71,7 +71,7 @@ Response: { } } -task 6, lines 81-98: +task 6, lines 82-99: //# run-graphql Response: { "data": { @@ -81,7 +81,7 @@ Response: { } } -task 7, lines 100-117: +task 7, lines 101-118: //# run-graphql Response: { "data": { @@ -91,7 +91,7 @@ Response: { } } -task 8, lines 119-136: +task 8, lines 120-137: //# run-graphql Response: { "data": { @@ -102,10 +102,10 @@ Response: { "name": "M3" }, "type": { - "repr": "0x0d72d40a7520bc67f48a16f325a5f189cb79788025784c7f41bf02598d02d2d0::M1::EventA" + "repr": "0x6cbc7dc28016b960fee7bd5312aed507936b59283b0e89c60205dc8c2f894855::M1::EventA" }, "sender": { - "address": "0xfccc9a421bbb13c1a66a1aa98f0ad75029ede94857779c6915b44f94068b921e" + "address": "0x8cca4e1ce0ba5904cea61df9242da2f7d29e3ef328fb7ec07c086b3bf47ca61a" }, "json": { "new_value": "2" diff --git a/crates/iota-graphql-e2e-tests/tests/event_connection/no_filter.exp b/crates/iota-graphql-e2e-tests/tests/event_connection/no_filter.exp index 3d916fe5b95..7b23e7429d6 100644 --- a/crates/iota-graphql-e2e-tests/tests/event_connection/no_filter.exp +++ b/crates/iota-graphql-e2e-tests/tests/event_connection/no_filter.exp @@ -3,23 +3,23 @@ processed 6 tasks init: A: object(0,0) -task 1, lines 6-25: +task 1, lines 7-26: //# publish created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 4970400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2, line 27: +task 2, line 28: //# run Test::M1::emit --sender A --args 0 events: Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [0, 0, 0, 0, 0, 0, 0, 0] }, Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [1, 0, 0, 0, 0, 0, 0, 0] }, Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [2, 0, 0, 0, 0, 0, 0, 0] }, Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [3, 0, 0, 0, 0, 0, 0, 0] }, Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [4, 0, 0, 0, 0, 0, 0, 0] }, Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [5, 0, 0, 0, 0, 0, 0, 0] }, Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [6, 0, 0, 0, 0, 0, 0, 0] }, Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [7, 0, 0, 0, 0, 0, 0, 0] }, Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [8, 0, 0, 0, 0, 0, 0, 0] }, Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [9, 0, 0, 0, 0, 0, 0, 0] }, Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [10, 0, 0, 0, 0, 0, 0, 0] }, Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [11, 0, 0, 0, 0, 0, 0, 0] }, Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [12, 0, 0, 0, 0, 0, 0, 0] }, Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [13, 0, 0, 0, 0, 0, 0, 0] }, Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [14, 0, 0, 0, 0, 0, 0, 0] }, Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [15, 0, 0, 0, 0, 0, 0, 0] }, Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [16, 0, 0, 0, 0, 0, 0, 0] }, Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [17, 0, 0, 0, 0, 0, 0, 0] }, Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [18, 0, 0, 0, 0, 0, 0, 0] }, Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [19, 0, 0, 0, 0, 0, 0, 0] }, Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [20, 0, 0, 0, 0, 0, 0, 0] }, Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [21, 0, 0, 0, 0, 0, 0, 0] }, Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [22, 0, 0, 0, 0, 0, 0, 0] }, Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [23, 0, 0, 0, 0, 0, 0, 0] }, Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [24, 0, 0, 0, 0, 0, 0, 0] }, Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [25, 0, 0, 0, 0, 0, 0, 0] }, Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [26, 0, 0, 0, 0, 0, 0, 0] }, Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [27, 0, 0, 0, 0, 0, 0, 0] }, Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [28, 0, 0, 0, 0, 0, 0, 0] }, Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [29, 0, 0, 0, 0, 0, 0, 0] }, Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [30, 0, 0, 0, 0, 0, 0, 0] }, Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [31, 0, 0, 0, 0, 0, 0, 0] }, Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [32, 0, 0, 0, 0, 0, 0, 0] }, Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [33, 0, 0, 0, 0, 0, 0, 0] }, Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [34, 0, 0, 0, 0, 0, 0, 0] }, Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [35, 0, 0, 0, 0, 0, 0, 0] }, Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [36, 0, 0, 0, 0, 0, 0, 0] }, Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [37, 0, 0, 0, 0, 0, 0, 0] }, Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [38, 0, 0, 0, 0, 0, 0, 0] }, Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [39, 0, 0, 0, 0, 0, 0, 0] }, Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [40, 0, 0, 0, 0, 0, 0, 0] }, Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [41, 0, 0, 0, 0, 0, 0, 0] }, Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [42, 0, 0, 0, 0, 0, 0, 0] }, Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [43, 0, 0, 0, 0, 0, 0, 0] }, Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [44, 0, 0, 0, 0, 0, 0, 0] }, Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [45, 0, 0, 0, 0, 0, 0, 0] }, Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [46, 0, 0, 0, 0, 0, 0, 0] }, Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [47, 0, 0, 0, 0, 0, 0, 0] }, Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [48, 0, 0, 0, 0, 0, 0, 0] }, Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [49, 0, 0, 0, 0, 0, 0, 0] }, Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [50, 0, 0, 0, 0, 0, 0, 0] } mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3, line 29: +task 3, line 30: //# create-checkpoint Checkpoint created: 1 -task 4, lines 31-44: +task 4, lines 32-45: //# run-graphql Response: { "data": { @@ -27,10 +27,57 @@ Response: { "pageInfo": { "hasPreviousPage": false, "hasNextPage": true, - "startCursor": "eyJ0eCI6MiwiZSI6MCwiYyI6MX0", - "endCursor": "eyJ0eCI6MiwiZSI6MTksImMiOjF9" + "startCursor": "eyJ0eCI6MCwiZSI6MCwiYyI6MX0", + "endCursor": "eyJ0eCI6MiwiZSI6MTcsImMiOjF9" }, "nodes": [ + { + "json": { + "id": "0x94748c4c86e2788f36f0e2c32ed651346fe7f8a8108bb74adc70e612d17a3040" + } + }, + { + "json": { + "id": "0x94748c4c86e2788f36f0e2c32ed651346fe7f8a8108bb74adc70e612d17a3040", + "version": 1, + "fields": { + "contents": [ + { + "key": "name", + "value": "{immutable_metadata.name}" + }, + { + "key": "image_url", + "value": "{immutable_metadata.uri}" + }, + { + "key": "description", + "value": "{immutable_metadata.description}" + }, + { + "key": "creator", + "value": "{immutable_metadata.issuer_name}" + }, + { + "key": "version", + "value": "{immutable_metadata.version}" + }, + { + "key": "media_type", + "value": "{immutable_metadata.media_type}" + }, + { + "key": "collection_name", + "value": "{immutable_metadata.collection_name}" + }, + { + "key": "immutable_issuer", + "value": "{immutable_issuer}" + } + ] + } + } + }, { "json": { "new_value": "0" @@ -120,23 +167,13 @@ Response: { "json": { "new_value": "17" } - }, - { - "json": { - "new_value": "18" - } - }, - { - "json": { - "new_value": "19" - } } ] } } } -task 5, lines 46-59: +task 5, lines 47-60: //# run-graphql --cursors {"tx":2,"e":19,"c":1} Response: { "data": { diff --git a/crates/iota-graphql-e2e-tests/tests/event_connection/pagination.exp b/crates/iota-graphql-e2e-tests/tests/event_connection/pagination.exp index 6eabbcf2d10..734fd5b8cde 100644 --- a/crates/iota-graphql-e2e-tests/tests/event_connection/pagination.exp +++ b/crates/iota-graphql-e2e-tests/tests/event_connection/pagination.exp @@ -3,29 +3,29 @@ processed 9 tasks init: A: object(0,0) -task 1, lines 6-22: +task 1, lines 7-23: //# publish created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 4818400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2, line 24: +task 2, line 25: //# run Test::M1::emit_1 --sender A --args 0 events: Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [0, 0, 0, 0, 0, 0, 0, 0] } mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3, line 26: +task 3, line 27: //# run Test::M1::emit_2 --sender A --args 1 events: Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [1, 0, 0, 0, 0, 0, 0, 0] }, Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [2, 0, 0, 0, 0, 0, 0, 0] } mutated: object(0,0) -gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 +gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 988000, non_refundable_storage_fee: 0 -task 4, line 28: +task 4, line 29: //# create-checkpoint Checkpoint created: 1 -task 5, lines 30-54: +task 5, lines 31-55: //# run-graphql Response: { "data": { @@ -42,10 +42,10 @@ Response: { "name": "M1" }, "type": { - "repr": "0x5ba7fdbca31dfa8d9642b26cd297043adba83d87276b248ef9feecd2fe80f9ec::M1::EventA" + "repr": "0xa8413f7e30b020cc5f4509441504be24b3551471e81de5d169d94bfc76c07495::M1::EventA" }, "sender": { - "address": "0xfccc9a421bbb13c1a66a1aa98f0ad75029ede94857779c6915b44f94068b921e" + "address": "0x8cca4e1ce0ba5904cea61df9242da2f7d29e3ef328fb7ec07c086b3bf47ca61a" }, "json": { "new_value": "0" @@ -60,10 +60,10 @@ Response: { "name": "M1" }, "type": { - "repr": "0x5ba7fdbca31dfa8d9642b26cd297043adba83d87276b248ef9feecd2fe80f9ec::M1::EventA" + "repr": "0xa8413f7e30b020cc5f4509441504be24b3551471e81de5d169d94bfc76c07495::M1::EventA" }, "sender": { - "address": "0xfccc9a421bbb13c1a66a1aa98f0ad75029ede94857779c6915b44f94068b921e" + "address": "0x8cca4e1ce0ba5904cea61df9242da2f7d29e3ef328fb7ec07c086b3bf47ca61a" }, "json": { "new_value": "1" @@ -78,10 +78,10 @@ Response: { "name": "M1" }, "type": { - "repr": "0x5ba7fdbca31dfa8d9642b26cd297043adba83d87276b248ef9feecd2fe80f9ec::M1::EventA" + "repr": "0xa8413f7e30b020cc5f4509441504be24b3551471e81de5d169d94bfc76c07495::M1::EventA" }, "sender": { - "address": "0xfccc9a421bbb13c1a66a1aa98f0ad75029ede94857779c6915b44f94068b921e" + "address": "0x8cca4e1ce0ba5904cea61df9242da2f7d29e3ef328fb7ec07c086b3bf47ca61a" }, "json": { "new_value": "2" @@ -94,7 +94,7 @@ Response: { } } -task 6, lines 56-80: +task 6, lines 57-81: //# run-graphql --cursors {"tx":2,"e":0,"c":1} Response: { "data": { @@ -111,10 +111,10 @@ Response: { "name": "M1" }, "type": { - "repr": "0x5ba7fdbca31dfa8d9642b26cd297043adba83d87276b248ef9feecd2fe80f9ec::M1::EventA" + "repr": "0xa8413f7e30b020cc5f4509441504be24b3551471e81de5d169d94bfc76c07495::M1::EventA" }, "sender": { - "address": "0xfccc9a421bbb13c1a66a1aa98f0ad75029ede94857779c6915b44f94068b921e" + "address": "0x8cca4e1ce0ba5904cea61df9242da2f7d29e3ef328fb7ec07c086b3bf47ca61a" }, "json": { "new_value": "1" @@ -129,10 +129,10 @@ Response: { "name": "M1" }, "type": { - "repr": "0x5ba7fdbca31dfa8d9642b26cd297043adba83d87276b248ef9feecd2fe80f9ec::M1::EventA" + "repr": "0xa8413f7e30b020cc5f4509441504be24b3551471e81de5d169d94bfc76c07495::M1::EventA" }, "sender": { - "address": "0xfccc9a421bbb13c1a66a1aa98f0ad75029ede94857779c6915b44f94068b921e" + "address": "0x8cca4e1ce0ba5904cea61df9242da2f7d29e3ef328fb7ec07c086b3bf47ca61a" }, "json": { "new_value": "2" @@ -145,7 +145,7 @@ Response: { } } -task 7, lines 82-106: +task 7, lines 83-107: //# run-graphql --cursors {"tx":3,"e":1,"c":1} Response: { "data": { @@ -162,10 +162,10 @@ Response: { "name": "M1" }, "type": { - "repr": "0x5ba7fdbca31dfa8d9642b26cd297043adba83d87276b248ef9feecd2fe80f9ec::M1::EventA" + "repr": "0xa8413f7e30b020cc5f4509441504be24b3551471e81de5d169d94bfc76c07495::M1::EventA" }, "sender": { - "address": "0xfccc9a421bbb13c1a66a1aa98f0ad75029ede94857779c6915b44f94068b921e" + "address": "0x8cca4e1ce0ba5904cea61df9242da2f7d29e3ef328fb7ec07c086b3bf47ca61a" }, "json": { "new_value": "0" @@ -180,10 +180,10 @@ Response: { "name": "M1" }, "type": { - "repr": "0x5ba7fdbca31dfa8d9642b26cd297043adba83d87276b248ef9feecd2fe80f9ec::M1::EventA" + "repr": "0xa8413f7e30b020cc5f4509441504be24b3551471e81de5d169d94bfc76c07495::M1::EventA" }, "sender": { - "address": "0xfccc9a421bbb13c1a66a1aa98f0ad75029ede94857779c6915b44f94068b921e" + "address": "0x8cca4e1ce0ba5904cea61df9242da2f7d29e3ef328fb7ec07c086b3bf47ca61a" }, "json": { "new_value": "1" @@ -196,7 +196,7 @@ Response: { } } -task 8, lines 108-132: +task 8, lines 109-133: //# run-graphql Response: { "data": { @@ -213,10 +213,10 @@ Response: { "name": "M1" }, "type": { - "repr": "0x5ba7fdbca31dfa8d9642b26cd297043adba83d87276b248ef9feecd2fe80f9ec::M1::EventA" + "repr": "0xa8413f7e30b020cc5f4509441504be24b3551471e81de5d169d94bfc76c07495::M1::EventA" }, "sender": { - "address": "0xfccc9a421bbb13c1a66a1aa98f0ad75029ede94857779c6915b44f94068b921e" + "address": "0x8cca4e1ce0ba5904cea61df9242da2f7d29e3ef328fb7ec07c086b3bf47ca61a" }, "json": { "new_value": "1" @@ -231,10 +231,10 @@ Response: { "name": "M1" }, "type": { - "repr": "0x5ba7fdbca31dfa8d9642b26cd297043adba83d87276b248ef9feecd2fe80f9ec::M1::EventA" + "repr": "0xa8413f7e30b020cc5f4509441504be24b3551471e81de5d169d94bfc76c07495::M1::EventA" }, "sender": { - "address": "0xfccc9a421bbb13c1a66a1aa98f0ad75029ede94857779c6915b44f94068b921e" + "address": "0x8cca4e1ce0ba5904cea61df9242da2f7d29e3ef328fb7ec07c086b3bf47ca61a" }, "json": { "new_value": "2" diff --git a/crates/iota-graphql-e2e-tests/tests/event_connection/tx_digest.exp b/crates/iota-graphql-e2e-tests/tests/event_connection/tx_digest.exp index 12f3b6c2ebb..934ea794f59 100644 --- a/crates/iota-graphql-e2e-tests/tests/event_connection/tx_digest.exp +++ b/crates/iota-graphql-e2e-tests/tests/event_connection/tx_digest.exp @@ -3,60 +3,60 @@ processed 21 tasks init: A: object(0,0), B: object(0,1) -task 1, lines 10-26: +task 1, lines 11-27: //# publish created: object(1,0) mutated: object(0,2) gas summary: computation_cost: 1000000, storage_cost: 4795600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2, line 28: +task 2, line 29: //# run Test::M1::no_emit --sender A --args 0 mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3, line 30: +task 3, line 31: //# run Test::M1::emit_2 --sender A --args 2 events: Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [2, 0, 0, 0, 0, 0, 0, 0] }, Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [3, 0, 0, 0, 0, 0, 0, 0] } mutated: object(0,0) -gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 +gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 988000, non_refundable_storage_fee: 0 -task 4, line 32: +task 4, line 33: //# run Test::M1::emit_2 --sender B --args 4 events: Event { package_id: Test, transaction_module: Identifier("M1"), sender: B, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [4, 0, 0, 0, 0, 0, 0, 0] }, Event { package_id: Test, transaction_module: Identifier("M1"), sender: B, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [5, 0, 0, 0, 0, 0, 0, 0] } mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 5, line 34: +task 5, line 35: //# create-checkpoint Checkpoint created: 1 -task 6, lines 36-43: +task 6, lines 37-44: //# run-graphql Response: { "data": { "transactionBlocks": { "nodes": [ { - "digest": "AXoD3PWjAdYov3o7FaWgAqJA8RmvQrjwxGxAi2MNEujz" + "digest": "5wn4yRKTAb2rpPLH2WjRVkgU6hRMiXEo12oCTofh1PbF" }, { - "digest": "3nuQk9o2VVoqWbF6gS5vBTPwVLhMRbFJREDCvQJUavZ2" + "digest": "6HhcduHGWADET2YqBhFFeqRjizb41FvLwB22MRVEodGH" }, { - "digest": "5VAhspujQVcgJNvqe9Ed8BuFTeZdTRCCTzS6WwSZ9Dke" + "digest": "5E6iCRPyp9v4qceMwd5vJuSc7AXtRqrtuLyCf8NqmbKF" }, { - "digest": "8n1pk5fYM7v7tvsh4dcKxLRy8uf3he24FZCwdEKi9cSj" + "digest": "5a9JZB8Sj4ZBUbw92Lhh5FPUELjF7DQu86axPnAoshUS" }, { - "digest": "4dqR1zeomDMNHbUAZjooSZXrosPEb67gvvsUFeUSet9v" + "digest": "mggojgjMhBoxL5AYtYav6kuwnLBT6AwJ9XeFcnJagab" } ] } } } -task 7, lines 45-55: +task 7, lines 46-56: //# run-graphql Response: { "data": { @@ -83,7 +83,7 @@ Response: { } } -task 8, lines 57-68: +task 8, lines 58-69: //# run-graphql --cursors {"tx":3,"e":1,"c":1} Response: { "data": { @@ -93,7 +93,7 @@ Response: { } } -task 9, lines 70-83: +task 9, lines 71-84: //# run-graphql --cursors {"tx":1,"e":1,"c":1} Response: { "data": { @@ -103,7 +103,7 @@ Response: { } } -task 10, lines 86-96: +task 10, lines 87-97: //# run-graphql Response: { "data": { @@ -130,7 +130,7 @@ Response: { } } -task 11, lines 98-108: +task 11, lines 99-109: //# run-graphql --cursors {"tx":4,"e":0,"c":1} Response: { "data": { @@ -149,7 +149,7 @@ Response: { } } -task 12, lines 111-121: +task 12, lines 112-122: //# run-graphql Response: { "data": { @@ -176,7 +176,7 @@ Response: { } } -task 13, lines 123-134: +task 13, lines 124-135: //# run-graphql --cursors {"tx":3,"e":1,"c":1} Response: { "data": { @@ -195,7 +195,7 @@ Response: { } } -task 14, lines 136-149: +task 14, lines 137-150: //# run-graphql --cursors {"tx":4,"e":1,"c":1} Response: { "data": { @@ -205,7 +205,7 @@ Response: { } } -task 15, lines 152-162: +task 15, lines 153-163: //# run-graphql Response: { "data": { @@ -232,7 +232,7 @@ Response: { } } -task 16, lines 164-174: +task 16, lines 165-175: //# run-graphql --cursors {"tx":4,"e":1,"c":1} Response: { "data": { @@ -251,7 +251,7 @@ Response: { } } -task 17, lines 176-187: +task 17, lines 177-188: //# run-graphql Response: { "data": { @@ -278,7 +278,7 @@ Response: { } } -task 18, lines 189-200: +task 18, lines 190-201: //# run-graphql Response: { "data": { @@ -305,7 +305,7 @@ Response: { } } -task 19, lines 202-213: +task 19, lines 203-214: //# run-graphql Response: { "data": { @@ -315,7 +315,7 @@ Response: { } } -task 20, lines 215-226: +task 20, lines 216-227: //# run-graphql Response: { "data": { diff --git a/crates/iota-graphql-e2e-tests/tests/event_connection/tx_digest.move b/crates/iota-graphql-e2e-tests/tests/event_connection/tx_digest.move index a24d5e2bff6..ede2a63bda6 100644 --- a/crates/iota-graphql-e2e-tests/tests/event_connection/tx_digest.move +++ b/crates/iota-graphql-e2e-tests/tests/event_connection/tx_digest.move @@ -45,7 +45,7 @@ module Test::M1 { //# run-graphql { - events(filter: {transactionDigest: "8n1pk5fYM7v7tvsh4dcKxLRy8uf3he24FZCwdEKi9cSj"}) { + events(filter: {transactionDigest: "5a9JZB8Sj4ZBUbw92Lhh5FPUELjF7DQu86axPnAoshUS"}) { edges { cursor node { @@ -58,7 +58,7 @@ module Test::M1 { //# run-graphql --cursors {"tx":3,"e":1,"c":1} # When the tx digest and after cursor are on the same tx, we'll use the after cursor's event sequence number { - events(after: "@{cursor_0}" filter: {transactionDigest: "8n1pk5fYM7v7tvsh4dcKxLRy8uf3he24FZCwdEKi9cSj"}) { + events(after: "@{cursor_0}" filter: {transactionDigest: "5a9JZB8Sj4ZBUbw92Lhh5FPUELjF7DQu86axPnAoshUS"}) { edges { cursor node { @@ -73,7 +73,7 @@ module Test::M1 { # we will get an empty response, since it's not possible to fetch an event # that isn't of the same tx sequence number { - events(after: "@{cursor_0}" filter: {transactionDigest: "8n1pk5fYM7v7tvsh4dcKxLRy8uf3he24FZCwdEKi9cSj"}) { + events(after: "@{cursor_0}" filter: {transactionDigest: "5a9JZB8Sj4ZBUbw92Lhh5FPUELjF7DQu86axPnAoshUS"}) { edges { cursor node { @@ -86,7 +86,7 @@ module Test::M1 { //# run-graphql { - events(filter: {transactionDigest: "4dqR1zeomDMNHbUAZjooSZXrosPEb67gvvsUFeUSet9v"}) { + events(filter: {transactionDigest: "mggojgjMhBoxL5AYtYav6kuwnLBT6AwJ9XeFcnJagab"}) { edges { cursor node { @@ -98,7 +98,7 @@ module Test::M1 { //# run-graphql --cursors {"tx":4,"e":0,"c":1} { - events(after: "@{cursor_0}" filter: {transactionDigest: "4dqR1zeomDMNHbUAZjooSZXrosPEb67gvvsUFeUSet9v"}) { + events(after: "@{cursor_0}" filter: {transactionDigest: "mggojgjMhBoxL5AYtYav6kuwnLBT6AwJ9XeFcnJagab"}) { edges { cursor node { @@ -111,7 +111,7 @@ module Test::M1 { //# run-graphql { - events(last: 10 filter: {transactionDigest: "8n1pk5fYM7v7tvsh4dcKxLRy8uf3he24FZCwdEKi9cSj"}) { + events(last: 10 filter: {transactionDigest: "5a9JZB8Sj4ZBUbw92Lhh5FPUELjF7DQu86axPnAoshUS"}) { edges { cursor node { @@ -124,7 +124,7 @@ module Test::M1 { //# run-graphql --cursors {"tx":3,"e":1,"c":1} # When the tx digest and cursor are on the same tx, we'll use the cursor's event sequence number { - events(last: 10 before: "@{cursor_0}" filter: {transactionDigest: "8n1pk5fYM7v7tvsh4dcKxLRy8uf3he24FZCwdEKi9cSj"}) { + events(last: 10 before: "@{cursor_0}" filter: {transactionDigest: "5a9JZB8Sj4ZBUbw92Lhh5FPUELjF7DQu86axPnAoshUS"}) { edges { cursor node { @@ -139,7 +139,7 @@ module Test::M1 { # we will get an empty response, since it's not possible to fetch an event # that isn't of the same tx sequence number { - events(last: 10 before: "@{cursor_0}" filter: {transactionDigest: "8n1pk5fYM7v7tvsh4dcKxLRy8uf3he24FZCwdEKi9cSj"}) { + events(last: 10 before: "@{cursor_0}" filter: {transactionDigest: "5a9JZB8Sj4ZBUbw92Lhh5FPUELjF7DQu86axPnAoshUS"}) { edges { cursor node { @@ -152,7 +152,7 @@ module Test::M1 { //# run-graphql { - events(last: 10 filter: {transactionDigest: "4dqR1zeomDMNHbUAZjooSZXrosPEb67gvvsUFeUSet9v"}) { + events(last: 10 filter: {transactionDigest: "mggojgjMhBoxL5AYtYav6kuwnLBT6AwJ9XeFcnJagab"}) { edges { cursor node { @@ -164,7 +164,7 @@ module Test::M1 { //# run-graphql --cursors {"tx":4,"e":1,"c":1} { - events(last: 10 before: "@{cursor_0}" filter: {transactionDigest: "4dqR1zeomDMNHbUAZjooSZXrosPEb67gvvsUFeUSet9v"}) { + events(last: 10 before: "@{cursor_0}" filter: {transactionDigest: "mggojgjMhBoxL5AYtYav6kuwnLBT6AwJ9XeFcnJagab"}) { edges { cursor node { @@ -177,7 +177,7 @@ module Test::M1 { //# run-graphql # correct sender { - events(filter: {sender: "@{A}" transactionDigest: "8n1pk5fYM7v7tvsh4dcKxLRy8uf3he24FZCwdEKi9cSj"}) { + events(filter: {sender: "@{A}" transactionDigest: "5a9JZB8Sj4ZBUbw92Lhh5FPUELjF7DQu86axPnAoshUS"}) { edges { cursor node { @@ -190,7 +190,7 @@ module Test::M1 { //# run-graphql # correct sender { - events(filter: {sender: "@{B}" transactionDigest: "4dqR1zeomDMNHbUAZjooSZXrosPEb67gvvsUFeUSet9v"}) { + events(filter: {sender: "@{B}" transactionDigest: "mggojgjMhBoxL5AYtYav6kuwnLBT6AwJ9XeFcnJagab"}) { edges { cursor node { @@ -203,7 +203,7 @@ module Test::M1 { //# run-graphql # incorrect sender { - events(filter: {sender: "@{B}" transactionDigest: "8n1pk5fYM7v7tvsh4dcKxLRy8uf3he24FZCwdEKi9cSj"}) { + events(filter: {sender: "@{B}" transactionDigest: "5a9JZB8Sj4ZBUbw92Lhh5FPUELjF7DQu86axPnAoshUS"}) { edges { cursor node { @@ -216,7 +216,7 @@ module Test::M1 { //# run-graphql # incorrect sender { - events(filter: {sender: "@{A}" transactionDigest: "4dqR1zeomDMNHbUAZjooSZXrosPEb67gvvsUFeUSet9v"}) { + events(filter: {sender: "@{A}" transactionDigest: "mggojgjMhBoxL5AYtYav6kuwnLBT6AwJ9XeFcnJagab"}) { edges { cursor node { diff --git a/crates/iota-graphql-e2e-tests/tests/event_connection/type_filter.exp b/crates/iota-graphql-e2e-tests/tests/event_connection/type_filter.exp index 3afb3184878..96d269d0795 100644 --- a/crates/iota-graphql-e2e-tests/tests/event_connection/type_filter.exp +++ b/crates/iota-graphql-e2e-tests/tests/event_connection/type_filter.exp @@ -3,23 +3,23 @@ processed 12 tasks init: A: object(0,0), B: object(0,1) -task 1, lines 6-34: +task 1, lines 7-35: //# publish created: object(1,0) mutated: object(0,2) gas summary: computation_cost: 1000000, storage_cost: 6604400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2, line 36: +task 2, line 37: //# run Test::M2::emit_emit_a --sender A --args 20 events: Event { package_id: Test, transaction_module: Identifier("M2"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [20, 0, 0, 0, 0, 0, 0, 0] } mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3, line 38: +task 3, line 39: //# create-checkpoint Checkpoint created: 1 -task 4, lines 40-57: +task 4, lines 41-58: //# run-graphql Response: { "data": { @@ -30,10 +30,10 @@ Response: { "name": "M2" }, "type": { - "repr": "0x6edb181eb03cea19a3c4b09d2d6b5de8d0a741df186d072d18b2030eb36faee1::M1::EventA" + "repr": "0xe403c4d9b3a696b833f39a4ed69ce765c00cb552fb66ac65155515385c5d8f6a::M1::EventA" }, "sender": { - "address": "0xfccc9a421bbb13c1a66a1aa98f0ad75029ede94857779c6915b44f94068b921e" + "address": "0x8cca4e1ce0ba5904cea61df9242da2f7d29e3ef328fb7ec07c086b3bf47ca61a" }, "json": { "new_value": "20" @@ -45,23 +45,23 @@ Response: { } } -task 5, line 59: +task 5, line 60: //# run Test::M2::emit_b --sender A --args 42 events: Event { package_id: Test, transaction_module: Identifier("M2"), sender: A, type_: StructTag { address: Test, module: Identifier("M2"), name: Identifier("EventB"), type_params: [] }, contents: [42, 0, 0, 0, 0, 0, 0, 0] } mutated: object(0,0) -gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 +gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 988000, non_refundable_storage_fee: 0 -task 6, line 61: +task 6, line 62: //# run Test::M2::emit_b --sender B --args 43 events: Event { package_id: Test, transaction_module: Identifier("M2"), sender: B, type_: StructTag { address: Test, module: Identifier("M2"), name: Identifier("EventB"), type_params: [] }, contents: [43, 0, 0, 0, 0, 0, 0, 0] } mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 7, line 63: +task 7, line 64: //# create-checkpoint Checkpoint created: 2 -task 8, lines 65-82: +task 8, lines 66-83: //# run-graphql Response: { "data": { @@ -72,10 +72,10 @@ Response: { "name": "M2" }, "type": { - "repr": "0x6edb181eb03cea19a3c4b09d2d6b5de8d0a741df186d072d18b2030eb36faee1::M1::EventA" + "repr": "0xe403c4d9b3a696b833f39a4ed69ce765c00cb552fb66ac65155515385c5d8f6a::M1::EventA" }, "sender": { - "address": "0xfccc9a421bbb13c1a66a1aa98f0ad75029ede94857779c6915b44f94068b921e" + "address": "0x8cca4e1ce0ba5904cea61df9242da2f7d29e3ef328fb7ec07c086b3bf47ca61a" }, "json": { "new_value": "20" @@ -87,7 +87,7 @@ Response: { } } -task 9, lines 84-101: +task 9, lines 85-102: //# run-graphql Response: { "data": { @@ -98,10 +98,10 @@ Response: { "name": "M2" }, "type": { - "repr": "0x6edb181eb03cea19a3c4b09d2d6b5de8d0a741df186d072d18b2030eb36faee1::M2::EventB" + "repr": "0xe403c4d9b3a696b833f39a4ed69ce765c00cb552fb66ac65155515385c5d8f6a::M2::EventB" }, "sender": { - "address": "0xfccc9a421bbb13c1a66a1aa98f0ad75029ede94857779c6915b44f94068b921e" + "address": "0x8cca4e1ce0ba5904cea61df9242da2f7d29e3ef328fb7ec07c086b3bf47ca61a" }, "json": { "new_value": "42" @@ -113,7 +113,7 @@ Response: { } } -task 10, lines 103-120: +task 10, lines 104-121: //# run-graphql Response: { "data": { @@ -124,10 +124,10 @@ Response: { "name": "M2" }, "type": { - "repr": "0x6edb181eb03cea19a3c4b09d2d6b5de8d0a741df186d072d18b2030eb36faee1::M1::EventA" + "repr": "0xe403c4d9b3a696b833f39a4ed69ce765c00cb552fb66ac65155515385c5d8f6a::M1::EventA" }, "sender": { - "address": "0xfccc9a421bbb13c1a66a1aa98f0ad75029ede94857779c6915b44f94068b921e" + "address": "0x8cca4e1ce0ba5904cea61df9242da2f7d29e3ef328fb7ec07c086b3bf47ca61a" }, "json": { "new_value": "20" @@ -139,10 +139,10 @@ Response: { "name": "M2" }, "type": { - "repr": "0x6edb181eb03cea19a3c4b09d2d6b5de8d0a741df186d072d18b2030eb36faee1::M2::EventB" + "repr": "0xe403c4d9b3a696b833f39a4ed69ce765c00cb552fb66ac65155515385c5d8f6a::M2::EventB" }, "sender": { - "address": "0xfccc9a421bbb13c1a66a1aa98f0ad75029ede94857779c6915b44f94068b921e" + "address": "0x8cca4e1ce0ba5904cea61df9242da2f7d29e3ef328fb7ec07c086b3bf47ca61a" }, "json": { "new_value": "42" @@ -154,7 +154,7 @@ Response: { } } -task 11, lines 122-139: +task 11, lines 123-140: //# run-graphql Response: { "data": { @@ -165,10 +165,10 @@ Response: { "name": "M2" }, "type": { - "repr": "0x6edb181eb03cea19a3c4b09d2d6b5de8d0a741df186d072d18b2030eb36faee1::M1::EventA" + "repr": "0xe403c4d9b3a696b833f39a4ed69ce765c00cb552fb66ac65155515385c5d8f6a::M1::EventA" }, "sender": { - "address": "0xfccc9a421bbb13c1a66a1aa98f0ad75029ede94857779c6915b44f94068b921e" + "address": "0x8cca4e1ce0ba5904cea61df9242da2f7d29e3ef328fb7ec07c086b3bf47ca61a" }, "json": { "new_value": "20" @@ -180,10 +180,10 @@ Response: { "name": "M2" }, "type": { - "repr": "0x6edb181eb03cea19a3c4b09d2d6b5de8d0a741df186d072d18b2030eb36faee1::M2::EventB" + "repr": "0xe403c4d9b3a696b833f39a4ed69ce765c00cb552fb66ac65155515385c5d8f6a::M2::EventB" }, "sender": { - "address": "0xfccc9a421bbb13c1a66a1aa98f0ad75029ede94857779c6915b44f94068b921e" + "address": "0x8cca4e1ce0ba5904cea61df9242da2f7d29e3ef328fb7ec07c086b3bf47ca61a" }, "json": { "new_value": "42" @@ -195,10 +195,10 @@ Response: { "name": "M2" }, "type": { - "repr": "0x6edb181eb03cea19a3c4b09d2d6b5de8d0a741df186d072d18b2030eb36faee1::M2::EventB" + "repr": "0xe403c4d9b3a696b833f39a4ed69ce765c00cb552fb66ac65155515385c5d8f6a::M2::EventB" }, "sender": { - "address": "0xa7b032703878aa74c3126935789fd1d4d7e111d5911b09247d6963061c312b5a" + "address": "0x28f02a953f3553f51a9365593c7d4bd0643d2085f004b18c6ca9de51682b2c80" }, "json": { "new_value": "43" diff --git a/crates/iota-graphql-e2e-tests/tests/event_connection/type_param_filter.exp b/crates/iota-graphql-e2e-tests/tests/event_connection/type_param_filter.exp index 383af1455f8..5ff6c2cb9a7 100644 --- a/crates/iota-graphql-e2e-tests/tests/event_connection/type_param_filter.exp +++ b/crates/iota-graphql-e2e-tests/tests/event_connection/type_param_filter.exp @@ -3,61 +3,61 @@ processed 10 tasks init: A: object(0,0), B: object(0,1) -task 1, lines 6-29: +task 1, lines 7-30: //# publish created: object(1,0) mutated: object(0,2) gas summary: computation_cost: 1000000, storage_cost: 5996400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2, line 32: +task 2, line 33: //# run Test::M1::emit_T1 --sender A events: Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [Struct(StructTag { address: Test, module: Identifier("M1"), name: Identifier("T1"), type_params: [] })] }, contents: [0] } mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3, line 34: +task 3, line 35: //# run Test::M1::emit_T2 --sender A events: Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [Struct(StructTag { address: Test, module: Identifier("M1"), name: Identifier("T2"), type_params: [] })] }, contents: [0] } mutated: object(0,0) -gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 +gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 988000, non_refundable_storage_fee: 0 -task 4, line 36: +task 4, line 37: //# run Test::M1::emit_both --sender A events: Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [Struct(StructTag { address: Test, module: Identifier("M1"), name: Identifier("T1"), type_params: [] })] }, contents: [0] }, Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [Struct(StructTag { address: Test, module: Identifier("M1"), name: Identifier("T2"), type_params: [] })] }, contents: [0] } mutated: object(0,0) -gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 +gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 988000, non_refundable_storage_fee: 0 -task 5, line 38: +task 5, line 39: //# create-checkpoint Checkpoint created: 1 -task 6, lines 40-47: +task 6, lines 41-48: //# run-graphql Response: { "data": { "transactionBlocks": { "nodes": [ { - "digest": "J7mHXcoa7LXwyjzZUWsk8zvYZjek359TM4d2hQK4LGHo" + "digest": "5wn4yRKTAb2rpPLH2WjRVkgU6hRMiXEo12oCTofh1PbF" }, { - "digest": "Ch3i5cdtNPU5v8oSg3V5cdKtZDa3YjqjMd7Qh4NQLAx6" + "digest": "FPqRTnnbcwMwmnB8fo4K9k1XeE7ebCu65prWj1HbcNcP" }, { - "digest": "6taTf6v2NQCFtd9A4nw3mBbkHwUw8RUoJjqQGSB5cBNt" + "digest": "5nNZCZiMCVXbQnJjQ6iRqhDzqF6h2aP7KArxn8rQN3He" }, { - "digest": "AEXpVZ7Vpsk7ZSTsR2QNPT7zhq8oqpJXRGgx3kAaTdn" + "digest": "5JiHvEJPjXVgojyen5u6i2tqU96MPJZnaYS9XzW9bVtn" }, { - "digest": "9nu1ivpL9hHcbJ9GwGfmD3Kuet5w74t2GBp8f1Ggy3UD" + "digest": "HtZYWQwGZUXnULZcc4PnLbxc2NvS5NBYNZKgprJ3DfL8" } ] } } } -task 7, lines 49-62: +task 7, lines 50-63: //# run-graphql Response: { "data": { @@ -65,10 +65,10 @@ Response: { "nodes": [ { "type": { - "repr": "0xe722de9e58a9bab3a202b769b7518f91f852460d3d2c6d6743c301d08b9e614a::M1::EventA<0xe722de9e58a9bab3a202b769b7518f91f852460d3d2c6d6743c301d08b9e614a::M1::T1>" + "repr": "0x93dd5806a909c4d34b6c10aa67cb859ddba363a3aabee87bab997e4554a2c328::M1::EventA<0x93dd5806a909c4d34b6c10aa67cb859ddba363a3aabee87bab997e4554a2c328::M1::T1>" }, "sender": { - "address": "0xfccc9a421bbb13c1a66a1aa98f0ad75029ede94857779c6915b44f94068b921e" + "address": "0x8cca4e1ce0ba5904cea61df9242da2f7d29e3ef328fb7ec07c086b3bf47ca61a" }, "json": { "value": { @@ -78,10 +78,10 @@ Response: { }, { "type": { - "repr": "0xe722de9e58a9bab3a202b769b7518f91f852460d3d2c6d6743c301d08b9e614a::M1::EventA<0xe722de9e58a9bab3a202b769b7518f91f852460d3d2c6d6743c301d08b9e614a::M1::T2>" + "repr": "0x93dd5806a909c4d34b6c10aa67cb859ddba363a3aabee87bab997e4554a2c328::M1::EventA<0x93dd5806a909c4d34b6c10aa67cb859ddba363a3aabee87bab997e4554a2c328::M1::T2>" }, "sender": { - "address": "0xfccc9a421bbb13c1a66a1aa98f0ad75029ede94857779c6915b44f94068b921e" + "address": "0x8cca4e1ce0ba5904cea61df9242da2f7d29e3ef328fb7ec07c086b3bf47ca61a" }, "json": { "value": { @@ -91,10 +91,10 @@ Response: { }, { "type": { - "repr": "0xe722de9e58a9bab3a202b769b7518f91f852460d3d2c6d6743c301d08b9e614a::M1::EventA<0xe722de9e58a9bab3a202b769b7518f91f852460d3d2c6d6743c301d08b9e614a::M1::T1>" + "repr": "0x93dd5806a909c4d34b6c10aa67cb859ddba363a3aabee87bab997e4554a2c328::M1::EventA<0x93dd5806a909c4d34b6c10aa67cb859ddba363a3aabee87bab997e4554a2c328::M1::T1>" }, "sender": { - "address": "0xfccc9a421bbb13c1a66a1aa98f0ad75029ede94857779c6915b44f94068b921e" + "address": "0x8cca4e1ce0ba5904cea61df9242da2f7d29e3ef328fb7ec07c086b3bf47ca61a" }, "json": { "value": { @@ -104,10 +104,10 @@ Response: { }, { "type": { - "repr": "0xe722de9e58a9bab3a202b769b7518f91f852460d3d2c6d6743c301d08b9e614a::M1::EventA<0xe722de9e58a9bab3a202b769b7518f91f852460d3d2c6d6743c301d08b9e614a::M1::T2>" + "repr": "0x93dd5806a909c4d34b6c10aa67cb859ddba363a3aabee87bab997e4554a2c328::M1::EventA<0x93dd5806a909c4d34b6c10aa67cb859ddba363a3aabee87bab997e4554a2c328::M1::T2>" }, "sender": { - "address": "0xfccc9a421bbb13c1a66a1aa98f0ad75029ede94857779c6915b44f94068b921e" + "address": "0x8cca4e1ce0ba5904cea61df9242da2f7d29e3ef328fb7ec07c086b3bf47ca61a" }, "json": { "value": { @@ -120,7 +120,7 @@ Response: { } } -task 8, lines 64-77: +task 8, lines 65-78: //# run-graphql Response: { "data": { @@ -128,10 +128,10 @@ Response: { "nodes": [ { "type": { - "repr": "0xe722de9e58a9bab3a202b769b7518f91f852460d3d2c6d6743c301d08b9e614a::M1::EventA<0xe722de9e58a9bab3a202b769b7518f91f852460d3d2c6d6743c301d08b9e614a::M1::T1>" + "repr": "0x93dd5806a909c4d34b6c10aa67cb859ddba363a3aabee87bab997e4554a2c328::M1::EventA<0x93dd5806a909c4d34b6c10aa67cb859ddba363a3aabee87bab997e4554a2c328::M1::T1>" }, "sender": { - "address": "0xfccc9a421bbb13c1a66a1aa98f0ad75029ede94857779c6915b44f94068b921e" + "address": "0x8cca4e1ce0ba5904cea61df9242da2f7d29e3ef328fb7ec07c086b3bf47ca61a" }, "json": { "value": { @@ -141,10 +141,10 @@ Response: { }, { "type": { - "repr": "0xe722de9e58a9bab3a202b769b7518f91f852460d3d2c6d6743c301d08b9e614a::M1::EventA<0xe722de9e58a9bab3a202b769b7518f91f852460d3d2c6d6743c301d08b9e614a::M1::T1>" + "repr": "0x93dd5806a909c4d34b6c10aa67cb859ddba363a3aabee87bab997e4554a2c328::M1::EventA<0x93dd5806a909c4d34b6c10aa67cb859ddba363a3aabee87bab997e4554a2c328::M1::T1>" }, "sender": { - "address": "0xfccc9a421bbb13c1a66a1aa98f0ad75029ede94857779c6915b44f94068b921e" + "address": "0x8cca4e1ce0ba5904cea61df9242da2f7d29e3ef328fb7ec07c086b3bf47ca61a" }, "json": { "value": { @@ -157,7 +157,7 @@ Response: { } } -task 9, lines 79-92: +task 9, lines 80-93: //# run-graphql Response: { "data": { @@ -165,10 +165,10 @@ Response: { "nodes": [ { "type": { - "repr": "0xe722de9e58a9bab3a202b769b7518f91f852460d3d2c6d6743c301d08b9e614a::M1::EventA<0xe722de9e58a9bab3a202b769b7518f91f852460d3d2c6d6743c301d08b9e614a::M1::T2>" + "repr": "0x93dd5806a909c4d34b6c10aa67cb859ddba363a3aabee87bab997e4554a2c328::M1::EventA<0x93dd5806a909c4d34b6c10aa67cb859ddba363a3aabee87bab997e4554a2c328::M1::T2>" }, "sender": { - "address": "0xfccc9a421bbb13c1a66a1aa98f0ad75029ede94857779c6915b44f94068b921e" + "address": "0x8cca4e1ce0ba5904cea61df9242da2f7d29e3ef328fb7ec07c086b3bf47ca61a" }, "json": { "value": { diff --git a/crates/iota-graphql-e2e-tests/tests/event_connection/type_param_filter.move b/crates/iota-graphql-e2e-tests/tests/event_connection/type_param_filter.move index f942624901a..352f62d44fc 100644 --- a/crates/iota-graphql-e2e-tests/tests/event_connection/type_param_filter.move +++ b/crates/iota-graphql-e2e-tests/tests/event_connection/type_param_filter.move @@ -79,7 +79,7 @@ module Test::M1 { //# run-graphql { - events(filter: {eventType: "@{Test}::M1::EventA<@{Test}::M1::T2>", transactionDigest: "9nu1ivpL9hHcbJ9GwGfmD3Kuet5w74t2GBp8f1Ggy3UD"}) { + events(filter: {eventType: "@{Test}::M1::EventA<@{Test}::M1::T2>", transactionDigest: "HtZYWQwGZUXnULZcc4PnLbxc2NvS5NBYNZKgprJ3DfL8"}) { nodes { type { repr diff --git a/crates/iota-graphql-e2e-tests/tests/limits/directives.exp b/crates/iota-graphql-e2e-tests/tests/limits/directives.exp index 193b57fbedc..dd04d2325b7 100644 --- a/crates/iota-graphql-e2e-tests/tests/limits/directives.exp +++ b/crates/iota-graphql-e2e-tests/tests/limits/directives.exp @@ -3,7 +3,7 @@ processed 8 tasks init: A: object(0,0) -task 1, lines 6-10: +task 1, lines 7-11: //# run-graphql Response: { "data": null, @@ -23,7 +23,7 @@ Response: { ] } -task 2, lines 12-42: +task 2, lines 13-43: //# run-graphql Response: { "data": null, @@ -43,7 +43,7 @@ Response: { ] } -task 3, lines 44-50: +task 3, lines 45-51: //# run-graphql Response: { "data": null, @@ -53,7 +53,7 @@ Response: { "locations": [ { "line": 1, - "column": 24 + "column": 25 } ], "extensions": { @@ -63,29 +63,29 @@ Response: { ] } -task 4, lines 52-56: +task 4, lines 53-57: //# run-graphql Response: { "data": {} } -task 5, lines 58-62: +task 5, lines 59-63: //# run-graphql Response: { "data": { - "chainIdentifier": "3989ac57" + "chainIdentifier": "d2b57ae4" } } -task 6, lines 64-68: +task 6, lines 65-69: //# run-graphql Response: { "data": { - "chainIdentifier": "3989ac57" + "chainIdentifier": "d2b57ae4" } } -task 7, lines 70-74: +task 7, lines 71-75: //# run-graphql Response: { "data": {} diff --git a/crates/iota-graphql-e2e-tests/tests/limits/output_node_estimation.exp b/crates/iota-graphql-e2e-tests/tests/limits/output_node_estimation.exp index 711d4185eae..5d9601d3ed9 100644 --- a/crates/iota-graphql-e2e-tests/tests/limits/output_node_estimation.exp +++ b/crates/iota-graphql-e2e-tests/tests/limits/output_node_estimation.exp @@ -1,6 +1,6 @@ processed 16 tasks -task 1, lines 6-14: +task 1, lines 7-15: //# run-graphql --show-usage Response: { "data": { @@ -22,7 +22,7 @@ Response: { } } -task 2, lines 16-26: +task 2, lines 17-27: //# run-graphql --show-usage Response: { "data": { @@ -30,7 +30,7 @@ Response: { "edges": [ { "node": { - "digest": "EoFwLKRy23XKLkWZbBLiqjTV2vsKPsmpW6dV2caK8ZDH" + "digest": "37gfhcrPTYySuzZZobmcuDd4Y1SUA9DYqvRKZVaUrNLW" } } ] @@ -48,7 +48,7 @@ Response: { } } -task 3, lines 28-42: +task 3, lines 29-43: //# run-graphql --show-usage Response: { "data": { @@ -59,7 +59,7 @@ Response: { "edges": [ { "txns": { - "digest": "EoFwLKRy23XKLkWZbBLiqjTV2vsKPsmpW6dV2caK8ZDH" + "digest": "37gfhcrPTYySuzZZobmcuDd4Y1SUA9DYqvRKZVaUrNLW" } } ] @@ -80,7 +80,7 @@ Response: { } } -task 4, lines 44-65: +task 4, lines 45-66: //# run-graphql --show-usage Response: { "data": { @@ -91,7 +91,7 @@ Response: { "edges": [ { "txns": { - "digest": "EoFwLKRy23XKLkWZbBLiqjTV2vsKPsmpW6dV2caK8ZDH" + "digest": "37gfhcrPTYySuzZZobmcuDd4Y1SUA9DYqvRKZVaUrNLW" } } ] @@ -100,7 +100,7 @@ Response: { "edges": [ { "txns": { - "digest": "EoFwLKRy23XKLkWZbBLiqjTV2vsKPsmpW6dV2caK8ZDH" + "digest": "37gfhcrPTYySuzZZobmcuDd4Y1SUA9DYqvRKZVaUrNLW" } } ] @@ -121,7 +121,7 @@ Response: { } } -task 5, lines 67-88: +task 5, lines 68-89: //# run-graphql --show-usage Response: { "data": { @@ -132,7 +132,7 @@ Response: { "edges": [ { "txns": { - "digest": "EoFwLKRy23XKLkWZbBLiqjTV2vsKPsmpW6dV2caK8ZDH" + "digest": "37gfhcrPTYySuzZZobmcuDd4Y1SUA9DYqvRKZVaUrNLW" } } ] @@ -156,7 +156,7 @@ Response: { } } -task 6, lines 90-100: +task 6, lines 91-101: //# run-graphql --show-usage Response: { "data": { @@ -164,7 +164,7 @@ Response: { "edges": [ { "txns": { - "digest": "EoFwLKRy23XKLkWZbBLiqjTV2vsKPsmpW6dV2caK8ZDH" + "digest": "37gfhcrPTYySuzZZobmcuDd4Y1SUA9DYqvRKZVaUrNLW" } } ] @@ -182,7 +182,7 @@ Response: { } } -task 7, lines 102-112: +task 7, lines 103-113: //# run-graphql --show-usage Response: { "data": { @@ -190,7 +190,7 @@ Response: { "edges": [ { "txns": { - "digest": "EoFwLKRy23XKLkWZbBLiqjTV2vsKPsmpW6dV2caK8ZDH" + "digest": "37gfhcrPTYySuzZZobmcuDd4Y1SUA9DYqvRKZVaUrNLW" } } ] @@ -208,7 +208,7 @@ Response: { } } -task 8, lines 114-142: +task 8, lines 115-143: //# run-graphql --show-usage Response: { "data": { @@ -216,7 +216,7 @@ Response: { "edges": [ { "txns": { - "digest": "EoFwLKRy23XKLkWZbBLiqjTV2vsKPsmpW6dV2caK8ZDH", + "digest": "37gfhcrPTYySuzZZobmcuDd4Y1SUA9DYqvRKZVaUrNLW", "first": null, "last": null } @@ -236,14 +236,14 @@ Response: { } } -task 9, lines 144-171: +task 9, lines 145-172: //# run-graphql --show-usage Response: { "data": { "transactionBlocks": { "nodes": [ { - "digest": "EoFwLKRy23XKLkWZbBLiqjTV2vsKPsmpW6dV2caK8ZDH", + "digest": "37gfhcrPTYySuzZZobmcuDd4Y1SUA9DYqvRKZVaUrNLW", "first": null, "last": null } @@ -262,7 +262,7 @@ Response: { } } -task 10, lines 173-222: +task 10, lines 174-229: //# run-graphql --show-usage Response: { "data": { @@ -270,7 +270,7 @@ Response: { "edges": [ { "txns": { - "digest": "EoFwLKRy23XKLkWZbBLiqjTV2vsKPsmpW6dV2caK8ZDH", + "digest": "37gfhcrPTYySuzZZobmcuDd4Y1SUA9DYqvRKZVaUrNLW", "a": null, "b": null } @@ -278,22 +278,45 @@ Response: { ] }, "events": { - "edges": [] + "edges": [ + { + "node": { + "timestamp": "1970-01-01T00:00:00Z", + "sendingModule": { + "name": "nft" + }, + "type": { + "repr": "0x0000000000000000000000000000000000000000000000000000000000000002::display::DisplayCreated<0x000000000000000000000000000000000000000000000000000000000000107a::nft::Nft>" + } + } + }, + { + "node": { + "timestamp": "1970-01-01T00:00:00Z", + "sendingModule": { + "name": "nft" + }, + "type": { + "repr": "0x0000000000000000000000000000000000000000000000000000000000000002::display::VersionUpdated<0x000000000000000000000000000000000000000000000000000000000000107a::nft::Nft>" + } + } + } + ] } }, "extensions": { "usage": { - "inputNodes": 24, - "outputNodes": 46424, + "inputNodes": 28, + "outputNodes": 46464, "depth": 11, "variables": 0, "fragments": 0, - "queryPayload": 2093 + "queryPayload": 2483 } } } -task 11, lines 224-249: +task 11, lines 231-256: //# run-graphql --show-usage Response: { "data": { @@ -301,7 +324,7 @@ Response: { "edges": [ { "node": { - "digest": "EoFwLKRy23XKLkWZbBLiqjTV2vsKPsmpW6dV2caK8ZDH", + "digest": "37gfhcrPTYySuzZZobmcuDd4Y1SUA9DYqvRKZVaUrNLW", "a": null } } @@ -320,21 +343,21 @@ Response: { } } -task 12, lines 251-272: +task 12, lines 258-279: //# run-graphql --show-usage Response: { "data": { "fragmentSpread": { "nodes": [ { - "digest": "EoFwLKRy23XKLkWZbBLiqjTV2vsKPsmpW6dV2caK8ZDH" + "digest": "37gfhcrPTYySuzZZobmcuDd4Y1SUA9DYqvRKZVaUrNLW" } ] }, "inlineFragment": { "nodes": [ { - "digest": "EoFwLKRy23XKLkWZbBLiqjTV2vsKPsmpW6dV2caK8ZDH" + "digest": "37gfhcrPTYySuzZZobmcuDd4Y1SUA9DYqvRKZVaUrNLW" } ] } @@ -351,7 +374,7 @@ Response: { } } -task 13, lines 274-286: +task 13, lines 281-293: //# run-graphql --show-usage Response: { "data": null, @@ -384,7 +407,7 @@ Response: { ] } -task 14, lines 288-298: +task 14, lines 295-305: //# run-graphql --show-usage Response: { "data": null, @@ -411,7 +434,7 @@ Response: { ] } -task 15, lines 300-310: +task 15, lines 307-317: //# run-graphql --show-usage Response: { "data": null, 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 3a1c37751ca..d8b769b881e 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 @@ -217,6 +217,12 @@ edges { # 1 node { # 10 timestamp # 10 + sendingModule { # 10 + name # 10 + } # 10 + type { # 10 + repr # 10 + } # 10 } } } diff --git a/crates/iota-graphql-e2e-tests/tests/objects/coin.exp b/crates/iota-graphql-e2e-tests/tests/objects/coin.exp index bca3a7111aa..bf9d3ece385 100644 --- a/crates/iota-graphql-e2e-tests/tests/objects/coin.exp +++ b/crates/iota-graphql-e2e-tests/tests/objects/coin.exp @@ -3,27 +3,27 @@ processed 4 tasks init: A: object(0,0) -task 1, lines 6-33: +task 1, lines 7-34: //# publish --sender A created: object(1,0), object(1,1), object(1,2), object(1,3), object(1,4), object(1,5) mutated: object(0,0) unchanged_shared: 0x0000000000000000000000000000000000000000000000000000000000000403 gas summary: computation_cost: 1000000, storage_cost: 15663600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2, line 35: +task 2, line 36: //# create-checkpoint Checkpoint created: 1 -task 3, lines 37-85: +task 3, lines 38-86: //# run-graphql Response: { "data": { "iotaCoins": { "edges": [ { - "cursor": "IEhCgqa6qcXlsUkDdo32eGgBmUs4z6L2mXH6NqmZC77tAQAAAAAAAAA=", + "cursor": "IBD7zMo1HdffjxGkbHUtsr0fG7X97MQqqaZLo2rombXdAQAAAAAAAAA=", "node": { - "coinBalance": "30000000000000000", + "coinBalance": "299999983336400", "contents": { "type": { "repr": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin<0x0000000000000000000000000000000000000000000000000000000000000002::iota::IOTA>" @@ -32,9 +32,9 @@ Response: { } }, { - "cursor": "IFPq3e4mD3JLmBt7U2WNzZgSFLwsz/6YjP9z9qBPRqm7AQAAAAAAAAA=", + "cursor": "IEEE2CavovnrhQmB19PjR1xywtz+DuPJeSrmC6CqE/A7AQAAAAAAAAA=", "node": { - "coinBalance": "299999983336400", + "coinBalance": "300000000000000", "contents": { "type": { "repr": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin<0x0000000000000000000000000000000000000000000000000000000000000002::iota::IOTA>" @@ -43,9 +43,9 @@ Response: { } }, { - "cursor": "IKV7Ha9vWwyzIt4w9/tCrV9KV/hnFQgrdUxX7TF8yo3LAQAAAAAAAAA=", + "cursor": "IJR2dDCAbS5YjE2J7WFFmbTO987QsrlpTvAEN6KLWNZfAQAAAAAAAAA=", "node": { - "coinBalance": "300000000000000", + "coinBalance": "30000000000000000", "contents": { "type": { "repr": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin<0x0000000000000000000000000000000000000000000000000000000000000002::iota::IOTA>" @@ -58,34 +58,34 @@ Response: { "fakeCoins": { "edges": [ { - "cursor": "IAvGb3x1uHG3vlbwOmbpqu9G1y6lFMPvy78W0dYzfPPEAQAAAAAAAAA=", + "cursor": "IJ5a82UFHCgiQnTSM8nmIBsBjPtyOhqzHjOV6sI+P988AQAAAAAAAAA=", "node": { - "coinBalance": "1", + "coinBalance": "3", "contents": { "type": { - "repr": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin<0xc8929d74fe1877d36330e4c4b9980a43f866e60092e06deaf7960f0997ded3c1::fake::FAKE>" + "repr": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin<0xec8d6bcb25a882045ce1dbddc0d0562579ac0a51bc5f2a4ede3b6229c96a1656::fake::FAKE>" } } } }, { - "cursor": "ICgGWFLi6bcN2HoJAXojP5/0CGlFjapIWCCQ/MXDN6WdAQAAAAAAAAA=", + "cursor": "IJ9Mx8k/ImYC8aQGRtCocAxBsdoV01y/EfltRfcuGTjkAQAAAAAAAAA=", "node": { - "coinBalance": "3", + "coinBalance": "1", "contents": { "type": { - "repr": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin<0xc8929d74fe1877d36330e4c4b9980a43f866e60092e06deaf7960f0997ded3c1::fake::FAKE>" + "repr": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin<0xec8d6bcb25a882045ce1dbddc0d0562579ac0a51bc5f2a4ede3b6229c96a1656::fake::FAKE>" } } } }, { - "cursor": "IDRByp+p4cbkrDs67RXidklQ7KGHDFFVTgDxwcTDLfo4AQAAAAAAAAA=", + "cursor": "IPqRXOWufH1L5QzzNHaT6D5wnyZIF//2jdlvS3E0FMIXAQAAAAAAAAA=", "node": { "coinBalance": "2", "contents": { "type": { - "repr": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin<0xc8929d74fe1877d36330e4c4b9980a43f866e60092e06deaf7960f0997ded3c1::fake::FAKE>" + "repr": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin<0xec8d6bcb25a882045ce1dbddc0d0562579ac0a51bc5f2a4ede3b6229c96a1656::fake::FAKE>" } } } @@ -96,7 +96,7 @@ Response: { "coins": { "edges": [ { - "cursor": "IFPq3e4mD3JLmBt7U2WNzZgSFLwsz/6YjP9z9qBPRqm7AQAAAAAAAAA=", + "cursor": "IBD7zMo1HdffjxGkbHUtsr0fG7X97MQqqaZLo2rombXdAQAAAAAAAAA=", "node": { "coinBalance": "299999983336400", "contents": { @@ -111,7 +111,7 @@ Response: { "allBalances": { "edges": [ { - "cursor": "eyJ0IjoiMHgwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAyOjpzdWk6OlNVSSIsImMiOjF9", + "cursor": "eyJ0IjoiMHgwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAyOjppb3RhOjpJT1RBIiwiYyI6MX0", "node": { "coinType": { "repr": "0x0000000000000000000000000000000000000000000000000000000000000002::iota::IOTA" @@ -121,10 +121,10 @@ Response: { } }, { - "cursor": "eyJ0IjoiMHhjODkyOWQ3NGZlMTg3N2QzNjMzMGU0YzRiOTk4MGE0M2Y4NjZlNjAwOTJlMDZkZWFmNzk2MGYwOTk3ZGVkM2MxOjpmYWtlOjpGQUtFIiwiYyI6MX0", + "cursor": "eyJ0IjoiMHhlYzhkNmJjYjI1YTg4MjA0NWNlMWRiZGRjMGQwNTYyNTc5YWMwYTUxYmM1ZjJhNGVkZTNiNjIyOWM5NmExNjU2OjpmYWtlOjpGQUtFIiwiYyI6MX0", "node": { "coinType": { - "repr": "0xc8929d74fe1877d36330e4c4b9980a43f866e60092e06deaf7960f0997ded3c1::fake::FAKE" + "repr": "0xec8d6bcb25a882045ce1dbddc0d0562579ac0a51bc5f2a4ede3b6229c96a1656::fake::FAKE" }, "coinObjectCount": 3, "totalBalance": "6" @@ -135,14 +135,14 @@ Response: { "firstBalance": { "edges": [ { - "cursor": "eyJ0IjoiMHgwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAyOjpzdWk6OlNVSSIsImMiOjF9" + "cursor": "eyJ0IjoiMHgwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAyOjppb3RhOjpJT1RBIiwiYyI6MX0" } ] }, "lastBalance": { "edges": [ { - "cursor": "eyJ0IjoiMHhjODkyOWQ3NGZlMTg3N2QzNjMzMGU0YzRiOTk4MGE0M2Y4NjZlNjAwOTJlMDZkZWFmNzk2MGYwOTk3ZGVkM2MxOjpmYWtlOjpGQUtFIiwiYyI6MX0" + "cursor": "eyJ0IjoiMHhlYzhkNmJjYjI1YTg4MjA0NWNlMWRiZGRjMGQwNTYyNTc5YWMwYTUxYmM1ZjJhNGVkZTNiNjIyOWM5NmExNjU2OjpmYWtlOjpGQUtFIiwiYyI6MX0" } ] } diff --git a/crates/iota-graphql-e2e-tests/tests/objects/data.exp b/crates/iota-graphql-e2e-tests/tests/objects/data.exp index 992d2411780..730b23fe2f9 100644 --- a/crates/iota-graphql-e2e-tests/tests/objects/data.exp +++ b/crates/iota-graphql-e2e-tests/tests/objects/data.exp @@ -3,25 +3,25 @@ processed 5 tasks init: A: object(0,0) -task 1, lines 6-39: +task 1, lines 7-40: //# publish created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 7622800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2, lines 41-43: +task 2, lines 42-44: //# programmable --inputs @A //> 0: P0::m::foo(); //> TransferObjects([Result(0)], Input(0)) created: object(2,0) mutated: object(0,1) -gas summary: computation_cost: 1000000, storage_cost: 2910800, storage_rebate: 978120, non_refundable_storage_fee: 9880 +gas summary: computation_cost: 1000000, storage_cost: 2910800, storage_rebate: 988000, non_refundable_storage_fee: 0 -task 3, line 45: +task 3, line 46: //# create-checkpoint Checkpoint created: 1 -task 4, lines 47-68: +task 4, lines 48-69: //# run-graphql Response: { "data": { @@ -44,38 +44,38 @@ Response: { "name": "id", "value": { "UID": [ - 165, - 123, - 29, + 65, + 4, + 216, + 38, 175, - 111, - 91, - 12, - 179, - 34, - 222, - 48, - 247, - 251, - 66, - 173, - 95, - 74, - 87, - 248, - 103, - 21, - 8, - 43, - 117, - 76, - 87, - 237, - 49, - 124, - 202, - 141, - 203 + 162, + 249, + 235, + 133, + 9, + 129, + 215, + 211, + 227, + 71, + 92, + 114, + 194, + 220, + 254, + 14, + 227, + 201, + 121, + 42, + 230, + 11, + 160, + 170, + 19, + 240, + 59 ] } }, @@ -86,7 +86,7 @@ Response: { { "name": "value", "value": { - "Number": "299999988444520" + "Number": "299999988454400" } } ] @@ -95,9 +95,9 @@ Response: { ] }, "json": { - "id": "0xa57b1daf6f5b0cb322de30f7fb42ad5f4a57f86715082b754c57ed317cca8dcb", + "id": "0x4104d826afa2f9eb850981d7d3e3475c72c2dcfe0ee3c9792ae60ba0aa13f03b", "balance": { - "value": "299999988444520" + "value": "299999988454400" } } } @@ -109,7 +109,7 @@ Response: { "asMoveObject": { "contents": { "type": { - "repr": "0x624933cec0be5148f0f974c60ae272409b71a5df70c030371628513fefeb34d0::m::Foo" + "repr": "0xf15cd77072850e3a13456e908ba7e6bed4d0604740576af338af0e40c71a876a::m::Foo" }, "data": { "Struct": [ @@ -117,38 +117,38 @@ Response: { "name": "id", "value": { "UID": [ - 187, - 160, - 0, - 21, - 187, + 173, + 230, + 23, + 44, + 75, + 232, + 134, + 162, + 172, + 20, + 233, + 34, + 126, + 219, + 96, 221, - 83, - 145, - 58, - 113, - 33, - 140, - 191, - 124, - 97, - 26, - 205, - 146, - 90, - 178, - 103, - 140, - 106, - 92, - 145, + 208, + 150, + 20, + 148, + 65, + 31, + 4, 166, - 59, - 64, - 110, - 221, - 168, - 197 + 11, + 96, + 231, + 32, + 106, + 230, + 176, + 16 ] } }, @@ -156,38 +156,38 @@ Response: { "name": "f0", "value": { "ID": [ - 187, - 160, - 0, - 21, - 187, + 173, + 230, + 23, + 44, + 75, + 232, + 134, + 162, + 172, + 20, + 233, + 34, + 126, + 219, + 96, 221, - 83, - 145, - 58, - 113, - 33, - 140, - 191, - 124, - 97, - 26, - 205, - 146, - 90, - 178, - 103, - 140, - 106, - 92, - 145, + 208, + 150, + 20, + 148, + 65, + 31, + 4, 166, - 59, - 64, - 110, - 221, - 168, - 197 + 11, + 96, + 231, + 32, + 106, + 230, + 176, + 16 ] } }, @@ -227,38 +227,38 @@ Response: { "Vector": [ { "Address": [ - 187, - 160, - 0, - 21, - 187, + 173, + 230, + 23, + 44, + 75, + 232, + 134, + 162, + 172, + 20, + 233, + 34, + 126, + 219, + 96, 221, - 83, - 145, - 58, - 113, - 33, - 140, - 191, - 124, - 97, - 26, - 205, - 146, - 90, - 178, - 103, - 140, - 106, - 92, - 145, + 208, + 150, + 20, + 148, + 65, + 31, + 4, 166, - 59, - 64, - 110, - 221, - 168, - 197 + 11, + 96, + 231, + 32, + 106, + 230, + 176, + 16 ] } ] @@ -275,15 +275,15 @@ Response: { ] }, "json": { - "id": "0xbba00015bbdd53913a71218cbf7c611acd925ab2678c6a5c91a63b406edda8c5", - "f0": "0xbba00015bbdd53913a71218cbf7c611acd925ab2678c6a5c91a63b406edda8c5", + "id": "0xade6172c4be886a2ac14e9227edb60ddd0961494411f04a60b60e7206ae6b010", + "f0": "0xade6172c4be886a2ac14e9227edb60ddd0961494411f04a60b60e7206ae6b010", "f1": true, "f2": 42, "f3": "43", "f4": "hello", "f5": "world", "f6": [ - "0xbba00015bbdd53913a71218cbf7c611acd925ab2678c6a5c91a63b406edda8c5" + "0xade6172c4be886a2ac14e9227edb60ddd0961494411f04a60b60e7206ae6b010" ], "f7": 44 } diff --git a/crates/iota-graphql-e2e-tests/tests/objects/display.exp b/crates/iota-graphql-e2e-tests/tests/objects/display.exp index 410e42f3afa..e83e258f782 100644 --- a/crates/iota-graphql-e2e-tests/tests/objects/display.exp +++ b/crates/iota-graphql-e2e-tests/tests/objects/display.exp @@ -3,44 +3,44 @@ processed 17 tasks init: A: object(0,0) -task 1, lines 6-130: +task 1, lines 7-131: //# publish --sender A -events: Event { package_id: Test, transaction_module: Identifier("boars"), sender: A, type_: StructTag { address: iota, module: Identifier("display"), name: Identifier("DisplayCreated"), type_params: [Struct(StructTag { address: Test, module: Identifier("boars"), name: Identifier("Boar"), type_params: [] })] }, contents: [50, 4, 50, 221, 146, 116, 124, 168, 170, 179, 99, 227, 72, 95, 129, 228, 10, 223, 66, 108, 254, 161, 49, 27, 162, 255, 7, 195, 168, 245, 89, 103] } +events: Event { package_id: Test, transaction_module: Identifier("boars"), sender: A, type_: StructTag { address: iota, module: Identifier("display"), name: Identifier("DisplayCreated"), type_params: [Struct(StructTag { address: Test, module: Identifier("boars"), name: Identifier("Boar"), type_params: [] })] }, contents: [211, 171, 113, 118, 225, 129, 144, 247, 224, 127, 211, 1, 242, 203, 225, 80, 116, 128, 12, 48, 52, 168, 111, 167, 52, 166, 194, 200, 147, 18, 152, 113] } created: object(1,0), object(1,1), object(1,2) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 21470000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2, line 132: +task 2, line 133: //# create-checkpoint Checkpoint created: 1 -task 3, line 134: +task 3, line 135: //# view-checkpoint -CheckpointSummary { epoch: 0, seq: 1, content_digest: 38F9Kd5S9DxwyU8sCegbmKqkYPZrjZBZicUNhhhbPsKu, +CheckpointSummary { epoch: 0, seq: 1, content_digest: DyVubeUpZfwnxqawCDfaMVVnFQ2CqdTnxYh6pEztFERz, epoch_rolling_gas_cost_summary: GasCostSummary { computation_cost: 1000000, storage_cost: 21470000, storage_rebate: 0, non_refundable_storage_fee: 0 }} -task 4, line 136: +task 4, line 137: //# run Test::boars::create_bear --sender A created: object(4,0) mutated: object(0,0) -gas summary: computation_cost: 1000000, storage_cost: 3556800, storage_rebate: 978120, non_refundable_storage_fee: 9880 +gas summary: computation_cost: 1000000, storage_cost: 3556800, storage_rebate: 988000, non_refundable_storage_fee: 0 -task 5, line 138: +task 5, line 139: //# run Test::boars::update_display_faulty --sender A --args object(1,1) -events: Event { package_id: Test, transaction_module: Identifier("boars"), sender: A, type_: StructTag { address: iota, module: Identifier("display"), name: Identifier("VersionUpdated"), type_params: [Struct(StructTag { address: Test, module: Identifier("boars"), name: Identifier("Boar"), type_params: [] })] }, contents: [50, 4, 50, 221, 146, 116, 124, 168, 170, 179, 99, 227, 72, 95, 129, 228, 10, 223, 66, 108, 254, 161, 49, 27, 162, 255, 7, 195, 168, 245, 89, 103, 1, 0, 3, 7, 118, 101, 99, 116, 111, 114, 115, 5, 123, 118, 101, 99, 125, 3, 105, 100, 100, 5, 123, 105, 100, 100, 125, 5, 110, 97, 109, 101, 101, 7, 123, 110, 97, 109, 101, 101, 125] } +events: Event { package_id: Test, transaction_module: Identifier("boars"), sender: A, type_: StructTag { address: iota, module: Identifier("display"), name: Identifier("VersionUpdated"), type_params: [Struct(StructTag { address: Test, module: Identifier("boars"), name: Identifier("Boar"), type_params: [] })] }, contents: [211, 171, 113, 118, 225, 129, 144, 247, 224, 127, 211, 1, 242, 203, 225, 80, 116, 128, 12, 48, 52, 168, 111, 167, 52, 166, 194, 200, 147, 18, 152, 113, 1, 0, 3, 7, 118, 101, 99, 116, 111, 114, 115, 5, 123, 118, 101, 99, 125, 3, 105, 100, 100, 5, 123, 105, 100, 100, 125, 5, 110, 97, 109, 101, 101, 7, 123, 110, 97, 109, 101, 101, 125] } mutated: object(0,0), object(1,1) -gas summary: computation_cost: 1000000, storage_cost: 2941200, storage_rebate: 2625876, non_refundable_storage_fee: 26524 +gas summary: computation_cost: 1000000, storage_cost: 2941200, storage_rebate: 2652400, non_refundable_storage_fee: 0 -task 6, line 140: +task 6, line 141: //# create-checkpoint Checkpoint created: 2 -task 7, line 142: +task 7, line 143: //# view-checkpoint -CheckpointSummary { epoch: 0, seq: 2, content_digest: 2UUsxLrzkkoM2BZmzxtmF2JyJrQVjUz7a3WbkQbMSkUN, - epoch_rolling_gas_cost_summary: GasCostSummary { computation_cost: 3000000, storage_cost: 27968000, storage_rebate: 3603996, non_refundable_storage_fee: 36404 }} +CheckpointSummary { epoch: 0, seq: 2, content_digest: 5Nb45zSNqpVSb5k8xvw4MMgysXTs7ifzGmhZKifKtb19, + epoch_rolling_gas_cost_summary: GasCostSummary { computation_cost: 3000000, storage_cost: 27968000, storage_rebate: 3640400, non_refundable_storage_fee: 0 }} -task 8, lines 144-157: +task 8, lines 145-158: //# run-graphql Response: { "data": { @@ -72,22 +72,22 @@ Response: { } } -task 9, line 159: +task 9, line 160: //# run Test::boars::single_add --sender A --args object(1,1) -events: Event { package_id: Test, transaction_module: Identifier("boars"), sender: A, type_: StructTag { address: iota, module: Identifier("display"), name: Identifier("VersionUpdated"), type_params: [Struct(StructTag { address: Test, module: Identifier("boars"), name: Identifier("Boar"), type_params: [] })] }, contents: [50, 4, 50, 221, 146, 116, 124, 168, 170, 179, 99, 227, 72, 95, 129, 228, 10, 223, 66, 108, 254, 161, 49, 27, 162, 255, 7, 195, 168, 245, 89, 103, 2, 0, 4, 7, 118, 101, 99, 116, 111, 114, 115, 5, 123, 118, 101, 99, 125, 3, 105, 100, 100, 5, 123, 105, 100, 100, 125, 5, 110, 97, 109, 101, 101, 7, 123, 110, 97, 109, 101, 101, 125, 4, 110, 117, 109, 115, 6, 123, 110, 117, 109, 115, 125] } +events: Event { package_id: Test, transaction_module: Identifier("boars"), sender: A, type_: StructTag { address: iota, module: Identifier("display"), name: Identifier("VersionUpdated"), type_params: [Struct(StructTag { address: Test, module: Identifier("boars"), name: Identifier("Boar"), type_params: [] })] }, contents: [211, 171, 113, 118, 225, 129, 144, 247, 224, 127, 211, 1, 242, 203, 225, 80, 116, 128, 12, 48, 52, 168, 111, 167, 52, 166, 194, 200, 147, 18, 152, 113, 2, 0, 4, 7, 118, 101, 99, 116, 111, 114, 115, 5, 123, 118, 101, 99, 125, 3, 105, 100, 100, 5, 123, 105, 100, 100, 125, 5, 110, 97, 109, 101, 101, 7, 123, 110, 97, 109, 101, 101, 125, 4, 110, 117, 109, 115, 6, 123, 110, 117, 109, 115, 125] } mutated: object(0,0), object(1,1) -gas summary: computation_cost: 1000000, storage_cost: 3032400, storage_rebate: 2911788, non_refundable_storage_fee: 29412 +gas summary: computation_cost: 1000000, storage_cost: 3032400, storage_rebate: 2941200, non_refundable_storage_fee: 0 -task 10, line 161: +task 10, line 162: //# create-checkpoint Checkpoint created: 3 -task 11, line 163: +task 11, line 164: //# view-checkpoint -CheckpointSummary { epoch: 0, seq: 3, content_digest: 6GU2oy7ZTAeGuvjYLJ7tERdTW5BuynyhRoTr34W2o6tw, - epoch_rolling_gas_cost_summary: GasCostSummary { computation_cost: 4000000, storage_cost: 31000400, storage_rebate: 6515784, non_refundable_storage_fee: 65816 }} +CheckpointSummary { epoch: 0, seq: 3, content_digest: 4SFFE4CtpRPG8Tvi4jthzCvK7pXfHMipFqqjkxPgPXmh, + epoch_rolling_gas_cost_summary: GasCostSummary { computation_cost: 4000000, storage_cost: 31000400, storage_rebate: 6581600, non_refundable_storage_fee: 0 }} -task 12, lines 165-178: +task 12, lines 166-179: //# run-graphql Response: { "data": { @@ -124,22 +124,22 @@ Response: { } } -task 13, line 180: +task 13, line 181: //# run Test::boars::multi_add --sender A --args object(1,1) -events: Event { package_id: Test, transaction_module: Identifier("boars"), sender: A, type_: StructTag { address: iota, module: Identifier("display"), name: Identifier("VersionUpdated"), type_params: [Struct(StructTag { address: Test, module: Identifier("boars"), name: Identifier("Boar"), type_params: [] })] }, contents: [50, 4, 50, 221, 146, 116, 124, 168, 170, 179, 99, 227, 72, 95, 129, 228, 10, 223, 66, 108, 254, 161, 49, 27, 162, 255, 7, 195, 168, 245, 89, 103, 3, 0, 15, 7, 118, 101, 99, 116, 111, 114, 115, 5, 123, 118, 101, 99, 125, 3, 105, 100, 100, 5, 123, 105, 100, 100, 125, 5, 110, 97, 109, 101, 101, 7, 123, 110, 97, 109, 101, 101, 125, 4, 110, 117, 109, 115, 6, 123, 110, 117, 109, 115, 125, 5, 98, 111, 111, 108, 115, 7, 123, 98, 111, 111, 108, 115, 125, 5, 98, 117, 121, 101, 114, 7, 123, 98, 117, 121, 101, 114, 125, 4, 110, 97, 109, 101, 6, 123, 110, 97, 109, 101, 125, 7, 99, 114, 101, 97, 116, 111, 114, 9, 123, 99, 114, 101, 97, 116, 111, 114, 125, 5, 112, 114, 105, 99, 101, 7, 123, 112, 114, 105, 99, 101, 125, 11, 112, 114, 111, 106, 101, 99, 116, 95, 117, 114, 108, 58, 85, 110, 105, 113, 117, 101, 32, 66, 111, 97, 114, 32, 102, 114, 111, 109, 32, 116, 104, 101, 32, 66, 111, 97, 114, 115, 32, 99, 111, 108, 108, 101, 99, 116, 105, 111, 110, 32, 119, 105, 116, 104, 32, 123, 110, 97, 109, 101, 125, 32, 97, 110, 100, 32, 123, 105, 100, 125, 8, 98, 97, 115, 101, 95, 117, 114, 108, 32, 104, 116, 116, 112, 115, 58, 47, 47, 103, 101, 116, 45, 97, 45, 98, 111, 97, 114, 46, 99, 111, 109, 47, 123, 105, 109, 103, 95, 117, 114, 108, 125, 11, 110, 111, 95, 116, 101, 109, 112, 108, 97, 116, 101, 23, 104, 116, 116, 112, 115, 58, 47, 47, 103, 101, 116, 45, 97, 45, 98, 111, 97, 114, 46, 99, 111, 109, 47, 3, 97, 103, 101, 21, 123, 109, 101, 116, 97, 100, 97, 116, 97, 46, 110, 101, 115, 116, 101, 100, 46, 97, 103, 101, 125, 8, 102, 117, 108, 108, 95, 117, 114, 108, 10, 123, 102, 117, 108, 108, 95, 117, 114, 108, 125, 13, 101, 115, 99, 97, 112, 101, 95, 115, 121, 110, 116, 97, 120, 8, 92, 123, 110, 97, 109, 101, 92, 125] } +events: Event { package_id: Test, transaction_module: Identifier("boars"), sender: A, type_: StructTag { address: iota, module: Identifier("display"), name: Identifier("VersionUpdated"), type_params: [Struct(StructTag { address: Test, module: Identifier("boars"), name: Identifier("Boar"), type_params: [] })] }, contents: [211, 171, 113, 118, 225, 129, 144, 247, 224, 127, 211, 1, 242, 203, 225, 80, 116, 128, 12, 48, 52, 168, 111, 167, 52, 166, 194, 200, 147, 18, 152, 113, 3, 0, 15, 7, 118, 101, 99, 116, 111, 114, 115, 5, 123, 118, 101, 99, 125, 3, 105, 100, 100, 5, 123, 105, 100, 100, 125, 5, 110, 97, 109, 101, 101, 7, 123, 110, 97, 109, 101, 101, 125, 4, 110, 117, 109, 115, 6, 123, 110, 117, 109, 115, 125, 5, 98, 111, 111, 108, 115, 7, 123, 98, 111, 111, 108, 115, 125, 5, 98, 117, 121, 101, 114, 7, 123, 98, 117, 121, 101, 114, 125, 4, 110, 97, 109, 101, 6, 123, 110, 97, 109, 101, 125, 7, 99, 114, 101, 97, 116, 111, 114, 9, 123, 99, 114, 101, 97, 116, 111, 114, 125, 5, 112, 114, 105, 99, 101, 7, 123, 112, 114, 105, 99, 101, 125, 11, 112, 114, 111, 106, 101, 99, 116, 95, 117, 114, 108, 58, 85, 110, 105, 113, 117, 101, 32, 66, 111, 97, 114, 32, 102, 114, 111, 109, 32, 116, 104, 101, 32, 66, 111, 97, 114, 115, 32, 99, 111, 108, 108, 101, 99, 116, 105, 111, 110, 32, 119, 105, 116, 104, 32, 123, 110, 97, 109, 101, 125, 32, 97, 110, 100, 32, 123, 105, 100, 125, 8, 98, 97, 115, 101, 95, 117, 114, 108, 32, 104, 116, 116, 112, 115, 58, 47, 47, 103, 101, 116, 45, 97, 45, 98, 111, 97, 114, 46, 99, 111, 109, 47, 123, 105, 109, 103, 95, 117, 114, 108, 125, 11, 110, 111, 95, 116, 101, 109, 112, 108, 97, 116, 101, 23, 104, 116, 116, 112, 115, 58, 47, 47, 103, 101, 116, 45, 97, 45, 98, 111, 97, 114, 46, 99, 111, 109, 47, 3, 97, 103, 101, 21, 123, 109, 101, 116, 97, 100, 97, 116, 97, 46, 110, 101, 115, 116, 101, 100, 46, 97, 103, 101, 125, 8, 102, 117, 108, 108, 95, 117, 114, 108, 10, 123, 102, 117, 108, 108, 95, 117, 114, 108, 125, 13, 101, 115, 99, 97, 112, 101, 95, 115, 121, 110, 116, 97, 120, 8, 92, 123, 110, 97, 109, 101, 92, 125] } mutated: object(0,0), object(1,1) -gas summary: computation_cost: 1000000, storage_cost: 5236400, storage_rebate: 3002076, non_refundable_storage_fee: 30324 +gas summary: computation_cost: 1000000, storage_cost: 5236400, storage_rebate: 3032400, non_refundable_storage_fee: 0 -task 14, line 182: +task 14, line 183: //# create-checkpoint Checkpoint created: 4 -task 15, line 184: +task 15, line 185: //# view-checkpoint -CheckpointSummary { epoch: 0, seq: 4, content_digest: XAuLWwCkKRGkkGtQopDS64y6VLVMRxRZTKUrSmJWJPS, - epoch_rolling_gas_cost_summary: GasCostSummary { computation_cost: 5000000, storage_cost: 36236800, storage_rebate: 9517860, non_refundable_storage_fee: 96140 }} +CheckpointSummary { epoch: 0, seq: 4, content_digest: 2kUPVW8oQEhjMwaaAD4AyUSTfYf9gef9ZQw6UCQ4zqhL, + epoch_rolling_gas_cost_summary: GasCostSummary { computation_cost: 5000000, storage_cost: 36236800, storage_rebate: 9614000, non_refundable_storage_fee: 0 }} -task 16, lines 186-199: +task 16, lines 187-200: //# run-graphql Response: { "data": { @@ -175,7 +175,7 @@ Response: { }, { "key": "buyer", - "value": "0xfccc9a421bbb13c1a66a1aa98f0ad75029ede94857779c6915b44f94068b921e", + "value": "0x8cca4e1ce0ba5904cea61df9242da2f7d29e3ef328fb7ec07c086b3bf47ca61a", "error": null }, { @@ -195,7 +195,7 @@ Response: { }, { "key": "project_url", - "value": "Unique Boar from the Boars collection with First Boar and 0xa88095cf047234523b2eac15be50a1f1450d04020d60d09cb858bbfaf27ae291", + "value": "Unique Boar from the Boars collection with First Boar and 0x850b3bbb3833456bfc730501ec700957e8c10b2c71dcb9191b47af3b4a198237", "error": null }, { diff --git a/crates/iota-graphql-e2e-tests/tests/objects/enum_data.exp b/crates/iota-graphql-e2e-tests/tests/objects/enum_data.exp index 5e23bf2bbe4..da73bfa78d3 100644 --- a/crates/iota-graphql-e2e-tests/tests/objects/enum_data.exp +++ b/crates/iota-graphql-e2e-tests/tests/objects/enum_data.exp @@ -3,13 +3,13 @@ processed 5 tasks init: A: object(0,0) -task 1, lines 6-54: +task 1, lines 7-55: //# publish --upgradeable --sender A created: object(1,0), object(1,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 10510800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2, lines 56-58: +task 2, lines 57-59: //# programmable --inputs @A //> 0: P0::m::foo(); //> TransferObjects([Result(0)], Input(0)) @@ -17,11 +17,11 @@ created: object(2,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 3032400, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3, line 60: +task 3, line 61: //# create-checkpoint Checkpoint created: 1 -task 4, lines 62-83: +task 4, lines 63-84: //# run-graphql Response: { "data": { @@ -36,7 +36,7 @@ Response: { "asMoveObject": { "contents": { "type": { - "repr": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin<0x0000000000000000000000000000000000000000000000000000000000000002::iota::IOTA>" + "repr": "0x568a165e39bb16857fe2ecb9b06f85fbfc23ab2220db21d84fb8420f6e95b137::m::Foo" }, "data": { "Struct": [ @@ -44,111 +44,38 @@ Response: { "name": "id", "value": { "UID": [ - 165, - 123, + 58, + 7, + 23, + 30, + 242, + 105, + 145, + 94, + 98, + 226, + 202, + 163, 29, - 175, - 111, - 91, - 12, - 179, - 34, - 222, - 48, - 247, - 251, - 66, - 173, - 95, + 149, + 249, + 159, + 32, + 172, + 193, + 213, + 112, 74, - 87, - 248, - 103, - 21, - 8, - 43, - 117, - 76, - 87, - 237, - 49, - 124, - 202, - 141, - 203 - ] - } - }, - { - "name": "balance", - "value": { - "Struct": [ - { - "name": "value", - "value": { - "Number": "299999995967600" - } - } - ] - } - } - ] - }, - "json": { - "id": "0xa57b1daf6f5b0cb322de30f7fb42ad5f4a57f86715082b754c57ed317cca8dcb", - "balance": { - "value": "299999995967600" - } - } - } - } - } - }, - { - "outputState": { - "asMoveObject": { - "contents": { - "type": { - "repr": "0xdb78ae794282c4b7cdd0be71548346391b9872c9f331c600ee326dda0197288b::m::Foo" - }, - "data": { - "Struct": [ - { - "name": "id", - "value": { - "UID": [ - 250, + 227, + 201, + 198, + 31, + 171, + 214, + 184, 110, - 106, - 241, - 90, - 199, - 216, - 123, - 138, - 250, - 196, - 147, - 115, - 221, - 65, - 142, - 233, - 105, - 128, - 102, - 67, - 13, - 125, - 253, - 217, - 189, - 67, - 187, - 113, - 125, - 47, - 110 + 76, + 254 ] } }, @@ -156,38 +83,38 @@ Response: { "name": "f0", "value": { "ID": [ - 250, - 110, - 106, - 241, - 90, - 199, - 216, - 123, - 138, - 250, - 196, - 147, - 115, - 221, - 65, - 142, - 233, + 58, + 7, + 23, + 30, + 242, 105, - 128, - 102, - 67, - 13, - 125, - 253, - 217, - 189, - 67, - 187, - 113, - 125, - 47, - 110 + 145, + 94, + 98, + 226, + 202, + 163, + 29, + 149, + 249, + 159, + 32, + 172, + 193, + 213, + 112, + 74, + 227, + 201, + 198, + 31, + 171, + 214, + 184, + 110, + 76, + 254 ] } }, @@ -227,38 +154,38 @@ Response: { "Vector": [ { "Address": [ - 250, - 110, - 106, - 241, - 90, - 199, - 216, - 123, - 138, - 250, - 196, - 147, - 115, - 221, - 65, - 142, - 233, + 58, + 7, + 23, + 30, + 242, 105, - 128, - 102, - 67, - 13, - 125, - 253, - 217, - 189, - 67, - 187, - 113, - 125, - 47, - 110 + 145, + 94, + 98, + 226, + 202, + 163, + 29, + 149, + 249, + 159, + 32, + 172, + 193, + 213, + 112, + 74, + 227, + 201, + 198, + 31, + 171, + 214, + 184, + 110, + 76, + 254 ] } ] @@ -325,15 +252,15 @@ Response: { ] }, "json": { - "id": "0xfa6e6af15ac7d87b8afac49373dd418ee9698066430d7dfdd9bd43bb717d2f6e", - "f0": "0xfa6e6af15ac7d87b8afac49373dd418ee9698066430d7dfdd9bd43bb717d2f6e", + "id": "0x3a07171ef269915e62e2caa31d95f99f20acc1d5704ae3c9c61fabd6b86e4cfe", + "f0": "0x3a07171ef269915e62e2caa31d95f99f20acc1d5704ae3c9c61fabd6b86e4cfe", "f1": true, "f2": 42, "f3": "43", "f4": "hello", "f5": "world", "f6": [ - "0xfa6e6af15ac7d87b8afac49373dd418ee9698066430d7dfdd9bd43bb717d2f6e" + "0x3a07171ef269915e62e2caa31d95f99f20acc1d5704ae3c9c61fabd6b86e4cfe" ], "f7": 44, "f8": { @@ -356,6 +283,79 @@ Response: { } } } + }, + { + "outputState": { + "asMoveObject": { + "contents": { + "type": { + "repr": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin<0x0000000000000000000000000000000000000000000000000000000000000002::iota::IOTA>" + }, + "data": { + "Struct": [ + { + "name": "id", + "value": { + "UID": [ + 65, + 4, + 216, + 38, + 175, + 162, + 249, + 235, + 133, + 9, + 129, + 215, + 211, + 227, + 71, + 92, + 114, + 194, + 220, + 254, + 14, + 227, + 201, + 121, + 42, + 230, + 11, + 160, + 170, + 19, + 240, + 59 + ] + } + }, + { + "name": "balance", + "value": { + "Struct": [ + { + "name": "value", + "value": { + "Number": "299999995967600" + } + } + ] + } + } + ] + }, + "json": { + "id": "0x4104d826afa2f9eb850981d7d3e3475c72c2dcfe0ee3c9792ae60ba0aa13f03b", + "balance": { + "value": "299999995967600" + } + } + } + } + } } ] } diff --git a/crates/iota-graphql-e2e-tests/tests/objects/filter_by_type.exp b/crates/iota-graphql-e2e-tests/tests/objects/filter_by_type.exp index a27097f2247..b9e9c1a990b 100644 --- a/crates/iota-graphql-e2e-tests/tests/objects/filter_by_type.exp +++ b/crates/iota-graphql-e2e-tests/tests/objects/filter_by_type.exp @@ -3,15 +3,15 @@ processed 17 tasks init: C: object(0,0) -task 1, line 7: +task 1, line 8: //# create-checkpoint Checkpoint created: 1 -task 2, line 9: +task 2, line 10: //# advance-epoch Epoch advanced: 0 -task 3, lines 11-13: +task 3, lines 12-14: //# programmable --sender C --inputs 10000000000 @C //> SplitCoins(Gas, [Input(0)]); //> TransferObjects([Result(0)], Input(1)) @@ -19,23 +19,23 @@ created: object(3,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 1976000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 4, lines 15-17: +task 4, lines 16-18: //# run 0x3::iota_system::request_add_stake --args object(0x5) object(3,0) @validator_0 --sender C -events: Event { package_id: iota_system, transaction_module: Identifier("iota_system"), sender: C, type_: StructTag { address: iota_system, module: Identifier("validator"), name: Identifier("StakingRequestEvent"), type_params: [] }, contents: [135, 141, 242, 35, 38, 24, 124, 195, 86, 219, 178, 127, 110, 40, 201, 151, 112, 169, 166, 183, 93, 180, 71, 210, 141, 37, 35, 151, 110, 94, 69, 29, 218, 131, 22, 109, 1, 175, 215, 221, 207, 138, 245, 248, 68, 244, 90, 170, 83, 244, 133, 72, 229, 17, 124, 35, 245, 162, 151, 140, 253, 66, 34, 68, 252, 204, 154, 66, 27, 187, 19, 193, 166, 106, 26, 169, 143, 10, 215, 80, 41, 237, 233, 72, 87, 119, 156, 105, 21, 180, 79, 148, 6, 139, 146, 30, 1, 0, 0, 0, 0, 0, 0, 0, 0, 228, 11, 84, 2, 0, 0, 0] } +events: Event { package_id: iota_system, transaction_module: Identifier("iota_system"), sender: C, type_: StructTag { address: iota_system, module: Identifier("validator"), name: Identifier("StakingRequestEvent"), type_params: [] }, contents: [51, 134, 205, 5, 82, 22, 56, 71, 216, 221, 16, 110, 87, 246, 247, 94, 33, 78, 90, 194, 6, 201, 10, 51, 249, 117, 97, 162, 61, 0, 139, 91, 175, 163, 158, 79, 0, 218, 226, 120, 249, 119, 199, 198, 147, 10, 94, 44, 118, 232, 93, 23, 165, 38, 215, 36, 187, 206, 15, 184, 31, 176, 125, 76, 140, 202, 78, 28, 224, 186, 89, 4, 206, 166, 29, 249, 36, 45, 162, 247, 210, 158, 62, 243, 40, 251, 126, 192, 124, 8, 107, 59, 244, 124, 166, 26, 1, 0, 0, 0, 0, 0, 0, 0, 0, 228, 11, 84, 2, 0, 0, 0] } created: object(4,0) mutated: object(_), 0x0000000000000000000000000000000000000000000000000000000000000005, object(0,0) deleted: object(3,0) -gas summary: computation_cost: 1000000, storage_cost: 15078400, storage_rebate: 1956240, non_refundable_storage_fee: 19760 +gas summary: computation_cost: 1000000, storage_cost: 14789600, storage_rebate: 1976000, non_refundable_storage_fee: 0 -task 5, line 18: +task 5, line 19: //# create-checkpoint Checkpoint created: 3 -task 6, line 20: +task 6, line 21: //# advance-epoch Epoch advanced: 1 -task 7, lines 22-37: +task 7, lines 23-38: //# run-graphql Response: { "data": { @@ -63,6 +63,17 @@ Response: { } } }, + { + "node": { + "asMoveObject": { + "contents": { + "type": { + "repr": "0x0000000000000000000000000000000000000000000000000000000000000003::staking_pool::StakedIota" + } + } + } + } + }, { "node": { "asMoveObject": { @@ -79,7 +90,7 @@ Response: { } } -task 8, lines 39-54: +task 8, lines 40-55: //# run-graphql Response: { "data": { @@ -96,17 +107,6 @@ Response: { } } }, - { - "node": { - "asMoveObject": { - "contents": { - "type": { - "repr": "0x0000000000000000000000000000000000000000000000000000000000000002::authenticator_state::AuthenticatorState" - } - } - } - } - }, { "node": { "asMoveObject": { @@ -134,7 +134,7 @@ Response: { "asMoveObject": { "contents": { "type": { - "repr": "0x0000000000000000000000000000000000000000000000000000000000000002::dynamic_field::Field" + "repr": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin<0x0000000000000000000000000000000000000000000000000000000000000002::iota::IOTA>" } } } @@ -156,7 +156,7 @@ Response: { "asMoveObject": { "contents": { "type": { - "repr": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin<0x0000000000000000000000000000000000000000000000000000000000000002::iota::IOTA>" + "repr": "0x0000000000000000000000000000000000000000000000000000000000000002::dynamic_field::Field" } } } @@ -167,7 +167,7 @@ Response: { "asMoveObject": { "contents": { "type": { - "repr": "0x0000000000000000000000000000000000000000000000000000000000000002::dynamic_field::Field" + "repr": "0x0000000000000000000000000000000000000000000000000000000000000002::dynamic_field::Field,0x0000000000000000000000000000000000000000000000000000000000000002::timelock::SystemTimelockCap>" } } } @@ -178,7 +178,7 @@ Response: { "asMoveObject": { "contents": { "type": { - "repr": "0x0000000000000000000000000000000000000000000000000000000000000002::dynamic_field::Field" + "repr": "0x0000000000000000000000000000000000000000000000000000000000000002::dynamic_field::Field" } } } @@ -189,7 +189,7 @@ Response: { "asMoveObject": { "contents": { "type": { - "repr": "0x0000000000000000000000000000000000000000000000000000000000000002::dynamic_field::Field<0x0000000000000000000000000000000000000000000000000000000000000002::object::ID,address>" + "repr": "0x0000000000000000000000000000000000000000000000000000000000000002::dynamic_field::Field" } } } @@ -211,7 +211,7 @@ Response: { "asMoveObject": { "contents": { "type": { - "repr": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin<0x0000000000000000000000000000000000000000000000000000000000000002::iota::IOTA>" + "repr": "0x0000000000000000000000000000000000000000000000000000000000000002::dynamic_field::Field" } } } @@ -222,7 +222,7 @@ Response: { "asMoveObject": { "contents": { "type": { - "repr": "0x0000000000000000000000000000000000000000000000000000000000000002::dynamic_field::Field" + "repr": "0x0000000000000000000000000000000000000000000000000000000000000002::dynamic_field::Field<0x0000000000000000000000000000000000000000000000000000000000000002::object::ID,address>" } } } @@ -233,7 +233,7 @@ Response: { "asMoveObject": { "contents": { "type": { - "repr": "0x0000000000000000000000000000000000000000000000000000000000000002::dynamic_field::Field" + "repr": "0x0000000000000000000000000000000000000000000000000000000000000002::dynamic_field::Field" } } } @@ -244,7 +244,7 @@ Response: { "asMoveObject": { "contents": { "type": { - "repr": "0x0000000000000000000000000000000000000000000000000000000000000002::dynamic_field::Field" + "repr": "0x0000000000000000000000000000000000000000000000000000000000000002::dynamic_field::Field" } } } @@ -255,7 +255,7 @@ Response: { "asMoveObject": { "contents": { "type": { - "repr": "0x0000000000000000000000000000000000000000000000000000000000000002::dynamic_field::Field" + "repr": "0x0000000000000000000000000000000000000000000000000000000000000002::display::Display<0x000000000000000000000000000000000000000000000000000000000000107a::nft::Nft>" } } } @@ -266,7 +266,7 @@ Response: { "asMoveObject": { "contents": { "type": { - "repr": "0x0000000000000000000000000000000000000000000000000000000000000002::dynamic_field::Field" + "repr": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin<0x0000000000000000000000000000000000000000000000000000000000000002::iota::IOTA>" } } } @@ -277,7 +277,7 @@ Response: { } } -task 9, lines 56-71: +task 9, lines 57-72: //# run-graphql Response: { "data": { @@ -332,7 +332,7 @@ Response: { } } -task 10, lines 73-88: +task 10, lines 74-89: //# run-graphql Response: { "data": { @@ -376,7 +376,7 @@ Response: { } } -task 11, lines 90-106: +task 11, lines 91-107: //# run-graphql Response: { "data": { @@ -420,7 +420,7 @@ Response: { } } -task 12, lines 108-124: +task 12, lines 109-125: //# run-graphql Response: { "data": null, @@ -440,7 +440,7 @@ Response: { ] } -task 13, lines 126-142: +task 13, lines 127-143: //# run-graphql Response: { "data": null, @@ -460,7 +460,7 @@ Response: { ] } -task 14, lines 144-160: +task 14, lines 145-161: //# run-graphql Response: { "data": null, @@ -480,7 +480,7 @@ Response: { ] } -task 15, lines 162-178: +task 15, lines 163-179: //# run-graphql Response: { "data": null, @@ -500,7 +500,7 @@ Response: { ] } -task 16, lines 180-196: +task 16, lines 181-197: //# run-graphql Response: { "data": null, diff --git a/crates/iota-graphql-e2e-tests/tests/objects/pagination.exp b/crates/iota-graphql-e2e-tests/tests/objects/pagination.exp index cadf5035c7d..a628079126b 100644 --- a/crates/iota-graphql-e2e-tests/tests/objects/pagination.exp +++ b/crates/iota-graphql-e2e-tests/tests/objects/pagination.exp @@ -1,46 +1,46 @@ -processed 14 tasks +processed 15 tasks -task 1, lines 6-19: +task 1, lines 7-20: //# publish created: object(1,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 5175600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2, line 21: +task 2, lines 22-23: //# 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 +gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 988000, non_refundable_storage_fee: 0 -task 3, line 23: +task 3, lines 25-26: //# run Test::M1::create --args 1 @A created: object(3,0) mutated: object(0,0) -gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 978120, non_refundable_storage_fee: 9880 +gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 988000, non_refundable_storage_fee: 0 -task 4, line 25: +task 4, lines 28-29: //# run Test::M1::create --args 2 @A created: object(4,0) mutated: object(0,0) -gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 978120, non_refundable_storage_fee: 9880 +gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 988000, non_refundable_storage_fee: 0 -task 5, line 27: +task 5, lines 31-32: //# run Test::M1::create --args 3 @A created: object(5,0) mutated: object(0,0) -gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 978120, non_refundable_storage_fee: 9880 +gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 988000, non_refundable_storage_fee: 0 -task 6, line 29: +task 6, lines 34-35: //# run Test::M1::create --args 4 @A created: object(6,0) mutated: object(0,0) -gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 978120, non_refundable_storage_fee: 9880 +gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 988000, non_refundable_storage_fee: 0 -task 7, line 31: +task 7, line 37: //# create-checkpoint Checkpoint created: 1 -task 8, lines 33-43: +task 8, lines 39-49: //# run-graphql Response: { "data": { @@ -48,19 +48,19 @@ Response: { "objects": { "edges": [ { - "cursor": "IA0aEaJEDlKDSC1RffR0g05xlej/ngllhWVEzxP/GJRzAQAAAAAAAAA=" + "cursor": "IARuBxQGdlm/x5t9Q82cgrIxPTBO9GBqvkbDKhYIhz7YAQAAAAAAAAA=" }, { - "cursor": "ICQBOGJKQBVnTSjPn8d4hczgW9e+v+DLOnn6QGDo6U7zAQAAAAAAAAA=" + "cursor": "IB6e5J4edKc2MhwlGvmoMTWjQ4+HGr8W5MWcY9kfv64xAQAAAAAAAAA=" }, { - "cursor": "ID3HvUbFPVmeQdDWVsKCpPr3nh9mRKSj7N245yafRVURAQAAAAAAAAA=" + "cursor": "IE0gJHC7t6A+bUjioMnjvtBAtGuOVTGTHi5Gt6ZitVETAQAAAAAAAAA=" }, { - "cursor": "ILwUdsEdxfOAmqkMcN3XldEVIQbAQF/kmEzvivjUOCMYAQAAAAAAAAA=" + "cursor": "IG+EZXhz/oR1Mgyv/IT/0dqptKQmZTv5cM62IxAx/+3vAQAAAAAAAAA=" }, { - "cursor": "IOilIztfYgbUm3NYHLbi80gIwVDLSHfs90ZoTKUdnHk9AQAAAAAAAAA=" + "cursor": "ILkx4mJnMmXPTihsLidYvTK3i183vDH+Y7XMfMlwamSVAQAAAAAAAAA=" } ] } @@ -68,7 +68,7 @@ Response: { } } -task 9, lines 45-55: +task 9, lines 51-61: //# run-graphql Response: { "data": { @@ -76,10 +76,10 @@ Response: { "objects": { "edges": [ { - "cursor": "IA0aEaJEDlKDSC1RffR0g05xlej/ngllhWVEzxP/GJRzAQAAAAAAAAA=" + "cursor": "IARuBxQGdlm/x5t9Q82cgrIxPTBO9GBqvkbDKhYIhz7YAQAAAAAAAAA=" }, { - "cursor": "ICQBOGJKQBVnTSjPn8d4hczgW9e+v+DLOnn6QGDo6U7zAQAAAAAAAAA=" + "cursor": "IB6e5J4edKc2MhwlGvmoMTWjQ4+HGr8W5MWcY9kfv64xAQAAAAAAAAA=" } ] } @@ -87,30 +87,76 @@ Response: { } } -task 10, lines 57-69: -//# run-graphql --cursors @{obj_5_0} +task 10, lines 63-92: +//# run-graphql Response: { "data": { "address": { "objects": { - "edges": [] + "edges": [ + { + "cursor": "IARuBxQGdlm/x5t9Q82cgrIxPTBO9GBqvkbDKhYIhz7YAQAAAAAAAAA=", + "node": { + "address": "0x046e0714067659bfc79b7d43cd9c82b2313d304ef4606abe46c32a1608873ed8" + } + }, + { + "cursor": "IB6e5J4edKc2MhwlGvmoMTWjQ4+HGr8W5MWcY9kfv64xAQAAAAAAAAA=", + "node": { + "address": "0x1e9ee49e1e74a736321c251af9a83135a3438f871abf16e4c59c63d91fbfae31" + } + }, + { + "cursor": "IE0gJHC7t6A+bUjioMnjvtBAtGuOVTGTHi5Gt6ZitVETAQAAAAAAAAA=", + "node": { + "address": "0x4d202470bbb7a03e6d48e2a0c9e3bed040b46b8e5531931e2e46b7a662b55113" + } + }, + { + "cursor": "IG+EZXhz/oR1Mgyv/IT/0dqptKQmZTv5cM62IxAx/+3vAQAAAAAAAAA=", + "node": { + "address": "0x6f84657873fe8475320caffc84ffd1daa9b4a426653bf970ceb6231031ffedef" + } + }, + { + "cursor": "ILkx4mJnMmXPTihsLidYvTK3i183vDH+Y7XMfMlwamSVAQAAAAAAAAA=", + "node": { + "address": "0xb931e262673265cf4e286c2e2758bd32b78b5f37bc31fe63b5cc7cc9706a6495" + } + } + ] } + }, + "obj_3_0": { + "address": "0x046e0714067659bfc79b7d43cd9c82b2313d304ef4606abe46c32a1608873ed8" + }, + "obj_5_0": { + "address": "0x1e9ee49e1e74a736321c251af9a83135a3438f871abf16e4c59c63d91fbfae31" + }, + "obj_6_0": { + "address": "0x4d202470bbb7a03e6d48e2a0c9e3bed040b46b8e5531931e2e46b7a662b55113" + }, + "obj_4_0": { + "address": "0x6f84657873fe8475320caffc84ffd1daa9b4a426653bf970ceb6231031ffedef" + }, + "obj_2_0": { + "address": "0xb931e262673265cf4e286c2e2758bd32b78b5f37bc31fe63b5cc7cc9706a6495" } } } -task 11, lines 71-81: -//# run-graphql --cursors @{obj_4_0} +task 11, lines 94-106: +//# run-graphql --cursors @{obj_5_0} Response: { "data": { "address": { "objects": { "edges": [ { - "cursor": "ICQBOGJKQBVnTSjPn8d4hczgW9e+v+DLOnn6QGDo6U7zAQAAAAAAAAA=" + "cursor": "IE0gJHC7t6A+bUjioMnjvtBAtGuOVTGTHi5Gt6ZitVETAQAAAAAAAAA=" }, { - "cursor": "ID3HvUbFPVmeQdDWVsKCpPr3nh9mRKSj7N245yafRVURAQAAAAAAAAA=" + "cursor": "IG+EZXhz/oR1Mgyv/IT/0dqptKQmZTv5cM62IxAx/+3vAQAAAAAAAAA=" } ] } @@ -118,15 +164,15 @@ Response: { } } -task 12, lines 83-93: -//# run-graphql --cursors @{obj_3_0} +task 12, lines 108-118: +//# run-graphql --cursors @{obj_4_0} Response: { "data": { "address": { "objects": { "edges": [ { - "cursor": "IA0aEaJEDlKDSC1RffR0g05xlej/ngllhWVEzxP/GJRzAQAAAAAAAAA=" + "cursor": "ILkx4mJnMmXPTihsLidYvTK3i183vDH+Y7XMfMlwamSVAQAAAAAAAAA=" } ] } @@ -134,7 +180,19 @@ Response: { } } -task 13, lines 95-104: +task 13, lines 120-130: +//# run-graphql --cursors @{obj_3_0} +Response: { + "data": { + "address": { + "objects": { + "edges": [] + } + } + } +} + +task 14, lines 132-144: //# run-graphql Response: { "data": { @@ -142,10 +200,16 @@ Response: { "objects": { "edges": [ { - "cursor": "ILwUdsEdxfOAmqkMcN3XldEVIQbAQF/kmEzvivjUOCMYAQAAAAAAAAA=" + "cursor": "IG+EZXhz/oR1Mgyv/IT/0dqptKQmZTv5cM62IxAx/+3vAQAAAAAAAAA=", + "node": { + "address": "0x6f84657873fe8475320caffc84ffd1daa9b4a426653bf970ceb6231031ffedef" + } }, { - "cursor": "IOilIztfYgbUm3NYHLbi80gIwVDLSHfs90ZoTKUdnHk9AQAAAAAAAAA=" + "cursor": "ILkx4mJnMmXPTihsLidYvTK3i183vDH+Y7XMfMlwamSVAQAAAAAAAAA=", + "node": { + "address": "0xb931e262673265cf4e286c2e2758bd32b78b5f37bc31fe63b5cc7cc9706a6495" + } } ] } diff --git a/crates/iota-graphql-e2e-tests/tests/objects/pagination.move b/crates/iota-graphql-e2e-tests/tests/objects/pagination.move index 1d0ef6f51c3..a29772c7180 100644 --- a/crates/iota-graphql-e2e-tests/tests/objects/pagination.move +++ b/crates/iota-graphql-e2e-tests/tests/objects/pagination.move @@ -20,18 +20,22 @@ module Test::M1 { } //# run Test::M1::create --args 0 @A +# create obj_2_0 (1st object) for A //# run Test::M1::create --args 1 @A +# create obj_3_0 (2nd object) for A //# run Test::M1::create --args 2 @A +# create obj_4_0 (3rd object) for A //# run Test::M1::create --args 3 @A +# create obj_5_0 (4th object) for A //# run Test::M1::create --args 4 @A +# create obj_6_0 (5th object) for A //# create-checkpoint - //# run-graphql { # select all objects owned by A @@ -56,10 +60,41 @@ module Test::M1 { } } +//# run-graphql +{ + # show the order of all object owned by A + # order is defined by the bytes of their address + address(address: "@{A}") { + objects { + edges { + cursor + node { + address + } + } + } + } + obj_3_0: object(address: "@{obj_3_0}") { + address + } + obj_5_0: object(address: "@{obj_5_0}") { + address + } + obj_6_0: object(address: "@{obj_6_0}") { + address + } + obj_4_0: object(address: "@{obj_4_0}") { + address + } + obj_2_0: object(address: "@{obj_2_0}") { + address + } +} + //# run-graphql --cursors @{obj_5_0} { address(address: "@{A}") { - # select the 2nd and 3rd objects + # select the 5th and 3rd objects # note that order does not correspond # to order in which objects were created objects(first: 2 after: "@{cursor_0}") { @@ -73,8 +108,8 @@ module Test::M1 { //# run-graphql --cursors @{obj_4_0} { address(address: "@{A}") { - # select 4th and last object - objects(first: 2 after: "@{cursor_0}") { + # select 1st object + objects(first: 1 after: "@{cursor_0}") { edges { cursor } @@ -85,7 +120,7 @@ module Test::M1 { //# run-graphql --cursors @{obj_3_0} { address(address: "@{A}") { - # select 3rd and 4th object + # select no object objects(last: 2 before: "@{cursor_0}") { edges { cursor @@ -100,6 +135,9 @@ module Test::M1 { objects(last: 2) { edges { cursor + node { + address + } } } } diff --git a/crates/iota-graphql-e2e-tests/tests/objects/public_transfer.exp b/crates/iota-graphql-e2e-tests/tests/objects/public_transfer.exp index 10c58288c67..5e019424698 100644 --- a/crates/iota-graphql-e2e-tests/tests/objects/public_transfer.exp +++ b/crates/iota-graphql-e2e-tests/tests/objects/public_transfer.exp @@ -3,26 +3,26 @@ processed 5 tasks init: A: object(0,0) -task 1, lines 6-26: +task 1, lines 7-27: //# publish created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 5570800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2, lines 28-31: +task 2, lines 29-32: //# programmable --inputs @A //> 0: P0::m::foo(); //> 1: P0::m::bar(); //> TransferObjects([Result(0)], Input(0)) created: object(2,0), object(2,1) mutated: object(0,1) -gas summary: computation_cost: 1000000, storage_cost: 3435200, storage_rebate: 978120, non_refundable_storage_fee: 9880 +gas summary: computation_cost: 1000000, storage_cost: 3435200, storage_rebate: 988000, non_refundable_storage_fee: 0 -task 3, line 33: +task 3, line 34: //# create-checkpoint Checkpoint created: 1 -task 4, lines 35-53: +task 4, lines 36-54: //# run-graphql Response: { "data": { @@ -37,10 +37,10 @@ Response: { "asMoveObject": { "contents": { "type": { - "repr": "0xc896d0db7835d08180ada6f21f1a74d90c4bf4722a6915fa3f03675e255fdf92::m::Bar" + "repr": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin<0x0000000000000000000000000000000000000000000000000000000000000002::iota::IOTA>" } }, - "hasPublicTransfer": false + "hasPublicTransfer": true } } }, @@ -49,10 +49,10 @@ Response: { "asMoveObject": { "contents": { "type": { - "repr": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin<0x0000000000000000000000000000000000000000000000000000000000000002::iota::IOTA>" + "repr": "0xaf6f071c0d507ce342ec635cce00dc0bb9f5851b390a3eae34ac74b9f4a43e47::m::Bar" } }, - "hasPublicTransfer": true + "hasPublicTransfer": false } } }, @@ -61,7 +61,7 @@ Response: { "asMoveObject": { "contents": { "type": { - "repr": "0xc896d0db7835d08180ada6f21f1a74d90c4bf4722a6915fa3f03675e255fdf92::m::Foo" + "repr": "0xaf6f071c0d507ce342ec635cce00dc0bb9f5851b390a3eae34ac74b9f4a43e47::m::Foo" } }, "hasPublicTransfer": true diff --git a/crates/iota-graphql-e2e-tests/tests/objects/received.exp b/crates/iota-graphql-e2e-tests/tests/objects/received.exp index 3f54bf88246..545d4eb6e9b 100644 --- a/crates/iota-graphql-e2e-tests/tests/objects/received.exp +++ b/crates/iota-graphql-e2e-tests/tests/objects/received.exp @@ -1,6 +1,6 @@ processed 5 tasks -task 1, lines 6-15: +task 1, lines 7-16: //# run-graphql Response: { "data": { @@ -12,17 +12,17 @@ Response: { } } -task 2, lines 17-27: +task 2, lines 18-28: //# publish created: object(2,0), object(2,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 6353600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3, line 29: +task 3, line 30: //# create-checkpoint Checkpoint created: 1 -task 4, lines 31-40: +task 4, lines 32-41: //# run-graphql Response: { "data": { @@ -30,7 +30,7 @@ Response: { "receivedTransactionBlocks": { "nodes": [ { - "digest": "6stsHkPZxpZr1kuzuNCfUQJJh6fb27jWdnwEpBYX7uHL" + "digest": "4SAbgoWVHa9hifGYX4Jx2EzybP6v7yq5j2ojMdGBg4wK" } ] } diff --git a/crates/iota-graphql-e2e-tests/tests/objects/staked_iota.exp b/crates/iota-graphql-e2e-tests/tests/objects/staked_iota.exp index 2b2c4baeec3..21dcccf8061 100644 --- a/crates/iota-graphql-e2e-tests/tests/objects/staked_iota.exp +++ b/crates/iota-graphql-e2e-tests/tests/objects/staked_iota.exp @@ -3,18 +3,18 @@ processed 7 tasks init: C: object(0,0) -task 1, lines 6-31: +task 1, lines 7-32: //# run-graphql Response: { "data": { "objects": { "edges": [ { - "cursor": "IJdddv7ctEE+DF5quWpbQy6Gbh1zoREdiDCwOweZutarAAAAAAAAAAA=", + "cursor": "II+tgv6D0veefo3WaFvN4lC2/WKJCFFNzs2xKjbNG0LPAAAAAAAAAAA=", "node": { "asMoveObject": { "asStakedIota": { - "principal": "20000000000000000" + "principal": "1500000000000000" } } } @@ -29,7 +29,7 @@ Response: { } } -task 2, lines 33-35: +task 2, lines 34-36: //# programmable --sender C --inputs 10000000000 @C //> SplitCoins(Gas, [Input(0)]); //> TransferObjects([Result(0)], Input(1)) @@ -37,57 +37,57 @@ created: object(2,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 1976000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3, line 37: +task 3, line 38: //# run 0x3::iota_system::request_add_stake --args object(0x5) object(2,0) @validator_0 --sender C -events: Event { package_id: iota_system, transaction_module: Identifier("iota_system"), sender: C, type_: StructTag { address: iota_system, module: Identifier("validator"), name: Identifier("StakingRequestEvent"), type_params: [] }, contents: [135, 141, 242, 35, 38, 24, 124, 195, 86, 219, 178, 127, 110, 40, 201, 151, 112, 169, 166, 183, 93, 180, 71, 210, 141, 37, 35, 151, 110, 94, 69, 29, 218, 131, 22, 109, 1, 175, 215, 221, 207, 138, 245, 248, 68, 244, 90, 170, 83, 244, 133, 72, 229, 17, 124, 35, 245, 162, 151, 140, 253, 66, 34, 68, 252, 204, 154, 66, 27, 187, 19, 193, 166, 106, 26, 169, 143, 10, 215, 80, 41, 237, 233, 72, 87, 119, 156, 105, 21, 180, 79, 148, 6, 139, 146, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 228, 11, 84, 2, 0, 0, 0] } +events: Event { package_id: iota_system, transaction_module: Identifier("iota_system"), sender: C, type_: StructTag { address: iota_system, module: Identifier("validator"), name: Identifier("StakingRequestEvent"), type_params: [] }, contents: [51, 134, 205, 5, 82, 22, 56, 71, 216, 221, 16, 110, 87, 246, 247, 94, 33, 78, 90, 194, 6, 201, 10, 51, 249, 117, 97, 162, 61, 0, 139, 91, 175, 163, 158, 79, 0, 218, 226, 120, 249, 119, 199, 198, 147, 10, 94, 44, 118, 232, 93, 23, 165, 38, 215, 36, 187, 206, 15, 184, 31, 176, 125, 76, 140, 202, 78, 28, 224, 186, 89, 4, 206, 166, 29, 249, 36, 45, 162, 247, 210, 158, 62, 243, 40, 251, 126, 192, 124, 8, 107, 59, 244, 124, 166, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 228, 11, 84, 2, 0, 0, 0] } created: object(3,0), object(3,1) mutated: 0x0000000000000000000000000000000000000000000000000000000000000005, object(0,0) deleted: object(_), object(2,0) -gas summary: computation_cost: 1000000, storage_cost: 15078400, storage_rebate: 1956240, non_refundable_storage_fee: 19760 +gas summary: computation_cost: 1000000, storage_cost: 14789600, storage_rebate: 1976000, non_refundable_storage_fee: 0 -task 4, line 39: +task 4, line 40: //# create-checkpoint Checkpoint created: 1 -task 5, line 41: +task 5, line 42: //# advance-epoch Epoch advanced: 0 -task 6, lines 43-69: +task 6, lines 44-70: //# run-graphql Response: { "data": { "objects": { "edges": [ { - "cursor": "IAIBJktCWLXHqadKvg7cMsx5K2wvGEif2hRpCOa1abMjAgAAAAAAAAA=", + "cursor": "IE7dToilI41Z06w5IxyULx1vkandEOuVlpo2z0OzoWhuAgAAAAAAAAA=", "node": { "asMoveObject": { "asStakedIota": { - "principal": "40000", - "poolId": "0x878df22326187cc356dbb27f6e28c99770a9a6b75db447d28d2523976e5e451d" + "principal": "15340000000000", + "poolId": "0x3386cd0552163847d8dd106e57f6f75e214e5ac206c90a33f97561a23d008b5b" } } } }, { - "cursor": "IIfCdVF/ksapbQZhjXV6RV32ZC1RPOn4asTmI03lIcvOAgAAAAAAAAA=", + "cursor": "II+tgv6D0veefo3WaFvN4lC2/WKJCFFNzs2xKjbNG0LPAgAAAAAAAAA=", "node": { "asMoveObject": { "asStakedIota": { - "principal": "10000000000", - "poolId": "0x878df22326187cc356dbb27f6e28c99770a9a6b75db447d28d2523976e5e451d" + "principal": "1500000000000000", + "poolId": "0x3386cd0552163847d8dd106e57f6f75e214e5ac206c90a33f97561a23d008b5b" } } } }, { - "cursor": "IJdddv7ctEE+DF5quWpbQy6Gbh1zoREdiDCwOweZutarAgAAAAAAAAA=", + "cursor": "IPSaw56yCE5pNRFiJKgY0Hjo4koBkVvBMI13rTpr2ir1AgAAAAAAAAA=", "node": { "asMoveObject": { "asStakedIota": { - "principal": "20000000000000000", - "poolId": "0x878df22326187cc356dbb27f6e28c99770a9a6b75db447d28d2523976e5e451d" + "principal": "10000000000", + "poolId": "0x3386cd0552163847d8dd106e57f6f75e214e5ac206c90a33f97561a23d008b5b" } } } @@ -98,7 +98,7 @@ Response: { "stakedIotas": { "edges": [ { - "cursor": "IIfCdVF/ksapbQZhjXV6RV32ZC1RPOn4asTmI03lIcvOAgAAAAAAAAA=", + "cursor": "IPSaw56yCE5pNRFiJKgY0Hjo4koBkVvBMI13rTpr2ir1AgAAAAAAAAA=", "node": { "principal": "10000000000" } diff --git a/crates/iota-graphql-e2e-tests/tests/owner/downcasts.exp b/crates/iota-graphql-e2e-tests/tests/owner/downcasts.exp index 998a4f88464..e18ff5c96e1 100644 --- a/crates/iota-graphql-e2e-tests/tests/owner/downcasts.exp +++ b/crates/iota-graphql-e2e-tests/tests/owner/downcasts.exp @@ -3,7 +3,7 @@ processed 4 tasks init: A: object(0,0) -task 1, lines 7-9: +task 1, lines 8-10: //# programmable --sender A --inputs 1000 @A //> 0: SplitCoins(Gas, [Input(0)]); //> TransferObjects([Result(0)], Input(1)) @@ -11,11 +11,11 @@ created: object(1,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 1976000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2, line 11: +task 2, line 12: //# create-checkpoint Checkpoint created: 1 -task 3, lines 13-22: +task 3, lines 14-23: //# run-graphql Response: { "data": { @@ -24,7 +24,7 @@ Response: { }, "coin": { "asObject": { - "digest": "B7KFVrNkesXXKghMbvKQAwbfYzapa8FCkSQJV9ZxrYHT" + "digest": "G9myG4sdSrxhpDPCVFZLBycTiDDJs7HJUCLXaaMgo7xW" } } } diff --git a/crates/iota-graphql-e2e-tests/tests/owner/root_version.exp b/crates/iota-graphql-e2e-tests/tests/owner/root_version.exp index 6d85a121d6b..d0d15cc1b2a 100644 --- a/crates/iota-graphql-e2e-tests/tests/owner/root_version.exp +++ b/crates/iota-graphql-e2e-tests/tests/owner/root_version.exp @@ -3,44 +3,44 @@ processed 17 tasks init: A: object(0,0) -task 1, lines 6-86: +task 1, lines 7-87: //# publish created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 10586800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2, lines 88-89: +task 2, lines 89-90: //# run P0::M::new_o created: object(2,0) mutated: object(0,1) -gas summary: computation_cost: 1000000, storage_cost: 2264800, storage_rebate: 978120, non_refundable_storage_fee: 9880 +gas summary: computation_cost: 1000000, storage_cost: 2264800, storage_rebate: 988000, non_refundable_storage_fee: 0 -task 3, lines 91-92: +task 3, lines 92-93: //# run P0::M::new_w created: object(3,0) mutated: object(0,1) -gas summary: computation_cost: 1000000, storage_cost: 2257200, storage_rebate: 978120, non_refundable_storage_fee: 9880 +gas summary: computation_cost: 1000000, storage_cost: 2257200, storage_rebate: 988000, non_refundable_storage_fee: 0 -task 4, lines 94-95: +task 4, lines 95-96: //# run P0::M::new_dof created: object(4,0) mutated: object(0,1) -gas summary: computation_cost: 1000000, storage_cost: 2272400, storage_rebate: 978120, non_refundable_storage_fee: 9880 +gas summary: computation_cost: 1000000, storage_cost: 2272400, storage_rebate: 988000, non_refundable_storage_fee: 0 -task 5, lines 97-98: +task 5, lines 98-99: //# run P0::M::new_dof created: object(5,0) mutated: object(0,1) -gas summary: computation_cost: 1000000, storage_cost: 2272400, storage_rebate: 978120, non_refundable_storage_fee: 9880 +gas summary: computation_cost: 1000000, storage_cost: 2272400, storage_rebate: 988000, non_refundable_storage_fee: 0 -task 6, lines 101-104: +task 6, lines 102-105: //# run P0::M::connect --args object(2,0) object(3,0) object(4,0) object(5,0) created: object(6,0), object(6,1) mutated: object(0,1), object(2,0), object(4,0), object(5,0) wrapped: object(3,0) -gas summary: computation_cost: 1000000, storage_cost: 9940800, storage_rebate: 6041772, non_refundable_storage_fee: 61028 +gas summary: computation_cost: 1000000, storage_cost: 9940800, storage_rebate: 6102800, non_refundable_storage_fee: 0 -task 7, lines 106-108: +task 7, lines 107-109: //# view-object 2,0 Owner: Account Address ( _ ) Version: 7 @@ -65,27 +65,27 @@ Contents: P0::M::O { }, } -task 8, lines 110-111: +task 8, lines 111-112: //# run P0::M::touch_root --args object(2,0) mutated: object(0,1), object(2,0) -gas summary: computation_cost: 1000000, storage_cost: 2568800, storage_rebate: 2543112, non_refundable_storage_fee: 25688 +gas summary: computation_cost: 1000000, storage_cost: 2568800, storage_rebate: 2568800, non_refundable_storage_fee: 0 -task 9, lines 113-114: +task 9, lines 114-115: //# run P0::M::touch_wrapped --args object(2,0) mutated: object(0,1), object(2,0) -gas summary: computation_cost: 1000000, storage_cost: 2568800, storage_rebate: 2543112, non_refundable_storage_fee: 25688 +gas summary: computation_cost: 1000000, storage_cost: 2568800, storage_rebate: 2568800, non_refundable_storage_fee: 0 -task 10, lines 116-117: +task 10, lines 117-118: //# run P0::M::touch_inner --args object(2,0) mutated: object(0,1), object(2,0), object(4,0) -gas summary: computation_cost: 1000000, storage_cost: 3853200, storage_rebate: 3814668, non_refundable_storage_fee: 38532 +gas summary: computation_cost: 1000000, storage_cost: 3853200, storage_rebate: 3853200, non_refundable_storage_fee: 0 -task 11, lines 119-120: +task 11, lines 120-121: //# run P0::M::touch_outer --args object(2,0) mutated: object(0,1), object(2,0), object(5,0) -gas summary: computation_cost: 1000000, storage_cost: 3853200, storage_rebate: 3814668, non_refundable_storage_fee: 38532 +gas summary: computation_cost: 1000000, storage_cost: 3853200, storage_rebate: 3853200, non_refundable_storage_fee: 0 -task 12, line 122: +task 12, line 123: //# view-object 2,0 Owner: Account Address ( _ ) Version: 11 @@ -110,11 +110,11 @@ Contents: P0::M::O { }, } -task 13, line 124: +task 13, line 125: //# create-checkpoint Checkpoint created: 1 -task 14, lines 126-141: +task 14, lines 127-142: //# run-graphql Response: { "data": { @@ -124,10 +124,10 @@ Response: { "version": 11, "contents": { "json": { - "id": "0x90dc651cc4aef34057af8c944f0ab8a0150295ad088edd4407a1bd4c225e18b8", + "id": "0xf68a454c4e5a9528a45c62e76ddf55084e930f02264a593001cf255f0939c4f7", "count": "1", "wrapped": { - "id": "0x3330add01caca066f647d3a3df92917d0191ba9b9aaaa8d2da4d726bb3c330cf", + "id": "0x6c45294ab49ee02bda2aba94679b10de3a2680d4505501cfbff998fdc4060789", "count": "1" } } @@ -141,10 +141,10 @@ Response: { "version": 10, "contents": { "json": { - "id": "0x90dc651cc4aef34057af8c944f0ab8a0150295ad088edd4407a1bd4c225e18b8", + "id": "0xf68a454c4e5a9528a45c62e76ddf55084e930f02264a593001cf255f0939c4f7", "count": "1", "wrapped": { - "id": "0x3330add01caca066f647d3a3df92917d0191ba9b9aaaa8d2da4d726bb3c330cf", + "id": "0x6c45294ab49ee02bda2aba94679b10de3a2680d4505501cfbff998fdc4060789", "count": "1" } } @@ -158,10 +158,10 @@ Response: { "version": 8, "contents": { "json": { - "id": "0x90dc651cc4aef34057af8c944f0ab8a0150295ad088edd4407a1bd4c225e18b8", + "id": "0xf68a454c4e5a9528a45c62e76ddf55084e930f02264a593001cf255f0939c4f7", "count": "1", "wrapped": { - "id": "0x3330add01caca066f647d3a3df92917d0191ba9b9aaaa8d2da4d726bb3c330cf", + "id": "0x6c45294ab49ee02bda2aba94679b10de3a2680d4505501cfbff998fdc4060789", "count": "0" } } @@ -175,10 +175,10 @@ Response: { "version": 7, "contents": { "json": { - "id": "0x90dc651cc4aef34057af8c944f0ab8a0150295ad088edd4407a1bd4c225e18b8", + "id": "0xf68a454c4e5a9528a45c62e76ddf55084e930f02264a593001cf255f0939c4f7", "count": "0", "wrapped": { - "id": "0x3330add01caca066f647d3a3df92917d0191ba9b9aaaa8d2da4d726bb3c330cf", + "id": "0x6c45294ab49ee02bda2aba94679b10de3a2680d4505501cfbff998fdc4060789", "count": "0" } } @@ -189,7 +189,7 @@ Response: { } } -task 15, lines 143-171: +task 15, lines 144-172: //# run-graphql Response: { "data": { @@ -199,7 +199,7 @@ Response: { "version": 7, "contents": { "json": { - "id": "0xd38f2f2e8c369c5ec08b8852fac5834c2bcc25308f0205763528364354dc0369", + "id": "0xd2b3dc52d154331dd2cee24b0be9e93d84d53de892ba0a358cd9a16718f11be4", "count": "0" } } @@ -212,7 +212,7 @@ Response: { "version": 10, "contents": { "json": { - "id": "0xd38f2f2e8c369c5ec08b8852fac5834c2bcc25308f0205763528364354dc0369", + "id": "0xd2b3dc52d154331dd2cee24b0be9e93d84d53de892ba0a358cd9a16718f11be4", "count": "1" } } @@ -225,7 +225,7 @@ Response: { "version": 10, "contents": { "json": { - "id": "0xd38f2f2e8c369c5ec08b8852fac5834c2bcc25308f0205763528364354dc0369", + "id": "0xd2b3dc52d154331dd2cee24b0be9e93d84d53de892ba0a358cd9a16718f11be4", "count": "1" } } @@ -238,7 +238,7 @@ Response: { "version": 7, "contents": { "json": { - "id": "0xd38f2f2e8c369c5ec08b8852fac5834c2bcc25308f0205763528364354dc0369", + "id": "0xd2b3dc52d154331dd2cee24b0be9e93d84d53de892ba0a358cd9a16718f11be4", "count": "0" } } @@ -251,7 +251,7 @@ Response: { "version": 7, "contents": { "json": { - "id": "0xd38f2f2e8c369c5ec08b8852fac5834c2bcc25308f0205763528364354dc0369", + "id": "0xd2b3dc52d154331dd2cee24b0be9e93d84d53de892ba0a358cd9a16718f11be4", "count": "0" } } @@ -261,7 +261,7 @@ Response: { } } -task 16, lines 173-194: +task 16, lines 174-195: //# run-graphql Response: { "data": { @@ -271,7 +271,7 @@ Response: { "version": 7, "contents": { "json": { - "id": "0xab491044d75a8be613bd6fdc2215a0847c740b8774bc6feb9188f4b7233a37d5", + "id": "0x95e8389cf98a42e1d74d230e8793ce942925c14de4e7ce57a67cb38dbac461f0", "count": "0" } } @@ -284,7 +284,7 @@ Response: { "version": 11, "contents": { "json": { - "id": "0xab491044d75a8be613bd6fdc2215a0847c740b8774bc6feb9188f4b7233a37d5", + "id": "0x95e8389cf98a42e1d74d230e8793ce942925c14de4e7ce57a67cb38dbac461f0", "count": "1" } } @@ -297,7 +297,7 @@ Response: { "version": 7, "contents": { "json": { - "id": "0xab491044d75a8be613bd6fdc2215a0847c740b8774bc6feb9188f4b7233a37d5", + "id": "0x95e8389cf98a42e1d74d230e8793ce942925c14de4e7ce57a67cb38dbac461f0", "count": "0" } } diff --git a/crates/iota-graphql-e2e-tests/tests/owner/root_version.move b/crates/iota-graphql-e2e-tests/tests/owner/root_version.move index 8a63dc5d78f..843513267e6 100644 --- a/crates/iota-graphql-e2e-tests/tests/owner/root_version.move +++ b/crates/iota-graphql-e2e-tests/tests/owner/root_version.move @@ -2,7 +2,7 @@ // Modifications Copyright (c) 2024 IOTA Stiftung // SPDX-License-Identifier: Apache-2.0 -//# init --protocol-version 48 --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/packages/datatypes.exp b/crates/iota-graphql-e2e-tests/tests/packages/datatypes.exp index e1e0df1f408..806e9bc663d 100644 --- a/crates/iota-graphql-e2e-tests/tests/packages/datatypes.exp +++ b/crates/iota-graphql-e2e-tests/tests/packages/datatypes.exp @@ -3,7 +3,7 @@ processed 9 tasks init: A: object(0,0) -task 1, lines 6-54: +task 1, lines 7-55: //# run-graphql Response: { "data": { @@ -136,26 +136,26 @@ Response: { } } -task 2, lines 56-66: +task 2, lines 57-67: //# publish --upgradeable --sender A created: object(2,0), object(2,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 5981200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3, line 68: +task 3, line 69: //# create-checkpoint Checkpoint created: 1 -task 4, line 70: -//# view-object 2,0 -2,0::m +task 4, line 71: +//# view-object 2,1 +2,1::m -task 5, lines 72-96: +task 5, lines 73-97: //# run-graphql Response: { "data": { "object": { - "address": "0xd2fc664278ad66cd85ad423b87c88678bb8852a40640978a1dbe794e052cf0df", + "address": "0x48a823fcbbb8c846e2ef3dd6f2ec24ca2241ac2480faadf46225767b3d09b830", "asMovePackage": { "module": { "datatypes": { @@ -185,12 +185,12 @@ Response: { } } -task 6, lines 98-143: +task 6, lines 99-144: //# run-graphql Response: { "data": { "object": { - "address": "0xd2fc664278ad66cd85ad423b87c88678bb8852a40640978a1dbe794e052cf0df", + "address": "0x48a823fcbbb8c846e2ef3dd6f2ec24ca2241ac2480faadf46225767b3d09b830", "asMovePackage": { "module": { "datatypes": { @@ -290,7 +290,7 @@ Response: { } } -task 7, lines 145-174: +task 7, lines 146-175: //# run-graphql Response: { "data": { @@ -355,7 +355,7 @@ Response: { } } -task 8, lines 176-206: +task 8, lines 177-207: //# run-graphql Response: { "data": { diff --git a/crates/iota-graphql-e2e-tests/tests/packages/datatypes.move b/crates/iota-graphql-e2e-tests/tests/packages/datatypes.move index 3eb6efb1fa0..9c9cf1bf15c 100644 --- a/crates/iota-graphql-e2e-tests/tests/packages/datatypes.move +++ b/crates/iota-graphql-e2e-tests/tests/packages/datatypes.move @@ -68,7 +68,7 @@ module P0::m { //# create-checkpoint -//# view-object 2,0 +//# view-object 2,1 //# run-graphql # Get all datatypes in the module and print out their common fields @@ -91,7 +91,7 @@ fragment Datatypes on Object { } } { - object(address: "@{obj_2_0}") { + object(address: "@{obj_2_1}") { ...Datatypes } } @@ -138,7 +138,7 @@ fragment Datatypes on Object { } } { - object(address: "@{obj_2_0}") { + object(address: "@{obj_2_1}") { ...Datatypes } } @@ -146,7 +146,7 @@ fragment Datatypes on Object { //# run-graphql # Get a specific datatype (that's an enum) and cast it to an enum. { - object(address: "@{obj_2_0}") { + object(address: "@{obj_2_1}") { asMovePackage { module(name: "m") { datatype(name: "IsAnEnum") { @@ -177,7 +177,7 @@ fragment Datatypes on Object { //# run-graphql # Get a specific datatype (that's a struct) and cast it to an enum (should be null). { - object(address: "@{obj_2_0}") { + object(address: "@{obj_2_1}") { asMovePackage { module(name: "m") { datatype(name: "IsAStruct") { diff --git a/crates/iota-graphql-e2e-tests/tests/packages/enums.exp b/crates/iota-graphql-e2e-tests/tests/packages/enums.exp index 74b919f9a81..841a386821b 100644 --- a/crates/iota-graphql-e2e-tests/tests/packages/enums.exp +++ b/crates/iota-graphql-e2e-tests/tests/packages/enums.exp @@ -3,17 +3,17 @@ processed 8 tasks init: A: object(0,0) -task 1, lines 6-17: +task 1, lines 7-18: //# publish --upgradeable --sender A created: object(1,0), object(1,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 5783600, 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-66: +task 3, lines 22-67: //# run-graphql Response: { "data": { @@ -25,19 +25,19 @@ Response: { "nodes": [ { "outputState": { - "address": "0x0483b83855b7046d6a5fc1dff0f25b77b1534d747c7319852c6b9d922c48df23", + "address": "0x10fbccca351dd7df8f11a46c752db2bd1f1bb5fdecc42aa9a64ba36ae899b5dd", "asMovePackage": null } }, { "outputState": { - "address": "0x53eaddee260f724b981b7b53658dcd981214bc2ccffe988cff73f6a04f46a9bb", + "address": "0x4a9c5c327ff0fa9eff52223532892e82d1f2e12c6be6b43a8564fce2fde91c27", "asMovePackage": null } }, { "outputState": { - "address": "0xf3d86fb7e84350b48622005e24ff77cc59bf3b30d2855853030eb7528f3ad646", + "address": "0xf908787f83beb1d08c0211956ca450d5f64846662d59c5c2cc3b37047c4ce26d", "asMovePackage": { "module": { "enum": { @@ -103,17 +103,17 @@ Response: { } } -task 4, lines 68-81: -//# upgrade --package P0 --upgrade-capability 1,1 --sender A +task 4, lines 69-82: +//# upgrade --package P0 --upgrade-capability 1,0 --sender A created: object(4,0) -mutated: object(0,0), object(1,1) -gas summary: computation_cost: 1000000, storage_cost: 6657600, storage_rebate: 2595780, non_refundable_storage_fee: 26220 +mutated: object(0,0), object(1,0) +gas summary: computation_cost: 1000000, storage_cost: 6657600, storage_rebate: 2622000, non_refundable_storage_fee: 0 -task 5, line 83: +task 5, line 84: //# create-checkpoint Checkpoint created: 2 -task 6, lines 85-148: +task 6, lines 86-149: //# run-graphql Response: { "data": { @@ -125,25 +125,25 @@ Response: { "nodes": [ { "outputState": { - "address": "0x0483b83855b7046d6a5fc1dff0f25b77b1534d747c7319852c6b9d922c48df23", + "address": "0x10fbccca351dd7df8f11a46c752db2bd1f1bb5fdecc42aa9a64ba36ae899b5dd", "asMovePackage": null } }, { "outputState": { - "address": "0x53eaddee260f724b981b7b53658dcd981214bc2ccffe988cff73f6a04f46a9bb", + "address": "0x4a9c5c327ff0fa9eff52223532892e82d1f2e12c6be6b43a8564fce2fde91c27", "asMovePackage": null } }, { "outputState": { - "address": "0xfd70c6e4a3dba33764886514466b1063dc3005945c4792dd2c7b41b1dc3d4591", + "address": "0x5d4fe2ddb93712add740205e8bbfe126736bf79e4a3aa9ccdb6cc9a5731b2304", "asMovePackage": { "module": { "s": { "module": { "package": { - "address": "0xf3d86fb7e84350b48622005e24ff77cc59bf3b30d2855853030eb7528f3ad646" + "address": "0xf908787f83beb1d08c0211956ca450d5f64846662d59c5c2cc3b37047c4ce26d" } }, "name": "S", @@ -198,7 +198,7 @@ Response: { "t": { "module": { "package": { - "address": "0xfd70c6e4a3dba33764886514466b1063dc3005945c4792dd2c7b41b1dc3d4591" + "address": "0x5d4fe2ddb93712add740205e8bbfe126736bf79e4a3aa9ccdb6cc9a5731b2304" } }, "name": "T", @@ -228,12 +228,12 @@ Response: { { "name": "s", "type": { - "repr": "0xf3d86fb7e84350b48622005e24ff77cc59bf3b30d2855853030eb7528f3ad646::m::S", + "repr": "0xf908787f83beb1d08c0211956ca450d5f64846662d59c5c2cc3b37047c4ce26d::m::S", "signature": { "ref": null, "body": { "datatype": { - "package": "0xf3d86fb7e84350b48622005e24ff77cc59bf3b30d2855853030eb7528f3ad646", + "package": "0xf908787f83beb1d08c0211956ca450d5f64846662d59c5c2cc3b37047c4ce26d", "module": "m", "type": "S", "typeParameters": [] @@ -267,7 +267,7 @@ Response: { { "name": "t", "type": { - "repr": "0xf3d86fb7e84350b48622005e24ff77cc59bf3b30d2855853030eb7528f3ad646::m::T<0xf3d86fb7e84350b48622005e24ff77cc59bf3b30d2855853030eb7528f3ad646::m::S>" + "repr": "0xf908787f83beb1d08c0211956ca450d5f64846662d59c5c2cc3b37047c4ce26d::m::T<0xf908787f83beb1d08c0211956ca450d5f64846662d59c5c2cc3b37047c4ce26d::m::S>" } } ] @@ -287,7 +287,7 @@ Response: { } } -task 7, lines 150-185: +task 7, lines 151-186: //# run-graphql Response: { "data": { diff --git a/crates/iota-graphql-e2e-tests/tests/packages/enums.move b/crates/iota-graphql-e2e-tests/tests/packages/enums.move index ffd0b682b21..3c858b24aab 100644 --- a/crates/iota-graphql-e2e-tests/tests/packages/enums.move +++ b/crates/iota-graphql-e2e-tests/tests/packages/enums.move @@ -66,7 +66,7 @@ fragment Enums on Object { } } -//# upgrade --package P0 --upgrade-capability 1,1 --sender A +//# upgrade --package P0 --upgrade-capability 1,0 --sender A module P0::m { public struct Bar { x: u64, diff --git a/crates/iota-graphql-e2e-tests/tests/packages/friends.exp b/crates/iota-graphql-e2e-tests/tests/packages/friends.exp index 22f2e5db697..cb7b52044b7 100644 --- a/crates/iota-graphql-e2e-tests/tests/packages/friends.exp +++ b/crates/iota-graphql-e2e-tests/tests/packages/friends.exp @@ -3,17 +3,17 @@ processed 9 tasks init: A: object(0,0) -task 1, lines 6-14: +task 1, lines 7-15: //# publish --upgradeable --sender A created: object(1,0), object(1,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 7379600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2, line 16: +task 2, line 17: //# create-checkpoint Checkpoint created: 1 -task 3, lines 18-76: +task 3, lines 19-77: //# run-graphql --cursors {"i":0,"c":1} {"i":2,"c":1} Response: { "data": { @@ -28,11 +28,6 @@ Response: { "asMovePackage": null } }, - { - "outputState": { - "asMovePackage": null - } - }, { "outputState": { "asMovePackage": { @@ -106,6 +101,11 @@ Response: { } } } + }, + { + "outputState": { + "asMovePackage": null + } } ] } @@ -116,7 +116,7 @@ Response: { } } -task 4, lines 79-108: +task 4, lines 80-109: //# run-graphql Response: { "data": { @@ -133,14 +133,14 @@ Response: { }, { "outputState": { - "asMovePackage": null + "asMovePackage": { + "module": null + } } }, { "outputState": { - "asMovePackage": { - "module": null - } + "asMovePackage": null } } ] @@ -166,7 +166,7 @@ Response: { "effects", "objectChanges", "nodes", - 2, + 1, "outputState", "asMovePackage", "module", @@ -179,7 +179,7 @@ Response: { ] } -task 5, lines 110-172: +task 5, lines 111-173: //# run-graphql --cursors {"i":0,"c":1} {"i":2,"c":1} Response: { "data": { @@ -194,11 +194,6 @@ Response: { "asMovePackage": null } }, - { - "outputState": { - "asMovePackage": null - } - }, { "outputState": { "asMovePackage": { @@ -274,6 +269,11 @@ Response: { } } } + }, + { + "outputState": { + "asMovePackage": null + } } ] } @@ -284,17 +284,17 @@ Response: { } } -task 6, lines 174-183: -//# upgrade --package P0 --upgrade-capability 1,1 --sender A +task 6, lines 175-184: +//# upgrade --package P0 --upgrade-capability 1,0 --sender A created: object(6,0) -mutated: object(0,0), object(1,1) -gas summary: computation_cost: 1000000, storage_cost: 8139600, storage_rebate: 2595780, non_refundable_storage_fee: 26220 +mutated: object(0,0), object(1,0) +gas summary: computation_cost: 1000000, storage_cost: 8139600, storage_rebate: 2622000, non_refundable_storage_fee: 0 -task 7, line 185: +task 7, line 186: //# create-checkpoint Checkpoint created: 2 -task 8, lines 187-220: +task 8, lines 188-221: //# run-graphql Response: { "data": { @@ -309,11 +309,6 @@ Response: { "asMovePackage": null } }, - { - "outputState": { - "asMovePackage": null - } - }, { "outputState": { "asMovePackage": { @@ -349,6 +344,11 @@ Response: { } } } + }, + { + "outputState": { + "asMovePackage": null + } } ] } diff --git a/crates/iota-graphql-e2e-tests/tests/packages/friends.move b/crates/iota-graphql-e2e-tests/tests/packages/friends.move index 93509631bf7..457541c820e 100644 --- a/crates/iota-graphql-e2e-tests/tests/packages/friends.move +++ b/crates/iota-graphql-e2e-tests/tests/packages/friends.move @@ -172,7 +172,7 @@ fragment ModuleFriends on Object { } } -//# upgrade --package P0 --upgrade-capability 1,1 --sender A +//# upgrade --package P0 --upgrade-capability 1,0 --sender A module P0::m0 { public fun f(): u64 { P0::n::f() } } module P0::m1 { public fun f(): u64 { P0::n::f() } } diff --git a/crates/iota-graphql-e2e-tests/tests/packages/functions.exp b/crates/iota-graphql-e2e-tests/tests/packages/functions.exp index 45779d0f963..708abc2bc6a 100644 --- a/crates/iota-graphql-e2e-tests/tests/packages/functions.exp +++ b/crates/iota-graphql-e2e-tests/tests/packages/functions.exp @@ -3,7 +3,7 @@ processed 10 tasks init: A: object(0,0) -task 1, lines 6-38: +task 1, lines 7-39: //# run-graphql Response: { "data": { @@ -63,7 +63,7 @@ Response: { ], "return": [ { - "repr": "0x0000000000000000000000000000000000000000000000000000000000000002::balance::Balance<0x0000000000000000000000000000000000000000000000000000000000000002::iota::IOTA>" + "repr": "0x0000000000000000000000000000000000000000000000000000000000000002::iota::IotaTreasuryCap" } ] } @@ -73,17 +73,17 @@ Response: { } } -task 2, lines 40-44: +task 2, lines 41-45: //# publish --upgradeable --sender A created: object(2,0), object(2,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 5183200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3, line 46: +task 3, line 47: //# create-checkpoint Checkpoint created: 1 -task 4, lines 48-86: +task 4, lines 49-87: //# run-graphql Response: { "data": { @@ -95,19 +95,25 @@ Response: { "nodes": [ { "outputState": { - "address": "0x3719b3c504667a19c9e74ef201f80de7ec442c36168ec906f9c071eaea0c2310", + "address": "0x10fbccca351dd7df8f11a46c752db2bd1f1bb5fdecc42aa9a64ba36ae899b5dd", "asMovePackage": null } }, { "outputState": { - "address": "0x3b0214c71a45ce74c853ec2b17a64ccbe92c09daaf2bc21a7f4a15a972a1e0e2", + "address": "0x2ff7cc732531335c219991ba017db6f01d3e02c409fdb7d35848e44a0d6d6b86", + "asMovePackage": null + } + }, + { + "outputState": { + "address": "0x5789677beaa0cb09a7add96b1250f8141e58cc6ed9429ef480d1f8011e2e9454", "asMovePackage": { "module": { "function": { "module": { "package": { - "address": "0x3b0214c71a45ce74c853ec2b17a64ccbe92c09daaf2bc21a7f4a15a972a1e0e2" + "address": "0x5789677beaa0cb09a7add96b1250f8141e58cc6ed9429ef480d1f8011e2e9454" } }, "name": "f", @@ -137,12 +143,6 @@ Response: { } } } - }, - { - "outputState": { - "address": "0x53eaddee260f724b981b7b53658dcd981214bc2ccffe988cff73f6a04f46a9bb", - "asMovePackage": null - } } ] } @@ -153,17 +153,17 @@ Response: { } } -task 5, lines 88-93: -//# upgrade --package P0 --upgrade-capability 2,1 --sender A +task 5, lines 89-94: +//# upgrade --package P0 --upgrade-capability 2,0 --sender A created: object(5,0) -mutated: object(0,0), object(2,1) -gas summary: computation_cost: 1000000, storage_cost: 5418800, storage_rebate: 2595780, non_refundable_storage_fee: 26220 +mutated: object(0,0), object(2,0) +gas summary: computation_cost: 1000000, storage_cost: 5418800, storage_rebate: 2622000, non_refundable_storage_fee: 0 -task 6, line 95: +task 6, line 96: //# create-checkpoint Checkpoint created: 2 -task 7, lines 97-136: +task 7, lines 98-137: //# run-graphql Response: { "data": { @@ -175,25 +175,25 @@ Response: { "nodes": [ { "outputState": { - "address": "0x3719b3c504667a19c9e74ef201f80de7ec442c36168ec906f9c071eaea0c2310", + "address": "0x10fbccca351dd7df8f11a46c752db2bd1f1bb5fdecc42aa9a64ba36ae899b5dd", "asMovePackage": null } }, { "outputState": { - "address": "0x53eaddee260f724b981b7b53658dcd981214bc2ccffe988cff73f6a04f46a9bb", + "address": "0x2ff7cc732531335c219991ba017db6f01d3e02c409fdb7d35848e44a0d6d6b86", "asMovePackage": null } }, { "outputState": { - "address": "0x76ebf19f8ea6bfa546ad4517196f912bc1eaf5652752eeceb48d03a35340e49e", + "address": "0x48a558fa97c679856ea85ff25ebb272afa2f9a55b41a7d730b6baf7f1e91f243", "asMovePackage": { "module": { "f": { "module": { "package": { - "address": "0x76ebf19f8ea6bfa546ad4517196f912bc1eaf5652752eeceb48d03a35340e49e" + "address": "0x48a558fa97c679856ea85ff25ebb272afa2f9a55b41a7d730b6baf7f1e91f243" } }, "name": "f", @@ -223,7 +223,7 @@ Response: { "g": { "module": { "package": { - "address": "0x76ebf19f8ea6bfa546ad4517196f912bc1eaf5652752eeceb48d03a35340e49e" + "address": "0x48a558fa97c679856ea85ff25ebb272afa2f9a55b41a7d730b6baf7f1e91f243" } }, "name": "g", @@ -250,7 +250,7 @@ Response: { } } -task 8, lines 138-173: +task 8, lines 139-174: //# run-graphql --cursors {"n":"consensus_commit_prologue","c":2} {"n":"timestamp_ms","c":2} Response: { "data": { @@ -398,7 +398,7 @@ Response: { } } -task 9, lines 175-246: +task 9, lines 176-247: //# run-graphql --cursors {"n":"consensus_commit_prologue","c":2} {"n":"timestamp_ms","c":2} Response: { "data": { diff --git a/crates/iota-graphql-e2e-tests/tests/packages/modules.exp b/crates/iota-graphql-e2e-tests/tests/packages/modules.exp index f4ab004f23b..2e98f712015 100644 --- a/crates/iota-graphql-e2e-tests/tests/packages/modules.exp +++ b/crates/iota-graphql-e2e-tests/tests/packages/modules.exp @@ -1,16 +1,16 @@ processed 6 tasks -task 1, lines 6-31: +task 1, lines 7-32: //# publish created: object(1,0) mutated: object(0,0) -gas summary: computation_cost: 1000000, storage_cost: 6004000, storage_rebate: 0, non_refundable_storage_fee: 0 +gas summary: computation_cost: 1000000, storage_cost: 6019200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2, line 33: +task 2, line 34: //# create-checkpoint Checkpoint created: 1 -task 3, lines 35-65: +task 3, lines 36-66: //# run-graphql Response: { "data": { @@ -22,22 +22,22 @@ Response: { "nodes": [ { "outputState": { - "address": "0x433fc1353e363ad6a756ce9711eb0b38604f070fd307869d009b884db80af456", + "address": "0x4991af61c6ca52bc0d7ec12793d80c8aab2637cb7af0969e7c1033083045b637", "asMovePackage": null } }, { "outputState": { - "address": "0x90a54cf41ae1d22964b70cd0b3fa8a838341889a3610c2e797e0ff5de895cc11", + "address": "0x4e5690fb886245b96d78663ab6d67b2ffac77a4bda8530a2c9318d78a1abdd94", "asMovePackage": { "module": { "name": "m", "package": { - "address": "0x90a54cf41ae1d22964b70cd0b3fa8a838341889a3610c2e797e0ff5de895cc11" + "address": "0x4e5690fb886245b96d78663ab6d67b2ffac77a4bda8530a2c9318d78a1abdd94" }, "fileFormatVersion": 6, - "bytes": "oRzrCwYAAAAIAQAGAgYKAxARBCEEBSUfB0QiCGZADKYBMAAFAQMBBgEADAEAAQIBAgAABAABAQIAAgIBAAEHBQEBAAIEAAYCAwYLAAEJAAEDAQYLAAEIAQABCQABBgsAAQkAAQgBBENvaW4DU1VJA2JhcgRjb2luA2ZvbwFtA3N1aQV2YWx1ZZClTPQa4dIpZLcM0LP6ioODQYiaNhDC55fg/13olcwRAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAQAAAwULATgACwAWAgEBAAADCAYqAAAAAAAAAAoAOAEGKwAAAAAAAAALADgBGAIA", - "disassembly": "// Move bytecode v6\nmodule 90a54cf41ae1d22964b70cd0b3fa8a838341889a3610c2e797e0ff5de895cc11.m {\nuse 0000000000000000000000000000000000000000000000000000000000000002::coin;\nuse 0000000000000000000000000000000000000000000000000000000000000002::iota;\n\n\n\n\n\n\npublic foo(Arg0: u64, Arg1: &Coin): u64 {\nB0:\n\t0: MoveLoc[1](Arg1: &Coin)\n\t1: Call coin::value(&Coin): u64\n\t2: MoveLoc[0](Arg0: u64)\n\t3: Add\n\t4: Ret\n\n}\npublic bar(Arg0: &Coin): u64 {\nB0:\n\t0: LdU64(42)\n\t1: CopyLoc[0](Arg0: &Coin)\n\t2: Call foo(u64, &Coin): u64\n\t3: LdU64(43)\n\t4: MoveLoc[0](Arg0: &Coin)\n\t5: Call foo(u64, &Coin): u64\n\t6: Mul\n\t7: Ret\n\n}\n}" + "bytes": "oRzrCwYAAAAIAQAGAgYKAxARBCEEBSUfB0QkCGhADKgBMAAGAQMBBQEADAEAAQIBAgAABAABAQIAAgIBAAEHBQEBAAIEAAYCAwYLAAEJAAEDAQYLAAEIAQABCQABBgsAAQkAAQgBBENvaW4ESU9UQQNiYXIEY29pbgNmb28EaW90YQFtBXZhbHVlTlaQ+4hiRblteGY6ttZ7L/rHekvahTCiyTGNeKGr3ZQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgABAAADBQsBOAALABYCAQEAAAMIBioAAAAAAAAACgA4AQYrAAAAAAAAAAsAOAEYAgA=", + "disassembly": "// Move bytecode v6\nmodule 4e5690fb886245b96d78663ab6d67b2ffac77a4bda8530a2c9318d78a1abdd94.m {\nuse 0000000000000000000000000000000000000000000000000000000000000002::coin;\nuse 0000000000000000000000000000000000000000000000000000000000000002::iota;\n\n\n\n\n\n\npublic foo(Arg0: u64, Arg1: &Coin): u64 {\nB0:\n\t0: MoveLoc[1](Arg1: &Coin)\n\t1: Call coin::value(&Coin): u64\n\t2: MoveLoc[0](Arg0: u64)\n\t3: Add\n\t4: Ret\n\n}\npublic bar(Arg0: &Coin): u64 {\nB0:\n\t0: LdU64(42)\n\t1: CopyLoc[0](Arg0: &Coin)\n\t2: Call foo(u64, &Coin): u64\n\t3: LdU64(43)\n\t4: MoveLoc[0](Arg0: &Coin)\n\t5: Call foo(u64, &Coin): u64\n\t6: Mul\n\t7: Ret\n\n}\n}" } } } @@ -51,7 +51,7 @@ Response: { } } -task 4, lines 67-104: +task 4, lines 68-105: //# run-graphql --cursors {"n":"m","c":1} {"n":"o","c":1} Response: { "data": { @@ -63,13 +63,13 @@ Response: { "nodes": [ { "outputState": { - "address": "0x433fc1353e363ad6a756ce9711eb0b38604f070fd307869d009b884db80af456", + "address": "0x4991af61c6ca52bc0d7ec12793d80c8aab2637cb7af0969e7c1033083045b637", "asMovePackage": null } }, { "outputState": { - "address": "0x90a54cf41ae1d22964b70cd0b3fa8a838341889a3610c2e797e0ff5de895cc11", + "address": "0x4e5690fb886245b96d78663ab6d67b2ffac77a4bda8530a2c9318d78a1abdd94", "asMovePackage": { "all": { "edges": [ @@ -149,7 +149,7 @@ Response: { } } -task 5, lines 106-146: +task 5, lines 107-147: //# run-graphql --cursors {"n":"m","c":1} {"n":"o","c":1} Response: { "data": { @@ -161,13 +161,13 @@ Response: { "nodes": [ { "outputState": { - "address": "0x433fc1353e363ad6a756ce9711eb0b38604f070fd307869d009b884db80af456", + "address": "0x4991af61c6ca52bc0d7ec12793d80c8aab2637cb7af0969e7c1033083045b637", "asMovePackage": null } }, { "outputState": { - "address": "0x90a54cf41ae1d22964b70cd0b3fa8a838341889a3610c2e797e0ff5de895cc11", + "address": "0x4e5690fb886245b96d78663ab6d67b2ffac77a4bda8530a2c9318d78a1abdd94", "asMovePackage": { "prefix": { "edges": [ diff --git a/crates/iota-graphql-e2e-tests/tests/packages/structs.exp b/crates/iota-graphql-e2e-tests/tests/packages/structs.exp index b7c3d820c8b..014cc7febdc 100644 --- a/crates/iota-graphql-e2e-tests/tests/packages/structs.exp +++ b/crates/iota-graphql-e2e-tests/tests/packages/structs.exp @@ -3,7 +3,7 @@ processed 11 tasks init: A: object(0,0) -task 1, lines 6-50: +task 1, lines 7-51: //# run-graphql Response: { "data": { @@ -132,17 +132,17 @@ Response: { } } -task 2, lines 52-56: +task 2, lines 53-57: //# publish --upgradeable --sender A created: object(2,0), object(2,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 5213600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3, line 58: +task 3, line 59: //# create-checkpoint Checkpoint created: 1 -task 4, lines 60-102: +task 4, lines 61-103: //# run-graphql Response: { "data": { @@ -154,7 +154,19 @@ Response: { "nodes": [ { "outputState": { - "address": "0x0516a97c38ac8f8e7ec1fec2e1aa8a64a416adc4fc47815ab3fb51f0fa5d7301", + "address": "0x10fbccca351dd7df8f11a46c752db2bd1f1bb5fdecc42aa9a64ba36ae899b5dd", + "asMovePackage": null + } + }, + { + "outputState": { + "address": "0x3eeacc89f95e7e440eb74597e146f38654fee6f0448d9368855a04d95ec0c33b", + "asMovePackage": null + } + }, + { + "outputState": { + "address": "0x85308df8716ec9a8f90362ae01c684c747f3abfcdbbcb2806184e967ff3d454f", "asMovePackage": { "module": { "struct": { @@ -180,18 +192,6 @@ Response: { } } } - }, - { - "outputState": { - "address": "0x53eaddee260f724b981b7b53658dcd981214bc2ccffe988cff73f6a04f46a9bb", - "asMovePackage": null - } - }, - { - "outputState": { - "address": "0x767d679e36db949cb8fceeeba743a67487788b97c6a72db397d72d0840285bdf", - "asMovePackage": null - } } ] } @@ -202,17 +202,17 @@ Response: { } } -task 5, lines 104-110: -//# upgrade --package P0 --upgrade-capability 2,1 --sender A +task 5, lines 105-111: +//# upgrade --package P0 --upgrade-capability 2,0 --sender A created: object(5,0) -mutated: object(0,0), object(2,1) -gas summary: computation_cost: 1000000, storage_cost: 6049600, storage_rebate: 2595780, non_refundable_storage_fee: 26220 +mutated: object(0,0), object(2,0) +gas summary: computation_cost: 1000000, storage_cost: 6049600, storage_rebate: 2622000, non_refundable_storage_fee: 0 -task 6, line 112: +task 6, line 113: //# create-checkpoint Checkpoint created: 2 -task 7, lines 114-171: +task 7, lines 115-172: //# run-graphql Response: { "data": { @@ -224,25 +224,19 @@ Response: { "nodes": [ { "outputState": { - "address": "0x53eaddee260f724b981b7b53658dcd981214bc2ccffe988cff73f6a04f46a9bb", + "address": "0x10fbccca351dd7df8f11a46c752db2bd1f1bb5fdecc42aa9a64ba36ae899b5dd", "asMovePackage": null } }, { "outputState": { - "address": "0x767d679e36db949cb8fceeeba743a67487788b97c6a72db397d72d0840285bdf", - "asMovePackage": null - } - }, - { - "outputState": { - "address": "0x8f225fe07ab4384f0078020cc6a83a00bf6fb186745fda4dcee2091e470a8fe0", + "address": "0x318074a4df731f5e04080d97f4f9b59f51e4f4fbb449192924031b0cda499547", "asMovePackage": { "module": { "s": { "module": { "package": { - "address": "0x0516a97c38ac8f8e7ec1fec2e1aa8a64a416adc4fc47815ab3fb51f0fa5d7301" + "address": "0x85308df8716ec9a8f90362ae01c684c747f3abfcdbbcb2806184e967ff3d454f" } }, "name": "S", @@ -267,7 +261,7 @@ Response: { "t": { "module": { "package": { - "address": "0x8f225fe07ab4384f0078020cc6a83a00bf6fb186745fda4dcee2091e470a8fe0" + "address": "0x318074a4df731f5e04080d97f4f9b59f51e4f4fbb449192924031b0cda499547" } }, "name": "T", @@ -294,12 +288,12 @@ Response: { { "name": "s", "type": { - "repr": "0x0516a97c38ac8f8e7ec1fec2e1aa8a64a416adc4fc47815ab3fb51f0fa5d7301::m::S", + "repr": "0x85308df8716ec9a8f90362ae01c684c747f3abfcdbbcb2806184e967ff3d454f::m::S", "signature": { "ref": null, "body": { "datatype": { - "package": "0x0516a97c38ac8f8e7ec1fec2e1aa8a64a416adc4fc47815ab3fb51f0fa5d7301", + "package": "0x85308df8716ec9a8f90362ae01c684c747f3abfcdbbcb2806184e967ff3d454f", "module": "m", "type": "S", "typeParameters": [] @@ -328,7 +322,7 @@ Response: { { "name": "t", "type": { - "repr": "0x0516a97c38ac8f8e7ec1fec2e1aa8a64a416adc4fc47815ab3fb51f0fa5d7301::m::T<0x0516a97c38ac8f8e7ec1fec2e1aa8a64a416adc4fc47815ab3fb51f0fa5d7301::m::S>" + "repr": "0x85308df8716ec9a8f90362ae01c684c747f3abfcdbbcb2806184e967ff3d454f::m::T<0x85308df8716ec9a8f90362ae01c684c747f3abfcdbbcb2806184e967ff3d454f::m::S>" } } ] @@ -336,6 +330,12 @@ Response: { } } } + }, + { + "outputState": { + "address": "0x3eeacc89f95e7e440eb74597e146f38654fee6f0448d9368855a04d95ec0c33b", + "asMovePackage": null + } } ] } @@ -346,7 +346,7 @@ Response: { } } -task 8, lines 173-208: +task 8, lines 174-209: //# run-graphql Response: { "data": { @@ -361,11 +361,6 @@ Response: { "asMovePackage": null } }, - { - "outputState": { - "asMovePackage": null - } - }, { "outputState": { "asMovePackage": { @@ -385,6 +380,11 @@ Response: { } } } + }, + { + "outputState": { + "asMovePackage": null + } } ] } @@ -395,7 +395,7 @@ Response: { } } -task 9, lines 211-251: +task 9, lines 212-252: //# run-graphql --cursors {"n":"Coin","c":2} {"n":"TreasuryCap","c":2} Response: { "data": { @@ -484,6 +484,23 @@ Response: { } ] }, + { + "name": "DenyCapV2", + "fields": [ + { + "name": "id", + "type": { + "repr": "0x0000000000000000000000000000000000000000000000000000000000000002::object::UID" + } + }, + { + "name": "allow_global_pause", + "type": { + "repr": "bool" + } + } + ] + }, { "name": "RegulatedCoinMetadata", "fields": [ @@ -550,6 +567,12 @@ Response: { "name": "DenyCap" } }, + { + "cursor": "eyJuIjoiRGVueUNhcFYyIiwiYyI6Mn0", + "node": { + "name": "DenyCapV2" + } + }, { "cursor": "eyJuIjoiUmVndWxhdGVkQ29pbk1ldGFkYXRhIiwiYyI6Mn0", "node": { @@ -594,6 +617,12 @@ Response: { "name": "DenyCap" } }, + { + "cursor": "eyJuIjoiRGVueUNhcFYyIiwiYyI6Mn0", + "node": { + "name": "DenyCapV2" + } + }, { "cursor": "eyJuIjoiUmVndWxhdGVkQ29pbk1ldGFkYXRhIiwiYyI6Mn0", "node": { @@ -612,7 +641,7 @@ Response: { } } -task 10, lines 253-300: +task 10, lines 254-301: //# run-graphql --cursors {"n":"Coin","c":2} {"n":"TreasuryCap","c":2} Response: { "data": { @@ -685,6 +714,12 @@ Response: { "name": "DenyCap" } }, + { + "cursor": "eyJuIjoiRGVueUNhcFYyIiwiYyI6Mn0", + "node": { + "name": "DenyCapV2" + } + }, { "cursor": "eyJuIjoiUmVndWxhdGVkQ29pbk1ldGFkYXRhIiwiYyI6Mn0", "node": { @@ -706,9 +741,9 @@ Response: { "suffix": { "edges": [ { - "cursor": "eyJuIjoiRGVueUNhcCIsImMiOjJ9", + "cursor": "eyJuIjoiRGVueUNhcFYyIiwiYyI6Mn0", "node": { - "name": "DenyCap" + "name": "DenyCapV2" } }, { @@ -726,15 +761,15 @@ Response: { "suffixAll": { "edges": [ { - "cursor": "eyJuIjoiQ3VycmVuY3lDcmVhdGVkIiwiYyI6Mn0", + "cursor": "eyJuIjoiRGVueUNhcCIsImMiOjJ9", "node": { - "name": "CurrencyCreated" + "name": "DenyCap" } }, { - "cursor": "eyJuIjoiRGVueUNhcCIsImMiOjJ9", + "cursor": "eyJuIjoiRGVueUNhcFYyIiwiYyI6Mn0", "node": { - "name": "DenyCap" + "name": "DenyCapV2" } }, { @@ -775,6 +810,12 @@ Response: { "name": "DenyCap" } }, + { + "cursor": "eyJuIjoiRGVueUNhcFYyIiwiYyI6Mn0", + "node": { + "name": "DenyCapV2" + } + }, { "cursor": "eyJuIjoiUmVndWxhdGVkQ29pbk1ldGFkYXRhIiwiYyI6Mn0", "node": { diff --git a/crates/iota-graphql-e2e-tests/tests/packages/structs.move b/crates/iota-graphql-e2e-tests/tests/packages/structs.move index 2ecd290de93..abbe608e644 100644 --- a/crates/iota-graphql-e2e-tests/tests/packages/structs.move +++ b/crates/iota-graphql-e2e-tests/tests/packages/structs.move @@ -102,7 +102,7 @@ fragment Structs on Object { } } -//# upgrade --package P0 --upgrade-capability 2,1 --sender A +//# upgrade --package P0 --upgrade-capability 2,0 --sender A module P1::m { public struct S has copy, drop { x: u64 } diff --git a/crates/iota-graphql-e2e-tests/tests/packages/types.exp b/crates/iota-graphql-e2e-tests/tests/packages/types.exp index 48bdeaebe3c..648f5d1ebd7 100644 --- a/crates/iota-graphql-e2e-tests/tests/packages/types.exp +++ b/crates/iota-graphql-e2e-tests/tests/packages/types.exp @@ -1,6 +1,6 @@ processed 12 tasks -task 1, lines 6-15: +task 1, lines 7-16: //# run-graphql Response: { "data": { @@ -107,7 +107,7 @@ Response: { } } -task 2, lines 17-26: +task 2, lines 18-27: //# run-graphql Response: { "data": { @@ -119,7 +119,7 @@ Response: { } } -task 3, lines 28-37: +task 3, lines 29-38: //# run-graphql Response: { "data": { @@ -135,7 +135,7 @@ Response: { } } -task 4, lines 39-48: +task 4, lines 40-49: //# run-graphql Response: { "data": null, @@ -158,7 +158,7 @@ Response: { ] } -task 5, lines 50-60: +task 5, lines 51-61: //# run-graphql Response: { "data": { @@ -176,7 +176,7 @@ Response: { } } -task 6, lines 62-77: +task 6, lines 63-78: //# run-graphql Response: { "data": null, @@ -200,7 +200,7 @@ Response: { ] } -task 7, lines 79-102: +task 7, lines 80-103: //# run-graphql Response: { "data": { @@ -235,7 +235,7 @@ Response: { } } -task 8, lines 104-121: +task 8, lines 105-122: //# run-graphql Response: { "data": null, @@ -259,23 +259,23 @@ Response: { ] } -task 9, lines 123-140: +task 9, lines 124-141: //# publish created: object(9,0) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 4461200, storage_rebate: 0, non_refundable_storage_fee: 0 -task 10, line 142: +task 10, line 143: //# create-checkpoint Checkpoint created: 1 -task 11, lines 144-152: +task 11, lines 145-153: //# run-graphql Response: { "data": null, "errors": [ { - "message": "Internal error occurred while processing request: Error calculating layout for 0xce4a112d19a8f3e6b79c995b88f08fba7526973082fa9e2b871fdc7ddefc9e45::m::S1: Type layout nesting exceeded limit of 128", + "message": "Internal error occurred while processing request: Error calculating layout for 0xe2ceeb0a99ce6a5c0dd2b90dae7fb7511948f541e719b24d1ebfa00b1f28c9e1::m::S1: Type layout nesting exceeded limit of 128", "locations": [ { "line": 4, diff --git a/crates/iota-graphql-e2e-tests/tests/packages/versioning.exp b/crates/iota-graphql-e2e-tests/tests/packages/versioning.exp index 7f0e8a7153b..e6d71396f7a 100644 --- a/crates/iota-graphql-e2e-tests/tests/packages/versioning.exp +++ b/crates/iota-graphql-e2e-tests/tests/packages/versioning.exp @@ -3,17 +3,17 @@ processed 17 tasks init: A: object(0,0) -task 1, lines 6-9: +task 1, lines 7-10: //# publish --upgradeable --sender A created: object(1,0), object(1,1) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 5076800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2, line 11: +task 2, line 12: //# create-checkpoint Checkpoint created: 1 -task 3, lines 13-50: +task 3, lines 14-51: //# run-graphql Response: { "data": { @@ -31,14 +31,14 @@ Response: { "packageVersions": { "nodes": [ { - "address": "0x175ae86f2df1eb652d57fbe9e44c7f2d67870d2b6776a4356f30930221b63b88", + "address": "0xc509fc666ab9deedd46b0858e56659aae3fead07a004a19f221ed6f78d69a18e", "version": 1 } ] } }, "firstPackage": { - "address": "0x175ae86f2df1eb652d57fbe9e44c7f2d67870d2b6776a4356f30930221b63b88", + "address": "0xc509fc666ab9deedd46b0858e56659aae3fead07a004a19f221ed6f78d69a18e", "version": 1, "module": { "functions": { @@ -52,7 +52,7 @@ Response: { "packageVersions": { "nodes": [ { - "address": "0x175ae86f2df1eb652d57fbe9e44c7f2d67870d2b6776a4356f30930221b63b88", + "address": "0xc509fc666ab9deedd46b0858e56659aae3fead07a004a19f221ed6f78d69a18e", "version": 1 } ] @@ -72,12 +72,20 @@ Response: { "address": "0x0000000000000000000000000000000000000000000000000000000000000003", "version": 1 }, + { + "address": "0x000000000000000000000000000000000000000000000000000000000000000b", + "version": 1 + }, + { + "address": "0x000000000000000000000000000000000000000000000000000000000000107a", + "version": 1 + }, { "address": "0x000000000000000000000000000000000000000000000000000000000000dee9", "version": 1 }, { - "address": "0x175ae86f2df1eb652d57fbe9e44c7f2d67870d2b6776a4356f30930221b63b88", + "address": "0xc509fc666ab9deedd46b0858e56659aae3fead07a004a19f221ed6f78d69a18e", "version": 1 } ] @@ -85,17 +93,17 @@ Response: { } } -task 4, lines 52-56: -//# upgrade --package P0 --upgrade-capability 1,1 --sender A +task 4, lines 53-57: +//# upgrade --package P0 --upgrade-capability 1,0 --sender A created: object(4,0) -mutated: object(0,0), object(1,1) -gas summary: computation_cost: 1000000, storage_cost: 5251600, storage_rebate: 2595780, non_refundable_storage_fee: 26220 +mutated: object(0,0), object(1,0) +gas summary: computation_cost: 1000000, storage_cost: 5251600, storage_rebate: 2622000, non_refundable_storage_fee: 0 -task 5, line 58: +task 5, line 59: //# create-checkpoint Checkpoint created: 2 -task 6, lines 60-97: +task 6, lines 61-98: //# run-graphql Response: { "data": { @@ -116,18 +124,18 @@ Response: { "packageVersions": { "nodes": [ { - "address": "0x175ae86f2df1eb652d57fbe9e44c7f2d67870d2b6776a4356f30930221b63b88", + "address": "0xc509fc666ab9deedd46b0858e56659aae3fead07a004a19f221ed6f78d69a18e", "version": 1 }, { - "address": "0x351bc614b36f0f522a64334e4c278d4bfe200234958870c084e0a005f041d681", + "address": "0x42730758ec092e96527b738c15d1a449266f7d621da1cf60acb0afa9c0a498ac", "version": 2 } ] } }, "firstPackage": { - "address": "0x175ae86f2df1eb652d57fbe9e44c7f2d67870d2b6776a4356f30930221b63b88", + "address": "0xc509fc666ab9deedd46b0858e56659aae3fead07a004a19f221ed6f78d69a18e", "version": 1, "module": { "functions": { @@ -141,11 +149,11 @@ Response: { "packageVersions": { "nodes": [ { - "address": "0x175ae86f2df1eb652d57fbe9e44c7f2d67870d2b6776a4356f30930221b63b88", + "address": "0xc509fc666ab9deedd46b0858e56659aae3fead07a004a19f221ed6f78d69a18e", "version": 1 }, { - "address": "0x351bc614b36f0f522a64334e4c278d4bfe200234958870c084e0a005f041d681", + "address": "0x42730758ec092e96527b738c15d1a449266f7d621da1cf60acb0afa9c0a498ac", "version": 2 } ] @@ -165,16 +173,24 @@ Response: { "address": "0x0000000000000000000000000000000000000000000000000000000000000003", "version": 1 }, + { + "address": "0x000000000000000000000000000000000000000000000000000000000000000b", + "version": 1 + }, + { + "address": "0x000000000000000000000000000000000000000000000000000000000000107a", + "version": 1 + }, { "address": "0x000000000000000000000000000000000000000000000000000000000000dee9", "version": 1 }, { - "address": "0x175ae86f2df1eb652d57fbe9e44c7f2d67870d2b6776a4356f30930221b63b88", + "address": "0xc509fc666ab9deedd46b0858e56659aae3fead07a004a19f221ed6f78d69a18e", "version": 1 }, { - "address": "0x351bc614b36f0f522a64334e4c278d4bfe200234958870c084e0a005f041d681", + "address": "0x42730758ec092e96527b738c15d1a449266f7d621da1cf60acb0afa9c0a498ac", "version": 2 } ] @@ -182,17 +198,17 @@ Response: { } } -task 7, lines 99-104: -//# upgrade --package P1 --upgrade-capability 1,1 --sender A +task 7, lines 100-105: +//# upgrade --package P1 --upgrade-capability 1,0 --sender A created: object(7,0) -mutated: object(0,0), object(1,1) -gas summary: computation_cost: 1000000, storage_cost: 5426400, storage_rebate: 2595780, non_refundable_storage_fee: 26220 +mutated: object(0,0), object(1,0) +gas summary: computation_cost: 1000000, storage_cost: 5426400, storage_rebate: 2622000, non_refundable_storage_fee: 0 -task 8, line 106: +task 8, line 107: //# create-checkpoint Checkpoint created: 3 -task 9, lines 108-145: +task 9, lines 109-146: //# run-graphql Response: { "data": { @@ -216,22 +232,22 @@ Response: { "packageVersions": { "nodes": [ { - "address": "0x175ae86f2df1eb652d57fbe9e44c7f2d67870d2b6776a4356f30930221b63b88", + "address": "0xc509fc666ab9deedd46b0858e56659aae3fead07a004a19f221ed6f78d69a18e", "version": 1 }, { - "address": "0x351bc614b36f0f522a64334e4c278d4bfe200234958870c084e0a005f041d681", + "address": "0x42730758ec092e96527b738c15d1a449266f7d621da1cf60acb0afa9c0a498ac", "version": 2 }, { - "address": "0x0eae57b7a07b0548b1f6b0c309f0692828ff994e9159b541334b25582980631c", + "address": "0xd45d65be0640f23779fdfaa713120776167b2287a499abf9100c3773cd2c909f", "version": 3 } ] } }, "firstPackage": { - "address": "0x175ae86f2df1eb652d57fbe9e44c7f2d67870d2b6776a4356f30930221b63b88", + "address": "0xc509fc666ab9deedd46b0858e56659aae3fead07a004a19f221ed6f78d69a18e", "version": 1, "module": { "functions": { @@ -245,15 +261,15 @@ Response: { "packageVersions": { "nodes": [ { - "address": "0x175ae86f2df1eb652d57fbe9e44c7f2d67870d2b6776a4356f30930221b63b88", + "address": "0xc509fc666ab9deedd46b0858e56659aae3fead07a004a19f221ed6f78d69a18e", "version": 1 }, { - "address": "0x351bc614b36f0f522a64334e4c278d4bfe200234958870c084e0a005f041d681", + "address": "0x42730758ec092e96527b738c15d1a449266f7d621da1cf60acb0afa9c0a498ac", "version": 2 }, { - "address": "0x0eae57b7a07b0548b1f6b0c309f0692828ff994e9159b541334b25582980631c", + "address": "0xd45d65be0640f23779fdfaa713120776167b2287a499abf9100c3773cd2c909f", "version": 3 } ] @@ -273,20 +289,28 @@ Response: { "address": "0x0000000000000000000000000000000000000000000000000000000000000003", "version": 1 }, + { + "address": "0x000000000000000000000000000000000000000000000000000000000000000b", + "version": 1 + }, + { + "address": "0x000000000000000000000000000000000000000000000000000000000000107a", + "version": 1 + }, { "address": "0x000000000000000000000000000000000000000000000000000000000000dee9", "version": 1 }, { - "address": "0x175ae86f2df1eb652d57fbe9e44c7f2d67870d2b6776a4356f30930221b63b88", + "address": "0xc509fc666ab9deedd46b0858e56659aae3fead07a004a19f221ed6f78d69a18e", "version": 1 }, { - "address": "0x351bc614b36f0f522a64334e4c278d4bfe200234958870c084e0a005f041d681", + "address": "0x42730758ec092e96527b738c15d1a449266f7d621da1cf60acb0afa9c0a498ac", "version": 2 }, { - "address": "0x0eae57b7a07b0548b1f6b0c309f0692828ff994e9159b541334b25582980631c", + "address": "0xd45d65be0640f23779fdfaa713120776167b2287a499abf9100c3773cd2c909f", "version": 3 } ] @@ -294,7 +318,7 @@ Response: { } } -task 10, lines 147-184: +task 10, lines 148-185: //# run-graphql Response: { "data": { @@ -394,7 +418,7 @@ Response: { } } -task 11, lines 186-223: +task 11, lines 187-224: //# run-graphql Response: { "data": { @@ -485,7 +509,7 @@ Response: { } } -task 12, lines 225-280: +task 12, lines 226-281: //# run-graphql Response: { "data": { @@ -624,7 +648,7 @@ Response: { } } -task 13, lines 282-310: +task 13, lines 283-311: //# run-graphql Response: { "data": { @@ -637,7 +661,7 @@ Response: { } } -task 14, lines 312-343: +task 14, lines 313-344: //# run-graphql Response: { "data": { @@ -676,6 +700,28 @@ Response: { } } }, + { + "address": "0x000000000000000000000000000000000000000000000000000000000000000b", + "version": 1, + "previousTransactionBlock": { + "effects": { + "checkpoint": { + "sequenceNumber": 0 + } + } + } + }, + { + "address": "0x000000000000000000000000000000000000000000000000000000000000107a", + "version": 1, + "previousTransactionBlock": { + "effects": { + "checkpoint": { + "sequenceNumber": 0 + } + } + } + }, { "address": "0x000000000000000000000000000000000000000000000000000000000000dee9", "version": 1, @@ -692,7 +738,7 @@ Response: { "after": { "nodes": [ { - "address": "0x351bc614b36f0f522a64334e4c278d4bfe200234958870c084e0a005f041d681", + "address": "0x42730758ec092e96527b738c15d1a449266f7d621da1cf60acb0afa9c0a498ac", "version": 2, "previousTransactionBlock": { "effects": { @@ -703,7 +749,7 @@ Response: { } }, { - "address": "0x0eae57b7a07b0548b1f6b0c309f0692828ff994e9159b541334b25582980631c", + "address": "0xd45d65be0640f23779fdfaa713120776167b2287a499abf9100c3773cd2c909f", "version": 3, "previousTransactionBlock": { "effects": { @@ -718,7 +764,7 @@ Response: { "between": { "nodes": [ { - "address": "0x351bc614b36f0f522a64334e4c278d4bfe200234958870c084e0a005f041d681", + "address": "0x42730758ec092e96527b738c15d1a449266f7d621da1cf60acb0afa9c0a498ac", "version": 2, "previousTransactionBlock": { "effects": { @@ -733,22 +779,22 @@ Response: { } } -task 15, lines 345-380: +task 15, lines 346-381: //# run-graphql Response: { "data": { "packageVersions": { "nodes": [ { - "address": "0x175ae86f2df1eb652d57fbe9e44c7f2d67870d2b6776a4356f30930221b63b88", + "address": "0xc509fc666ab9deedd46b0858e56659aae3fead07a004a19f221ed6f78d69a18e", "version": 1 }, { - "address": "0x351bc614b36f0f522a64334e4c278d4bfe200234958870c084e0a005f041d681", + "address": "0x42730758ec092e96527b738c15d1a449266f7d621da1cf60acb0afa9c0a498ac", "version": 2 }, { - "address": "0x0eae57b7a07b0548b1f6b0c309f0692828ff994e9159b541334b25582980631c", + "address": "0xd45d65be0640f23779fdfaa713120776167b2287a499abf9100c3773cd2c909f", "version": 3 } ] @@ -756,11 +802,11 @@ Response: { "after": { "nodes": [ { - "address": "0x351bc614b36f0f522a64334e4c278d4bfe200234958870c084e0a005f041d681", + "address": "0x42730758ec092e96527b738c15d1a449266f7d621da1cf60acb0afa9c0a498ac", "version": 2 }, { - "address": "0x0eae57b7a07b0548b1f6b0c309f0692828ff994e9159b541334b25582980631c", + "address": "0xd45d65be0640f23779fdfaa713120776167b2287a499abf9100c3773cd2c909f", "version": 3 } ] @@ -768,11 +814,11 @@ Response: { "before": { "nodes": [ { - "address": "0x175ae86f2df1eb652d57fbe9e44c7f2d67870d2b6776a4356f30930221b63b88", + "address": "0xc509fc666ab9deedd46b0858e56659aae3fead07a004a19f221ed6f78d69a18e", "version": 1 }, { - "address": "0x351bc614b36f0f522a64334e4c278d4bfe200234958870c084e0a005f041d681", + "address": "0x42730758ec092e96527b738c15d1a449266f7d621da1cf60acb0afa9c0a498ac", "version": 2 } ] @@ -780,7 +826,7 @@ Response: { "between": { "nodes": [ { - "address": "0x351bc614b36f0f522a64334e4c278d4bfe200234958870c084e0a005f041d681", + "address": "0x42730758ec092e96527b738c15d1a449266f7d621da1cf60acb0afa9c0a498ac", "version": 2 } ] @@ -788,7 +834,7 @@ Response: { } } -task 16, lines 382-400: +task 16, lines 383-401: //# run-graphql Response: { "data": { diff --git a/crates/iota-graphql-e2e-tests/tests/packages/versioning.move b/crates/iota-graphql-e2e-tests/tests/packages/versioning.move index e41a493162a..21c88bce38e 100644 --- a/crates/iota-graphql-e2e-tests/tests/packages/versioning.move +++ b/crates/iota-graphql-e2e-tests/tests/packages/versioning.move @@ -50,7 +50,7 @@ module P0::m { } } -//# upgrade --package P0 --upgrade-capability 1,1 --sender A +//# upgrade --package P0 --upgrade-capability 1,0 --sender A module P1::m { public fun f(): u64 { 42 } public fun g(): u64 { 43 } @@ -97,7 +97,7 @@ module P1::m { } } -//# upgrade --package P1 --upgrade-capability 1,1 --sender A +//# upgrade --package P1 --upgrade-capability 1,0 --sender A module P2::m { public fun f(): u64 { 42 } public fun g(): u64 { 43 } diff --git a/crates/iota-graphql-e2e-tests/tests/transaction_block_effects/balance_changes.exp b/crates/iota-graphql-e2e-tests/tests/transaction_block_effects/balance_changes.exp index eed1699cbb3..becf982ac7d 100644 --- a/crates/iota-graphql-e2e-tests/tests/transaction_block_effects/balance_changes.exp +++ b/crates/iota-graphql-e2e-tests/tests/transaction_block_effects/balance_changes.exp @@ -3,7 +3,7 @@ processed 8 tasks init: C: object(0,0), O: object(0,1), P: object(0,2), Q: object(0,3), R: object(0,4), S: object(0,5) -task 1, lines 6-8: +task 1, lines 7-9: //# programmable --sender C --inputs @C 1000 2000 3000 4000 5000 //> SplitCoins(Gas, [Input(1), Input(2), Input(3), Input(4), Input(5)]); //> TransferObjects([NestedResult(0,0), NestedResult(0,1), NestedResult(0,2), NestedResult(0,3), NestedResult(0,4)], Input(0)); @@ -11,7 +11,7 @@ created: object(1,0), object(1,1), object(1,2), object(1,3), object(1,4) mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 5928000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2, lines 10-15: +task 2, lines 11-16: //# programmable --sender C --inputs object(1,0) object(1,1) object(1,2) object(1,3) object(1,4) @O @P @Q @R @S //> TransferObjects([Input(0)], Input(5)); //> TransferObjects([Input(1)], Input(6)); @@ -19,17 +19,17 @@ task 2, lines 10-15: //> TransferObjects([Input(3)], Input(8)); //> TransferObjects([Input(4)], Input(9)); mutated: object(0,0), object(1,0), object(1,1), object(1,2), object(1,3), object(1,4) -gas summary: computation_cost: 1000000, storage_cost: 5928000, storage_rebate: 5868720, non_refundable_storage_fee: 59280 +gas summary: computation_cost: 1000000, storage_cost: 5928000, storage_rebate: 5928000, non_refundable_storage_fee: 0 -task 3, line 17: +task 3, line 18: //# create-checkpoint Checkpoint created: 1 -task 4, line 19: +task 4, line 20: //# advance-epoch Epoch advanced: 0 -task 5, lines 21-45: +task 5, lines 22-46: //# run-graphql Response: { "data": { @@ -48,19 +48,19 @@ Response: { "edges": [ { "node": { - "amount": "3000" + "amount": "1000" }, "cursor": "eyJpIjowLCJjIjoyfQ" }, { "node": { - "amount": "4000" + "amount": "3000" }, "cursor": "eyJpIjoxLCJjIjoyfQ" }, { "node": { - "amount": "1000" + "amount": "-1015000" }, "cursor": "eyJpIjoyLCJjIjoyfQ" }, @@ -72,13 +72,13 @@ Response: { }, { "node": { - "amount": "5000" + "amount": "4000" }, "cursor": "eyJpIjo0LCJjIjoyfQ" }, { "node": { - "amount": "-1074280" + "amount": "5000" }, "cursor": "eyJpIjo1LCJjIjoyfQ" } @@ -92,7 +92,7 @@ Response: { } } -task 6, lines 47-71: +task 6, lines 48-72: //# run-graphql --cursors {"i":2,"c":1} Response: { "data": { @@ -117,7 +117,7 @@ Response: { }, { "node": { - "amount": "5000" + "amount": "4000" }, "cursor": "eyJpIjo0LCJjIjoxfQ" } @@ -131,7 +131,7 @@ Response: { } } -task 7, lines 73-97: +task 7, lines 74-98: //# run-graphql --cursors {"i":3,"c":1} Response: { "data": { @@ -150,19 +150,19 @@ Response: { "edges": [ { "node": { - "amount": "3000" + "amount": "1000" }, "cursor": "eyJpIjowLCJjIjoxfQ" }, { "node": { - "amount": "4000" + "amount": "3000" }, "cursor": "eyJpIjoxLCJjIjoxfQ" }, { "node": { - "amount": "1000" + "amount": "-1015000" }, "cursor": "eyJpIjoyLCJjIjoxfQ" } diff --git a/crates/iota-graphql-e2e-tests/tests/transaction_block_effects/dependencies.exp b/crates/iota-graphql-e2e-tests/tests/transaction_block_effects/dependencies.exp index d0f145c5295..eb85329294d 100644 --- a/crates/iota-graphql-e2e-tests/tests/transaction_block_effects/dependencies.exp +++ b/crates/iota-graphql-e2e-tests/tests/transaction_block_effects/dependencies.exp @@ -3,43 +3,43 @@ processed 12 tasks init: A: object(0,0) -task 1, lines 6-33: +task 1, lines 7-34: //# publish created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 6194000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2, line 35: +task 2, line 36: //# run Test::M1::create --args 2 @A created: object(2,0) mutated: object(0,1) -gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 978120, non_refundable_storage_fee: 9880 +gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 988000, non_refundable_storage_fee: 0 -task 3, line 37: +task 3, line 38: //# run Test::M1::create --args 3 @A created: object(3,0) mutated: object(0,1) -gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 978120, non_refundable_storage_fee: 9880 +gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 988000, non_refundable_storage_fee: 0 -task 4, line 39: +task 4, line 40: //# run Test::M1::create --args 4 @A created: object(4,0) mutated: object(0,1) -gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 978120, non_refundable_storage_fee: 9880 +gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 988000, non_refundable_storage_fee: 0 -task 5, line 41: +task 5, line 42: //# run Test::M1::create --args 5 @A created: object(5,0) mutated: object(0,1) -gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 978120, non_refundable_storage_fee: 9880 +gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 988000, non_refundable_storage_fee: 0 -task 6, line 43: +task 6, line 44: //# run Test::M1::create --args 6 @A created: object(6,0) mutated: object(0,1) -gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 978120, non_refundable_storage_fee: 9880 +gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 988000, non_refundable_storage_fee: 0 -task 7, lines 45-49: +task 7, lines 46-50: //# programmable --sender A --inputs object(2,0) object(3,0) object(4,0) object(5,0) object(6,0) @A //> 0: Test::M1::sum(Input(0), Input(1)); //> 1: Test::M1::sum(Input(2), Input(3)); @@ -47,25 +47,25 @@ task 7, lines 45-49: //> 3: Test::M1::create(Result(2), Input(5)); created: object(7,0) mutated: object(0,0), object(2,0), object(3,0), object(4,0), object(5,0), object(6,0) -gas summary: computation_cost: 1000000, storage_cost: 8876800, storage_rebate: 6508260, non_refundable_storage_fee: 65740 +gas summary: computation_cost: 1000000, storage_cost: 8876800, storage_rebate: 6574000, non_refundable_storage_fee: 0 -task 8, line 51: +task 8, line 52: //# run Test::M1::increment --sender A --args object(7,0) 100 mutated: object(0,0), object(7,0) -gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 2279772, non_refundable_storage_fee: 23028 +gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 2302800, non_refundable_storage_fee: 0 -task 9, line 53: +task 9, line 54: //# create-checkpoint Checkpoint created: 1 -task 10, lines 56-93: +task 10, lines 57-94: //# run-graphql Response: { "data": { "transactionBlocks": { "nodes": [ { - "digest": "6c1VrCKixZoK9Pmhna8fGzeSnmuYFcd3DR3n7mk44iKm", + "digest": "HzRUdxckKcfMfQrDSSwgt55H6TuuekxHLSDRm7ntLdGV", "effects": { "dependencies": { "pageInfo": { @@ -78,7 +78,7 @@ Response: { { "cursor": "eyJpIjowLCJjIjoxfQ", "node": { - "digest": "TCVU1ZmKsviJsuhqvpS76f6X8qKoN2eH7VfrhQ2c4Gf", + "digest": "2ftm6wAtZji3k6y6svxVn7Ut2LfWto33GM7RJEQZ3zYp", "kind": { "__typename": "ProgrammableTransactionBlock", "transactions": { @@ -107,7 +107,7 @@ Response: { { "cursor": "eyJpIjoxLCJjIjoxfQ", "node": { - "digest": "3S1Bm2ipnoGVsCTMfGrRMzgEFShwfS7huM3KWJ8MMf1P", + "digest": "HTd1SGe2f7zQGJ1hFZdYPTfFXAgKT8KUE9UThWsbNLLG", "kind": { "__typename": "ProgrammableTransactionBlock", "transactions": { @@ -131,14 +131,14 @@ Response: { } } -task 11, lines 95-132: +task 11, lines 96-133: //# run-graphql --cursors {"i":0,"c":1} Response: { "data": { "transactionBlocks": { "nodes": [ { - "digest": "6c1VrCKixZoK9Pmhna8fGzeSnmuYFcd3DR3n7mk44iKm", + "digest": "HzRUdxckKcfMfQrDSSwgt55H6TuuekxHLSDRm7ntLdGV", "effects": { "dependencies": { "pageInfo": { @@ -151,7 +151,7 @@ Response: { { "cursor": "eyJpIjoxLCJjIjoxfQ", "node": { - "digest": "3S1Bm2ipnoGVsCTMfGrRMzgEFShwfS7huM3KWJ8MMf1P", + "digest": "HTd1SGe2f7zQGJ1hFZdYPTfFXAgKT8KUE9UThWsbNLLG", "kind": { "__typename": "ProgrammableTransactionBlock", "transactions": { diff --git a/crates/iota-graphql-e2e-tests/tests/transaction_block_effects/events.exp b/crates/iota-graphql-e2e-tests/tests/transaction_block_effects/events.exp index a50b27ee922..825a05769f7 100644 --- a/crates/iota-graphql-e2e-tests/tests/transaction_block_effects/events.exp +++ b/crates/iota-graphql-e2e-tests/tests/transaction_block_effects/events.exp @@ -3,35 +3,35 @@ processed 10 tasks init: A: object(0,0) -task 1, lines 6-28: +task 1, lines 7-29: //# publish created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 5251600, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2, line 30: +task 2, line 31: //# run Test::M1::emit_1 --sender A --args 1 events: Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [1, 0, 0, 0, 0, 0, 0, 0] } mutated: object(0,0) gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 0, non_refundable_storage_fee: 0 -task 3, line 32: +task 3, line 33: //# run Test::M1::emit_2 --sender A --args 10 events: Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [10, 0, 0, 0, 0, 0, 0, 0] }, Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [11, 0, 0, 0, 0, 0, 0, 0] } mutated: object(0,0) -gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 +gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 988000, non_refundable_storage_fee: 0 -task 4, line 34: +task 4, line 35: //# run Test::M1::emit_3 --sender A --args 100 events: Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [100, 0, 0, 0, 0, 0, 0, 0] }, Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [101, 0, 0, 0, 0, 0, 0, 0] }, Event { package_id: Test, transaction_module: Identifier("M1"), sender: A, type_: StructTag { address: Test, module: Identifier("M1"), name: Identifier("EventA"), type_params: [] }, contents: [102, 0, 0, 0, 0, 0, 0, 0] } mutated: object(0,0) -gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 978120, non_refundable_storage_fee: 9880 +gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 988000, non_refundable_storage_fee: 0 -task 5, line 36: +task 5, line 37: //# create-checkpoint Checkpoint created: 1 -task 6, lines 38-57: +task 6, lines 39-58: //# run-graphql Response: { "data": { @@ -132,7 +132,7 @@ Response: { } } -task 7, lines 59-70: +task 7, lines 60-71: //# run-graphql Response: { "data": { @@ -197,7 +197,7 @@ Response: { } } -task 8, lines 72-91: +task 8, lines 73-92: //# run-graphql Response: { "data": { @@ -227,7 +227,7 @@ Response: { } } -task 9, lines 93-112: +task 9, lines 94-113: //# run-graphql --cursors {"i":0,"c":1} Response: { "data": { diff --git a/crates/iota-graphql-e2e-tests/tests/transaction_block_effects/object_changes.exp b/crates/iota-graphql-e2e-tests/tests/transaction_block_effects/object_changes.exp index 6be8ab6d548..14d776b9cae 100644 --- a/crates/iota-graphql-e2e-tests/tests/transaction_block_effects/object_changes.exp +++ b/crates/iota-graphql-e2e-tests/tests/transaction_block_effects/object_changes.exp @@ -3,23 +3,23 @@ processed 6 tasks init: validator_0: object(0,0) -task 1, lines 6-25: +task 1, lines 7-26: //# publish created: object(1,0) mutated: object(0,1) gas summary: computation_cost: 1000000, storage_cost: 5570800, storage_rebate: 0, non_refundable_storage_fee: 0 -task 2, line 27: +task 2, line 28: //# run Test::M1::create --args 0 @A --gas-price 1000 created: object(2,0) mutated: object(0,1) -gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 978120, non_refundable_storage_fee: 9880 +gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 988000, non_refundable_storage_fee: 0 -task 3, line 29: +task 3, line 30: //# create-checkpoint Checkpoint created: 1 -task 4, lines 31-50: +task 4, lines 32-51: //# run-graphql Response: { "data": { @@ -104,7 +104,7 @@ Response: { } } -task 5, lines 52-71: +task 5, lines 53-72: //# run-graphql --cursors {"i":10,"c":1} Response: { "data": {