subsquid / squid-sdk

The main repo of the squid SDK
Apache License 2.0
1.23k stars 151 forks source link

Metadata decoding failed due to weight change #130

Closed gregdhill closed 1 year ago

gregdhill commented 2 years ago

Describe the bug Our process lost connection and failed to restart due to the weights v2 Substrate change.

Expected behavior Metadata decoding should be dynamic so this should not have caused the process to exit.

Environment (please complete the following information):

Applicable to decoding issues:

Additional context The weight type was fixed in the latest scale-codec package but I am aware this type is expected to change again so I am hoping that this doesn't require any additional manual changes.

dzhelezov commented 2 years ago

Hey can you please elaborate on your setup? Are you talking about substrate-processor or substrate-ingest? Note that the support of pre-FireSquid versions (0.x) has been discontinued and we recommend upgrading to the latest subsquid/substrate-processor:2.0.1