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 40c2a903d2e..1d142414cc8 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 @@ -6,20 +6,20 @@ Response: { "data": { "availableRange": { "first": { - "digest": "AjVRPrUd6kKCamy6Fjgzj2Xo2yEGM6jVLDT6KLGqgb1H", + "digest": "6NFvR4v3VR7s1RqdMCrATc4Wz6rknytEigYQwKQqsDL2", "sequenceNumber": 0 }, "last": { - "digest": "AjVRPrUd6kKCamy6Fjgzj2Xo2yEGM6jVLDT6KLGqgb1H", + "digest": "6NFvR4v3VR7s1RqdMCrATc4Wz6rknytEigYQwKQqsDL2", "sequenceNumber": 0 } }, "first": { - "digest": "AjVRPrUd6kKCamy6Fjgzj2Xo2yEGM6jVLDT6KLGqgb1H", + "digest": "6NFvR4v3VR7s1RqdMCrATc4Wz6rknytEigYQwKQqsDL2", "sequenceNumber": 0 }, "last": { - "digest": "AjVRPrUd6kKCamy6Fjgzj2Xo2yEGM6jVLDT6KLGqgb1H", + "digest": "6NFvR4v3VR7s1RqdMCrATc4Wz6rknytEigYQwKQqsDL2", "sequenceNumber": 0 } } @@ -39,20 +39,20 @@ Response: { "data": { "availableRange": { "first": { - "digest": "AjVRPrUd6kKCamy6Fjgzj2Xo2yEGM6jVLDT6KLGqgb1H", + "digest": "6NFvR4v3VR7s1RqdMCrATc4Wz6rknytEigYQwKQqsDL2", "sequenceNumber": 0 }, "last": { - "digest": "FubeYRn3Re3g8nR9jbf955Jd6GjqpzxubbfGaSV3XC8C", + "digest": "5Dgrq9zWc8hutasvYoZbAcexWzCMaawAkDEL8pbD5Jjf", "sequenceNumber": 2 } }, "first": { - "digest": "AjVRPrUd6kKCamy6Fjgzj2Xo2yEGM6jVLDT6KLGqgb1H", + "digest": "6NFvR4v3VR7s1RqdMCrATc4Wz6rknytEigYQwKQqsDL2", "sequenceNumber": 0 }, "last": { - "digest": "FubeYRn3Re3g8nR9jbf955Jd6GjqpzxubbfGaSV3XC8C", + "digest": "5Dgrq9zWc8hutasvYoZbAcexWzCMaawAkDEL8pbD5Jjf", "sequenceNumber": 2 } } diff --git a/crates/iota-graphql-e2e-tests/tests/call/simple.exp b/crates/iota-graphql-e2e-tests/tests/call/simple.exp index 678ef0975b9..cae4875d542 100644 --- a/crates/iota-graphql-e2e-tests/tests/call/simple.exp +++ b/crates/iota-graphql-e2e-tests/tests/call/simple.exp @@ -77,7 +77,7 @@ Epoch advanced: 5 task 10, line 44: //# view-checkpoint -CheckpointSummary { epoch: 5, seq: 10, content_digest: Eju9TRhUamcNqTaaEhENsRpfV6qpU6bttXAi5sfGKvh2, +CheckpointSummary { epoch: 5, seq: 10, content_digest: DLVxgygkX7Vs9bHQPoKm6AM9aHFEQPubZMHrFedvWEZM, epoch_rolling_gas_cost_summary: GasCostSummary { computation_cost: 0, storage_cost: 0, storage_rebate: 0, non_refundable_storage_fee: 0 }} task 11, lines 46-51: 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 b39d16de5ae..5f739a19f9c 100644 --- a/crates/iota-graphql-e2e-tests/tests/epoch/chain_identifier.exp +++ b/crates/iota-graphql-e2e-tests/tests/epoch/chain_identifier.exp @@ -11,6 +11,6 @@ task 2, lines 10-13: //# run-graphql Response: { "data": { - "chainIdentifier": "498fc7b7" + "chainIdentifier": "325a2bc6" } } diff --git a/crates/iota-graphql-e2e-tests/tests/limits/directives.exp b/crates/iota-graphql-e2e-tests/tests/limits/directives.exp index 17d543837fd..ae5f65e3f5d 100644 --- a/crates/iota-graphql-e2e-tests/tests/limits/directives.exp +++ b/crates/iota-graphql-e2e-tests/tests/limits/directives.exp @@ -73,7 +73,7 @@ task 5, lines 59-63: //# run-graphql Response: { "data": { - "chainIdentifier": "498fc7b7" + "chainIdentifier": "325a2bc6" } } @@ -81,7 +81,7 @@ task 6, lines 65-69: //# run-graphql Response: { "data": { - "chainIdentifier": "498fc7b7" + "chainIdentifier": "325a2bc6" } } diff --git a/crates/iota-graphql-e2e-tests/tests/objects/display.exp b/crates/iota-graphql-e2e-tests/tests/objects/display.exp index 04143a4282a..8a643e5e628 100644 --- a/crates/iota-graphql-e2e-tests/tests/objects/display.exp +++ b/crates/iota-graphql-e2e-tests/tests/objects/display.exp @@ -16,7 +16,7 @@ Checkpoint created: 1 task 3, line 135: //# view-checkpoint -CheckpointSummary { epoch: 0, seq: 1, content_digest: 5nziQdp2tLxVAj5j7iXTyrYz7Hstn5Zh5iqLAd7TaxLt, +CheckpointSummary { epoch: 0, seq: 1, content_digest: FhAfAxUsueMJ5c9W7TuVepGTE9SnFCrRcGAWfehU4hWU, epoch_rolling_gas_cost_summary: GasCostSummary { computation_cost: 1000000, storage_cost: 21470000, storage_rebate: 0, non_refundable_storage_fee: 0 }} task 4, line 137: @@ -37,7 +37,7 @@ Checkpoint created: 2 task 7, line 143: //# view-checkpoint -CheckpointSummary { epoch: 0, seq: 2, content_digest: DVQKDwtJsrqwugyr2EP4UCAKw1RRVVapnPADhXTs5vaX, +CheckpointSummary { epoch: 0, seq: 2, content_digest: C5KjqUQRvmi5veZahh1neoafEn1z2fhgxaFy3BbzVJUK, epoch_rolling_gas_cost_summary: GasCostSummary { computation_cost: 3000000, storage_cost: 27968000, storage_rebate: 3640400, non_refundable_storage_fee: 0 }} task 8, lines 145-158: @@ -84,7 +84,7 @@ Checkpoint created: 3 task 11, line 164: //# view-checkpoint -CheckpointSummary { epoch: 0, seq: 3, content_digest: C7sxx5GSvnuc5RNaYkToaPRVoBxctRgY3ZNGkyZWGYSe, +CheckpointSummary { epoch: 0, seq: 3, content_digest: 9Xz4yzhPS4BPCmWwP5TqdY8dCPQvJML3e6LXZMZvuzo2, epoch_rolling_gas_cost_summary: GasCostSummary { computation_cost: 4000000, storage_cost: 31000400, storage_rebate: 6581600, non_refundable_storage_fee: 0 }} task 12, lines 166-179: @@ -136,7 +136,7 @@ Checkpoint created: 4 task 15, line 185: //# view-checkpoint -CheckpointSummary { epoch: 0, seq: 4, content_digest: 9CyEjTU1BKFkS61qtauKTbtPRYTZ2AtWaBNYq2unhxhU, +CheckpointSummary { epoch: 0, seq: 4, content_digest: FGyM6sYiLCoNXUHPwQKCnS7FnbvsWBY9uvH3K21UNnhL, epoch_rolling_gas_cost_summary: GasCostSummary { computation_cost: 5000000, storage_cost: 36236800, storage_rebate: 9614000, non_refundable_storage_fee: 0 }} task 16, lines 187-200: diff --git a/crates/iota-rest-api/openapi/openapi.json b/crates/iota-rest-api/openapi/openapi.json index 96c9665ab63..b787b05bdb7 100644 --- a/crates/iota-rest-api/openapi/openapi.json +++ b/crates/iota-rest-api/openapi/openapi.json @@ -3013,23 +3013,6 @@ } } }, - "ModifiedAtVersion": { - "type": "object", - "required": [ - "object_id", - "version" - ], - "properties": { - "object_id": { - "$ref": "#/components/schemas/ObjectId" - }, - "version": { - "description": "Radix-10 encoded 64-bit unsigned integer", - "type": "string", - "format": "u64" - } - } - }, "MoveLocation": { "type": "object", "required": [ @@ -3519,21 +3502,6 @@ } } }, - "ObjectReferenceWithOwner": { - "type": "object", - "required": [ - "owner", - "reference" - ], - "properties": { - "owner": { - "$ref": "#/components/schemas/Owner" - }, - "reference": { - "$ref": "#/components/schemas/ObjectReference" - } - } - }, "Owner": { "oneOf": [ { @@ -4227,136 +4195,6 @@ "TransactionEffects": { "description": "The response from processing a transaction or a certified transaction", "oneOf": [ - { - "description": "The response from processing a transaction or a certified transaction", - "type": "object", - "required": [ - "created", - "deleted", - "dependencies", - "epoch", - "gas_object", - "gas_used", - "modified_at_versions", - "mutated", - "shared_objects", - "success", - "transaction_digest", - "unwrapped", - "unwrapped_then_deleted", - "version", - "wrapped" - ], - "properties": { - "created": { - "description": "ObjectReference and owner of new objects created.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectReferenceWithOwner" - } - }, - "deleted": { - "description": "Object Refs of objects now deleted (the new refs).", - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectReference" - } - }, - "dependencies": { - "description": "The set of transaction digests this transaction depends on.", - "type": "array", - "items": { - "$ref": "#/components/schemas/TransactionDigest" - } - }, - "epoch": { - "description": "The epoch when this transaction was executed.", - "type": "string", - "format": "u64" - }, - "events_digest": { - "description": "The digest of the events emitted during execution, can be None if the transaction does not emit any event.", - "allOf": [ - { - "$ref": "#/components/schemas/TransactionEventsDigest" - } - ] - }, - "gas_object": { - "description": "The updated gas object reference. Have a dedicated field for convenient access. It's also included in mutated.", - "allOf": [ - { - "$ref": "#/components/schemas/ObjectReferenceWithOwner" - } - ] - }, - "gas_used": { - "$ref": "#/components/schemas/GasCostSummary" - }, - "modified_at_versions": { - "description": "The version that every modified (mutated or deleted) object had before it was modified by this transaction.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ModifiedAtVersion" - } - }, - "mutated": { - "description": "ObjectReference and owner of mutated objects, including gas object.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectReferenceWithOwner" - } - }, - "shared_objects": { - "description": "The object references of the shared objects used in this transaction. Empty if no shared objects were used.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectReference" - } - }, - "status": { - "$ref": "#/components/schemas/FailureStatus" - }, - "success": { - "type": "boolean" - }, - "transaction_digest": { - "description": "The transaction digest", - "allOf": [ - { - "$ref": "#/components/schemas/TransactionDigest" - } - ] - }, - "unwrapped": { - "description": "ObjectReference and owner of objects that are unwrapped in this transaction. Unwrapped objects are objects that were wrapped into other objects in the past, and just got extracted out.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectReferenceWithOwner" - } - }, - "unwrapped_then_deleted": { - "description": "Object refs of objects previously wrapped in other objects but now deleted.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectReference" - } - }, - "version": { - "type": "string", - "enum": [ - "1" - ] - }, - "wrapped": { - "description": "Object refs of objects now wrapped in other objects.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectReference" - } - } - } - }, { "description": "The response from processing a transaction or a certified transaction", "type": "object", @@ -4445,7 +4283,7 @@ "version": { "type": "string", "enum": [ - "2" + "1" ] } } @@ -4652,7 +4490,7 @@ "kind": { "type": "string", "enum": [ - "authenticator_state_update" + "authenticator_state_update_v1" ] }, "new_active_jwks": {