Skip to content

Commit

Permalink
Support 0.13.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
aopoltorzhicky committed Sep 3, 2024
1 parent 2ac00ed commit ee33e09
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
9 changes: 2 additions & 7 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ services:
restart: always
volumes:
- db:/var/lib/postgresql/data
- /etc/postgresql/postgresql.conf:/etc/postgresql/postgresql.conf
ports:
- 127.0.0.1:${POSTGRES_PORT:-5432}:5432
environment:
Expand All @@ -42,18 +41,14 @@ services:
timeout: 5s
retries: 5
logging: *starknet-indexer-logging
command:
- "postgres"
- "-c"
- "config_file=${POSTGRES_CONFIG:-/etc/postgresql/postgresql.conf}"

hasura:
image: hasura/graphql-engine:v2.22.0
image: hasura/graphql-engine:v2.28.0
ports:
- 127.0.0.1:8080:8080
restart: always
environment:
- HASURA_GRAPHQL_DATABASE_URL=postgres://dipdup:${POSTGRES_PASSWORD:-changeme}@db:5432/starknet
- HASURA_GRAPHQL_DATABASE_URL=postgres://${POSTGRES_USER:-dipdup}:${POSTGRES_PASSWORD:-changeme}@${HASURA_POSTGRES_HOST:-db}:${POSTGRES_PORT:-5432}/${POSTGRES_DB:-starknet}
- HASURA_GRAPHQL_ENABLE_CONSOLE=true
- HASURA_GRAPHQL_DEV_MODE=true
- HASURA_GRAPHQL_ENABLED_LOG_TYPES=startup, http-log, webhook-log, websocket-log, query-log
Expand Down
2 changes: 1 addition & 1 deletion pkg/indexer/parser/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func createParser(
"0.10.0", "0.10.1", "0.10.2", "0.10.3",
"0.11.0", "0.11.0.2", "0.11.1", "0.11.2",
"0.12.0", "0.12.1", "0.12.2", "0.12.3",
"0.13.0", "0.13.1", "0.13.1.1", "0.13.2":
"0.13.0", "0.13.1", "0.13.1.1", "0.13.2", "0.13.2.1":
return v0.New(resolver, cache, blocks), nil
default:
return nil, errors.Errorf("unknown starknet version: %s", *version)
Expand Down

0 comments on commit ee33e09

Please sign in to comment.