Skip to content
Snippets Groups Projects
  1. Mar 13, 2025
    • Iulian Barbu's avatar
      taplo: split long array line to multiline array (#7905) · d4155b6c
      Iulian Barbu authored
      
      # Description
      
      It is difficult to spot changes to umbrella features when reviewing,
      when defined on a long line, so made sure tomls formatting will be
      applied to long array lines by splitting them on multiple lines. This
      will be applied to any tomls in the monorepo that is not excluded from
      taplo.
      
      ## Integration
      
      N/A
      
      ## Review Notes
      
      Set global taplo config `array_auto_expand` to true.
      
      ---------
      
      Signed-off-by: default avatarIulian Barbu <iulian.barbu@parity.io>
  2. Mar 07, 2025
    • Iulian Barbu's avatar
      `fatxpool`: add heavy load tests based on zombienet (#7257) · ff2e5091
      Iulian Barbu authored
      
      # Description
      
      Builds up towards addressing #5497 by creating some zombienet-sdk code
      infra that can be used to spin regular networks, as described in the
      fork aware transaction pool testing setup added here #7100. It will be
      used for developing tests against such networks, and to also spawn them
      on demand locally through tooling that will be developed in follow ups.
      
      ## Integration
      
      Node/runtime developers can run tests based on the zombienet-sdk infra
      that spins frequently used networks which can be used for analyzing
      behavior of various node related components, like fork aware transaction
      pool.
      
      ## Review Notes
      
      - Uses ttxt API implemented here:
      https://github.com/michalkucharczyk/tx-test-tool/pull/22/files
      - currently, only two test scenarios are considered: 10k future & 10k
      ready txs are sent to two separate networks - one parachain and one
      relaychain, asserting at the end on the finalization of all 20k txs on
      both networks.
      
      ---------
      
      Signed-off-by: default avatarIulian Barbu <iulian.barbu@parity.io>
      Co-authored-by: default avatarJavier Viola <363911+pepoviola@users.noreply.github.com>
      Co-authored-by: default avatarMichal Kucharczyk <1728078+michalkucharczyk@users.noreply.github.com>
  3. Dec 20, 2024
    • Xavier Lau's avatar
      Reorder dependencies' keys (#6967) · a843d15e
      Xavier Lau authored
      
      It doesn't make sense to only reorder the features array.
      
      For example:
      
      This makes it hard for me to compare the dependencies and features,
      especially some crates have a really really long dependencies list.
      ```toml​
      [dependencies]
      c = "*"
      a = "*"
      b = "*"
      
      [features]
      std = [
        "a",
        "b",
        "c",
      ]
      ```
      
      This makes my life easier.
      ```toml​
      [dependencies]
      a = "*"
      b = "*"
      c = "*"
      
      [features]
      std = [
        "a",
        "b",
        "c",
      ]
      ```
      
      ---------
      
      Co-authored-by: default avatarBastian Köcher <git@kchr.de>
      Co-authored-by: command-bot <>
  4. Jun 24, 2024
    • Oliver Tale-Yazdi's avatar
      Lift all dependencies (the big one) (#4716) · 8efa0544
      Oliver Tale-Yazdi authored
      
      After preparing in https://github.com/paritytech/polkadot-sdk/pull/4633,
      we can lift also all internal dependencies up to the workspace.
      
      This does not actually change anything, but uses `workspace = true` for
      all dependencies. You can check it with:
      ```bash
      git checkout -q $(git merge-base oty-lift-all-deps origin/master)
      cargo tree -e features > master.out
      
      git checkout -q oty-lift-all-deps
      cargo tree -e features > new.out
      diff master.out new.out
      ```
      
      It did not yet lift 100% of dependencies, some inside of `target.*` or
      some that had conflicting aliases introduced recently. But i will do
      these together in a follow-up with CI checks.
      
      Can be reproduced with [zepter](https://github.com/ggwpez/zepter/):
      `zepter transpose d lift-to-workspace "regex:.*" --version-resolver
      highest --skip-package "polkadot-sdk" --ignore-errors --fix`.
      
      ---------
      
      Signed-off-by: default avatarOliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
  5. Feb 20, 2024
    • Oliver Tale-Yazdi's avatar
      Lift dependencies to the workspace (Part 2/x) (#3366) · e89d0fca
      Oliver Tale-Yazdi authored
      
      Lifting some more dependencies to the workspace. Just using the
      most-often updated ones for now.
      It can be reproduced locally.
      
      ```sh
      # First you can check if there would be semver incompatible bumps (looks good in this case):
      $ zepter transpose dependency lift-to-workspace --ignore-errors syn quote thiserror "regex:^serde.*"
      
      # Then apply the changes:
      $ zepter transpose dependency lift-to-workspace --version-resolver=highest syn quote thiserror "regex:^serde.*" --fix
      
      # And format the changes:
      $ taplo format --config .config/taplo.toml
      ```
      
      ---------
      
      Signed-off-by: default avatarOliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
  6. Feb 15, 2024
  7. Dec 13, 2023
  8. Dec 01, 2023