<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Developers Forum for XinFin XDC Network: buran</title>
    <description>The latest articles on Developers Forum for XinFin XDC Network by buran (@buran).</description>
    <link>https://www.xdc.dev/buran</link>
    <image>
      <url>https://www.xdc.dev/images/xjeuBuiT77sVuMYrYrkf3sHzbAUpzGlLKaHsKVeD6ps/rs:fill:90:90/mb:500000/ar:1/aHR0cHM6Ly93d3cu/eGRjLmRldi91cGxv/YWRzL3VzZXIvcHJv/ZmlsZV9pbWFnZS8x/NjcyLzc3YmNiNmU3/LTcxMTItNGU4MS05/YjlhLTQ5NzI2Njk4/YjU2YS5wbmc</url>
      <title>Developers Forum for XinFin XDC Network: buran</title>
      <link>https://www.xdc.dev/buran</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://www.xdc.dev/feed/buran"/>
    <language>en</language>
    <item>
      <title>nonce too low happens when calling debug_traceBlockByNumber API.</title>
      <dc:creator>buran</dc:creator>
      <pubDate>Wed, 26 Apr 2023 13:23:06 +0000</pubDate>
      <link>https://www.xdc.dev/buran/nonce-too-low-happens-when-calling-debugtraceblockbynumber-api-1f1d</link>
      <guid>https://www.xdc.dev/buran/nonce-too-low-happens-when-calling-debugtraceblockbynumber-api-1f1d</guid>
      <description>&lt;p&gt;Calling &lt;code&gt;debug_traceBlockByNumber&lt;/code&gt; returns a "nonce too low" error.&lt;br&gt;
This is easily reproduced by the following curl command.&lt;br&gt;
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.&lt;br&gt;
This error happens with some specific block.&lt;br&gt;
I found blocks 0x2e0b6e0 and 0x2e0b6ee are so.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;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"}}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;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"}}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>xdc</category>
    </item>
  </channel>
</rss>
