Developers Forum for XinFin XDC Network

buran
buran

Posted on

nonce too low happens when calling debug_traceBlockByNumber API.

Calling debug_traceBlockByNumber returns a "nonce too low" error.
This is easily reproduced by the following curl command.
I also run my own archive node and it return the same, which means this issue is a software one instead of a node dependant issue.
This error happens with some specific block.
I found blocks 0x2e0b6e0 and 0x2e0b6ee are so.

curl --location 'https://erpc.xinfin.network' \
--header 'Content-Type: application/json' \
--data '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "debug_traceBlockByNumber",
  "params": ["0x2e0b6e0"]
}'
{"jsonrpc":"2.0","id":1,"error":{"code":-32000,"message":"nonce too low"}}
Enter fullscreen mode Exit fullscreen mode
curl --location 'https://erpc.xdcrpc.com/' \
--header 'Content-Type: application/json' \
--data '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "debug_traceBlockByNumber",
  "params": ["0x2e0b6e0"] 
}'
{"jsonrpc":"2.0","id":1,"error":{"code":-32000,"message":"nonce too low"}}
Enter fullscreen mode Exit fullscreen mode

Discussion (5)

Collapse
gzliudan profile image
Daniel Liu

Would you please open an issue on github.com/XinFinOrg/XDPoSChain ? I will follow up your problem.

Collapse
buran profile image
buran Author

Thank you, Daniel.
I opened an issue.
github.com/XinFinOrg/XDPoSChain/is...

Collapse
gzliudan profile image
Daniel Liu
Thread Thread
lance profile image
Lance Lilly

Hello Daniel, are you in the developer discord? If not here is the link discord.gg/MFeHJ6C5gn
If you are please let me know if you dont mind.

Thread Thread
gzliudan profile image
Daniel Liu

Both of my telegram and discord id are gzliudan. But I rarely visit discord.