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
I encountered an error when trying to query EstimateSwapExactAmountOut in a Cosmwasm contract. The error message stated, Simulate query error. err: 'Error parsing into type osmosis_std::types::osmosis::poolmanager::v1beta1::EstimateSwapExactAmountOutResponse: missing field token_in_amount'
To perform the query without errors, the code should be written as follows:
osmosis/wasmbinding/stargate_whitelist.go
Line 128 in 2baf3af
I encountered an error when trying to query EstimateSwapExactAmountOut in a Cosmwasm contract. The error message stated,
Simulate query error. err: 'Error parsing into type osmosis_std::types::osmosis::poolmanager::v1beta1::EstimateSwapExactAmountOutResponse: missing field token_in_amount'
To perform the query without errors, the code should be written as follows:
Note that the
EstimateSwapExactAmountOutRequest
type should be used instead of theEstimateSwapExactAmountOutResponse
type.The text was updated successfully, but these errors were encountered: