Skip to content

Commit

Permalink
feat: move to squid 13
Browse files Browse the repository at this point in the history
  • Loading branch information
toniocodo committed Jul 4, 2024
1 parent 71ecebd commit 3e395ae
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .graphqlconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
}
4 changes: 2 additions & 2 deletions apps/prime/.env
Original file line number Diff line number Diff line change
@@ -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=
Expand Down
4 changes: 2 additions & 2 deletions libs/prime/shared/codegen.ts
Original file line number Diff line number Diff line change
@@ -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: {
Expand Down

0 comments on commit 3e395ae

Please sign in to comment.