paritytech / zombienet-sdk

ZombieNet SDK
https://paritytech.github.io/zombienet-sdk/zombienet_sdk/
GNU General Public License v3.0
32 stars 8 forks source link

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

Open pepoviola opened 4 months ago

pepoviola commented 4 months ago

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