diff --git a/.graphqlconfig b/.graphqlconfig index afdc429c5..eeebad26a 100644 --- a/.graphqlconfig +++ b/.graphqlconfig @@ -2,7 +2,7 @@ "name": "Subsquid GraphQL Schema", "schemaPath": [ "https://origin.squids.live/origin-squid/graphql", - "https://origin.squids.live/prime-eth-squid/v/v999/graphql", + "https://origin.squids.live/prime-eth-squid/v/v13/graphql", "https://hub.snapshot.org/graphql" ] } diff --git a/apps/prime/.env b/apps/prime/.env index 92d83e6f8..3a238fb1c 100644 --- a/apps/prime/.env +++ b/apps/prime/.env @@ -1,8 +1,8 @@ # graphql Subsquid endpoint -VITE_SUBSQUID_URL="https://origin.squids.live/prime-eth-squid/v/v999/graphql" +VITE_SUBSQUID_URL="https://origin.squids.live/prime-eth-squid/v/v13/graphql" # Set this to any custom RPC to override public endpoint -VITE_CUSTOM_RPC="https://virtual.mainnet.rpc.tenderly.co/3c1f23aa-2d03-4f14-9597-bedceb73e095" +VITE_CUSTOM_RPC= # Wallet Connect v2 project id VITE_WALLET_CONNECT_PROJECT_ID= diff --git a/libs/prime/shared/codegen.ts b/libs/prime/shared/codegen.ts index 58e1c9ab5..d3e77f1d4 100644 --- a/libs/prime/shared/codegen.ts +++ b/libs/prime/shared/codegen.ts @@ -1,11 +1,11 @@ import type { CodegenConfig } from '@graphql-codegen/cli'; const config: CodegenConfig = { - schema: 'https://origin.squids.live/prime-eth-squid/v/v999/graphql', + schema: 'https://origin.squids.live/prime-eth-squid/v/v13/graphql', documents: 'libs/prime/**/src/**/*.graphql', generates: { 'libs/prime/shared/src/generated/graphql.ts': { - schema: 'https://origin.squids.live/prime-eth-squid/v/v999/graphql', + schema: 'https://origin.squids.live/prime-eth-squid/v/v13/graphql', plugins: ['typescript'], config: { scalars: {