From 760acfb55685f4f63c95caf6042655010815a6af Mon Sep 17 00:00:00 2001 From: dominious1 Date: Fri, 1 Dec 2023 00:07:28 +0100 Subject: [PATCH 1/4] Add param title to protos --- src/proto/commands_pb.d.ts | 8 ++++++++ usun.diff | 0 2 files changed, 8 insertions(+) create mode 100644 usun.diff diff --git a/src/proto/commands_pb.d.ts b/src/proto/commands_pb.d.ts index af2fbabc..09c7975c 100644 --- a/src/proto/commands_pb.d.ts +++ b/src/proto/commands_pb.d.ts @@ -11,6 +11,9 @@ export class AddAssetQuantity extends jspb.Message { getAmount(): string; setAmount(value: string): void; + getTitle(): string; + setTitle(value: string): void; + serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): AddAssetQuantity.AsObject; static toObject(includeInstance: boolean, msg: AddAssetQuantity): AddAssetQuantity.AsObject; @@ -25,6 +28,7 @@ export namespace AddAssetQuantity { export type AsObject = { assetId: string, amount: string, + title: string, } } @@ -415,6 +419,9 @@ export class SubtractAssetQuantity extends jspb.Message { getAmount(): string; setAmount(value: string): void; + getTitle(): string; + setTitle(value: string): void; + serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): SubtractAssetQuantity.AsObject; static toObject(includeInstance: boolean, msg: SubtractAssetQuantity): SubtractAssetQuantity.AsObject; @@ -429,6 +436,7 @@ export namespace SubtractAssetQuantity { export type AsObject = { assetId: string, amount: string, + title: string, } } diff --git a/usun.diff b/usun.diff new file mode 100644 index 00000000..e69de29b From 38c386c677dc1ed499a0c1e7a997ae36e58916de Mon Sep 17 00:00:00 2001 From: dominious1 Date: Fri, 1 Dec 2023 00:07:59 +0100 Subject: [PATCH 2/4] Revert "Add param title to protos" This reverts commit 760acfb55685f4f63c95caf6042655010815a6af. --- src/proto/commands_pb.d.ts | 8 -------- usun.diff | 0 2 files changed, 8 deletions(-) delete mode 100644 usun.diff diff --git a/src/proto/commands_pb.d.ts b/src/proto/commands_pb.d.ts index 09c7975c..af2fbabc 100644 --- a/src/proto/commands_pb.d.ts +++ b/src/proto/commands_pb.d.ts @@ -11,9 +11,6 @@ export class AddAssetQuantity extends jspb.Message { getAmount(): string; setAmount(value: string): void; - getTitle(): string; - setTitle(value: string): void; - serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): AddAssetQuantity.AsObject; static toObject(includeInstance: boolean, msg: AddAssetQuantity): AddAssetQuantity.AsObject; @@ -28,7 +25,6 @@ export namespace AddAssetQuantity { export type AsObject = { assetId: string, amount: string, - title: string, } } @@ -419,9 +415,6 @@ export class SubtractAssetQuantity extends jspb.Message { getAmount(): string; setAmount(value: string): void; - getTitle(): string; - setTitle(value: string): void; - serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): SubtractAssetQuantity.AsObject; static toObject(includeInstance: boolean, msg: SubtractAssetQuantity): SubtractAssetQuantity.AsObject; @@ -436,7 +429,6 @@ export namespace SubtractAssetQuantity { export type AsObject = { assetId: string, amount: string, - title: string, } } diff --git a/usun.diff b/usun.diff deleted file mode 100644 index e69de29b..00000000 From 3f69420c358d6dbbe27eb228ec6e1a105dee03f8 Mon Sep 17 00:00:00 2001 From: dominious1 Date: Fri, 1 Dec 2023 00:10:06 +0100 Subject: [PATCH 3/4] Add param title to protos Signed-off-by: dominious1 --- src/proto/commands_pb.d.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/proto/commands_pb.d.ts b/src/proto/commands_pb.d.ts index af2fbabc..09c7975c 100644 --- a/src/proto/commands_pb.d.ts +++ b/src/proto/commands_pb.d.ts @@ -11,6 +11,9 @@ export class AddAssetQuantity extends jspb.Message { getAmount(): string; setAmount(value: string): void; + getTitle(): string; + setTitle(value: string): void; + serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): AddAssetQuantity.AsObject; static toObject(includeInstance: boolean, msg: AddAssetQuantity): AddAssetQuantity.AsObject; @@ -25,6 +28,7 @@ export namespace AddAssetQuantity { export type AsObject = { assetId: string, amount: string, + title: string, } } @@ -415,6 +419,9 @@ export class SubtractAssetQuantity extends jspb.Message { getAmount(): string; setAmount(value: string): void; + getTitle(): string; + setTitle(value: string): void; + serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): SubtractAssetQuantity.AsObject; static toObject(includeInstance: boolean, msg: SubtractAssetQuantity): SubtractAssetQuantity.AsObject; @@ -429,6 +436,7 @@ export namespace SubtractAssetQuantity { export type AsObject = { assetId: string, amount: string, + title: string, } } From 2b374d8cf7189ffcb4b475520d232a7caaf848cf Mon Sep 17 00:00:00 2001 From: dominious1 <140593941+dominious1@users.noreply.github.com> Date: Thu, 8 Feb 2024 00:58:06 +0100 Subject: [PATCH 4/4] Implement addition of new parameters to Iroha Core for enhanced message communication, with corresponding handling capabilities in Iroha CLI. Signed-off-by: dominious1 <140593941+dominious1@users.noreply.github.com> --- src/proto/commands_pb.d.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/proto/commands_pb.d.ts b/src/proto/commands_pb.d.ts index 09c7975c..90b94b9d 100644 --- a/src/proto/commands_pb.d.ts +++ b/src/proto/commands_pb.d.ts @@ -11,8 +11,8 @@ export class AddAssetQuantity extends jspb.Message { getAmount(): string; setAmount(value: string): void; - getTitle(): string; - setTitle(value: string): void; + getDescription(): string; + setDescription(value: string): void; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): AddAssetQuantity.AsObject; @@ -28,7 +28,7 @@ export namespace AddAssetQuantity { export type AsObject = { assetId: string, amount: string, - title: string, + description: string, } } @@ -419,8 +419,8 @@ export class SubtractAssetQuantity extends jspb.Message { getAmount(): string; setAmount(value: string): void; - getTitle(): string; - setTitle(value: string): void; + getDescription(): string; + setDescription(value: string): void; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): SubtractAssetQuantity.AsObject; @@ -436,7 +436,7 @@ export namespace SubtractAssetQuantity { export type AsObject = { assetId: string, amount: string, - title: string, + description: string, } }