Skip to content

Commit

Permalink
BE-636 | Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
deividaspetraitis committed Nov 28, 2024
1 parent fd2b750 commit afe000e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
10 changes: 1 addition & 9 deletions packages/server/src/queries/complex/pools/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
import {
CoinPretty,
/*Dec,*/ PricePretty,
RatePretty,
} from "@keplr-wallet/unit";
import { CoinPretty, PricePretty, RatePretty } from "@keplr-wallet/unit";
import { AssetList, Chain } from "@osmosis-labs/types";
import { z } from "zod";

Expand Down Expand Up @@ -135,10 +131,6 @@ export async function getPools(
total: pools.total,
nextCursor: pools.nextCursor,
};

// TODO: migrate

// return denomPools;
}

export * from "./bonding";
Expand Down
3 changes: 1 addition & 2 deletions packages/server/src/queries/sidecar/pools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ export async function queryPools({
}

// Note: we do not want to filter the pools if we are in testnet because we do not have accurate pricing
// // information.
// information.
if (minLiquidityCap && !IS_TESTNET) {
params.append("filter[min_liquidity_cap]", minLiquidityCap);
}
Expand Down Expand Up @@ -226,7 +226,6 @@ export async function queryPools({

url.search = params.toString();

console.log("sidecar url", url.toString());
return apiClient<SQSGetPoolsResponse>(url.toString()).then((response) => {
// When next_cursor is -1 that means we have reached the end of the list
if (response.meta.next_cursor === -1) {
Expand Down

0 comments on commit afe000e

Please sign in to comment.