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

Is it correct to use the same types for Substrate chain mainnet and testnet? #330

Open
khssnv opened this issue Aug 6, 2024 · 0 comments

Comments

@khssnv
Copy link

khssnv commented Aug 6, 2024

In my case each network has its own runtime, but runtime spec versioning scheme is the same and pallets versions are the same under the same runtime spec version. Also mainnet skips some runtime upgrades applied to testnet (release candidates). I've generated types using testnet spec versions *.jsonl file and mainnet indexing seems working. But I'm wondering if it is a correct approach since squid-substrate-typegen does not produce the same output to src/types for each runtime. I can imagine the same question arises for all the Polkadot parachains which have a canary or testnet in Kusama, Rococo, or Paseo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant