Skip to content
Snippets Groups Projects
  1. Mar 18, 2024
  2. Mar 16, 2024
  3. 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)
  4. Sep 29, 2023
    • Javier Viola's avatar
      Wire between Orchestrator - Provider (#101) · 8f8b03fd
      Javier Viola authored
      * wip, refactor provider trait
      
      * fmt
      
      * wip
      
      * wip, add from_config to NetworkSpec
      
      * config reorgs
      
      * add logic for create NetworkSpec
      
      * feat: refactored FileSystem trait and errors
      
      * chore: removed unused local_file, stdout will be hardcoded in provider at the moment
      
      * feat: moved MockFileSystem to InMemoryFileSystem, files too, and added mirror implementation of tokio::fs with tests
      
      * feat: added new method append to FileSystem trait
      
      * feat: implemented new append method on InMemoryFileSystem
      
      * feat: added anyhow dependencies to support crate
      
      * feat: refactored FileSystem trait to expose only a single wrapped error
      
      * feat: refacto InMemoryFileSystem following FileSystem trait refacto
      
      * feat: added conversion between io::Error and FileSystemError
      
      * feat: added implementation of LocalFileSystem using tokio::fs
      
      * feat: added nix crate dependency to workspace and provider crate
      
      * feat: added uuid with v4 as dev-depen...
  5. Sep 26, 2023
  6. Sep 15, 2023
  7. Aug 04, 2023
  8. Jul 11, 2023
  9. Jun 14, 2023
  10. May 29, 2023
  11. May 22, 2023
  12. May 18, 2023