From a7880735f354c31d005be0449a3c9131e0d87a20 Mon Sep 17 00:00:00 2001 From: BD Himes Date: Thu, 22 Jan 2026 20:44:52 +0200 Subject: [PATCH 1/2] Adds note about block 5611654 decoding --- contrib/DEBUGGING.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/contrib/DEBUGGING.md b/contrib/DEBUGGING.md index 13b9055376..07c21bf535 100644 --- a/contrib/DEBUGGING.md +++ b/contrib/DEBUGGING.md @@ -160,3 +160,13 @@ $ ag "query_subtensor" ``` Remember, debugging involves a lot of trial and error. Don't be discouraged if things don't work right away. Keep trying different things, and don't hesitate to ask for help if you need it. + +## Problem With Block 5611654 + +If you are having problems decoding the extrinsics or events on block 5611654 of finney, it is due to a your Python +interpreter's default recursion limit. Simply change your system recursion limit: + +```python +import sys +sys.setrecursionlimit(100_000) +``` From e3e4cf95e0b9751960973a53e35f11615129b86c Mon Sep 17 00:00:00 2001 From: BD Himes Date: Thu, 22 Jan 2026 20:53:06 +0200 Subject: [PATCH 2/2] More conservative number --- contrib/DEBUGGING.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/contrib/DEBUGGING.md b/contrib/DEBUGGING.md index 07c21bf535..41992c20ca 100644 --- a/contrib/DEBUGGING.md +++ b/contrib/DEBUGGING.md @@ -163,10 +163,11 @@ Remember, debugging involves a lot of trial and error. Don't be discouraged if t ## Problem With Block 5611654 -If you are having problems decoding the extrinsics or events on block 5611654 of finney, it is due to a your Python -interpreter's default recursion limit. Simply change your system recursion limit: +If you are having problems decoding the extrinsics on block 5611654 of finney, it is due to a your Python +interpreter's default recursion limit. Simply change your system recursion limit, by setting it (default 1_000) to +any integer greater than or equal to 3049 ```python import sys -sys.setrecursionlimit(100_000) +sys.setrecursionlimit(3050) # works ```