You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The call storage.mypallet.myitem.v1.is(blockHeader) (where storage is imported from types generated by squid-substrate-typegen) returns true at block at height where it expected to return true for v2 (which added new fields to myitem type) only.
To Reproduce
Setup the project.
git clone --branch debug/khssnv-squid-sdk-bug-report https://github.com/Cerebellum-Network/cere-squid-indexer.gitcd cere-squid-indexernpm i
Launch processor.
docker compose up -d dbsqd process
See error message.
...Unexpected storage layout version selection. Selected v48013 for spec version 54116 which is higher than the next v48017....
Please tell if this one is too large and I'll prepare a minimal reproducible example.
Environment (please complete the following information):
specify the version of the core packages: "@subsquid/substrate-processor": "8.3.0", "@subsquid/substrate-typegen": "8.1.0", "@subsquid/substrate-metadata-explorer": "3.2.0"
node.js version 16
npm version 10.8
OS version Linux x1 6.5.0-1027-oem #28-Ubuntu SMP PREEMPT_DYNAMIC Thu Jul 25 13:32:46 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Describe the bug
The call
storage.mypallet.myitem.v1.is(blockHeader)
(wherestorage
is imported fromtypes
generated bysquid-substrate-typegen
) returnstrue
at block at height where it expected to returntrue
forv2
(which added new fields tomyitem
type) only.To Reproduce
Setup the project.
Launch processor.
See error message.
Please tell if this one is too large and I'll prepare a minimal reproducible example.
Expected behavior
In my specific case with the project set up above, the storage.ddcCustomers.buckets.v48013.is(block) call is expected to return
false
instead oftrue
at height5,238,731
and returntrue
at storage.ddcCustomers.buckets.v54100.is(block).Environment (please complete the following information):
"@subsquid/substrate-processor": "8.3.0"
,"@subsquid/substrate-typegen": "8.1.0"
,"@subsquid/substrate-metadata-explorer": "3.2.0"
16
10.8
Linux x1 6.5.0-1027-oem #28-Ubuntu SMP PREEMPT_DYNAMIC Thu Jul 25 13:32:46 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Applicable to decoding issues:
cere-dev
optional:
5,238,731
ddcCustomers.BucketCreated
54116
wss://archive.devnet.cere.network/ws
The text was updated successfully, but these errors were encountered: