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

Any chance to skip relay chain to allow chains without it #7

Open
armchairancap opened this issue Dec 20, 2024 · 3 comments
Open

Any chance to skip relay chain to allow chains without it #7

armchairancap opened this issue Dec 20, 2024 · 3 comments

Comments

@armchairancap
Copy link

I know this is outside of the scope right now, but is there a way to omit relay chain for networks that don't have it?

relay_chain: 
chain: "xxnetwork"
wss: ws://192.168.1.70:63007
create_db: true  # Set to true if database needs to be created
retain_db: true  # Set to true to retain database after the end of process.
...

It appears that without it one could hack the startup script, but what happens after that is probably not good (haven't gotten that far, but I assume). If it could be skipped in config file and later (if relay_chain == None, etc) , that would let us proceed even at the cost of some functionality being unavailable and I could live with that.

Another question/problem (maybe not highly relevant now, but..): what is the chain value supposed to be? Is that arbitrary or based on the SS58 registry entry entries? For some network this doesn't matter, but our network name has a space in it, but in SS58 registry it does not.

My network RPC and ID (+ metadata):

@rogerjbos
Copy link
Collaborator

For relay_chain we use solo for chains that are neither polkadot nor kusama. I believe the chain name is arbitrary and probably best not to include spaces.

@armchairancap
Copy link
Author

Thank you!

It'd be good to have that added to README.md for others who may have similar questions!

@pranaydotparity
Copy link
Collaborator

@armchairancap Added a little more info on how to setup the config.yaml to README.
Also added default values for relay_chain and chain in case if you don't add anything on the config file.

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

3 participants