mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 02:51:01 +00:00
Manually update deps in polkadot staging (#2371)
* Bump clap from 4.3.19 to 4.3.21 Bumps [clap](https://github.com/clap-rs/clap) from 4.3.19 to 4.3.21. - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](https://github.com/clap-rs/clap/compare/v4.3.19...v4.3.21) --- updated-dependencies: - dependency-name: clap dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump tokio from 1.29.1 to 1.31.0 Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.29.1 to 1.31.0. - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.29.1...tokio-1.31.0) --- updated-dependencies: - dependency-name: tokio dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump sysinfo from 0.29.7 to 0.29.8 Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo) from 0.29.7 to 0.29.8. - [Changelog](https://github.com/GuillaumeGomez/sysinfo/blob/master/CHANGELOG.md) - [Commits](https://github.com/GuillaumeGomez/sysinfo/commits) --- updated-dependencies: - dependency-name: sysinfo dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump async-trait from 0.1.72 to 0.1.73 Bumps [async-trait](https://github.com/dtolnay/async-trait) from 0.1.72 to 0.1.73. - [Release notes](https://github.com/dtolnay/async-trait/releases) - [Commits](https://github.com/dtolnay/async-trait/compare/0.1.72...0.1.73) --- updated-dependencies: - dependency-name: async-trait dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump log from 0.4.19 to 0.4.20 Bumps [log](https://github.com/rust-lang/log) from 0.4.19 to 0.4.20. - [Release notes](https://github.com/rust-lang/log/releases) - [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/log/compare/0.4.19...0.4.20) --- updated-dependencies: - dependency-name: log dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump anyhow from 1.0.72 to 1.0.75 Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.72 to 1.0.75. - [Release notes](https://github.com/dtolnay/anyhow/releases) - [Commits](https://github.com/dtolnay/anyhow/compare/1.0.72...1.0.75) --- updated-dependencies: - dependency-name: anyhow dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump tempfile from 3.7.1 to 3.8.0 Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.7.1 to 3.8.0. - [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md) - [Commits](https://github.com/Stebalien/tempfile/compare/v3.7.1...v3.8.0) --- updated-dependencies: - dependency-name: tempfile dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump clap from 4.3.21 to 4.3.23 Bumps [clap](https://github.com/clap-rs/clap) from 4.3.21 to 4.3.23. - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](https://github.com/clap-rs/clap/compare/v4.3.21...v4.3.23) --- updated-dependencies: - dependency-name: clap dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump tokio from 1.31.0 to 1.32.0 Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.31.0 to 1.32.0. - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.31.0...tokio-1.32.0) --- updated-dependencies: - dependency-name: tokio dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump serde_json from 1.0.104 to 1.0.105 Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.104 to 1.0.105. - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.104...v1.0.105) --- updated-dependencies: - dependency-name: serde_json dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump thiserror from 1.0.44 to 1.0.47 Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.44 to 1.0.47. - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](https://github.com/dtolnay/thiserror/compare/1.0.44...1.0.47) --- updated-dependencies: - dependency-name: thiserror dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump rustls-webpki from 0.101.1 to 0.101.4 Bumps [rustls-webpki](https://github.com/rustls/webpki) from 0.101.1 to 0.101.4. - [Release notes](https://github.com/rustls/webpki/releases) - [Commits](https://github.com/rustls/webpki/compare/v/0.101.1...v/0.101.4) --- updated-dependencies: - dependency-name: rustls-webpki dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> * Bump rustls-webpki from 0.100.1 to 0.100.2 in /tools/runtime-codegen Bumps [rustls-webpki](https://github.com/rustls/webpki) from 0.100.1 to 0.100.2. - [Release notes](https://github.com/rustls/webpki/releases) - [Commits](https://github.com/rustls/webpki/compare/v/0.100.1...v/0.100.2) --- updated-dependencies: - dependency-name: rustls-webpki dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> * fix clippy (#2335) * fix clippy * fix clippy issues --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
committed by
Bastian Köcher
parent
cb100624a6
commit
cc3bbc690b
@@ -9,10 +9,10 @@ repository = "https://github.com/paritytech/parity-bridges-common/"
|
|||||||
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
|
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
clap = { version = "4.3.12", features = ["derive"] }
|
clap = { version = "4.3.23", features = ["derive"] }
|
||||||
futures = "0.3.28"
|
futures = "0.3.28"
|
||||||
jsonrpsee = { version = "0.16.2", features = ["server"] }
|
jsonrpsee = { version = "0.16.2", features = ["server"] }
|
||||||
serde_json = "1.0.96"
|
serde_json = "1.0.105"
|
||||||
|
|
||||||
# Bridge dependencies
|
# Bridge dependencies
|
||||||
|
|
||||||
|
|||||||
@@ -17,8 +17,8 @@ default = []
|
|||||||
runtime-benchmarks = ['rialto-parachain-runtime/runtime-benchmarks']
|
runtime-benchmarks = ['rialto-parachain-runtime/runtime-benchmarks']
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
clap = { version = "4.2.7", features = ["derive"] }
|
clap = { version = "4.3.23", features = ["derive"] }
|
||||||
log = '0.4.17'
|
log = '0.4.20'
|
||||||
codec = { package = 'parity-scale-codec', version = '3.1.5' }
|
codec = { package = 'parity-scale-codec', version = '3.1.5' }
|
||||||
serde = { version = '1.0', features = ['derive'] }
|
serde = { version = '1.0', features = ['derive'] }
|
||||||
|
|
||||||
|
|||||||
@@ -9,8 +9,8 @@ repository = "https://github.com/paritytech/parity-bridges-common/"
|
|||||||
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
|
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
clap = { version = "4.2.7", features = ["derive"] }
|
clap = { version = "4.3.23", features = ["derive"] }
|
||||||
serde_json = "1.0.96"
|
serde_json = "1.0.105"
|
||||||
|
|
||||||
# Bridge dependencies
|
# Bridge dependencies
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
codec = { package = "parity-scale-codec", version = "3.1.5", default-features = false, features = ["derive"] }
|
codec = { package = "parity-scale-codec", version = "3.1.5", default-features = false, features = ["derive"] }
|
||||||
hash-db = { version = "0.16.0", default-features = false }
|
hash-db = { version = "0.16.0", default-features = false }
|
||||||
log = { version = "0.4.19", default-features = false }
|
log = { version = "0.4.20", default-features = false }
|
||||||
scale-info = { version = "2.9.0", default-features = false, features = ["derive"] }
|
scale-info = { version = "2.9.0", default-features = false, features = ["derive"] }
|
||||||
static_assertions = { version = "1.1", optional = true }
|
static_assertions = { version = "1.1", optional = true }
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false }
|
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false }
|
||||||
log = { version = "0.4.19", default-features = false }
|
log = { version = "0.4.20", default-features = false }
|
||||||
scale-info = { version = "2.9.0", default-features = false, features = ["derive"] }
|
scale-info = { version = "2.9.0", default-features = false, features = ["derive"] }
|
||||||
serde = { version = "1.0", optional = true }
|
serde = { version = "1.0", optional = true }
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
codec = { package = "parity-scale-codec", version = "3.1.5", default-features = false }
|
codec = { package = "parity-scale-codec", version = "3.1.5", default-features = false }
|
||||||
finality-grandpa = { version = "0.16.2", default-features = false }
|
finality-grandpa = { version = "0.16.2", default-features = false }
|
||||||
log = { version = "0.4.19", default-features = false }
|
log = { version = "0.4.20", default-features = false }
|
||||||
scale-info = { version = "2.9.0", default-features = false, features = ["derive"] }
|
scale-info = { version = "2.9.0", default-features = false, features = ["derive"] }
|
||||||
|
|
||||||
# Bridge Dependencies
|
# Bridge Dependencies
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
codec = { package = "parity-scale-codec", version = "3.1.5", default-features = false }
|
codec = { package = "parity-scale-codec", version = "3.1.5", default-features = false }
|
||||||
log = { version = "0.4.19", default-features = false }
|
log = { version = "0.4.20", default-features = false }
|
||||||
num-traits = { version = "0.2", default-features = false }
|
num-traits = { version = "0.2", default-features = false }
|
||||||
scale-info = { version = "2.9.0", default-features = false, features = ["derive"] }
|
scale-info = { version = "2.9.0", default-features = false, features = ["derive"] }
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
codec = { package = "parity-scale-codec", version = "3.1.5", default-features = false }
|
codec = { package = "parity-scale-codec", version = "3.1.5", default-features = false }
|
||||||
log = { version = "0.4.19", default-features = false }
|
log = { version = "0.4.20", default-features = false }
|
||||||
scale-info = { version = "2.9.0", default-features = false, features = ["derive"] }
|
scale-info = { version = "2.9.0", default-features = false, features = ["derive"] }
|
||||||
|
|
||||||
# Bridge Dependencies
|
# Bridge Dependencies
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
codec = { package = "parity-scale-codec", version = "3.1.5", default-features = false }
|
codec = { package = "parity-scale-codec", version = "3.1.5", default-features = false }
|
||||||
log = { version = "0.4.19", default-features = false }
|
log = { version = "0.4.20", default-features = false }
|
||||||
scale-info = { version = "2.9.0", default-features = false, features = ["derive"] }
|
scale-info = { version = "2.9.0", default-features = false, features = ["derive"] }
|
||||||
|
|
||||||
# Bridge dependencies
|
# Bridge dependencies
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
codec = { package = "parity-scale-codec", version = "3.1.5", default-features = false }
|
codec = { package = "parity-scale-codec", version = "3.1.5", default-features = false }
|
||||||
log = { version = "0.4.19", default-features = false }
|
log = { version = "0.4.20", default-features = false }
|
||||||
scale-info = { version = "2.8.0", default-features = false, features = ["bit-vec", "derive", "serde"] }
|
scale-info = { version = "2.8.0", default-features = false, features = ["bit-vec", "derive", "serde"] }
|
||||||
|
|
||||||
# Bridge dependencies
|
# Bridge dependencies
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ async-trait = "0.1"
|
|||||||
codec = { package = "parity-scale-codec", version = "3.1.5" }
|
codec = { package = "parity-scale-codec", version = "3.1.5" }
|
||||||
futures = "0.3.28"
|
futures = "0.3.28"
|
||||||
hex = "0.4"
|
hex = "0.4"
|
||||||
log = "0.4.17"
|
log = "0.4.20"
|
||||||
num-format = "0.4"
|
num-format = "0.4"
|
||||||
num-traits = "0.2"
|
num-traits = "0.2"
|
||||||
rbtag = "0.3"
|
rbtag = "0.3"
|
||||||
@@ -72,5 +72,5 @@ xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "maste
|
|||||||
bp-test-utils = { path = "../../primitives/test-utils" }
|
bp-test-utils = { path = "../../primitives/test-utils" }
|
||||||
hex-literal = "0.4"
|
hex-literal = "0.4"
|
||||||
sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||||
tempfile = "3.5"
|
tempfile = "3.8"
|
||||||
finality-grandpa = { version = "0.16.2" }
|
finality-grandpa = { version = "0.16.2" }
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ impl SubstrateFinalitySyncPipeline for MillauFinalityToRialto {
|
|||||||
>;
|
>;
|
||||||
}
|
}
|
||||||
|
|
||||||
//// `Millau` to `Rialto` bridge definition.
|
/// `Millau` to `Rialto` bridge definition.
|
||||||
pub struct MillauToRialtoCliBridge {}
|
pub struct MillauToRialtoCliBridge {}
|
||||||
|
|
||||||
impl CliBridgeBase for MillauToRialtoCliBridge {
|
impl CliBridgeBase for MillauToRialtoCliBridge {
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ impl SubstrateFinalitySyncPipeline for RialtoFinalityToMillau {
|
|||||||
>;
|
>;
|
||||||
}
|
}
|
||||||
|
|
||||||
//// `Rialto` to `Millau` bridge definition.
|
/// `Rialto` to `Millau` bridge definition.
|
||||||
pub struct RialtoToMillauCliBridge {}
|
pub struct RialtoToMillauCliBridge {}
|
||||||
|
|
||||||
impl CliBridgeBase for RialtoToMillauCliBridge {
|
impl CliBridgeBase for RialtoToMillauCliBridge {
|
||||||
|
|||||||
+1
-1
@@ -62,7 +62,7 @@ impl SubstrateFinalitySyncPipeline for MillauFinalityToRialtoParachain {
|
|||||||
type SubmitFinalityProofCallBuilder = MillauFinalityToRialtoParachainCallBuilder;
|
type SubmitFinalityProofCallBuilder = MillauFinalityToRialtoParachainCallBuilder;
|
||||||
}
|
}
|
||||||
|
|
||||||
//// `Millau` to `RialtoParachain` bridge definition.
|
/// `Millau` to `RialtoParachain` bridge definition.
|
||||||
pub struct MillauToRialtoParachainCliBridge {}
|
pub struct MillauToRialtoParachainCliBridge {}
|
||||||
|
|
||||||
impl CliBridgeBase for MillauToRialtoParachainCliBridge {
|
impl CliBridgeBase for MillauToRialtoParachainCliBridge {
|
||||||
|
|||||||
+1
-1
@@ -44,7 +44,7 @@ pub type RialtoParachainsToMillauSubmitParachainHeadsCallBuilder =
|
|||||||
millau_runtime::WithRialtoParachainsInstance,
|
millau_runtime::WithRialtoParachainsInstance,
|
||||||
>;
|
>;
|
||||||
|
|
||||||
//// `RialtoParachain` to `Millau` bridge definition.
|
/// `RialtoParachain` to `Millau` bridge definition.
|
||||||
pub struct RialtoParachainToMillauCliBridge {}
|
pub struct RialtoParachainToMillauCliBridge {}
|
||||||
|
|
||||||
impl CliBridgeBase for RialtoParachainToMillauCliBridge {
|
impl CliBridgeBase for RialtoParachainToMillauCliBridge {
|
||||||
|
|||||||
+1
-1
@@ -41,7 +41,7 @@ impl SubstrateFinalitySyncPipeline for WestendFinalityToMillau {
|
|||||||
>;
|
>;
|
||||||
}
|
}
|
||||||
|
|
||||||
//// `Westend` to `Millau` bridge definition.
|
/// `Westend` to `Millau` bridge definition.
|
||||||
pub struct WestendToMillauCliBridge {}
|
pub struct WestendToMillauCliBridge {}
|
||||||
|
|
||||||
impl CliBridgeBase for WestendToMillauCliBridge {
|
impl CliBridgeBase for WestendToMillauCliBridge {
|
||||||
|
|||||||
+1
-1
@@ -43,7 +43,7 @@ pub type WestendParachainsToMillauSubmitParachainHeadsCallBuilder =
|
|||||||
millau_runtime::WithWestendParachainsInstance,
|
millau_runtime::WithWestendParachainsInstance,
|
||||||
>;
|
>;
|
||||||
|
|
||||||
//// `WestendParachain` to `Millau` bridge definition.
|
/// `WestendParachain` to `Millau` bridge definition.
|
||||||
pub struct AssetHubWestendToMillauCliBridge {}
|
pub struct AssetHubWestendToMillauCliBridge {}
|
||||||
|
|
||||||
impl ParachainToRelayHeadersCliBridge for AssetHubWestendToMillauCliBridge {
|
impl ParachainToRelayHeadersCliBridge for AssetHubWestendToMillauCliBridge {
|
||||||
|
|||||||
@@ -355,14 +355,14 @@ where
|
|||||||
let common = self.mut_base().mut_common();
|
let common = self.mut_base().mut_common();
|
||||||
substrate_relay_helper::messages_metrics::add_relay_balances_metrics::<_, Self::Right>(
|
substrate_relay_helper::messages_metrics::add_relay_balances_metrics::<_, Self::Right>(
|
||||||
common.left.client.clone(),
|
common.left.client.clone(),
|
||||||
&mut common.metrics_params,
|
&common.metrics_params,
|
||||||
&common.left.accounts,
|
&common.left.accounts,
|
||||||
&lanes,
|
&lanes,
|
||||||
)
|
)
|
||||||
.await?;
|
.await?;
|
||||||
substrate_relay_helper::messages_metrics::add_relay_balances_metrics::<_, Self::Left>(
|
substrate_relay_helper::messages_metrics::add_relay_balances_metrics::<_, Self::Left>(
|
||||||
common.right.client.clone(),
|
common.right.client.clone(),
|
||||||
&mut common.metrics_params,
|
&common.metrics_params,
|
||||||
&common.right.accounts,
|
&common.right.accounts,
|
||||||
&lanes,
|
&lanes,
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -11,12 +11,12 @@ async-trait = "0.1"
|
|||||||
codec = { package = "parity-scale-codec", version = "3.1.5" }
|
codec = { package = "parity-scale-codec", version = "3.1.5" }
|
||||||
futures = "0.3.28"
|
futures = "0.3.28"
|
||||||
jsonrpsee = { version = "0.17", features = ["macros", "ws-client"] }
|
jsonrpsee = { version = "0.17", features = ["macros", "ws-client"] }
|
||||||
log = "0.4.17"
|
log = "0.4.20"
|
||||||
num-traits = "0.2"
|
num-traits = "0.2"
|
||||||
rand = "0.8"
|
rand = "0.8"
|
||||||
scale-info = { version = "2.9.0", features = ["derive"] }
|
scale-info = { version = "2.9.0", features = ["derive"] }
|
||||||
tokio = { version = "1.28", features = ["rt-multi-thread"] }
|
tokio = { version = "1.32", features = ["rt-multi-thread"] }
|
||||||
thiserror = "1.0.40"
|
thiserror = "1.0.47"
|
||||||
|
|
||||||
# Bridge dependencies
|
# Bridge dependencies
|
||||||
|
|
||||||
|
|||||||
@@ -7,14 +7,14 @@ license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "1.0"
|
anyhow = "1.0"
|
||||||
thiserror = "1.0.40"
|
thiserror = "1.0.47"
|
||||||
async-std = "1.9.0"
|
async-std = "1.9.0"
|
||||||
async-trait = "0.1"
|
async-trait = "0.1"
|
||||||
codec = { package = "parity-scale-codec", version = "3.1.5" }
|
codec = { package = "parity-scale-codec", version = "3.1.5" }
|
||||||
futures = "0.3.28"
|
futures = "0.3.28"
|
||||||
hex = "0.4"
|
hex = "0.4"
|
||||||
num-traits = "0.2"
|
num-traits = "0.2"
|
||||||
log = "0.4.17"
|
log = "0.4.20"
|
||||||
|
|
||||||
# Bridge dependencies
|
# Bridge dependencies
|
||||||
|
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ use std::{convert::TryFrom, fmt::Debug, marker::PhantomData};
|
|||||||
/// Add relay accounts balance metrics.
|
/// Add relay accounts balance metrics.
|
||||||
pub async fn add_relay_balances_metrics<C: ChainWithBalances, BC: ChainWithMessages>(
|
pub async fn add_relay_balances_metrics<C: ChainWithBalances, BC: ChainWithMessages>(
|
||||||
client: Client<C>,
|
client: Client<C>,
|
||||||
metrics: &mut MetricsParams,
|
metrics: &MetricsParams,
|
||||||
relay_accounts: &Vec<TaggedAccount<AccountIdOf<C>>>,
|
relay_accounts: &Vec<TaggedAccount<AccountIdOf<C>>>,
|
||||||
lanes: &[LaneId],
|
lanes: &[LaneId],
|
||||||
) -> anyhow::Result<()>
|
) -> anyhow::Result<()>
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ async-trait = "0.1"
|
|||||||
env_logger = "0.10"
|
env_logger = "0.10"
|
||||||
futures = "0.3.28"
|
futures = "0.3.28"
|
||||||
hex = "0.4"
|
hex = "0.4"
|
||||||
log = "0.4.17"
|
log = "0.4.20"
|
||||||
num-traits = "0.2"
|
num-traits = "0.2"
|
||||||
parking_lot = "0.12.1"
|
parking_lot = "0.12.1"
|
||||||
|
|
||||||
|
|||||||
@@ -664,7 +664,7 @@ pub async fn run<P: MessageRace, SC: SourceClient<P>, TC: TargetClient<P>>(
|
|||||||
})
|
})
|
||||||
.fuse(),
|
.fuse(),
|
||||||
);
|
);
|
||||||
} else if source_nonces_required && best_at_source.is_some() {
|
} else if let (true, Some(best_at_source)) = (source_nonces_required, best_at_source) {
|
||||||
log::debug!(target: "bridge", "Asking {} about message nonces", P::source_name());
|
log::debug!(target: "bridge", "Asking {} about message nonces", P::source_name());
|
||||||
let at_block = race_state
|
let at_block = race_state
|
||||||
.best_finalized_source_header_id_at_source
|
.best_finalized_source_header_id_at_source
|
||||||
@@ -674,11 +674,7 @@ pub async fn run<P: MessageRace, SC: SourceClient<P>, TC: TargetClient<P>>(
|
|||||||
best_finalized_source_header_id_at_source is Some; qed",
|
best_finalized_source_header_id_at_source is Some; qed",
|
||||||
)
|
)
|
||||||
.clone();
|
.clone();
|
||||||
source_nonces.set(
|
source_nonces.set(race_source.nonces(at_block, best_at_source).fuse());
|
||||||
race_source
|
|
||||||
.nonces(at_block, best_at_source.expect("guaranteed by if condition; qed"))
|
|
||||||
.fuse(),
|
|
||||||
);
|
|
||||||
} else {
|
} else {
|
||||||
source_client_is_online = true;
|
source_client_is_online = true;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,9 +7,9 @@ license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
async-std = "1.6.5"
|
async-std = "1.6.5"
|
||||||
async-trait = "0.1.68"
|
async-trait = "0.1.73"
|
||||||
futures = "0.3.28"
|
futures = "0.3.28"
|
||||||
log = "0.4.17"
|
log = "0.4.20"
|
||||||
relay-utils = { path = "../utils" }
|
relay-utils = { path = "../utils" }
|
||||||
|
|
||||||
# Bridge dependencies
|
# Bridge dependencies
|
||||||
|
|||||||
@@ -15,13 +15,13 @@ isahc = "1.2"
|
|||||||
env_logger = "0.10.0"
|
env_logger = "0.10.0"
|
||||||
futures = "0.3.28"
|
futures = "0.3.28"
|
||||||
jsonpath_lib = "0.3"
|
jsonpath_lib = "0.3"
|
||||||
log = "0.4.17"
|
log = "0.4.20"
|
||||||
num-traits = "0.2"
|
num-traits = "0.2"
|
||||||
serde_json = "1.0"
|
serde_json = "1.0"
|
||||||
sysinfo = "0.29"
|
sysinfo = "0.29"
|
||||||
time = { version = "0.3", features = ["formatting", "local-offset", "std"] }
|
time = { version = "0.3", features = ["formatting", "local-offset", "std"] }
|
||||||
tokio = { version = "1.28", features = ["rt"] }
|
tokio = { version = "1.32", features = ["rt"] }
|
||||||
thiserror = "1.0.40"
|
thiserror = "1.0.47"
|
||||||
|
|
||||||
# Bridge dependencies
|
# Bridge dependencies
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user