Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Client(UnknownBlock("State already disca rded for Hash XXXXX)) #477

Closed
freddieee opened this issue Oct 15, 2019 · 1 comment
Closed

Client(UnknownBlock("State already disca rded for Hash XXXXX)) #477

freddieee opened this issue Oct 15, 2019 · 1 comment

Comments

@freddieee
Copy link

Hi, when I use RPC call state_getMetadata to query the elder blocks, it cannot retrieve the metadata for those blocks, for example,

u'error': {u'message': u'Unknown error occured', u'code': -32603, u'data': u'Client(UnknownBlock("State already discarded for Hash(0x3bdc554e8e9562f205c47ba4609c0604870258807faf80ab1d6ffc079760d8b0)"))'}}

is there any configuration that can make the node keeps those data?

@gavofyork
Copy link
Member

yes: --pruning=archive. You'll need to resync from scratch, though.

tomusdrw pushed a commit that referenced this issue Mar 26, 2021
* Rialto -> Millau headers relay

* removed more constraints

* removed file from other PR

* Update primitives/rialto/src/lib.rs

Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com>

Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com>
imstar15 pushed a commit to imstar15/polkadot that referenced this issue Aug 25, 2021
* session weight

* decouple session benchmarking and collator selection

* removed mock

* licensing

* benchmarking script

* set benchmarking into runtime

* Update scripts/benchmarks.sh

* real weights

Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants