1. Jul 04, 2020
    • Bastian Köcher's avatar
      Make a collator send a collation as backup as well (#1353) · f77b8139
      Bastian Köcher authored
      Currently a collator will only send a collation to validators it is a
      primary for. While testing this could lead to the situation that the
      same collator was registered as prime for all Parachain validators but
      failed for other reasons to generate a PoVBlock. However no other
      collator was sending a collation, which stopped the Parachain until the
      faulty collator was stopped.
      
      This pr solves this problem by making sure that every collator sends a
      collation to one of his validators he is connected to, but registered as backup.
      f77b8139
  2. Jul 03, 2020
  3. Jul 02, 2020
  4. Jul 01, 2020
  5. Jun 30, 2020
    • asynchronous rob's avatar
      Subsystem::start takes self by-value (#1325) · 2a3e607d
      asynchronous rob authored
      * Subsystem::start takes self by-value
      
      * fix doc-test compilation
      2a3e607d
    • Cecile Tonglet's avatar
      Use spawner to spawn work task instead of tokio (#1328) · cb592450
      Cecile Tonglet authored
      * Use spawner to spawn work task instead of tokio
      
      This allows the caller to choose the runtime they want (instead of tokio).
      
      * Replace generic by actual type
      cb592450
    • Shawn Tabrizi's avatar
      Companion for #6511 (#1321) · b42d7ba4
      Shawn Tabrizi authored
      * Add custom runtime upgrade for retract tip
      
      * cargo update -p sp-io
      b42d7ba4
    • Bastian Köcher's avatar
      Companion for Substrate #6508 (#1329) · c8a03906
      Bastian Köcher authored
      * Companion for Substrate #6508
      
      * Update Cargo.lock
      c8a03906
    • asynchronous rob's avatar
      Implement Network Bridge (#1280) · d16e7485
      asynchronous rob authored
      
      
      * network bridge skeleton
      
      * move some primitives around and add debug impls
      
      * protocol registration glue & abstract network interface
      
      * add send_msgs to subsystemctx
      
      * select logic
      
      * transform different events into actions and handle
      
      * implement remaining network bridge state machine
      
      * start test skeleton
      
      * make network methods asynchronous
      
      * extract subsystem out to subsystem crate
      
      * port over overseer to subsystem context trait
      
      * fix minimal example
      
      * fix overseer doc test
      
      * update network-bridge crate
      
      * write a subsystem test-helpers crate
      
      * write a network test helper for network-bridge
      
      * set up (broken) view test
      
      * Revamp network to be more async-friendly and not require Sync
      
      * fix spacing
      
      * fix test compilation
      
      * insert side-channel for actions
      
      * Add some more message types to AllMessages
      
      * introduce a test harness
      
      * add some tests
      
      * ensure service compiles and passes tests
      
      * fix typo
      
      * fix service-new compilation
      
      * Subsystem test helpers send messages synchronously
      
      * remove smelly action inspector
      
      * remove superfluous let binding
      
      * fix warnings
      
      * Update node/network/bridge/src/lib.rs
      
      Co-authored-by: default avatarPeter Goodspeed-Niklaus <[email protected]>
      
      * fix compilation
      
      Co-authored-by: default avatarPeter Goodspeed-Niklaus <[email protected]>
      d16e7485
    • Peter Goodspeed-Niklaus's avatar
      impl ProvideInherent for InclusionInherent (#1318) · 90de5591
      Peter Goodspeed-Niklaus authored
      * impl ProvideInherent for InclusionInherent
      
      * reduce import churn; correct expect message
      
      * move inclusion inherent identifier into primitives
      
      It's not clear precisely why this is desired, but it's a pattern
      I've seen in several places, so I'm going this to be on the
      safe side. Worst case, we can revert this commit pretty easily.
      
      * bump kusama spec_version to placate CI
      
      * add license header
      
      * empty commit; maybe github will notice the one with changes
      
      * add sanity check to only include valid inherents
      90de5591
    • Ashley's avatar
      Companion PR for `Remove the service, replacing it with a struct of individual... · b26f6d08
      Ashley authored
      
      Companion PR for `Remove the service, replacing it with a struct of individual chain components` (#1288)
      
      * Switch branch
      
      * Fix service things
      
      * Fix browser node compilation
      
      * Update branch
      
      * fixed new service
      
      * Update for new branch
      
      * Fix browser node
      
      * Update branch
      
      * Revert "Switch branch"
      
      This reverts commit 3623adff7681124a1539a385a718c34e85931254.
      
      * Update cargo.lock
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      b26f6d08
  6. Jun 27, 2020
  7. Jun 26, 2020
  8. Jun 25, 2020
  9. Jun 24, 2020
  10. Jun 23, 2020
  11. Jun 22, 2020
  12. Jun 21, 2020
  13. Jun 20, 2020
    • Peter Goodspeed-Niklaus's avatar
      signed wrapper (#1283) · 14ce04c9
      Peter Goodspeed-Niklaus authored
      
      
      * add signed wrapper, typedef SignedStatement
      
      * typedef SignedAvailabilityBitfield
      
      * implement Signed wrapper
      
      This is strictly an addition as of this commit; nothing is yet
      changed in existing behavior.
      
      * inline getters, remove review comment
      
      * move EncodeAs, Signed from node::primitives to primitives::parachain
      
      * Refactor SignedAvailabilityBitfield to use Signed
      
      * don't double-encode real payload
      
      This isn't an ideal solution, because it depends on the
      implementation details of how SCALE encodes tuples, but OTOH
      that behavior seems unlikely to change anytime soon.
      
      * fix build errors
      
      * cause the runtime to build properly with the new changes
      
      Not sure why cargo check didn't catch this earlier; oh well.
      
      * fix runtime tests and separate SignedStatement from SignedFullStatement
      
      * better explain why CompactStatement exists
      
      Co-authored-by: default avatarRobert Habermeier <[email protected]>
      
      Co-authored-by: default avatarRobert Habermeier <[email protected]>
      14ce04c9
    • Sergey Pepyakin's avatar
      Fix glossary link (snowballed) (#1297) · 90a1ba1e
      Sergey Pepyakin authored
      * Add mdbook-linkcheck
      
      * Convert todo to not a link
      
      * Fix external glossary link
      
      * Fix various broken links
      
      * Mass replace: s/.html/.md/
      
      * My sloppy attempt to add a gitlab CI check
      90a1ba1e
    • s3krit's avatar
      [CI] Don't autolabel insubstantial PRs 'pleasereview' (#1293) · d4e6013d
      s3krit authored
      * Don't label insubstantial PRs 'pleasereview'
      
      * Update auto-label-prs.yml
      
      * Update auto-label-prs.yml
      d4e6013d