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

[BUG] Nonce too high error on Debug_* Method #1776

Open
quick-pawiromitchel opened this issue Jul 18, 2024 · 3 comments
Open

[BUG] Nonce too high error on Debug_* Method #1776

quick-pawiromitchel opened this issue Jul 18, 2024 · 3 comments
Assignees
Labels
bug Something isn't working linear Created by Linear-GitHub Sync

Comments

@quick-pawiromitchel
Copy link

Seid version
Show us output of seid version --long | head

name: sei
server_name: <appd>
version: v5.6.2
commit: 6bad61226f092fadad126d78f52e1cbab3b13d7a
build_tags: netgo,
go: go version go1.21.10 linux/amd64
build_deps:
- cosmossdk.io/[email protected]
- filippo.io/[email protected]
- github.com/99designs/[email protected]

Chain ID
Sei Pacific - 1329

Describe the bug
A clear and concise description of what the bug is.
This payload (also reproducible on public RPC https://evm-rpc.sei-apis.com/)

{"method":"debug_traceBlockByNumber","params":["0x5552eeb", {"tracer": "callTracer"}],"id":1,"jsonrpc":"2.0"}

returns

{
  "jsonrpc": "2.0",
  "id": 1,
  "error": {
    "code": -32000,
    "message": "tracing failed: nonce too high: address 0xAff2C936E5E5Fd1027F581b3A8189C681F804551, tx: 1050 state: 1041"
  }
}

https://www.seiscan.app/pacific-1/blocks/89468651

@quick-pawiromitchel quick-pawiromitchel added bug Something isn't working linear Created by Linear-GitHub Sync labels Jul 18, 2024
@adammilnesmith
Copy link

Attaching the set of blocks that seem to be affected in case more examples are helpful:

debug_traceBlockByNumber 81772279 (0x4dfbef7):
{"jsonrpc":"2.0","id":1,"error":{"code":-32000,"message":"tracing failed: nonce too high: address 0x7Ac6d25FD5E437cB7c57Aee77aC2d0A6Cb85936C, tx: 979342 state: 979341"}}

debug_traceBlockByNumber 82385817 (0x4e91b99):
{"jsonrpc":"2.0","id":1,"error":{"code":-32000,"message":"tracing failed: nonce too high: address 0xfD4de3dB3eF2959C538045BCbda87804B3278265, tx: 2157 state: 2156"}}

debug_traceBlockByNumber 89130565 (0x5500645):
{"jsonrpc":"2.0","id":1,"error":{"code":-32000,"message":"tracing failed: nonce too high: address 0x6F578bF0Cca6af7A0b5Ee0Fa8c86098fBB86d2Bf, tx: 6 state: 5"}}

debug_traceBlockByNumber 89468642 (0x5552ee2):
{"jsonrpc":"2.0","id":1,"error":{"code":-32000,"message":"tracing failed: nonce too high: address 0xAff2C936E5E5Fd1027F581b3A8189C681F804551, tx: 1042 state: 1041"}}

debug_traceBlockByNumber 89468643 (0x5552ee3):
{"jsonrpc":"2.0","id":1,"error":{"code":-32000,"message":"tracing failed: nonce too high: address 0xAff2C936E5E5Fd1027F581b3A8189C681F804551, tx: 1043 state: 1041"}}

debug_traceBlockByNumber 89468644 (0x5552ee4):
{"jsonrpc":"2.0","id":1,"error":{"code":-32000,"message":"tracing failed: nonce too high: address 0xAff2C936E5E5Fd1027F581b3A8189C681F804551, tx: 1044 state: 1041"}}

debug_traceBlockByNumber 89468646 (0x5552ee6):
{"jsonrpc":"2.0","id":1,"error":{"code":-32000,"message":"tracing failed: nonce too high: address 0xAff2C936E5E5Fd1027F581b3A8189C681F804551, tx: 1045 state: 1041"}}

debug_traceBlockByNumber 89468647 (0x5552ee7):
{"jsonrpc":"2.0","id":1,"error":{"code":-32000,"message":"tracing failed: nonce too high: address 0xAff2C936E5E5Fd1027F581b3A8189C681F804551, tx: 1046 state: 1041"}}

debug_traceBlockByNumber 89468648 (0x5552ee8):
{"jsonrpc":"2.0","id":1,"error":{"code":-32000,"message":"tracing failed: nonce too high: address 0xAff2C936E5E5Fd1027F581b3A8189C681F804551, tx: 1047 state: 1041"}}

debug_traceBlockByNumber 89468649 (0x5552ee9):
{"jsonrpc":"2.0","id":1,"error":{"code":-32000,"message":"tracing failed: nonce too high: address 0xAff2C936E5E5Fd1027F581b3A8189C681F804551, tx: 1048 state: 1041"}}

debug_traceBlockByNumber 89468650 (0x5552eea):
{"jsonrpc":"2.0","id":1,"error":{"code":-32000,"message":"tracing failed: nonce too high: address 0xAff2C936E5E5Fd1027F581b3A8189C681F804551, tx: 1049 state: 1041"}}

debug_traceBlockByNumber 89468651 (0x5552eeb):
{"jsonrpc":"2.0","id":1,"error":{"code":-32000,"message":"tracing failed: nonce too high: address 0xAff2C936E5E5Fd1027F581b3A8189C681F804551, tx: 1050 state: 1041"}}

debug_traceBlockByNumber 89468652 (0x5552eec):
{"jsonrpc":"2.0","id":1,"error":{"code":-32000,"message":"tracing failed: nonce too high: address 0xAff2C936E5E5Fd1027F581b3A8189C681F804551, tx: 1051 state: 1041"}}

@philipsu522
Copy link
Contributor

thanks @adammilnesmith! we have a PR in progress that we should be able to roll out in a few weeks: #1778

@ella-quicknode
Copy link

@philipsu522 Hi, the issue seemed is still persisting with higher block number.

{"method":"debug_traceBlockByNumber","params":["0x620BB33", {"tracer": "callTracer", "timeout": "119s", "tracerConfig": {"onlyTopCall": false, "withLog": true}}],"id":1,"jsonrpc":"2.0"}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working linear Created by Linear-GitHub Sync
Projects
None yet
Development

No branches or pull requests

6 participants