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

Request: Ability to run parachain full node (not collator) #1450

Open
JoshOrndorff opened this issue Oct 25, 2023 · 4 comments
Open

Request: Ability to run parachain full node (not collator) #1450

JoshOrndorff opened this issue Oct 25, 2023 · 4 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request good first issue Good for newcomers Maintenance V1 maintenance

Comments

@JoshOrndorff
Copy link

Is your feature request related to a problem? Please describe.

It is possible to run both validators and normal non-validating full nodes on the relay-chain side. But on the parachain side, it is only possible to run a collator node, not a normal non-collating full node.

Describe the solution you'd like

I'd like to see an option to put collator = false for parachain nodes, just like how you can put validator = false for relay nodes.

Describe alternatives you've considered

As a short-term workaround I've added a --seriously-dont-collate flag to my node which overrides the --collator flag. This is obviously not ideal though.

Additional context

No response

@JoshOrndorff
Copy link
Author

Aha! I just figured out that you can actually put validator = false under the collators section too. So I already have what I wanted.

It might be nice to make this a little more evident by including it in one of the examples. And since parachain nodes don't actually have to be colaltors, maybe the schema should be renamed to nodes just like in the relay chain section.

Anyway, it works well enough for me, so feel free to close if you don't want to rename or adjust examples :)

@JoshOrndorff
Copy link
Author

And yeah, it might be nice to also allow the syntax collator = false, but again, up to you.

@JoshOrndorff JoshOrndorff changed the title Request: Ability to run parachai nfull node (not collator) Request: Ability to run parachain full node (not collator) Oct 25, 2023
@pepoviola
Copy link
Collaborator

Hey @JoshOrndorff, sorry about the delay. Yes, for nodes (both relaychain or parachains) we use some common fields (like validator), let me explore is we can alias as collator since the terminology is more correct with the context.

Thx!

@pepoviola pepoviola self-assigned this Nov 16, 2023
@pepoviola
Copy link
Collaborator

I think the simplest workaround is to add the collator field to the NodeConfig interface and use that field to evaluate if isValidator in getCollatorNodeFromConfig. Ping @wirednkod did you want to grab this one?

@pepoviola pepoviola removed their assignment Nov 17, 2023
@pepoviola pepoviola added enhancement New feature or request good first issue Good for newcomers labels Nov 17, 2023
@pepoviola pepoviola added documentation Improvements or additions to documentation Maintenance V1 maintenance labels Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request good first issue Good for newcomers Maintenance V1 maintenance
Projects
None yet
Development

No branches or pull requests

2 participants