Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

past-session validator discovery APIs #2009

Merged
43 commits merged into from
Nov 26, 2020

Conversation

ordian
Copy link
Member

@ordian ordian commented Nov 24, 2020

Fixes #1461.

On top of #1968.

* master:
  Bump smallvec from 1.4.2 to 1.5.0 (#1971)
  Companion PR for substrate#7549 (#1967)
  Bump parking_lot from 0.11.0 to 0.11.1 (#1970)
  Connect to different validators on different leaves (#1966)
  patches (#1965)
  Bump dlmalloc from 0.1.4 to 0.2.1 (#1962)
* master:
  base priority on client changes only (#1969)
* master:
  A simple check to reject obviously wrong validation code binaries (#1989)
  fix approval keytypes doc (#1988)
  add max_pov_size to runtime config and PersistedValidationData (#1984)
  Bump env_logger from 0.8.1 to 0.8.2 (#1981)
  Bump pin-project from 1.0.1 to 1.0.2 (#1982)
* master:
  Improve collator side of the collator-protocol (#1955)
  add parity-keyring to install instructions (#1993)
  sane messaging defaults (#1994)
  cleanup validator discovery (#1992)
  Add Prometheus timers to the subsystems (#1923)
  Add tracing support to node (#1940)
* master:
  overseer: send_msg should not return an error (#1995)
  Bump async-trait from 0.1.41 to 0.1.42 (#1996)
* master:
  backing: reorder votes to match bitfield in backed candidate (#2006)
  Switch to wasm-builder 3.0.0 (#2004)
  Make sure we inform statement listeners about received statements (#1999)
  Update docker.md (#2000)
  Bump tracing from 0.1.21 to 0.1.22 (#2001)
  Bump assert_cmd from 1.0.1 to 1.0.2 (#2003)
  Bump color-eyre from 0.5.7 to 0.5.8 (#2002)
  *: Update authority discovery and remove WorkerConfig (#1953)
  companion for substrate#7546 (#1954)
@ordian ordian added A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. labels Nov 24, 2020
Copy link
Contributor

@coriolinus coriolinus left a comment

Choose a reason for hiding this comment

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

Only reviewed from 3d22556 on; I believe that to be the start of this PR.

node/network/collator-protocol/src/collator_side.rs Outdated Show resolved Hide resolved
node/subsystem-util/src/lib.rs Show resolved Hide resolved
ordian and others added 10 commits November 25, 2020 13:33
Co-authored-by: Sergei Shulepov <sergei@parity.io>
…essions

* ao-session-info:
  runtime/session_info: define the keys
  runtime/session_info: add a comment about missing entries
  Update runtime/parachains/src/session_info.rs
* master:
  Some code cleanup in overseer (#2008)
  PoV Distribution optimization (#1990)
  Approval Distribution Subsystem (#1951)
  Session management for approval voting (#1973)
  Do not send messages twice in bitfield distribution (#2005)
@ordian
Copy link
Member Author

ordian commented Nov 25, 2020

This PR removes validator_discovery runtime API call in favor of session_info (+ session_index_for_child to retrieve the current session index). I think it's redundant now, but if you disagree I can bring it back.

@ordian ordian requested a review from montekki November 25, 2020 17:21
@montekki
Copy link
Contributor

bot merge

@ghost
Copy link

ghost commented Nov 26, 2020

Trying merge.

@ghost ghost merged commit 734eda8 into master Nov 26, 2020
@ghost ghost deleted the ao-validator-discovery-previous-sessions branch November 26, 2020 11:02
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement past-session validator discovery APIs for Network Bridge
3 participants