Closed jadechip closed 3 years ago
I temporary disabled the caching of the metadata object in Redis with Dogpile, this led to the pickling errors you encountered. also I updated the application to the latest version of scalecodec
and substrate-interface
in: https://github.com/polkascan/substrate-interface-api/blob/af672d190ca7e6a94f9398ee73be0fdf643de9b2/requirements.txt#L34
To prevent decoding errors on recently introduced types. In case you encounter decoding errors in the future this is something you could check.
Thanks for your reply! Could you kindly elaborate a bit on what gets stored in Redis? I don't see any data being persisted🤔
Basically I only stored the decoded metadata objects (because that is relatively expensive to decode) and the custom types, so you don't have to re-enter that every time.
Thanks for clarifying, closing this issue for now. Cheers!
Hi there! I've deployed the service in a cluster and I get the following error in response to certain API calls such as:
I've verified that this also happens locally, using docker-compose. I've posted the error below. Please advise.
Thank you 🙏