Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/go_modules/github.com/skip-mev/sl…
Browse files Browse the repository at this point in the history
…inky-1.1.0
  • Loading branch information
pr0n00gler committed Jan 23, 2025
2 parents acba34a + c992b85 commit d90c7e9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion wasmbinding/bindings/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ type QueryRegisteredQueryResultRequest struct {
type OracleQuery struct {
GetAllCurrencyPairs *oracletypes.GetAllCurrencyPairsRequest `json:"get_all_currency_pairs,omitempty"`
GetPrice *oracletypes.GetPriceRequest `json:"get_price,omitempty"`
GetPrices *oracletypes.GetPricesRequest `json:"get_prices,omitempty"`
}

type MarketMapQuery struct {
Expand Down
2 changes: 0 additions & 2 deletions wasmbinding/queries.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,6 @@ func (qp *QueryPlugin) OracleQuery(ctx sdk.Context, query bindings.OracleQuery)
return processResponse(oracleQueryServer.GetAllCurrencyPairs(ctx, query.GetAllCurrencyPairs))
case query.GetPrice != nil:
return processResponse(oracleQueryServer.GetPrice(ctx, query.GetPrice))
case query.GetPrices != nil:
return processResponse(oracleQueryServer.GetPrices(ctx, query.GetPrices))
default:
return nil, wasmvmtypes.UnsupportedRequest{Kind: "unknown neutron.oracle query type"}
}
Expand Down

0 comments on commit d90c7e9

Please sign in to comment.