feat: enhance public api (#209)
Firstly, thank you for an amazing library! The original zombienet is a Polkadot staple and now being able to use it completely from Rust is a game changer for us: as you may be aware, we have integrated zombienet-sdk with [pop-cli](https://github.com/paritytech/zombienet-sdk). In doing so, we needed to add a few getters to the public api to be able to present certain information to the user, as well we expose a little more of the inner errors. This PR simply upstreams these changes. It also includes two additional fixes, which may be better implemented based on your guidance: - collator args werent working for us when specified in a config file, which seemed to be due to missing `--` in the args list provided by calling functions. - artifact path wasnt set when trying to build a chain spec. This may no longer be required based on the changes in https://github.com/paritytech/zombienet-sdk/commit/c7ce50c0 I am happy to add tests if you are open to these changes.
Showing
- crates/orchestrator/src/errors.rs 1 addition, 1 deletioncrates/orchestrator/src/errors.rs
- crates/orchestrator/src/generators/command.rs 4 additions, 1 deletioncrates/orchestrator/src/generators/command.rs
- crates/orchestrator/src/generators/errors.rs 1 addition, 1 deletioncrates/orchestrator/src/generators/errors.rs
- crates/orchestrator/src/generators/para_artifact.rs 1 addition, 0 deletionscrates/orchestrator/src/generators/para_artifact.rs
- crates/orchestrator/src/network.rs 5 additions, 1 deletioncrates/orchestrator/src/network.rs
- crates/orchestrator/src/network/node.rs 8 additions, 0 deletionscrates/orchestrator/src/network/node.rs
- crates/orchestrator/src/network/parachain.rs 12 additions, 0 deletionscrates/orchestrator/src/network/parachain.rs
- crates/orchestrator/src/network/relaychain.rs 4 additions, 0 deletionscrates/orchestrator/src/network/relaychain.rs
- crates/orchestrator/src/network_spec/node.rs 4 additions, 0 deletionscrates/orchestrator/src/network_spec/node.rs
Please register or sign in to comment