diff --git a/.github/workflows/rustsec-audit.yml b/.github/workflows/rustsec-audit.yml index 00c5876033..19eb1e81e4 100644 --- a/.github/workflows/rustsec-audit.yml +++ b/.github/workflows/rustsec-audit.yml @@ -14,7 +14,7 @@ on: - cron: "40 13 * * 0" jobs: security_audit: - runs-on: ${{ fromJson(github.repository_owner == 'autonomys' && '["self-hosted", "ubuntu-22.04-x86-64"]' || '"ubuntu-22.04"') }} + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v3 - uses: rustsec/audit-check@69366f33c96575abad1ee0dba8212993eecbe998 #v2.0.0 diff --git a/Cargo.lock b/Cargo.lock index c4c9c6fb2b..6b59f2f7d9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,6 +1,6 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -version = 3 +version = 4 [[package]] name = "Inflector" @@ -2420,15 +2420,6 @@ dependencies = [ "dirs-sys-next", ] -[[package]] -name = "dirs" -version = "5.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44c45a9d03d6676652bcb5e724c7e988de1acad23a711b5217ab9cbecbec2225" -dependencies = [ - "dirs-sys", -] - [[package]] name = "dirs-sys" version = "0.4.1" @@ -12843,7 +12834,6 @@ dependencies = [ "bip39", "clap", "cross-domain-message-gossip", - "dirs", "domain-client-message-relayer", "domain-client-operator", "domain-eth-service", @@ -12885,7 +12875,6 @@ dependencies = [ "sp-core", "sp-domain-digests", "sp-domains", - "sp-domains-fraud-proof", "sp-keystore", "sp-messenger", "sp-runtime", diff --git a/crates/subspace-node/Cargo.toml b/crates/subspace-node/Cargo.toml index b5dd8b0afd..9a9eca1cdb 100644 --- a/crates/subspace-node/Cargo.toml +++ b/crates/subspace-node/Cargo.toml @@ -15,11 +15,6 @@ include = [ "/README.md" ] -# TODO: remove when cargo-audit supports v4 lock files -# https://github.com/rustsec/rustsec/issues/1249 -# This setting applies to the workspace lockfile, even though it's in a crate. -rust-version = "1.81" # ensure we stay at lockfile v3 - [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] @@ -28,7 +23,6 @@ auto-id-domain-runtime = { version = "0.1.0", path = "../../domains/runtime/auto bip39 = { version = "2.0.0", features = ["rand"] } clap = { version = "4.5.18", features = ["derive"] } cross-domain-message-gossip = { version = "0.1.0", path = "../../domains/client/cross-domain-message-gossip" } -dirs = "5.0.1" domain-client-message-relayer = { version = "0.1.0", path = "../../domains/client/relayer" } domain-client-operator = { version = "0.1.0", path = "../../domains/client/domain-operator" } domain-eth-service = { version = "0.1.0", path = "../../domains/client/eth-service" } @@ -70,7 +64,6 @@ sp-consensus-subspace = { version = "0.1.0", path = "../sp-consensus-subspace" } sp-core = { git = "https://github.com/subspace/polkadot-sdk", rev = "94a1a8143a89bbe9f938c1939ff68abc1519a305" } sp-domains = { version = "0.1.0", path = "../sp-domains" } sp-domain-digests = { version = "0.1.0", path = "../../domains/primitives/digests" } -sp-domains-fraud-proof = { version = "0.1.0", path = "../sp-domains-fraud-proof" } sp-keystore = { git = "https://github.com/subspace/polkadot-sdk", rev = "94a1a8143a89bbe9f938c1939ff68abc1519a305" } sp-messenger = { version = "0.1.0", path = "../../domains/primitives/messenger" } sp-runtime = { git = "https://github.com/subspace/polkadot-sdk", rev = "94a1a8143a89bbe9f938c1939ff68abc1519a305" }