From 1e4312b3c7fd2d33b1765f41522c48a2d28244bd Mon Sep 17 00:00:00 2001 From: Sam Johnson Date: Mon, 19 Aug 2024 19:42:11 -0400 Subject: [PATCH 1/2] fix workspace root package --- Cargo.lock | 3 --- Cargo.toml | 8 +++++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 698607e7c..ee0933379 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -9193,13 +9193,10 @@ version = "0.1.0" dependencies = [ "node-subtensor", "node-subtensor-runtime", - "pallet-commitments", - "pallet-subtensor", "proc-macro2", "quote", "rayon", "subtensor-linting", - "subtensor-macros", "syn 2.0.71", "walkdir", ] diff --git a/Cargo.toml b/Cargo.toml index b8fe8c4d4..e3c2814ff 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,10 +11,7 @@ repository = "https://github.com/opentensor/subtensor" [dependencies] node-subtensor = { path = "node", version = "4.0.0-dev" } -pallet-commitments = { path = "pallets/commitments", version = "4.0.0-dev" } -pallet-subtensor = { path = "pallets/subtensor", version = "4.0.0-dev" } node-subtensor-runtime = { path = "runtime", version = "4.0.0-dev" } -subtensor-macros = { path = "support/macros", version = "0.1.0" } [build-dependencies] subtensor-linting = { path = "support/linting", version = "0.1.0" } @@ -167,3 +164,8 @@ opt-level = 3 inherits = "release" lto = true codegen-units = 1 + +[features] +default = [] +try-runtime = ["node-subtensor/try-runtime", "node-subtensor-runtime/try-runtime"] +runtime-benchmarks = ["node-subtensor/runtime-benchmarks", "node-subtensor-runtime/runtime-benchmarks"] From 917217f88986066b0a574522ce4f93beec7e8881 Mon Sep 17 00:00:00 2001 From: Sam Johnson Date: Mon, 19 Aug 2024 19:46:38 -0400 Subject: [PATCH 2/2] bump CI