BuildOnViction / victionchain

The Efficient Blockchain Powered By Proof Of Stake Voting Consensus
https://viction.xyz
GNU Lesser General Public License v3.0
168 stars 85 forks source link

Nonce too low when calling debug_traceBlockByNumber #465

Closed imterryyy closed 15 hours ago

imterryyy commented 1 month ago

Description

When calling debug_traceBlockByNumber, many blocks returns nonce too low response. This become an issue because many partners need that API to extract data from the chain.

It is suspected that transaction from TomoX is the cause of this issue. If you need to access live production node, please request.

How to produce

Call RPC to this endpoint ${RPC_ENDPOINT} with blocknumber #20581711

curl -s -X POST --data '[{""id"":1,""jsonrpc"":""2.0"",""method"":""debug_traceBlockByNumber"",""params"":[""0x13A0D4F"", {""tracer"": ""callTracer""}]}]' -H ""Content-Type: application/json"" ${RPC_ENDPOINT}"
imterryyy commented 15 hours ago

Fix by: https://github.com/BuildOnViction/victionchain/pull/466