-
Notifications
You must be signed in to change notification settings - Fork 314
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
GetBlockByHeight
request does not work in GRPCUI
#2673
Comments
I'll take a look at this one. Not sure if it's a proto/RPC problem, or a grpcui problem. FYI, we're using an old version of grpcui. We'd have to build our own container to get a newer version. Will test locally. |
Took a look at this today. Even with a locally-built extremely recent version of grpcui, the problem persists. The browser console emits an error about an undefined JS error that is the result of a legitimate bug in the grpcui JS. That's beside the point for our needs, though. Will try to make sense of the actual method call and its parameters next. |
Progress: looks like it's the
The |
That value limit is 1 billion, or the maximum number of nanoseconds within one second. The error message is coming from |
The gRPCUI service was throwing an error on `TendermintProxyService.GetBlockByHeight`, with log messages pointing to `ns out of range [0, 1000000000]`. The relevant pbjson type [0] is not well documented, but consulting the associated protobuf type [1] makes it clear that we want subsecond nanos here. Closes #2673. [0] https://docs.rs/pbjson-types/0.5.1/pbjson_types/struct.Timestamp.html [1] https://protobuf.dev/reference/java/api-docs/com/google/protobuf/Timestamp
The gRPCUI service was throwing an error on `TendermintProxyService.GetBlockByHeight`, with log messages pointing to `ns out of range [0, 1000000000]`. The relevant pbjson type [0] is not well documented, but consulting the associated protobuf type [1] makes it clear that we want subsecond nanos here. Closes #2673. [0] https://docs.rs/pbjson-types/0.5.1/pbjson_types/struct.Timestamp.html [1] https://protobuf.dev/reference/java/api-docs/com/google/protobuf/Timestamp
The gRPCUI service was throwing an error on `TendermintProxyService.GetBlockByHeight`, with log messages pointing to `ns out of range [0, 1000000000]`. The relevant pbjson type [0] is not well documented, but consulting the associated protobuf type [1] makes it clear that we want subsecond nanos here. Closes #2673. [0] https://docs.rs/pbjson-types/0.5.1/pbjson_types/struct.Timestamp.html [1] https://protobuf.dev/reference/java/api-docs/com/google/protobuf/Timestamp
Describe the bug
The
TendermintProxyService.GetBlockByHeight
request does not work or return an error. The network console reports something about a wrong timestamp.The text was updated successfully, but these errors were encountered: