Skip to content
Snippets Groups Projects
  1. Aug 28, 2024
    • Javier Viola's avatar
      support single collator config in `toml` (#253) · 9f8845dc
      Javier Viola authored
      `v1` version support define a parachain with a single collator using
      `[parachain.collator]` (note this is a map and not a sequence). But in
      the `sdk` we drop support in favor of always use a vec<NodeConfig>. This
      pr allow to use the old toml definition __only__ with the load_from_toml
      method.
      
      cc:  @AlexD10S
  2. May 08, 2024
  3. Apr 30, 2024
  4. Mar 16, 2024
  5. Mar 08, 2024
  6. Mar 03, 2024
  7. Feb 23, 2024
  8. Nov 29, 2023
    • Javier Viola's avatar
      feat: add parachains to a running network (#142) · 9ba4b139
      Javier Viola authored
      This pr make possible to add a new parachain to a running network (see
      `add_para.rs` example), for that we allow to create a new parachain
      config (using the same builder but in a different context) like this:
      
      ```rs
      let para_config = network.para_config_builder()
              .with_id(100)
              .with_default_command("polkadot-parachain")
              .with_collator(|c| {
                  c.with_name("col-100-1")
              })
              .build()?;
      ```
      And then deploy that parachain by calling `add_parachain` (the second
      parameter of the fn allow to use a custom chain-spec for the
      relaychain).
      
      ```rs
      network.add_parachain(&para_config, None).await?;
      ```
      
      // TODO:
      - [x] docs
      - [ ] test (integration)
  9. Oct 24, 2023
  10. Oct 06, 2023
  11. Oct 05, 2023
  12. Oct 03, 2023
  13. Sep 20, 2023
  14. Sep 15, 2023
  15. Sep 12, 2023
  16. Sep 11, 2023
  17. Sep 05, 2023
  18. Aug 04, 2023
  19. Aug 02, 2023
  20. Jul 31, 2023
  21. Jul 25, 2023
  22. Jul 14, 2023
  23. Jul 11, 2023
  24. Jul 05, 2023