Skip to content

Commit

Permalink
fix query whitelist
Browse files Browse the repository at this point in the history
  • Loading branch information
beer-1 committed Apr 8, 2024
1 parent 1534653 commit d1e6628
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions x/evm/types/query_cosmos.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ type QueryCosmosWhitelist map[string]ProtoSet

func DefaultQueryCosmosWhitelist() QueryCosmosWhitelist {
res := make(QueryCosmosWhitelist)
res["/slinky.oracle.v1.Query/Prices"] = ProtoSet{
res["/slinky.oracle.v1.Query/GetPrices"] = ProtoSet{
Request: &oracletypes.GetPricesRequest{},
Response: &oracletypes.GetPricesResponse{},
}
res["/slinky.oracle.v1.Query/Price"] = ProtoSet{
res["/slinky.oracle.v1.Query/GetPrice"] = ProtoSet{
Request: &oracletypes.GetPriceRequest{},
Response: &oracletypes.GetPriceResponse{},
}
res["/slinky.oracle.v1.Query/AllCurrencyPairs"] = ProtoSet{
res["/slinky.oracle.v1.Query/GetAllCurrencyPairs"] = ProtoSet{
Request: &oracletypes.GetAllCurrencyPairsRequest{},
Response: &oracletypes.GetAllCurrencyPairsResponse{},
}
Expand Down

0 comments on commit d1e6628

Please sign in to comment.