From f7b0b3dbc7755f41b0548806332c0e421e22627a Mon Sep 17 00:00:00 2001 From: sophian Date: Tue, 29 Aug 2023 16:52:51 -0400 Subject: [PATCH 1/2] Rename connectors to liquidity pools --- onboarding-api/src/utils/networks/centrifuge.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onboarding-api/src/utils/networks/centrifuge.ts b/onboarding-api/src/utils/networks/centrifuge.ts index 7c7d31ff49..f5d31d914b 100644 --- a/onboarding-api/src/utils/networks/centrifuge.ts +++ b/onboarding-api/src/utils/networks/centrifuge.ts @@ -76,7 +76,7 @@ export const addCentInvestorToMemberList = async (wallet: Request['wallet'], poo } // add investor to liquidity pools if they are investing on any domain other than centrifuge if (wallet.network === 'evm') { - const updateMemberSubmittable = api.tx.connectors.updateMember( + const updateMemberSubmittable = api.tx.liquidityPools.updateMember( poolId, trancheId, { From 3db25b90a068b47120291e6dd393bd96ec4e60f2 Mon Sep 17 00:00:00 2001 From: sophian Date: Tue, 29 Aug 2023 17:56:43 -0400 Subject: [PATCH 2/2] Remove logs --- centrifuge-app/src/components/PoolFilter/utils.ts | 1 - centrifuge-app/src/pages/Pools.tsx | 5 +---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/centrifuge-app/src/components/PoolFilter/utils.ts b/centrifuge-app/src/components/PoolFilter/utils.ts index c867fbfd90..ef40b4feda 100644 --- a/centrifuge-app/src/components/PoolFilter/utils.ts +++ b/centrifuge-app/src/components/PoolFilter/utils.ts @@ -16,7 +16,6 @@ export function filterPools(pools: PoolCardProps[], searchParams: URLSearchParam filtered = filtered.filter( (pool) => pool.status && (poolStatuses.size ? poolStatuses.has(toKebabCase(pool.status)) : pool.status !== 'Closed') ) - console.log('filtered', filtered) if (assetClasses.size) { filtered = filtered.filter((pool) => pool.assetClass && assetClasses.has(toKebabCase(pool.assetClass))) diff --git a/centrifuge-app/src/pages/Pools.tsx b/centrifuge-app/src/pages/Pools.tsx index 81ce05b5ab..58fcc0ce93 100644 --- a/centrifuge-app/src/pages/Pools.tsx +++ b/centrifuge-app/src/pages/Pools.tsx @@ -31,8 +31,7 @@ export function PoolsPage() { function Pools() { const cent = useCentrifuge() const { search } = useLocation() - const [listedPools, listedTokens, metadataIsLoading] = useListedPools() - console.log('listedPools', listedPools) + const [listedPools, _listedTokens, metadataIsLoading] = useListedPools() const centPools = listedPools.filter(({ id }) => !id.startsWith('0x')) as Pool[] const centPoolsMetaData: PoolMetaDataPartial[] = useMetadataMulti( @@ -41,9 +40,7 @@ function Pools() { const centPoolsMetaDataById = getMetasById(centPools, centPoolsMetaData) const pools = !!listedPools?.length ? poolsToPoolCardProps(listedPools, centPoolsMetaDataById, cent) : [] - console.log('pools', pools) const filteredPools = !!pools?.length ? filterPools(pools, new URLSearchParams(search)) : [] - console.log('flfitleirlerpOPopolp', filteredPools) if (!listedPools.length) { return (