Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Merge branch 'master' into ao-recovery-try-connect
Browse files Browse the repository at this point in the history
* master:
  Governance v2 (Kusama only) (#5205)
  Companion for substrate#12124: add BEEFY request response protocol (#6035)
  Remove orchestra and metered channel (#6086)
  Companion for pallet-mmr: generate historical proofs  (#6061)
  Fix: minor typo (#6088)
  add para_id to fetch_pov logging (#6084)
  • Loading branch information
ordian committed Oct 4, 2022
2 parents fc18fdf + 3fbf6e4 commit 66c542e
Show file tree
Hide file tree
Showing 98 changed files with 2,271 additions and 7,290 deletions.
440 changes: 254 additions & 186 deletions Cargo.lock

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,6 @@ members = [
"node/network/gossip-support",
"node/network/dispute-distribution",
"node/overseer",
"node/orchestra",
"node/orchestra/proc-macro",
"node/malus",
"node/primitives",
"node/service",
Expand All @@ -96,7 +94,6 @@ members = [
"node/gum",
"node/gum/proc-macro",
"node/metrics",
"node/metered-channel",
"node/test/client",
"node/test/performance-test",
"node/test/service",
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ dnf install polkadot
Make sure you have the support software installed from the **Build from Source** section
below this section.

If you want to install Polkadot in your PATH, you can do so with with:
If you want to install Polkadot in your PATH, you can do so with:

```bash
cargo install --git https://github.com/paritytech/polkadot --tag <version> polkadot --locked
Expand Down
13 changes: 11 additions & 2 deletions node/core/backing/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -621,6 +621,7 @@ async fn request_pov(
sender: &mut impl overseer::CandidateBackingSenderTrait,
relay_parent: Hash,
from_validator: ValidatorIndex,
para_id: ParaId,
candidate_hash: CandidateHash,
pov_hash: Hash,
) -> Result<Arc<PoV>, Error> {
Expand All @@ -629,6 +630,7 @@ async fn request_pov(
.send_message(AvailabilityDistributionMessage::FetchPoV {
relay_parent,
from_validator,
para_id,
candidate_hash,
pov_hash,
tx,
Expand Down Expand Up @@ -697,8 +699,15 @@ async fn validate_and_make_available(
PoVData::Ready(pov) => pov,
PoVData::FetchFromValidator { from_validator, candidate_hash, pov_hash } => {
let _span = span.as_ref().map(|s| s.child("request-pov"));
match request_pov(&mut sender, relay_parent, from_validator, candidate_hash, pov_hash)
.await
match request_pov(
&mut sender,
relay_parent,
from_validator,
candidate.descriptor.para_id,
candidate_hash,
pov_hash,
)
.await
{
Err(Error::FetchPoV) => {
tx_command
Expand Down
25 changes: 0 additions & 25 deletions node/metered-channel/Cargo.toml

This file was deleted.

195 changes: 0 additions & 195 deletions node/metered-channel/src/bounded.rs

This file was deleted.

Loading

0 comments on commit 66c542e

Please sign in to comment.