Skip to content
  1. Oct 09, 2020
  2. Oct 08, 2020
    • Kian Paimani's avatar
      Companion for substrate/pull/6896 (#1610) · c5d04104
      Kian Paimani authored
      * make polkadot work again,
      
      * Fix build
      
      * "Update Substrate"
      
      Co-authored-by: parity-processbot <>
      c5d04104
    • Peter Goodspeed-Niklaus's avatar
      Remove old service, 3rd try (#1776) · c2941a27
      Peter Goodspeed-Niklaus authored
      * Remove old service, 3rd try
      
      i.e.
      Revert "Revert "Remove Old Service, 2nd try (#1732)" (#1758)"
      
      This reverts commit 9a0f08bf
      
      .
      
      Closes #1757.
      
      We now have some evidence that the polkadot validator was producing
      blocks after all; the reason the blocks_constructed metric was 0 was
      that as a new metric it hadn't yet been incorporated into that
      branch's codebase. See
      https://github.com/paritytech/polkadot/issues/1757#issuecomment-700977602
      
      As this PR is based on a newer `master` branch than the previous one,
      that should hopefully no longer be an issue.
      
      * paras trait now has an Origin type
      
      * initial work running a two node local net
      
      * use the right incantations so the nodes produce blocks together
      
      * improve internal documentation
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      c2941a27
    • Bastian Köcher's avatar
      Make `AllSubsystems` usage easier in tests (#1794) · f2d7b6f5
      Bastian Köcher authored
      
      
      * Make `AllSubsystems` usage easier in tests
      
      This makes the usage of `AllSubsystems` easier in tests by introducing
      new methods.
      
      - `dummy` initializes `AllSubsystems` with all systems set to dummy
      - `replace_*` to replace any subsystem
      
      Besides that this pr adds a `ForwardSubsystem` that is also useful for
      tests. This subsystem will forward all incoming messages to the given channel.
      
      * Update node/overseer/src/lib.rs
      
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      
      * Update node/subsystem/src/lib.rs
      
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      
      * Update node/subsystem/src/lib.rs
      
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      
      * Move ForwardSubsystem and add a test
      
      * Break some lines
      
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      f2d7b6f5
  3. Oct 07, 2020
  4. Oct 06, 2020
    • Bastian Köcher's avatar
      Pass relay parent as argument when collating (#1789) · 325c2458
      Bastian Köcher authored
      This pr changes the collation function to also pass the current relay
      parent the parachain block should be build on.
      325c2458
    • ordian's avatar
      chain-api subsystem: implement BlockHeader messsage (#1778) · d00bdfef
      ordian authored
      * chain-api subsystem: implement BlockHeader messsage
      
      * update the guide
      d00bdfef
    • ordian's avatar
      collator: fix a typo (#1788) · abf76d27
      ordian authored
      * collator: fix a typo
      
      * collator: fix more typos
      
      * collator: fix even more typos
      abf76d27
    • ordian's avatar
      NetworkBridge: validator (authorities) discovery api (#1699) · ca89e3ed
      ordian authored
      
      
      * stupid, but it compiles
      
      * redo
      
      * cleanup
      
      * add ValidatorDiscovery to msgs
      
      * sketch network bridge code
      
      * ConnectToAuthorities instead of validators
      
      * more stuff
      
      * cleanup
      
      * more stuff
      
      * complete ConnectToAuthoritiesState
      
      * Update node/network/bridge/src/lib.rs
      
      Co-authored-by: default avatarPeter Goodspeed-Niklaus <[email protected]>
      
      * Collator protocol subsystem (#1659)
      
      * WIP
      
      * The initial implementation of the collator side.
      
      * Improve comments
      
      * Multiple collation requests
      
      * Add more tests and comments to validator side
      
      * Add comments, remove dead code
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarPeter Goodspeed-Niklaus <[email protected]>
      
      * Fix build after suggested changes
      
      * Also connect to the next validator group
      
      * Remove a Future impl and move TimeoutExt to util
      
      * Minor nits
      
      * Fix build
      
      * Change FetchCollations back to FetchCollation
      
      * Try this
      
      * Final fixes
      
      * Fix build
      
      Co-authored-by: default avatarPeter Goodspeed-Niklaus <[email protected]>
      
      * handle multiple in-flight connection requests
      
      * handle cancelled requests
      
      * Update node/core/runtime-api/src/lib.rs
      
      Co-authored-by: default avatarBernhard Schuster <[email protected]>
      
      * redo it again
      
      * more stuff
      
      * redo it again
      
      * update comments
      
      * workaround Future is not Send
      
      * fix trailing spaces
      
      * clarify comments
      
      * bridge: fix compilation in tests
      
      * update more comments
      
      * small fixes
      
      * port collator protocol to new validator discovery api
      
      * collator tests compile
      
      * collator tests pass
      
      * do not revoke a request when the stream receiver is closed
      
      * make revoking opt-in
      
      * fix is_fulfilled
      
      * handle request revokation in collator
      
      * tests
      
      * wait for validator connections asyncronously
      
      * fix compilation
      
      * relabel my todos
      
      * apply Fedor's patch
      
      * resolve reconnection TODO
      
      * resolve revoking TODO
      
      * resolve channel capacity TODO
      
      * resolve peer cloning TODO
      
      * resolve peer disconnected TODO
      
      * resolve PeerSet TODO
      
      * wip tests
      
      * more tests
      
      * resolve Arc TODO
      
      * rename pending to non_revoked
      
      * one more test
      
      * extract utility function into util crate
      
      * fix compilation in tests
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarFedor Sakharov <[email protected]>
      
      * revert pin_project removal
      
      * fix while let loop
      
      * Revert "revert pin_project removal"
      
      This reverts commit ae7f529d8de982ef66c3007dd1ff74c6ddce80d2.
      
      * fix compilation
      
      * Update node/subsystem/src/messages.rs
      
      * docs on pub items
      
      * guide updates
      
      * remove a TODO
      
      * small guide update
      
      * fix a typo
      
      * link to the issue
      
      * validator discovery: on_request docs
      
      Co-authored-by: default avatarPeter Goodspeed-Niklaus <[email protected]>
      Co-authored-by: default avatarFedor Sakharov <[email protected]>
      Co-authored-by: default avatarBernhard Schuster <[email protected]>
      ca89e3ed
    • Sergey Pepyakin's avatar
      Registrar v1 follow-ups (#1786) · 96f6b5ae
      Sergey Pepyakin authored
      * parachains: use the root origin for mock
      
      * registrar: notify the router module about the cleanup
      
      * add missing call to schedule_para_cleanup
      96f6b5ae
    • Bastian Köcher's avatar
      Make collation an optional return (#1787) · a4662104
      Bastian Köcher authored
      This pr changes the collator interface function to return an optional
      collation instead of a collation. This is required as the parachain
      itself can fail to generate a valid collation for various reason. Now if
      the collation fails it will return `None`.
      
      Besides that the pr adds some `RuntimeDebug` derive for `ValidationData`
      and removes some whitespaces.
      a4662104
    • Sergey Pepyakin's avatar
      22e7d54f
  5. Oct 05, 2020
  6. Oct 04, 2020
    • Kian Paimani's avatar
      Companion for substrate/pull/7215 (#1768) · 4d5b7a62
      Kian Paimani authored
      * Companion for substrate/pull/7215
      
      * More fixes
      
      * Fix build
      
      * fix
      
      * Fix again with normal
      
      * Fix build
      
      * Latest changes
      
      * "Update Substrate"
      
      Co-authored-by: parity-processbot <>
      4d5b7a62
  7. Oct 02, 2020
    • Shawn Tabrizi's avatar
      Remove Stale Upgrades (#1780) · 8d36e9b0
      Shawn Tabrizi authored
      * Remove stale upgrades
      
      * add back origin migration
      
      * remove unused
      8d36e9b0
    • Shawn Tabrizi's avatar
      Update Polkadot Weights for Substrate 2.0 (#1761) · 2de05702
      Shawn Tabrizi authored
      * Update benchmark list
      
      * copy weights from substrate
      
      * Run benchmarks on Polkadot
      
      * Update kusama benchmark list
      
      * update westend benchmark list
      
      * Run benchmarks on Kusama
      
      * update payout staking weights
      
      * cargo update -p sp-io
      
      * remove babe and grandpa from benchmark list
      
      * remove babe and grandpa weights
      
      * re-run staking weights
      
      * update staking weights
      
      * copy weights from Polkadot into Westend
      
      * Update Cargo.lock
      2de05702
  8. Oct 01, 2020
  9. Sep 30, 2020
  10. Sep 29, 2020
  11. Sep 28, 2020
  12. Sep 25, 2020
    • Sergey Pepyakin's avatar
      collation-generation: guide and tidying (#1753) · 796de5f3
      Sergey Pepyakin authored
      * Guide: Change for {Global,Local}ValidationData to ValidationData
      
      Seems like that was missed during the transition from notions of global and local validation data to persistent and transient
      
      * collation-generation: a small drive-by fix of line length
      
      * collation-generation: extract an error module
      
      this allows us to avoid piling Error and Result types from different contexts, specifically std vs. module-local
      
      * collation-generation: extract LOG_TARGET from log statements
      796de5f3
  13. Sep 24, 2020
  14. Sep 23, 2020
  15. Sep 22, 2020