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

[WIP] Create runtime gRPC proto definition #64

Closed
wants to merge 6 commits into from

Conversation

kchrist-rocketfueldev
Copy link

No description provided.

Copy link
Contributor

@harrytou harrytou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also @kchrist-rocketfueldev can we get some more comments in there as seen in https://protobuf.dev/programming-guides/proto3/#adding-comments?

}

/* getName */
message GetNameRequest {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we be more explicit on what GetNameRequest is? Which name does it request?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would getRuntimeName make more sense?

}

/* getVersion */
message GetVersionRequest {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here, what version are we requesting and of what?

@@ -0,0 +1,118 @@
syntax = "proto3";

package kyve.tendermint;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you thinking of creating one .proto file for every runtime parent class? Meaning all the EVM runtimes will use X .proto as a source, all Cosmos runtime will use Y as a source?

Is it possible to create just a single .proto file for all runtimes?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it should not be here, it was a leftover from when i did multiple implementations to compare them

@kchrist-rocketfueldev kchrist-rocketfueldev changed the title Create runtime gRPC proto definition [WIP] Create runtime gRPC proto definition Aug 14, 2023
@@ -52,6 +52,24 @@ import { SupportedChains } from "@kyvejs/sdk/dist/constants";
import { storageProviderFactory } from "./reactors/storageProviders";
import { compressionFactory } from "./reactors/compression";
import { cacheProviderFactory } from "./reactors/cacheProvider";
const grpc = require("@grpc/grpc-js");
var protoLoader = require("@grpc/proto-loader");
const PROTO_PATH = "./runtiime.proto";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo: runtiime -> runtime

@kchrist-rocketfueldev kchrist-rocketfueldev deleted the runtime-grpc-proto-definition branch August 18, 2023 06:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants