[BUG] Nonce too high error on Debug_* Method
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
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"}}
thanks @adammilnesmith! we have a PR in progress that we should be able to roll out in a few weeks: https://github.com/sei-protocol/sei-chain/pull/1778
@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"}
bump, this is still happening
name: sei
server_name: <appd>
version: v6.0.1-hotfix-rpc-9
commit: 1ec1ee81e9bec0e8e3b7e93e5ac995edca44e55a
build_tags: netgo,
go: go version go1.21.13 linux/amd64
build_deps:
- cosmossdk.io/[email protected]
- filippo.io/[email protected]
- github.com/99designs/[email protected]
The payload
{"method":"debug_traceTransaction","params":["0x1bf617c50861a1865f09f53a57c489dd04e9941f2d26b4d2b035f7f9ea73a226", {"tracer": "callTracer"}], "id":1,"jsonrpc":"2.0"}
is returning
{"jsonrpc":"2.0","id":1,"error":{"code":-32000,"message":"tracing failed: nonce too high: address 0x281BEaf7a2d97509C38af07Da528f0dE138DAD2F, tx: 258 state: 227"}}