Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Update RunRequest with a list of MsgRun #121

Merged
merged 1 commit into from
Mar 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ ruby 3.2.2
cocoapods 1.12.1
java openjdk-18.0.1.1
yarn 1.22.19
golang 1.20.7
golang 1.21.7
buf 1.15.1
jq 1.6
369 changes: 297 additions & 72 deletions api/gen/csharp/Gnonativetypes.cs

Large diffs are not rendered by default.

43 changes: 38 additions & 5 deletions api/gen/es/gnonativetypes_pb.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1376,9 +1376,9 @@ export declare class SendResponse extends Message<SendResponse> {
}

/**
* @generated from message land.gno.gnonative.v1.RunRequest
* @generated from message land.gno.gnonative.v1.MsgRun
*/
export declare class RunRequest extends Message<RunRequest> {
export declare class MsgRun extends Message<MsgRun> {
/**
* The code for the script package. Must have main().
* Example: "package main\nfunc main() {\n println(\"Hello\")\n}"
Expand All @@ -1388,22 +1388,55 @@ export declare class RunRequest extends Message<RunRequest> {
package: string;

/**
* @generated from field: string gas_fee = 2;
* Optional. Example: "1000ugnot"
*
* @generated from field: string send = 2;
*/
send: string;

constructor(data?: PartialMessage<MsgRun>);

static readonly runtime: typeof proto3;
static readonly typeName = "land.gno.gnonative.v1.MsgRun";
static readonly fields: FieldList;

static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MsgRun;

static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MsgRun;

static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MsgRun;

static equals(a: MsgRun | PlainMessage<MsgRun> | undefined, b: MsgRun | PlainMessage<MsgRun> | undefined): boolean;
}

/**
* @generated from message land.gno.gnonative.v1.RunRequest
*/
export declare class RunRequest extends Message<RunRequest> {
/**
* @generated from field: string gas_fee = 1;
*/
gasFee: string;

/**
* @generated from field: sint64 gas_wanted = 3;
* @generated from field: sint64 gas_wanted = 2;
*/
gasWanted: bigint;

/**
* Memo is optional
*
* @generated from field: string memo = 4;
* @generated from field: string memo = 3;
*/
memo: string;

/**
* list of run operations to make in one transaction
*
* @generated from field: repeated land.gno.gnonative.v1.MsgRun msgs = 4 [json_name = "Msgs"];
*/
msgs: MsgRun[];

constructor(data?: PartialMessage<RunRequest>);

static readonly runtime: typeof proto3;
Expand Down
19 changes: 15 additions & 4 deletions api/gen/es/gnonativetypes_pb.js
Original file line number Diff line number Diff line change
Expand Up @@ -530,16 +530,27 @@ export const SendResponse = proto3.makeMessageType(
[],
);

/**
* @generated from message land.gno.gnonative.v1.MsgRun
*/
export const MsgRun = proto3.makeMessageType(
"land.gno.gnonative.v1.MsgRun",
() => [
{ no: 1, name: "package", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 2, name: "send", kind: "scalar", T: 9 /* ScalarType.STRING */ },
],
);

/**
* @generated from message land.gno.gnonative.v1.RunRequest
*/
export const RunRequest = proto3.makeMessageType(
"land.gno.gnonative.v1.RunRequest",
() => [
{ no: 1, name: "package", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 2, name: "gas_fee", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 3, name: "gas_wanted", kind: "scalar", T: 18 /* ScalarType.SINT64 */ },
{ no: 4, name: "memo", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 1, name: "gas_fee", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 2, name: "gas_wanted", kind: "scalar", T: 18 /* ScalarType.SINT64 */ },
{ no: 3, name: "memo", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 4, name: "msgs", jsonName: "Msgs", kind: "message", T: MsgRun, repeated: true },
],
);

Expand Down
Loading