diff --git a/packages/proto/src/proto/services/response_code.proto b/packages/proto/src/proto/services/response_code.proto index 38d1d5f94..df4fb4a97 100644 --- a/packages/proto/src/proto/services/response_code.proto +++ b/packages/proto/src/proto/services/response_code.proto @@ -1594,35 +1594,21 @@ enum ResponseCodeEnum { */ INVALID_TOKEN_IN_PENDING_AIRDROP = 369; - /** - * A scheduled transaction configured to wait for expiry to execute was given - * an expiry time not strictly after the time at which its creation reached - * consensus. - */ - SCHEDULE_EXPIRY_MUST_BE_FUTURE = 370; - - /** - * A scheduled transaction configured to wait for expiry to execute was given - * an expiry time too far in the future after the time at which its creation - * reached consensus. - */ - SCHEDULE_EXPIRY_TOO_LONG = 371; - /** * A scheduled transaction configured to wait for expiry to execute was given * an expiry time at which there is already too many transactions scheduled to * expire; its creation must be retried with a different expiry. */ - SCHEDULE_EXPIRY_IS_BUSY = 372; + SCHEDULE_EXPIRY_IS_BUSY = 370; /** * The provided gRPC certificate hash is invalid. */ - INVALID_GRPC_CERTIFICATE_HASH = 373; + INVALID_GRPC_CERTIFICATE_HASH = 371; /** * A scheduled transaction configured to wait for expiry to execute was not * given an explicit expiration time. */ - MISSING_EXPIRY_TIME = 374; + MISSING_EXPIRY_TIME = 372; } diff --git a/src/FeeComponents.js b/src/FeeComponents.js index feaa1c73e..f2ca3a165 100644 --- a/src/FeeComponents.js +++ b/src/FeeComponents.js @@ -19,7 +19,8 @@ */ import * as HashgraphProto from "@hashgraph/proto"; - +// eslint-disable-next-line @typescript-eslint/no-unused-vars +import Long from "long"; export default class FeeComponents { /** * @param {object} [props] diff --git a/src/Status.js b/src/Status.js index 8ca4f1b2b..8d9522015 100644 --- a/src/Status.js +++ b/src/Status.js @@ -697,10 +697,6 @@ export default class Status { return "TOKEN_AIRDROP_WITH_FALLBACK_ROYALTY"; case Status.InvalidTokenInPendingAirdrop: return "INVALID_TOKEN_IN_PENDING_AIRDROP"; - case Status.ScheduleExpiryMustBeFuture: - return "SCHEDULE_EXPIRY_MUST_BE_FUTURE"; - case Status.ScheduleExpiryTooLong: - return "SCHEDULE_EXPIRY_TOO_LONG"; case Status.ScheduleExpiryIsBusy: return "SCHEDULE_EXPIRY_IS_BUSY"; case Status.InvalidGrpcCertificateHash: @@ -1376,14 +1372,10 @@ export default class Status { case 369: return Status.InvalidTokenInPendingAirdrop; case 370: - return Status.ScheduleExpiryMustBeFuture; - case 371: - return Status.ScheduleExpiryTooLong; - case 372: return Status.ScheduleExpiryIsBusy; - case 373: + case 371: return Status.InvalidGrpcCertificateHash; - case 374: + case 372: return Status.MissingExpiryTime; default: throw new Error( @@ -3098,33 +3090,20 @@ Status.TokenAirdropWithFallbackRoyalty = new Status(368); */ Status.InvalidTokenInPendingAirdrop = new Status(369); -/** - * A scheduled transaction configured to wait for expiry to execute was given - * an expiry time not strictly after the time at which its creation reached - * consensus. - */ -Status.ScheduleExpiryMustBeFuture = new Status(370); -/** - * A scheduled transaction configured to wait for expiry to execute was given - * an expiry time too far in the future after the time at which its creation - * reached consensus. - */ -Status.ScheduleExpiryTooLong = new Status(371); - /** * A scheduled transaction configured to wait for expiry to execute was given * an expiry time at which there is already too many transactions scheduled to * expire; its creation must be retried with a different expiry. */ -Status.ScheduleExpiryIsBusy = new Status(372); +Status.ScheduleExpiryIsBusy = new Status(370); /** * The provided gRPC certificate hash is invalid. */ -Status.InvalidGrpcCertificateHash = new Status(373); +Status.InvalidGrpcCertificateHash = new Status(371); /** * A scheduled transaction configured to wait for expiry to execute was not * given an explicit expiration time. */ -Status.MissingExpiryTime = new Status(374); +Status.MissingExpiryTime = new Status(372);