Skip to content

[config] change relay/para builders to be more explicit and less confusing. #217

Open
@pepoviola

Description

@pepoviola

Currently we have with_node (in relay) and with_collator (in para) but the node is by default a validator and can be confusing. To reduce the friction we should:

In relay builder:
add:
with_validator (make authority, pass --validator flag)
change:
add_node (full node)

In para builder:
add:
add_node (full node)
change:
with_collator (make authority, pass --collator flag)

And remove the methods that allow to set the role of the node.


cc: @bkchr

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions