diff --git a/bridges/relays/lib-substrate-relay/Cargo.toml b/bridges/relays/lib-substrate-relay/Cargo.toml
index 99ff91a750619bd711d86cd5de9ef97b175e1f69..c064f11b22eb98ed312bfae93e646e74f551eba1 100644
--- a/bridges/relays/lib-substrate-relay/Cargo.toml
+++ b/bridges/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/bridges/relays/lib-substrate-relay/src/on_demand/headers.rs b/bridges/relays/lib-substrate-relay/src/on_demand/headers.rs
index 99ca1d4d5a726f13da02fd294e5733553c2e5f0f..e8a2a3c6c58aaedeb55da67871d0ddb51830338d 100644
--- a/bridges/relays/lib-substrate-relay/src/on_demand/headers.rs
+++ b/bridges/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<bp_rococo::BlockNumber> = Some(10);
-	const AT_TARGET: Option<bp_rococo::BlockNumber> = Some(1);
+	const AT_SOURCE: Option<BlockNumberOf<TestChain>> = Some(10);
+	const AT_TARGET: Option<BlockNumberOf<TestChain>> = Some(1);
 
 	#[async_std::test]
 	async fn mandatory_headers_scan_range_selects_range_if_some_headers_are_missing() {