debug: small clarification about getAccessibleState

This commit is contained in:
Sina Mahmoodi 2022-10-20 14:01:36 +02:00 committed by GitHub
parent f314538c72
commit 428576604a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 block. The (from, to) parameters are the sequence of blocks
to search, which can go either forwards or backwards. 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 | | Client | Method invocation |
|:--------|-----------------------------------------------------------------------| |:--------|-----------------------------------------------------------------------|
| Console | `debug.getAccessibleState(from, to rpc.BlockNumber)` | | Console | `debug.getAccessibleState(from, to rpc.BlockNumber)` |