Skip to content

Erigon eth_getLogs output differs between Erigon v3.0.12 and v3.0.15 #17097

@luarx

Description

@luarx

System information

Erigon version: v3.0.15

OS & Version: [Windows/Linux/OSX]: https://hub.docker.com/layers/erigontech/erigon/v3.0.15/images/sha256-1e11c2101c40c1de69c9f69bc1e73d61106f642bc2cb8be64bf84838962f41ba

Erigon Command (with flags/config):

[
            "--chain=mainnet",
            "--datadir=/home/erigon/.local/share/erigon",
            "--db.size.limit=8TB",
            "--metrics",
            "--metrics.addr=0.0.0.0",
            "--metrics.port=6060",
            "--private.api.addr=0.0.0.0:9089",
            "--pprof",
            "--pprof.addr=0.0.0.0",
            "--pprof.port=6061",
            "--externalcl",
            "--torrent.upload.rate=500mb",
            "--torrent.download.rate=1200mb",
            "--http",
            "--http.api=engine,net,eth,debug,trace,txpool,web3",
            "--http.addr=0.0.0.0",
            "--http.port=8545",
            "--http.vhosts=*",
            "--http.corsdomain=*",
            "--authrpc.addr=0.0.0.0",
            "--authrpc.jwtsecret=/mnt/jwtsecret/jwtsecret",
            "--authrpc.port=9545",
            "--authrpc.vhosts=*",
            "--prune.mode=archive", 
            "--rpc.batch.limit=1000",
            "--rpc.returndata.limit=500000", 
            "--trace.maxtraces=5000000" 
            ]

Consensus Layer: Lighthouse(v7.0.1)

Consensus Layer Command (with flags/config):

[
              "--debug-level=info",
              "--datadir=/beacondata",
              "--network=mainnet",
              "beacon_node",
              "--disable-enr-auto-update",
              "--enr-address=127.0.0.1",
              "--enr-tcp-port=9000",
              "--enr-udp-port=9000",
              "--port=9000" ,
              "--discovery-port=9000",
              "--eth1",
              "--http",
              "--http-address=0.0.0.0",
              "--http-port=5052",
              "--metrics",
              "--metrics-address=0.0.0.0",
              "--metrics-port=5054",
              "--listen-address=0.0.0.0",
              "--target-peers=100",
              "--disable-packet-filter",
              "--execution-endpoint=http://localhost:9545",
              "--jwt-secrets=/tmp/jwtsecret",
              "--disable-deposit-contract-sync",
              "--checkpoint-sync-url=https://beaconstate-mainnet.chainsafe.io"
              ]

Chain/Network: Mainnet

Expected behaviour

erigon-v3.0.12.txt

Actual behaviour

  • There are 997 entries for the new version, 992 for the 3.0.12
  • All the missing logs belong to transaction 0x68d69e…b72641
  • They are logs from USDT, Transfer and Approval

erigon-v3.0.15.txt

Steps to reproduce the behaviour

curl --location 'http://localhost:8545' \
--header 'Content-Type: application/json' \
--data '{
    "jsonrpc":"2.0",
    "method":"eth_getLogs",
    "params":[{"fromBlock":"0x15dcead","toBlock":"0x15dcec1","address":"0xdAC17F958D2ee523a2206206994597C13D831ec7"}],
    "id":1
  }'

Backtrace

[backtrace]

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions