Skip to content

Commit

Permalink
smol ref to have consistent namings
Browse files Browse the repository at this point in the history
  • Loading branch information
quasisamurai committed May 16, 2024
1 parent ef258b8 commit 3d4ac05
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion wasmbinding/bindings/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ type NeutronQuery struct {
// oracle module queries
Oracle *OracleQuery `json:"oracle,omitempty"`
// marketmap module query
Marketmap *MarketMapQuery `json:"marketmap,omitempty"`
MarketMap *MarketMapQuery `json:"market_map,omitempty"`
}

/* Requests */
Expand Down
4 changes: 2 additions & 2 deletions wasmbinding/custom_querier.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ func CustomQuerier(qp *QueryPlugin) func(ctx sdk.Context, request json.RawMessag
case contractQuery.Oracle != nil:
return qp.OracleQuery(ctx, *contractQuery.Oracle)

case contractQuery.Marketmap != nil:
return qp.MarketMapQuery(ctx, *contractQuery.Marketmap)
case contractQuery.MarketMap != nil:
return qp.MarketMapQuery(ctx, *contractQuery.MarketMap)

default:
return nil, wasmvmtypes.UnsupportedRequest{Kind: "unknown neutron query type"}
Expand Down

0 comments on commit 3d4ac05

Please sign in to comment.