Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v3 data cd #175

Merged
merged 24 commits into from
Mar 11, 2024
Merged
Show file tree
Hide file tree
Changes from 19 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
env:
V3_SUBGRAPH: https://api.studio.thegraph.com/proxy/31386/balancer-v3-sepolia/version/latest
V3_POOLS_SUBGRAPH: https://api.studio.thegraph.com/proxy/31386/balancer-pools-v3-sepolia/version/latest
BALANCER_SUBGRAPH: https://api.thegraph.com/subgraphs/name/beethovenxfi/beethovenx
BALANCER_SUBGRAPH: https://api.thegraph.com/subgraphs/name/balancer-labs/balancer-v2
MASTERCHEF_SUBGRAPH: https://api.thegraph.com/subgraphs/name/beethovenxfi/masterchefv2
BLOCKS_SUBGRAPH: https://api.thegraph.com/subgraphs/name/danielmkm/optimism-blocks
BEETS_BAR_SUBGRAPH: https://api.thegraph.com/subgraphs/name/beethovenxfi/beets-bar
Expand Down
6 changes: 3 additions & 3 deletions codegen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ generates:
schema: ${V3_SUBGRAPH}
plugins:
- schema-ast
modules/subgraphs/balancer-v3-pools/generated/types.ts:
modules/sources/subgraphs/balancer-v3-pools/generated/types.ts:
schema: ${V3_POOLS_SUBGRAPH}
documents: 'modules/subgraphs/balancer-v3-pools/*.graphql'
documents: 'modules/sources/subgraphs/balancer-v3-pools/*.graphql'
plugins:
- typescript
- typescript-operations
Expand All @@ -33,7 +33,7 @@ generates:
BigInt: string
Bytes: string
BigDecimal: string
modules/subgraphs/balancer-v3-pools/generated/balancer-v3-pools-schema.graphql:
modules/sources/subgraphs/balancer-v3-pools/generated/balancer-v3-pools-schema.graphql:
schema: ${V3_POOLS_SUBGRAPH}
plugins:
- schema-ast
Expand Down
5 changes: 3 additions & 2 deletions config/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Chain } from '@prisma/client';
import { sepoliaConfig } from './sepolia';
import sepoliaConfig from './sepolia';
import mainnetConfig from './mainnet';
import { NetworkData } from '../modules/network/network-config-types';

export default {
Expand All @@ -8,7 +9,7 @@ export default {
[Chain.BASE]: {} as NetworkData,
[Chain.FANTOM]: {} as NetworkData,
[Chain.GNOSIS]: {} as NetworkData,
[Chain.MAINNET]: {} as NetworkData,
[Chain.MAINNET]: mainnetConfig,
[Chain.OPTIMISM]: {} as NetworkData,
[Chain.POLYGON]: {} as NetworkData,
[Chain.SEPOLIA]: sepoliaConfig,
Expand Down
Loading
Loading