From 51674bcee999ffef9fbc01bdc8f7fc450b97af36 Mon Sep 17 00:00:00 2001 From: awskii Date: Tue, 11 Aug 2026 13:38:08 +0700 Subject: [PATCH] integration_test: debug_traceBlockByNumber(pending) now returns an error Erigon rejects the pending tag on the tracing methods: they resolve and replay on the committed view, which holds no pending block, so answering would trace the latest executed block and report it as pending. Depends on erigontech/erigon#22533. --- .../mainnet/debug_traceBlockByNumber/test_25.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/integration/mainnet/debug_traceBlockByNumber/test_25.json b/integration/mainnet/debug_traceBlockByNumber/test_25.json index e630b72a..f6e473a4 100644 --- a/integration/mainnet/debug_traceBlockByNumber/test_25.json +++ b/integration/mainnet/debug_traceBlockByNumber/test_25.json @@ -16,11 +16,15 @@ "response": { "id": 1, "jsonrpc": "2.0", - "result": null + "result": null, + "error": { + "code": -32000, + "message": "tracing on top of pending is not supported" + } }, "test": { - "description": "trace the pending block", + "description": "trace the pending block: rejected, tracing replays committed state", "reference": "" } } -] \ No newline at end of file +]