You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Erigon version: erigon version 2.59.3-088fd8ef Chain/Network: mainnet OS & Version: Ubuntu 20.04.6 LTS, CPU E5-2695 v4, 36 cores, 192 Gb RAM Disk: NVMe HPE MT006400KWHAE 6.4 Tb
Some months ago I used --internalcl in erigon command: ExecStart=/home/root/erigon/build/bin/erigon --internalcl --datadir=/disk_sde/erigon --ws --http.api=eth,erigon,engine,web3,net,debug,trace,txpool --authrpc.jwtsecret=/home/root/erigon/jwtsecret --prune.h.before=13916166 --prune.r.before=13916166 --prune.t.before=13916166 --prune.c.before=13916166 --torrent.download.rate=128mb --rpc.batch.limit=5000
Then I changed to lighthouse: ExecStart=/home/root/erigon/build/bin/erigon --datadir=/disk_sde/erigon --ws --http.api=eth,erigon,engine,web3,net,debug,trace,txpool --authrpc.jwtsecret=/home/root/erigon/jwtsecret --prune.h.before=13916166 --prune.r.before=13916166 --prune.t.before=13916166 --prune.c.before=13916166 --torrent.download.rate=128mb --rpc.batch.limit=5000
Problem:
I am indexing ethereum blockchain to my database and blocks before 20000000 are indexed. Now, I need to do some requests again and noticed that I can not get data before 19999999 block (159 days ago), but starting from 20000000 I can.
Why is this and how to fix? Some months ago I used Caplin, but now Lighthouse, don't know if it's important.
Example:
testnet='http://127.0.0.1:8545'_block_number=19928858# 169 days agoblock=requests.post(testnet, json={"method":"eth_getBlockByNumber","params":[hex(_block_number),True],"id":1,"jsonrpc":"2.0"}, headers={"Content-Type": "application/json"}).json()
print(block)
# 19985875 block 161 days ago_hash='0xd18269cdb834bff00e6d3331f8f699f4ff05f514bcba739ab0e55b4625c89335'tx=requests.post(testnet, json={"method":"eth_getTransactionByHash","params":[_hash],"id":2,"jsonrpc":"2.0"}, headers={"Content-Type": "application/json"}).json()
print(tx)
_block_number=19999999# 159 days agoblock=requests.post(testnet, json={"method":"eth_getBlockByNumber","params":[hex(_block_number),True],"id":3,"jsonrpc":"2.0"}, headers={"Content-Type": "application/json"}).json()
print(block)
_block_number=20000000# 159 days agoblock=requests.post(testnet, json={"method":"eth_getBlockByNumber","params":[hex(_block_number),True],"id":4,"jsonrpc":"2.0"}, headers={"Content-Type": "application/json"}).json()
print(block)
Upd: I noticed that I can get data by block 19899999 (174 days ago), but can not starting from 19900000.
So the problem is that blocks 19900000 .. 19999999 (174 days .. 160 days ago) are gone somewhere.
Erigon version: erigon version 2.59.3-088fd8ef
Chain/Network: mainnet
OS & Version: Ubuntu 20.04.6 LTS, CPU E5-2695 v4, 36 cores, 192 Gb RAM
Disk: NVMe HPE MT006400KWHAE 6.4 Tb
Some months ago I used
--internalcl
in erigon command:ExecStart=/home/root/erigon/build/bin/erigon --internalcl --datadir=/disk_sde/erigon --ws --http.api=eth,erigon,engine,web3,net,debug,trace,txpool --authrpc.jwtsecret=/home/root/erigon/jwtsecret --prune.h.before=13916166 --prune.r.before=13916166 --prune.t.before=13916166 --prune.c.before=13916166 --torrent.download.rate=128mb --rpc.batch.limit=5000
Then I changed to lighthouse:
ExecStart=/home/root/erigon/build/bin/erigon --datadir=/disk_sde/erigon --ws --http.api=eth,erigon,engine,web3,net,debug,trace,txpool --authrpc.jwtsecret=/home/root/erigon/jwtsecret --prune.h.before=13916166 --prune.r.before=13916166 --prune.t.before=13916166 --prune.c.before=13916166 --torrent.download.rate=128mb --rpc.batch.limit=5000
Lighthouse command:
Problem:
I am indexing ethereum blockchain to my database and blocks before 20000000 are indexed. Now, I need to do some requests again and noticed that I can not get data before 19999999 block (159 days ago), but starting from 20000000 I can.
Why is this and how to fix? Some months ago I used Caplin, but now Lighthouse, don't know if it's important.
Example:
Result:
In journal I see a lot of:
The text was updated successfully, but these errors were encountered: