Skip to content

dRPC logs two "nonce too low" errors for each landed redeemMany; the node send succeeds #2465

Closed

Description

@thiras

Observation

The dRPC dashboard (key internal-devops, Arbitrum Sepolia) shows a steady stream of -32000: nonce too low errors on eth_sendRawTransaction. The errors come in pairs, with two in the same second. Addresses seen: 0xAFb6D4D5… (bcl), 0xCd21BEc4… (hil1), 0xDb0EE08E….

Each pair comes about one second before a node logs a landed redeemMany from the same address (UTC, 2026-10-14):

dRPC error pair Node Node log
17:10:05 ×2 (0xAFb6…) bcl 17:10:06 batched lane redemption landed (redeemMany) tx 0xe0277327…
17:12:54 ×2 (0xCd21…) hil1 17:12:55 landed, tx 0x452ae649…
17:20:05 ×2 (0xAFb6…) bcl 17:20:06 landed, tx 0x9327b92f…
17:39:11 ×2 (0xAFb6…) bcl 17:39:12 landed, tx 0x874971b2…
17:59:12 ×2 (0xAFb6…) bcl 17:59:13 landed, tx 0xe438f803…

The node does not see these errors:

  • decdn_rpc_requests_total{method="eth_sendRawTransaction"} over the 6 h to 18:01 UTC has only outcome="ok" (bcl 9, hil1 2, ash1 2, hel1 2, lon1 2, fra1 1, nbg1 1, sin1 1). rpc_error is 0 on every node.
  • No node logged nonce too low on 2026-10-14.
  • The node transport has no retry layer (metered_http_client), and redeemMany sends once. So the node did not send the extra copies.

Diagnosis

The dRPC gateway sends each raw transaction to more than one upstream. One upstream accepts it. The tx then mines within about a second (Arbitrum Sepolia blocks are fast). The other two upstreams then reject the same signed tx with nonce too low. dRPC logs those upstream rejections in the key's error log, but it returns the accepted response to the node.

So today this is dashboard noise. It does not affect settlement.

Risk

The diagnosis means a single send can get both answers from the gateway: "accepted" from one upstream and "nonce too low" from another. Today dRPC returns the accepted answer. If it ever returns the rejection (for example, when the accepting upstream answers last or times out), the node misreads a tx that landed:

  • decdn_incentive::tx::send_broadcast_unknown treats every ErrorResp as a clean rejection that broadcast nothing.
  • decdn_client::buyer_pool::top_up matches nonce too low with tx::is_nonce_collision and re-sends the topUp on a fresh nonce up to three times. If the first topUp landed, the retry escrows a second time.

This is the same gap class as #2432 (already known), but here the error text is one that we deliberately retry on.

Next steps

  1. Confirm the fan-out with dRPC: does eth_sendRawTransaction go to several upstreams, and which response does the gateway return when they disagree?
  2. If dRPC can return an upstream rejection for a tx that another upstream accepted, make top_up check before it re-sends on nonce too low. For example, sign the tx locally, keep its hash, and query eth_getTransactionByHash / the receipt before the retry. Apply the same check to every other is_nonce_collision and ErrorResp-is-clean-rejection site.
  3. Optional: filter nonce too low on eth_sendRawTransaction out of any dRPC error-log alert, so this noise does not hide real errors.

Activity

  1. added
    prio:low
    area:node
    area:payments
    on Oct 14, 2026
  2. thiras commented on Oct 24, 2026

    @thiras
    ContributorAuthor

    Closing: the code risk this issue names is fixed, and what is left is dashboard noise.

    Step 1 (confirming the fan-out with dRPC) and step 3 (filtering nonce too low on eth_sendRawTransaction out of the dRPC error-log alert) are operator-dashboard choices for the internal-devops key, not code in this repo.

  3. moved this from Backlog to Done in deCDNon Oct 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:nodearea:paymentsprio:low

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions