Closed xianghl01 closed 1 month ago
I have the same issue, It probably stems from not configuring $CONFIG/trueBlocks.toml
from installation guide https://trueblocks.io/docs/install/install-core/
Edit the trueBlocks.toml
with a provider
This issue is almost certainly caused by not having properly modified your configuration to point to a valid RPC provider for the Eth mainnet (Eth mainnet is the only required RPC).
You should be able to do this with chifra config edit
.
If that doesn't work, edit the trueBlocks.toml
file found when you enter chifra config --paths
.
Once you're inside the .toml
file, find the section called [chains]
. Within that section, find a section called [mainnet]
. Modify the rpcProvider
to point to a valid RPC provider for mainnet Ethereum. (You can search the web for such.)
Another thing to note. In order for the chifra init
command to work, your node must be synced to at least block 18,538,072. You will get this message if your node is not at least that far advanced.
You can check how far you're synced with chifra when latest
.
I think this is fixed. A change will come to develop
soon (and master
soon thereafter). I will close this in the hopes that it's fixed. If not, we can re-open it.
when I run
chifra blocks 12
, the result iswhat should i do