Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Leftover #2900

Merged
merged 1 commit into from
Mar 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion relays/lib-substrate-relay/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 nice :)

pallet-transaction-payment = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master" }
relay-substrate-client = { path = "../client-substrate", features = ["test-helpers"] }
4 changes: 2 additions & 2 deletions relays/lib-substrate-relay/src/on_demand/headers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down