Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade Squid to work with parachain 1.21.0 #60

Closed
bvotteler opened this issue Jan 17, 2023 · 1 comment · Fixed by #61
Closed

Upgrade Squid to work with parachain 1.21.0 #60

bvotteler opened this issue Jan 17, 2023 · 1 comment · Fixed by #61
Assignees
Labels
enhancement New feature or request prio:critical

Comments

@bvotteler
Copy link
Contributor

As part of issue #35 we need to be able to run squid on runtime version 1021000.

Docker images are available to run the parachain locally and get the metadata through that for typegen.
(parachain image name: interlayhq/interbtc:1.21.0, clients version 1.19.0)

@bvotteler bvotteler added enhancement New feature or request prio:critical labels Jan 17, 2023
@bvotteler bvotteler self-assigned this Jan 17, 2023
@nud3l nud3l added this to Backlog Jan 17, 2023
@github-project-automation github-project-automation bot moved this to New 🆕 in Backlog Jan 17, 2023
@bvotteler
Copy link
Contributor Author

For (future) reference, notes on how to manually merge types from various chains:

  1. Save mainnet versions into chainVersions.jsonl with squid-substrate-metadata-explorer(1) - https://github.com/subsquid/squid-sdk/blob/ab1cae1eb6c9c4a34760f4fea09dff45c2f4065b/substrate/substrate-metadata-explorer/README.md
  2. Save testnet versions into a separate file with the same tool
  3. Copy testnet versions into a main file, possibly adjusting .specName, .specVersions fields as needed.
    • specName in particular should have same name otherwise generation creates isV names some with specName in it
  4. Just pass the resulting file to a typegen

This preserves the "old" versions that are present on mainnet chains.

@bvotteler bvotteler mentioned this issue Jan 17, 2023
7 tasks
@bvotteler bvotteler moved this from New 🆕 to Development 🏗️ in Backlog Jan 17, 2023
@github-project-automation github-project-automation bot moved this from Development 🏗️ to Done ✅ in Backlog Jan 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request prio:critical
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant