Skip to content
Snippets Groups Projects
  1. Sep 24, 2024
  2. Sep 22, 2024
  3. Sep 20, 2024
  4. Sep 12, 2024
  5. Aug 28, 2024
  6. Aug 20, 2024
  7. Aug 15, 2024
  8. Aug 13, 2024
    • Frank Bell's avatar
      fix(chain-spec): adjust hrmp channels json structure (#244) · b1aac0ea
      Frank Bell authored
      When testing `zombienet-sdk` with cross-chain calls with Asset Hub, we
      found that the hrmp channels passed to the chainspec caused the
      following issue:
      
      `Error: "Invalid JSON blob: invalid type: map, expected a tuple of size
      4 at line 1 column 2794"`
      
      This is because the values of `HrmpChannelConfig` serialise to a map
      instead of a tuple, as expected by
      https://github.com/paritytech/polkadot-sdk/blob/fc906d5d0fb7796ef54ba670101cf37b0aad6794/polkadot/runtime/parachains/src/hrmp.rs#L492.
      Tests were updated accordingly to facilitate this fix.
      
      Additional commits were also added to enable some of Asset Hub on
      Polkadot functionality observed in the classic Zombienet repo, so that
      we are able to launch a local Polkadot network with Asset Hub should
      anyone require. Example configuration files can be found at the bottom
      of https://github.com/r0gue-io/pop-cli/pull/278/files for anyone
      interested, although that PR is still a work in progress and dependent
      on this one being accepted.
      
      PS - I added tests where I could, but additional tests might require
      some minor refactoring to make it easier to test only the logic that is
      changed by this PR, which I am not sure what the appetite is? An example
      would be refactoring the file name generation in `keystore.rs` into its
      own function to more easily test the outputs without the `scoped_fs`.
      b1aac0ea
  9. Jul 20, 2024
  10. Jul 16, 2024
  11. Jun 22, 2024
  12. Jun 21, 2024
  13. Jun 14, 2024
  14. Jun 13, 2024
  15. Jun 10, 2024
  16. Jun 09, 2024
  17. Jun 08, 2024
  18. Jun 05, 2024
  19. Jun 04, 2024
  20. Jun 03, 2024
  21. May 29, 2024
  22. May 27, 2024
  23. May 23, 2024
    • Javier Viola's avatar
      Feat: Allow to set `base_dir` (#219) · 2ad235c0
      Javier Viola authored
      This pr introduce the ability to set the `base_dir` used by the
      `namespace`. This allow users to reuse the same node's directories
      (config and database) and re-start the network from the latest state in
      sequential runs.
      
      Thx!
      
      fix #218
      2ad235c0
  24. May 16, 2024
  25. May 14, 2024
    • Javier Viola's avatar
      chore: bump version (#215) · 895735fe
      Javier Viola authored
      895735fe
    • Javier Viola's avatar
      fix: leaking env to node process and log cmd (native provider) (#213) · 0da4bd16
      Javier Viola authored
      fix #210 
      
      Also fix the log cmd string.
      
      cc @michalkucharczyk , thanks!!
      0da4bd16
    • Frank Bell's avatar
      feat: enhance public api (#209) · 11ea1254
      Frank Bell authored
      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. :slight_smile:
      11ea1254