diff --git a/Cargo.lock b/Cargo.lock index 25acccb2b9..f9a76ae700 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -9093,7 +9093,6 @@ dependencies = [ "bp-parachains", "bp-polkadot-core", "bp-relayers", - "bp-rococo", "bp-runtime", "bridge-runtime-common", "equivocation-detector", diff --git a/relays/lib-substrate-relay/Cargo.toml b/relays/lib-substrate-relay/Cargo.toml index 99ff91a750..c064f11b22 100644 --- a/relays/lib-substrate-relay/Cargo.toml +++ b/relays/lib-substrate-relay/Cargo.toml @@ -56,6 +56,5 @@ sp-consensus-grandpa = { git = "https://github.com/paritytech/polkadot-sdk", bra sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master" } [dev-dependencies] -bp-rococo = { path = "../../chains/chain-rococo" } pallet-transaction-payment = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master" } relay-substrate-client = { path = "../client-substrate", features = ["test-helpers"] } diff --git a/relays/lib-substrate-relay/src/on_demand/headers.rs b/relays/lib-substrate-relay/src/on_demand/headers.rs index 99ca1d4d5a..e8a2a3c6c5 100644 --- a/relays/lib-substrate-relay/src/on_demand/headers.rs +++ b/relays/lib-substrate-relay/src/on_demand/headers.rs @@ -528,8 +528,8 @@ mod tests { use super::*; use relay_substrate_client::test_chain::TestChain; - const AT_SOURCE: Option = Some(10); - const AT_TARGET: Option = Some(1); + const AT_SOURCE: Option> = Some(10); + const AT_TARGET: Option> = Some(1); #[async_std::test] async fn mandatory_headers_scan_range_selects_range_if_some_headers_are_missing() {