-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Cannot query local node by tx without --trust-node #6060
Comments
@alessio does this have anything to do with the recent changes of Viper usage? |
Nope, this is the v0.38.x series's reincarnation of #5964 (and only 0.38.x seems affected by this) |
I think you aren't passing chain-id via flag nor via config file (you may check it: |
@gsora confirmed in a separate conversation that this #6060 (comment) is true. Hence closing. |
Summary of Bug
It is impossible to query a node running on
localhost
without supplying the--trust-node
parameter:If
--trust-node
is present, the query is successful:Being explicit about what node to query by using e.g. the
--node=http://localhost:26657
flag does not vary the described outcome.Version
Cosmos-SDK v0.38.3
Steps to Reproduce
cli query tx [txhash]
For Admin Use
The text was updated successfully, but these errors were encountered: