Skip to content

Commit

Permalink
Adapt client to support asynchronous backing (#399)
Browse files Browse the repository at this point in the history
* early steps (not compiling yet)

* add start_consensus functions and more refactor in collators

* more refactor in collators and start refactoring node_impl

* continue adapting service

* use provisional custom branches

* fmt

* toml fmt

* remove unused imports and fix clippy

* fmt again

* more logs and write down the case in which we dont have a valid claim

* improve service and modify start_node_impl_container

* remove unused imports

* pr suggestions and code cleanup

* deprecate old params

* pr comments

---------

Co-authored-by: girazoki <[email protected]>
  • Loading branch information
Agusrodri and girazoki authored Feb 5, 2024
1 parent c179e9d commit 16ae4cc
Show file tree
Hide file tree
Showing 12 changed files with 1,038 additions and 1,348 deletions.
290 changes: 151 additions & 139 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ try-runtime-cli = { git = "https://github.com/moondance-labs/polkadot-sdk", bran
# Polkadot (wasm)
pallet-xcm = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false }
pallet-xcm-benchmarks = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false }
polkadot-node-primitives = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false }
polkadot-parachain-primitives = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false }
polkadot-runtime-common = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false }
polkadot-runtime-parachains = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false }
Expand Down Expand Up @@ -203,6 +204,7 @@ cumulus-client-cli = { git = "https://github.com/moondance-labs/polkadot-sdk", b
cumulus-client-collator = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false }
cumulus-client-consensus-aura = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false }
cumulus-client-consensus-common = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false }
cumulus-client-consensus-proposer = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false }
cumulus-client-network = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false }
cumulus-client-pov-recovery = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false }
cumulus-client-service = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.3.0", default-features = false }
Expand Down
10 changes: 10 additions & 0 deletions client/consensus/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,26 @@ sp-core = { workspace = true }
sp-inherents = { workspace = true }
sp-keystore = { workspace = true }
sp-runtime = { workspace = true }
sp-state-machine = { workspace = true }
sp-timestamp = { workspace = true }
substrate-prometheus-endpoint = { workspace = true }

# Own
tp-consensus = { workspace = true, features = [ "std" ] }

# Cumulus dependencies
cumulus-client-collator = { workspace = true }
cumulus-client-consensus-aura = { workspace = true }
cumulus-client-consensus-common = { workspace = true }
cumulus-client-consensus-proposer = { workspace = true }
cumulus-primitives-core = { workspace = true }
cumulus-primitives-parachain-inherent = { workspace = true }
cumulus-relay-chain-interface = { workspace = true }

# Polkadot
polkadot-node-primitives = { workspace = true }
polkadot-overseer = { workspace = true }
polkadot-primitives = { workspace = true }

# Nimbus Dependencies
nimbus-consensus = { workspace = true }
Expand Down
Loading

0 comments on commit 16ae4cc

Please sign in to comment.