Skip to content

Commit c062265

Browse files
authored
Merge pull request #993 from opentensor/chore/add-fast-blocks-to-node
Add `fast-blocks` feature to node
2 parents 03527fa + e7d06ca commit c062265

File tree

2 files changed

+6
-15
lines changed

2 files changed

+6
-15
lines changed

node/Cargo.toml

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -106,25 +106,16 @@ subtensor-custom-rpc-runtime-api = { path = "../pallets/subtensor/runtime-api" }
106106
substrate-build-script-utils = { workspace = true }
107107

108108
[features]
109-
default = [
110-
"rocksdb",
111-
"sql",
112-
"txpool",
113-
]
114-
sql = [
115-
"fc-db/sql",
116-
"fc-mapping-sync/sql",
117-
]
109+
default = ["rocksdb", "sql", "txpool"]
110+
fast-blocks = ["node-subtensor-runtime/fast-blocks"]
111+
sql = ["fc-db/sql", "fc-mapping-sync/sql"]
118112
rocksdb = [
119113
"sc-service/rocksdb",
120114
"fc-db/rocksdb",
121115
"fc-mapping-sync/rocksdb",
122-
"fc-rpc/rocksdb"
123-
]
124-
txpool = [
125-
"fc-rpc/txpool",
126-
"fc-rpc-core/txpool"
116+
"fc-rpc/rocksdb",
127117
]
118+
txpool = ["fc-rpc/txpool", "fc-rpc-core/txpool"]
128119

129120
# Dependencies that are only required if runtime benchmarking should be build.
130121
runtime-benchmarks = [

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1+
//! This crate exists for linting in CI. Look inside build.rs for reference.

0 commit comments

Comments
 (0)