You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
client/tx.go calculateGas() uses query path /cosmos.tx.v1beta1.Service/Simulate to simulate the transaction. This query is routed to baseapp/abci.go Query(), which slipped through all cases and returned unknown query path.
Looks like it's work in progress though
// TODO This should use the generated tx service Client.
// https://github.com/cosmos/cosmos-sdk/issues/7726
bz, _, err := queryFunc("/cosmos.tx.v1beta1.Service/Simulate", txBytes)
A guide showing how to generate the tx service Client here would be very helpful.
Version
v0.40.1
Steps to Reproduce
Follow the tutorial to setup basic app using cosmos v0.40.1.
Make use of client/tx/tx.go broadcastTx(), which includes the calulateGas() and the error will show up.
Sorry for vague description as our setup is complex, involves 3 repos to reproduce it and they are all private. We did our best to isolate the cause and hope others having same problem find this helpful.
For Admin Use
Not duplicate issue
Appropriate labels applied
Appropriate contributors tagged
Contributor assigned/self-assigned
The text was updated successfully, but these errors were encountered:
Summary of Bug
client/tx.go calculateGas() uses query path
/cosmos.tx.v1beta1.Service/Simulate
to simulate the transaction. This query is routed to baseapp/abci.go Query(), which slipped through all cases and returnedunknown query path
.Looks like it's work in progress though
A guide showing how to generate the tx service Client here would be very helpful.
Version
v0.40.1
Steps to Reproduce
For Admin Use
The text was updated successfully, but these errors were encountered: