Skip to content

Commit

Permalink
Adding babe primitives and fixing paths
Browse files Browse the repository at this point in the history
  • Loading branch information
drewstone committed Dec 18, 2023
1 parent f42d092 commit 507eac8
Show file tree
Hide file tree
Showing 17 changed files with 1,647 additions and 646 deletions.
34 changes: 31 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ pallet-dkg = { path = "pallets/dkg", default-features = false }
sp-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false }
sp-block-builder = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false }
sp-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false }
sp-consensus-babe = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false }
sp-core = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false }
sp-inherents = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false }
sp-io = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false }
Expand All @@ -114,6 +115,7 @@ sc-offchain = { git = "https://github.com/paritytech/polkadot-sdk", branch = "re
sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false }
sp-session = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false }
sp-staking = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false }
sp-statement-store = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false }
sp-std = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false }
sp-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false }
sp-version = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false }
Expand Down Expand Up @@ -148,6 +150,7 @@ sc-basic-authorship = { git = "https://github.com/paritytech/polkadot-sdk", bran
sc-client-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" }
sc-consensus = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" }
sc-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" }
sc-consensus-babe = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" }
sc-network-common = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" }
sc-telemetry = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" }
sc-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" }
Expand All @@ -168,6 +171,7 @@ sc-client-db = { git = "https://github.com/paritytech/polkadot-sdk", branch = "r
sp-application-crypto = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false }

pallet-aura = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false }
pallet-babe = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false }
pallet-bags-list = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false }
pallet-session = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0", default-features = false }

Expand Down
10 changes: 7 additions & 3 deletions node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ tangle-testnet-runtime = { workspace = true }
tangle-service = { workspace = true }

[features]
default = ["with-rocksdb-weights", "rocksdb", "sql", "tangle"]
default = ["with-rocksdb-weights", "rocksdb", "sql", "testnet"]
runtime-benchmarks = ["tangle-mainnet-runtime/runtime-benchmarks"]
integration-tests = ["tangle-mainnet-runtime/integration-tests"]
with-rocksdb-weights = ["tangle-mainnet-runtime/with-rocksdb-weights"]
Expand All @@ -128,5 +128,9 @@ relayer = [
"tangle-service/relayer",
]

tangle = []
testnet = []
tangle = [
"tangle-service/tangle",
]
testnet = [
"tangle-service/testnet",
]
5 changes: 4 additions & 1 deletion node/service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ sc-service = { workspace = true }
sc-telemetry = { workspace = true }
sc-transaction-pool = { workspace = true }
sp-consensus-aura = { workspace = true }
sp-consensus-babe = { workspace = true }
sp-statement-store = { workspace = true }
sp-core = { workspace = true }
sp-inherents = { workspace = true }
sp-keyring = { workspace = true }
Expand All @@ -57,6 +59,7 @@ sp-api = { workspace = true }
sp-block-builder = { workspace = true }
sp-blockchain = { workspace = true }
sp-timestamp = { workspace = true }
sp-io = { workspace = true }
sp-keystore = { workspace = true }
sp-session = { workspace = true }
sp-offchain = { workspace = true }
Expand Down Expand Up @@ -102,7 +105,7 @@ tangle-primitives = { workspace = true }
tangle-testnet-runtime = { workspace = true }

[features]
default = ["with-rocksdb-weights", "rocksdb", "sql", "tangle"]
default = ["with-rocksdb-weights", "rocksdb", "sql", "testnet"]
runtime-benchmarks = ["tangle-testnet-runtime/runtime-benchmarks"]
integration-tests = ["tangle-testnet-runtime/integration-tests"]
with-rocksdb-weights = ["tangle-testnet-runtime/with-rocksdb-weights"]
Expand Down
Loading

0 comments on commit 507eac8

Please sign in to comment.