Skip to content

simapp does not support /cosmos.tx.v1beta1.Service/Simulate anymore #12466

Closed
@webmaster128

Description

I'm testing simapp 0.46.0-rc2 right now in the ComsJS CI system. This seems to work well overall. However, I cannot send simpulate queries anymore (works with 0.42/0.44):

- Error: Query failed with (6): 
          github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).Query
                github.com/cosmos/cosmos-sdk/baseapp/abci.go:423
          github.com/tendermint/tendermint/abci/client.(*localClient).QuerySync
                github.com/tendermint/tendermint@v0.34.20-rc0/abci/client/local_client.go:256
          github.com/tendermint/tendermint/proxy.(*appConnQuery).QuerySync
                github.com/tendermint/tendermint@v0.34.20-rc0/proxy/app_conn.go:159
          github.com/tendermint/tendermint/rpc/core.ABCIQuery
                github.com/tendermint/tendermint@v0.34.20-rc0/rpc/core/abci.go:20
          reflect.Value.call
                reflect/value.go:556
          reflect.Value.Call
                reflect/value.go:339
          github.com/tendermint/tendermint/rpc/jsonrpc/server.(*wsConnection).readRoutine
                github.com/tendermint/tendermint@v0.34.20-rc0/rpc/jsonrpc/server/ws_handler.go:381
          unknown query path: unknown request

The query path that I can debug in my test case is /cosmos.tx.v1beta1.Service/Simulate. Other queries like e.g. /cosmos.auth.v1beta1.Query/Account work without an issue.

For historic reasons CosmJS queries through Tendermint RPC. This could change to grpc-web at some point but we are not there yet.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions