From ac508f483081cae56c4dcd61929bfe9b55731b15 Mon Sep 17 00:00:00 2001 From: Mohammed Sohail Date: Thu, 31 Oct 2024 10:46:03 +0300 Subject: [PATCH] conf: update to latest spec --- config.toml | 8 ++------ dev/docker-compose.yaml | 4 ++-- dev/init_db.sql | 2 +- 3 files changed, 5 insertions(+), 9 deletions(-) diff --git a/config.toml b/config.toml index 9ec9476..af16d9b 100644 --- a/config.toml +++ b/config.toml @@ -5,16 +5,12 @@ go_process = true address = ":5002" [postgres] -dsn = "postgres://postgres:postgres@127.0.0.1:5433/ge_celo_data" +dsn = "postgres://postgres:postgres@127.0.0.1:5433/chain_data" [jetstream] endpoint = "nats://127.0.0.1:4222" -id = "celo-indexer-1" +id = "eth-indexer-1" [chain] rpc_endpoint = "http://localhost:8545" chainid = 1337 - -[bootstrap] -# This will bootstrap the cache on which addresses to track -ge_registries = ["0xE979a64D375F5D363d7cecF3c93B9aFD40Ba9f55"] diff --git a/dev/docker-compose.yaml b/dev/docker-compose.yaml index 2e8ef4e..6f233e1 100644 --- a/dev/docker-compose.yaml +++ b/dev/docker-compose.yaml @@ -16,8 +16,8 @@ services: interval: 10s timeout: 5s retries: 5 - celo-indexer: - image: celo-indexer:latest + eth-indexer: + image: ghcr.io/grassrootseconomics/eth-indexer:latest restart: unless-stopped depends_on: postgres: diff --git a/dev/init_db.sql b/dev/init_db.sql index beffa89..6574678 100644 --- a/dev/init_db.sql +++ b/dev/init_db.sql @@ -1 +1 @@ -CREATE DATABASE ge_celo_data; \ No newline at end of file +CREATE DATABASE chain_data; \ No newline at end of file