Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

cosmos-sdk --grpc-only is not integrated in start cmd #1359

Closed
yihuang opened this issue Sep 28, 2022 · 4 comments · Fixed by #1360
Closed

cosmos-sdk --grpc-only is not integrated in start cmd #1359

yihuang opened this issue Sep 28, 2022 · 4 comments · Fixed by #1360

Comments

@yihuang
Copy link
Contributor

yihuang commented Sep 28, 2022

Proposal: Integrate --grpc-only flag in start cmd

Current behavior: don't support grpc only mode

Desired behavior: [What you would like to happen]

Use case: [Why is this important (helps with prioritizing requests)]

Requests may be closed if we're not actively planning to work on them.

@mmsqe mmsqe mentioned this issue Sep 28, 2022
11 tasks
@fedekunze
Copy link
Contributor

what's the problem context for this?

@VictorTrustyDev
Copy link
Contributor

This is the purpose of the --grpc-only flag: cosmos-sdk#10796

@VictorTrustyDev
Copy link
Contributor

Perhaps he doesn't want new upgrades effect the historical data querying process.

Like this #1242, the new module make we unable to call old blocks due to nil params.

@yihuang
Copy link
Contributor Author

yihuang commented Oct 19, 2022

what's the problem context for this?

Other than the use case in original cosmos-sdk PR, we are doing a feature of distributed query service by replicating the chain state directly, which should be less costly than just running multiple full nodes. In this setup, it only have one full node and multiple read-only replicates which serve grpc queries only.
It helps with offloading the most heavy parts of the json-rpc apis to this distributed query service: traceTransaction, ethCall, estimateGas

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants