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

Commit d50073b

Browse files
committed
Merge branch 'master' into ao-session-info
* master: Improve collator side of the collator-protocol (#1955) add parity-keyring to install instructions (#1993) sane messaging defaults (#1994) cleanup validator discovery (#1992) Add Prometheus timers to the subsystems (#1923) Add tracing support to node (#1940)
2 parents 2f6905a + ba74791 commit d50073b

File tree

64 files changed

+2445
-1093
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+2445
-1093
lines changed

Cargo.lock

+44-15
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ gpg --export 9D4B2B6EB8F97156D19669A9FF0812D491B96798 > /usr/share/keyrings/pari
4040
# Add the Parity repository and update the package index
4141
echo 'deb [signed-by=/usr/share/keyrings/parity.gpg] https://releases.parity.io/deb release main' > /etc/apt/sources.list.d/parity.list
4242
apt update
43+
# Install the `parity-keyring` package - This will ensure the GPG key
44+
# used by APT remains up-to-date
45+
apt install parity-keyring
4346
# Install polkadot
4447
apt install polkadot
4548

cli/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ polkadot-parachain = { path = "../parachain", optional = true }
2525

2626
sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" }
2727
sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "master" }
28+
tracing-futures = "0.2.4"
2829
frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true }
2930
sc-cli = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true }
3031
sc-service = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true }

core-primitives/src/lib.rs

+7
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,13 @@ pub type Hash = sp_core::H256;
5959
#[derive(Clone, Copy, Encode, Decode, Hash, Eq, PartialEq, Debug, Default)]
6060
pub struct CandidateHash(pub Hash);
6161

62+
#[cfg(feature="std")]
63+
impl std::fmt::Display for CandidateHash {
64+
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
65+
self.0.fmt(f)
66+
}
67+
}
68+
6269
/// Index of a transaction in the relay chain. 32-bit should be plenty.
6370
pub type Nonce = u32;
6471

node/collation-generation/Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ edition = "2018"
66

77
[dependencies]
88
futures = "0.3.8"
9-
log = "0.4.11"
9+
tracing = "0.1.21"
10+
tracing-futures = "0.2.4"
1011
polkadot-erasure-coding = { path = "../../erasure-coding" }
1112
polkadot-node-primitives = { path = "../primitives" }
1213
polkadot-node-subsystem = { path = "../subsystem" }

0 commit comments

Comments
 (0)