Skip to content

[stream] cli works well but no data in postgres #467

Description

@linlin1988

im trying to extract transactions data to my local postgres db
everything works well , but when a count rows data, its empty.

my enviroment

ethereumetl, version 2.3.1
os: macos apple m2
postgres version 15.4 , deploy in macos [localhost]

my command

ethereumetl stream --start-block 200000 -e transaction --provider-uri https://rpc.ankr.com/eth --output=postgresql+pg8000://postgres:oop123oop@127.0.0.1:5432/postgres

cli output

image

postgres output

no data, very sad !!!

postgres=# \d
List of relations
Schema | Name | Type | Owner
--------+--------------+-------+----------
public | transactions | table | postgres
public | users | table | postgres
(2 rows)

postgres=#
postgres=# select count(*) from transactions;
count

 0

(1 row)

my try

postgres logs seems ok . no errors log
ethereum-etl cli stdout is also ok , no erros, just some INFO log for "INSERT INTO transactions xxxx"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions