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

feat: ban bad block-sync peers #5871

Merged
merged 6 commits into from
Oct 27, 2023
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Update base_layer/core/src/base_node/sync/rpc/tests.rs
SWvheerden authored and hansieodendaal committed Oct 27, 2023

Verified

This commit was signed with the committer’s verified signature.
hansieodendaal Hansie Odendaal
commit 6a93ea30e296010224851e1d285b5182f87782e5
2 changes: 1 addition & 1 deletion base_layer/core/src/base_node/sync/rpc/tests.rs
Original file line number Diff line number Diff line change
@@ -75,7 +75,7 @@ mod sync_blocks {
}

#[tokio::test]
async fn is_sends_bad_request+on_bad_response() {
async fn is_sends_bad_request_on_bad_response() {
let (service, db, rpc_request_mock, _tmp) = setup();

let (_, chain) = create_main_chain(&db, block_specs!(["A->GB"])).await;