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

Vstaging statement distribution omnibus #1436

Merged
merged 31 commits into from
Oct 21, 2023
Merged

Conversation

rphmeier
Copy link
Contributor

@rphmeier rphmeier commented Sep 6, 2023

in-progress PR adding new tests and solving bugs

rphmeier and others added 14 commits September 8, 2023 16:19
Closes #1478

For this issue we wanted to add tests to cover three cases:

1. A cluster member seeing a Seconded message should request the
candidate from the sender
2. A cluster member receiving a request should respond if the requester
has not sent them any statements about the candidate
3. A cluster member should reject requests if the requester appears to
know the candidate (has sent them a Seconded statement)

Case 1 is already covered by the test
`seconded_statement_leads_to_request` in
`polkadot/node/network/statement-distribution/src/vstaging/tests/cluster.rs`

Cases 2 and 3 are covered by the new test
`local_node_checks_that_peer_can_request_before_responding` added in
this PR
@eskimor eskimor marked this pull request as ready for review October 20, 2023 12:44
@@ -542,6 +556,13 @@ pub(crate) async fn handle_active_leaves_update<Context>(
);
}

gum::debug!(
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
gum::debug!(
gum::trace!(

Copy link
Member

Choose a reason for hiding this comment

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

just once per leaf update, not too spammy.

@eskimor eskimor added the R0-silent Changes should not be mentioned in any release notes label Oct 20, 2023
@eskimor eskimor merged commit a46183c into master Oct 21, 2023
116 of 117 checks passed
@eskimor eskimor deleted the rh-debug-statement-dist branch October 21, 2023 09:01
serban300 pushed a commit to serban300/polkadot-sdk that referenced this pull request Apr 8, 2024
* added parachains pallet benchmarks

* deduplicate insertion of bridged header

* pruning weight

* fixes

* fix compilation
serban300 pushed a commit to serban300/polkadot-sdk that referenced this pull request Apr 8, 2024
* added parachains pallet benchmarks

* deduplicate insertion of bridged header

* pruning weight

* fixes

* fix compilation
serban300 pushed a commit to serban300/polkadot-sdk that referenced this pull request Apr 8, 2024
* added parachains pallet benchmarks

* deduplicate insertion of bridged header

* pruning weight

* fixes

* fix compilation
serban300 pushed a commit to serban300/polkadot-sdk that referenced this pull request Apr 8, 2024
* added parachains pallet benchmarks

* deduplicate insertion of bridged header

* pruning weight

* fixes

* fix compilation
serban300 pushed a commit to serban300/polkadot-sdk that referenced this pull request Apr 9, 2024
* added parachains pallet benchmarks

* deduplicate insertion of bridged header

* pruning weight

* fixes

* fix compilation
serban300 pushed a commit to serban300/polkadot-sdk that referenced this pull request Apr 9, 2024
* added parachains pallet benchmarks

* deduplicate insertion of bridged header

* pruning weight

* fixes

* fix compilation
serban300 pushed a commit to serban300/polkadot-sdk that referenced this pull request Apr 9, 2024
* added parachains pallet benchmarks

* deduplicate insertion of bridged header

* pruning weight

* fixes

* fix compilation
serban300 pushed a commit to serban300/polkadot-sdk that referenced this pull request Apr 9, 2024
* added parachains pallet benchmarks

* deduplicate insertion of bridged header

* pruning weight

* fixes

* fix compilation
serban300 pushed a commit to serban300/polkadot-sdk that referenced this pull request Apr 9, 2024
* added parachains pallet benchmarks

* deduplicate insertion of bridged header

* pruning weight

* fixes

* fix compilation
serban300 pushed a commit to serban300/polkadot-sdk that referenced this pull request Apr 9, 2024
* added parachains pallet benchmarks

* deduplicate insertion of bridged header

* pruning weight

* fixes

* fix compilation
serban300 pushed a commit to serban300/polkadot-sdk that referenced this pull request Apr 10, 2024
* added parachains pallet benchmarks

* deduplicate insertion of bridged header

* pruning weight

* fixes

* fix compilation
serban300 pushed a commit to serban300/polkadot-sdk that referenced this pull request Apr 10, 2024
* added parachains pallet benchmarks

* deduplicate insertion of bridged header

* pruning weight

* fixes

* fix compilation
bkchr pushed a commit that referenced this pull request Apr 10, 2024
* added parachains pallet benchmarks

* deduplicate insertion of bridged header

* pruning weight

* fixes

* fix compilation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
R0-silent Changes should not be mentioned in any release notes
Projects
Status: Completed
Development

Successfully merging this pull request may close these issues.

5 participants