Skip to content
Snippets Groups Projects
  1. Feb 24, 2025
    • CrabGopher's avatar
      optional rocksdb for frame-benchmarking-cli (#7649) · 2edabef4
      CrabGopher authored
      `sc-cli` brings rocksdb dependency into frame-benchmarking-cli when used
      with `default-features = false`.
      This PR makes rocksdb deps optional that sc-cli brings in some of the
      crates. I think I covered all the crates that depend on sc-cli but
      please let me know if I missed any.
      
      Fixes: https://github.com/paritytech/polkadot-sdk/issues/3793
  2. 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 <>
  3. Jul 26, 2024
    • Kian Paimani's avatar
      Replace homepage in all TOML files (#5118) · d3d1542c
      Kian Paimani authored
      A bit of a controversial move, but a good preparation for even further
      reducing the traffic on outdated content of `substrate.io`. Current
      status:
      
      <img width="728" alt="Screenshot 2024-07-15 at 11 32 48"
      src="https://github.com/user-attachments/assets/df33b164-0ce7-4ac4-bc97-a64485f12571">
      
      Previously, I was in favor of changing the domain of the rust-docs to
      something like `polkadot-sdk.parity.io` or similar, but I think the
      current format is pretty standard and has a higher chance of staying put
      over the course of time:
      
      `<org-name>.github.io/<repo-name>` ->
      `https://paritytech.github.io/polkadot-sdk/`
      
      part of https://github.com/paritytech/eng-automation/issues/10
  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. May 14, 2024
    • dependabot[bot]'s avatar
      Bump nix from 0.27.1 to 0.28.0 (#4438) · 712a750a
      dependabot[bot] authored
      
      Bumps [nix](https://github.com/nix-rust/nix) from 0.27.1 to 0.28.0.
      <details>
      <summary>Changelog</summary>
      <p><em>Sourced from <a
      href="https://github.com/nix-rust/nix/blob/master/CHANGELOG.md">nix's
      changelog</a>.</em></p>
      <blockquote>
      <h2>[0.28.0] - 2024-02-24</h2>
      <h3>Added</h3>
      <ul>
      <li>
      <p>Added <code>mkdtemp</code> wrapper (<a
      href="https://redirect.github.com/nix-rust/nix/pull/1297">#1297</a>)</p>
      </li>
      <li>
      <p>Add associated constants <code>UTIME_OMIT</code>
      <code>UTIME_NOW</code> for <code>TimeSpec</code>
      (<a
      href="https://redirect.github.com/nix-rust/nix/pull/1879">#1879</a>)</p>
      </li>
      <li>
      <p>Added <code>EventFd</code> type. (<a
      href="https://redirect.github.com/nix-rust/nix/pull/1945">#1945</a>)</p>
      </li>
      <li>
      <ul>
      <li>Added <code>impl From&lt;Signal&gt; for SigSet</code>.</li>
      <li>Added <code>impl std::ops::BitOr for SigSet</code>.</li>
      <li>Added <code>impl std::ops::BitOr for Signal</code>.</li>
      <li>Added <code>impl std::ops::BitOr&lt;Signal&gt; for
      SigSet</code></li>
      </ul>
      <p>(<a
      href="https://redirect.github.com/nix-rust/nix/pull/1959">#1959</a>)</p>
      </li>
      <li>
      <p>Added <code>TlsGetRecordType</code> control message type and
      corresponding enum for
      linux (<a
      href="https://redirect.github.com/nix-rust/nix/pull/2065">#2065</a>)</p>
      </li>
      <li>
      <p>Added <code>Ipv6HopLimit</code> to
      <code>::nix::sys::socket::ControlMessage</code> for Linux,
      MacOS, FreeBSD, DragonflyBSD, Android, iOS and Haiku.
      (<a
      href="https://redirect.github.com/nix-rust/nix/pull/2074">#2074</a>)</p>
      </li>
      <li>
      <p>Added <code>Icmp</code> and <code>IcmpV6</code> to
      <code>SockProtocol</code>
      (<a
      href="https://redirect.github.com/nix-rust/nix/pull/2103">#2103</a>)</p>
      </li>
      <li>
      <p>Added rfork support for FreeBSD in <code>unistd</code>
      (<a
      href="https://redirect.github.com/nix-rust/nix/pull/2121">#2121</a>)</p>
      </li>
      <li>
      <p>Added <code>MapFlags::map_hugetlb_with_size_log2</code> method for
      Linux targets
      (<a
      href="https://redirect.github.com/nix-rust/nix/pull/2125">#2125</a>)</p>
      </li>
      <li>
      <p>Added <code>mmap_anonymous</code> function
      (<a
      href="https://redirect.github.com/nix-rust/nix/pull/2127">#2127</a>)</p>
      </li>
      <li>
      <p>Added <code>mips32r6</code> and <code>mips64r6</code> support for
      signal, ioctl and ptrace
      (<a
      href="https://redirect.github.com/nix-rust/nix/pull/2138">#2138</a>)</p>
      </li>
      <li>
      <p>Added <code>F_GETPATH</code> FcntlFlags entry on
      Apple/NetBSD/DragonflyBSD for
      <code>::nix::fcntl</code>. (<a
      href="https://redirect.github.com/nix-rust/nix/pull/2142">#2142</a>)</p>
      </li>
      <li>
      <p>Added <code>F_KINFO</code> FcntlFlags entry on FreeBSD for
      <code>::nix::fcntl</code>.
      (<a
      href="https://redirect.github.com/nix-rust/nix/pull/2152">#2152</a>)</p>
      </li>
      <li>
      <p>Added <code>F_GETPATH_NOFIRMLINK</code> and
      <code>F_BARRIERFSYNC</code> FcntlFlags entry
      on Apple for <code>::nix::fcntl</code>.
      (<a
      href="https://redirect.github.com/nix-rust/nix/pull/2155">#2155</a>)</p>
      </li>
      <li>
      <p>Added newtype <code>Flock</code> to automatically unlock a held flock
      upon drop.
      Added <code>Flockable</code> trait to represent valid types for
      <code>Flock</code>.
      (<a
      href="https://redirect.github.com/nix-rust/nix/pull/2170">#2170</a>)</p>
      </li>
      <li>
      <p>Added <code>SetSockOpt</code> impls to enable Linux Kernel TLS on a
      TCP socket and to
      import TLS parameters. (<a
      href="https://redirect.github.com/nix-rust/nix/pull/2175">#2175</a>)</p>
      </li>
      <li>
      <ul>
      <li>Added the <code>::nix::sys::socket::SocketTimestamp</code> enum for
      configuring the
      <code>TsClock</code> (a.k.a <code>SO_TS_CLOCK</code>) sockopt</li>
      <li>Added FreeBSD's <code>ScmRealtime</code> and
      <code>ScmMonotonic</code> as new options in
      <code>::nix::sys::socket::ControlMessageOwned</code></li>
      </ul>
      <p>(<a
      href="https://redirect.github.com/nix-rust/nix/pull/2187">#2187</a>)</p>
      </li>
      <li>
      <p>Added new fanotify API: wrappers for <code>fanotify_init</code> and
      <code>fanotify_mark</code>
      (<a
      href="https://redirect.github.com/nix-rust/nix/pull/2194">#2194</a>)</p>
      </li>
      </ul>
      <!-- raw HTML omitted -->
      </blockquote>
      <p>... (truncated)</p>
      </details>
      <details>
      <summary>Commits</summary>
      <ul>
      <li><a
      href="https://github.com/nix-rust/nix/commit/21ab06ef23de214174ddb039be5b5f08750d19e6"><code>21ab06e</code></a>
      chore: release 0.8.0</li>
      <li><a
      href="https://github.com/nix-rust/nix/commit/595c6eb2515723eae1f1db1b9103c95f339380ec"><code>595c6eb</code></a>
      chore: changelog for 0.28.0 (<a
      href="https://redirect.github.com/nix-rust/nix/issues/2303">#2303</a>)</li>
      <li><a
      href="https://github.com/nix-rust/nix/commit/79b86a7dff071a2a59858d1c98e202fdf38ebd06"><code>79b86a7</code></a>
      mmsg revert signature simplification (<a
      href="https://redirect.github.com/nix-rust/nix/issues/2227">#2227</a>)</li>
      <li><a
      href="https://github.com/nix-rust/nix/commit/08e05a5f66d14d4f06288c9a725e87f473eba41a"><code>08e05a5</code></a>
      refactor: remove redundant imports to fix CI (<a
      href="https://redirect.github.com/nix-rust/nix/issues/2320">#2320</a>)</li>
      <li><a
      href="https://github.com/nix-rust/nix/commit/197f55b3ccbce3273bf6ce119d1a8541b5df5d66"><code>197f55b</code></a>
      refactor: update nix (<a
      href="https://redirect.github.com/nix-rust/nix/issues/2311">#2311</a>)</li>
      <li><a
      href="https://github.com/nix-rust/nix/commit/f34d00d353a8ebcb16eb8810b00d613e4a294925"><code>f34d00d</code></a>
      chore(deps): try libc 0.2.153 (<a
      href="https://redirect.github.com/nix-rust/nix/issues/2309">#2309</a>)</li>
      <li><a
      href="https://github.com/nix-rust/nix/commit/062f6c0f0306743a401138fc2612d59e818d5768"><code>062f6c0</code></a>
      test: clean clippy needless_borrow false positive issue (<a
      href="https://redirect.github.com/nix-rust/nix/issues/2310">#2310</a>)</li>
      <li><a
      href="https://github.com/nix-rust/nix/commit/ca173ff30cc42e0fc7a7ba2cf7c1fcbe61dccfa5"><code>ca173ff</code></a>
      Fix the mount tests (<a
      href="https://redirect.github.com/nix-rust/nix/issues/2269">#2269</a>)</li>
      <li><a
      href="https://github.com/nix-rust/nix/commit/0dfcf3228489a5060a53e69783a1eea6f43b11a9"><code>0dfcf32</code></a>
      test: tweak test_fanotify to monitor ONLY 1 file (<a
      href="https://redirect.github.com/nix-rust/nix/issues/2294">#2294</a>)</li>
      <li><a
      href="https://github.com/nix-rust/nix/commit/0fb346031f6ddc87a57377101a6063133a25e443"><code>0fb3460</code></a>
      Temporarily disable CI on GNU hurd (<a
      href="https://redirect.github.com/nix-rust/nix/issues/2307">#2307</a>)</li>
      <li>Additional commits viewable in <a
      href="https://github.com/nix-rust/nix/compare/v0.27.1...v0.28.0">compare
      view</a></li>
      </ul>
      </details>
      <br />
      
      
      [![Dependabot compatibility
      score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=nix&package-manager=cargo&previous-version=0.27.1&new-version=0.28.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
      
      Dependabot will resolve any conflicts with this PR as long as you don't
      alter it yourself. You can also trigger a rebase manually by commenting
      `@dependabot rebase`.
      
      [//]: # (dependabot-automerge-start)
      [//]: # (dependabot-automerge-end)
      
      ---
      
      <details>
      <summary>Dependabot commands and options</summary>
      <br />
      
      You can trigger Dependabot actions by commenting on this PR:
      - `@dependabot rebase` will rebase this PR
      - `@dependabot recreate` will recreate this PR, overwriting any edits
      that have been made to it
      - `@dependabot merge` will merge this PR after your CI passes on it
      - `@dependabot squash and merge` will squash and merge this PR after
      your CI passes on it
      - `@dependabot cancel merge` will cancel a previously requested merge
      and block automerging
      - `@dependabot reopen` will reopen this PR if it is closed
      - `@dependabot close` will close this PR and stop Dependabot recreating
      it. You can achieve the same result by closing it manually
      - `@dependabot show <dependency name> ignore conditions` will show all
      of the ignore conditions of the specified dependency
      - `@dependabot ignore this major version` will close this PR and stop
      Dependabot creating any more for this major version (unless you reopen
      the PR or upgrade to it yourself)
      - `@dependabot ignore this minor version` will close this PR and stop
      Dependabot creating any more for this minor version (unless you reopen
      the PR or upgrade to it yourself)
      - `@dependabot ignore this dependency` will close this PR and stop
      Dependabot creating any more for this dependency (unless you reopen the
      PR or upgrade to it yourself)
      
      
      </details>
      
      Signed-off-by: default avatardependabot[bot] <support@github.com>
      Co-authored-by: default avatardependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  6. May 06, 2024
  7. Dec 13, 2023
  8. Dec 01, 2023
  9. Oct 31, 2023
  10. Aug 29, 2023
  11. Aug 25, 2023
  12. Aug 23, 2023
  13. Aug 08, 2023
  14. Jun 27, 2023
  15. Jun 24, 2023
  16. Apr 06, 2023
    • Liam Aharon's avatar
      Fix `try-runtime follow-chain`, try-runtime upgrade tuple tests, cli test utils (#13794) · 0b3444c5
      Liam Aharon authored
      
      * new test for try-runtime tuple stuff
      
      * fix
      
      * remove development comment
      
      * formatting
      
      * remove todo comment
      
      * follow-chain working test
      
      * refactor common cli testing utils
      
      * fix comment
      
      * revert Cargo.lock changes
      
      * update Cargo.lock
      
      * improve doc comment
      
      * fix error typo
      
      * update Cargo.lock
      
      * feature gate try-runtime test
      
      * build_substrate cli test util
      
      * feature gate follow_chain tests
      
      * move fn start_node to test-utils
      
      * improve test pkg name
      
      * use tokio Child and Command
      
      * remove redundant import
      
      * fix ci
      
      * fix ci
      
      * don't leave hanging processes
      
      * improved child process cleanup
      
      * use existing KillChildOnDrop
      
      * remove redundant comment
      
      * Update test-utils/cli/src/lib.rs
      
      Co-authored-by: default avatarKoute <koute@users.noreply.github.com>
      
      ---------
      
      Co-authored-by: default avatarkianenigma <kian@parity.io>
      Co-authored-by: default avatarKoute <koute@users.noreply.github.com>
      0b3444c5