Closed skinderis closed 3 years ago
It because here:
917
918 """
--> 919 response = self.rpc_request("chain_getRuntimeVersion", [block_hash])
920
921 if 'error' in response:
response is:
{'jsonrpc': '2.0', 'error': {'code': -32603, 'message': 'Unknown error occurred', 'data': 'Client(UnknownBlock("State already discarded for BlockId::Hash(0x39fd73b41d6fc74e390e00c5c43b458ee56feb21a37b951af0643edf661f1ab7)"))'}, 'id': 4}
How can I get decoded data from blocks that are returning this response?
Closing, as it's not related to py-substrate-interface, this happens because I am running light node
I get SubstrateRequestException errors on Westend node while trying to call get_block_extrinsics.
I think it because it's another runtime, but how can I access blocks data of past runtimes?