Skip to content

Commit

Permalink
Merge branch 'master' into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
mantasfam committed Jul 29, 2023
2 parents 937285e + 8205be3 commit d52c850
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion kubernetes/production/patch-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ kind: Deployment
metadata:
name: defi-providers
spec:
replicas: 2
replicas: 2
2 changes: 1 addition & 1 deletion src/factory/providers/polygon/balancer/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { log } from '../../../../util/logger/logger';

const START_BLOCK = 15832998;
const THEGRAPTH_ENDPOINT =
'https://api.thegraph.com/subgraphs/name/balancer-labs/balancer-polygon-v2-beta';
'https://api.thegraph.com/subgraphs/name/balancer-labs/balancer-polygon-v2';
const POOL_COUNT_QUERY = gql`
query getPoolCount($block: Int!) {
balancer(id: 2, block: { number: $block }) {
Expand Down
2 changes: 2 additions & 0 deletions src/generic.interceptor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import {
ExecutionContext,
Injectable,
NestInterceptor,
HttpException,
} from '@nestjs/common';
import { Observable, tap } from 'rxjs';
import { log } from './util/logger/logger';
Expand Down Expand Up @@ -34,6 +35,7 @@ export class GenericInterceptor implements NestInterceptor {
detail: err?.name,
endpoint: endpoint.name,
});
throw new HttpException(err.message, 500);
},
}),
);
Expand Down

0 comments on commit d52c850

Please sign in to comment.