From 428576604a2b79c79bbbc49bcdc526c1a22171d4 Mon Sep 17 00:00:00 2001 From: Sina Mahmoodi <1591639+s1na@users.noreply.github.com> Date: Thu, 20 Oct 2022 14:01:36 +0200 Subject: [PATCH] debug: small clarification about getAccessibleState --- docs/_rpc/ns-debug.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/_rpc/ns-debug.md b/docs/_rpc/ns-debug.md index cd04ffa652..6b00da894d 100644 --- a/docs/_rpc/ns-debug.md +++ b/docs/_rpc/ns-debug.md @@ -201,6 +201,8 @@ This is the post-state of that block and the pre-state of the next block. The (from, to) parameters are the sequence of blocks to search, which can go either forwards or backwards. +Note: to get the last state pass in the range of blocks in reverse, i.e. (last, first). + | Client | Method invocation | |:--------|-----------------------------------------------------------------------| | Console | `debug.getAccessibleState(from, to rpc.BlockNumber)` |