Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is the Ethereum node I am running normal? #29374

Closed
junghyun0783 opened this issue Mar 28, 2024 · 2 comments
Closed

Is the Ethereum node I am running normal? #29374

junghyun0783 opened this issue Mar 28, 2024 · 2 comments

Comments

@junghyun0783
Copy link

junghyun0783 commented Mar 28, 2024

We are currently creating and running a new sepolia testnet node.
However, when calling eth_blockNumber RPC
{
"jsonrpc": "2.0",
"id": "1",
"result": "0x0"
}
You will receive the results.

Can I confirm that the EL and CL I am currently running are operating normally?
Let me show you the log.

47

If I wait a little longer, will the result I want be an RPC?
Please experts help me...

@rjl493456442
Copy link
Member

rjl493456442 commented Mar 28, 2024

Your Geth node is still syncing.

However, when calling eth_blockNumber RPC
{
"jsonrpc": "2.0",
"id": "1",
"result": "0x0"
}
You will receive the results.

Yes Geth will respond you a chain head even during the state sync stage, although the head is 0.

You can use eth_syncing RPC to determine the sync progress.

@junghyun0783
Copy link
Author

junghyun0783 commented Mar 28, 2024

@rjl493456442
Thank you for your kind reply.
This is the result of eth_syncing.
Is there anything wrong?
If all goes well, when will “eth_blockNumber” be called?
For reference, syncmode is snap.

{
    "jsonrpc": "2.0",
    "id": "1",
    "result": {
        "currentBlock": "0x172633",
        "healedBytecodeBytes": "0x0",
        "healedBytecodes": "0x0",
        "healedTrienodeBytes": "0x0",
        "healedTrienodes": "0x0",
        "healingBytecode": "0x0",
        "healingTrienodes": "0x0",
        "highestBlock": "0x172674",
        "startingBlock": "0x0",
        "syncedAccountBytes": "0x0",
        "syncedAccounts": "0x0",
        "syncedBytecodeBytes": "0x0",
        "syncedBytecodes": "0x0",
        "syncedStorage": "0x0",
        "syncedStorageBytes": "0x0",
        "txIndexFinishedBlocks": "0x0",
        "txIndexRemainingBlocks": "0x1"
    }
}

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

No branches or pull requests

2 participants