{"version":3,"file":"forking_service.mjs","names":[],"sources":["../../../../../../src/grpc/proto/sui/forking/v1alpha/forking_service.ts"],"sourcesContent":["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"sui/forking/v1alpha/forking_service.proto\" (package \"sui.forking.v1alpha\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport { ServiceType } from '@protobuf-ts/runtime-rpc';\nimport { MessageType } from '@protobuf-ts/runtime';\n/**\n * @generated from protobuf message sui.forking.v1alpha.AdvanceClockRequest\n */\nexport interface AdvanceClockRequest {\n\t/**\n\t * Duration in milliseconds to advance the clock. Defaults to 1 if unset.\n\t *\n\t * @generated from protobuf field: optional uint64 duration_ms = 1;\n\t */\n\tdurationMs?: bigint;\n}\n/**\n * @generated from protobuf message sui.forking.v1alpha.AdvanceClockResponse\n */\nexport interface AdvanceClockResponse {\n\t/**\n\t * Clock timestamp after advancing (milliseconds since Unix epoch).\n\t *\n\t * @generated from protobuf field: uint64 timestamp_ms = 1;\n\t */\n\ttimestampMs: bigint;\n\t/**\n\t * Digest of the ConsensusCommitPrologue transaction that advanced the clock.\n\t *\n\t * @generated from protobuf field: string tx_digest = 2;\n\t */\n\ttxDigest: string;\n}\n/**\n * @generated from protobuf message sui.forking.v1alpha.AdvanceCheckpointRequest\n */\nexport interface AdvanceCheckpointRequest {}\n/**\n * @generated from protobuf message sui.forking.v1alpha.AdvanceCheckpointResponse\n */\nexport interface AdvanceCheckpointResponse {\n\t/**\n\t * Sequence number of the newly created checkpoint.\n\t *\n\t * @generated from protobuf field: uint64 checkpoint_sequence_number = 1;\n\t */\n\tcheckpointSequenceNumber: bigint;\n\t/**\n\t * Timestamp embedded in the checkpoint (milliseconds since Unix epoch).\n\t *\n\t * @generated from protobuf field: uint64 timestamp_ms = 2;\n\t */\n\ttimestampMs: bigint;\n}\n/**\n * @generated from protobuf message sui.forking.v1alpha.GetStatusRequest\n */\nexport interface GetStatusRequest {}\n/**\n * @generated from protobuf message sui.forking.v1alpha.GetStatusResponse\n */\nexport interface GetStatusResponse {\n\t/**\n\t * Current epoch of the forked network.\n\t *\n\t * @generated from protobuf field: uint64 epoch = 1;\n\t */\n\tepoch: bigint;\n\t/**\n\t * Latest checkpoint sequence number.\n\t *\n\t * @generated from protobuf field: uint64 checkpoint_sequence_number = 2;\n\t */\n\tcheckpointSequenceNumber: bigint;\n\t/**\n\t * Current clock timestamp (milliseconds since Unix epoch).\n\t *\n\t * @generated from protobuf field: uint64 timestamp_ms = 3;\n\t */\n\ttimestampMs: bigint;\n\t/**\n\t * The upstream checkpoint at which the fork was created.\n\t *\n\t * @generated from protobuf field: uint64 forked_at_checkpoint = 4;\n\t */\n\tforkedAtCheckpoint: bigint;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass AdvanceClockRequest$Type extends MessageType<AdvanceClockRequest> {\n\tconstructor() {\n\t\tsuper('sui.forking.v1alpha.AdvanceClockRequest', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'duration_ms',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.forking.v1alpha.AdvanceClockRequest\n */\nexport const AdvanceClockRequest = new AdvanceClockRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass AdvanceClockResponse$Type extends MessageType<AdvanceClockResponse> {\n\tconstructor() {\n\t\tsuper('sui.forking.v1alpha.AdvanceClockResponse', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'timestamp_ms',\n\t\t\t\tkind: 'scalar',\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 2, name: 'tx_digest', kind: 'scalar', T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.forking.v1alpha.AdvanceClockResponse\n */\nexport const AdvanceClockResponse = new AdvanceClockResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass AdvanceCheckpointRequest$Type extends MessageType<AdvanceCheckpointRequest> {\n\tconstructor() {\n\t\tsuper('sui.forking.v1alpha.AdvanceCheckpointRequest', []);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.forking.v1alpha.AdvanceCheckpointRequest\n */\nexport const AdvanceCheckpointRequest = new AdvanceCheckpointRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass AdvanceCheckpointResponse$Type extends MessageType<AdvanceCheckpointResponse> {\n\tconstructor() {\n\t\tsuper('sui.forking.v1alpha.AdvanceCheckpointResponse', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'checkpoint_sequence_number',\n\t\t\t\tkind: 'scalar',\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'timestamp_ms',\n\t\t\t\tkind: 'scalar',\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.forking.v1alpha.AdvanceCheckpointResponse\n */\nexport const AdvanceCheckpointResponse = new AdvanceCheckpointResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetStatusRequest$Type extends MessageType<GetStatusRequest> {\n\tconstructor() {\n\t\tsuper('sui.forking.v1alpha.GetStatusRequest', []);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.forking.v1alpha.GetStatusRequest\n */\nexport const GetStatusRequest = new GetStatusRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetStatusResponse$Type extends MessageType<GetStatusResponse> {\n\tconstructor() {\n\t\tsuper('sui.forking.v1alpha.GetStatusResponse', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'epoch',\n\t\t\t\tkind: 'scalar',\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'checkpoint_sequence_number',\n\t\t\t\tkind: 'scalar',\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'timestamp_ms',\n\t\t\t\tkind: 'scalar',\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: 'forked_at_checkpoint',\n\t\t\t\tkind: 'scalar',\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.forking.v1alpha.GetStatusResponse\n */\nexport const GetStatusResponse = new GetStatusResponse$Type();\n/**\n * @generated ServiceType for protobuf service sui.forking.v1alpha.ForkingService\n */\nexport const ForkingService = new ServiceType('sui.forking.v1alpha.ForkingService', [\n\t{ name: 'AdvanceClock', options: {}, I: AdvanceClockRequest, O: AdvanceClockResponse },\n\t{\n\t\tname: 'AdvanceCheckpoint',\n\t\toptions: {},\n\t\tI: AdvanceCheckpointRequest,\n\t\tO: AdvanceCheckpointResponse,\n\t},\n\t{ name: 'GetStatus', options: {}, I: GetStatusRequest, O: GetStatusResponse },\n]);\n"],"mappings":";;;;AA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