1. Jan 05, 2021
  2. Jan 04, 2021
    • asynchronous rob's avatar
      Improve Network Spans (#2169) · a891884e
      asynchronous rob authored
      * utility functions for erasure-coding threshold
      
      * add candidate-hash tag to candidate jaeger spans
      
      * debug implementation for jaeger span
      
      * add a span to each live candidate in availability dist.
      
      * availability span covers only our piece
      
      * fix tests
      
      * keep span alive slightly longer
      
      * remove spammy bitfield-gossip-received log
      
      * Revert "remove spammy bitfield-gossip-received log"
      
      This reverts commit 831a2db5
      
      .
      
      * add claimed validator to bitfield-gossip span
      
      * add peer-id to handle-incoming span
      
      * add peer-id to availability distribution span
      
      * Update node/network/availability-distribution/src/lib.rs
      
      Co-authored-by: default avatarBernhard Schuster <[email protected]>
      
      * Update erasure-coding/src/lib.rs
      
      Co-authored-by: default avatarBernhard Schuster <[email protected]>
      
      * Update node/subsystem/src/jaeger.rs
      
      Co-authored-by: default avatarBernhard Schuster <[email protected]>
      
      Co-authored-by: default avatarBernhard Schuster <[email protected]>
      a891884e
    • Sergey Pepyakin's avatar
      Add relay storage root to persisted validation data (#2161) · 50538aa5
      Sergey Pepyakin authored
      * Cont.: Implement the state root obtaining during inclusion
      
      During inclusion now we obtain the storage root by passing it through
      the inclusion_inherent.
      
      * Fix tests
      
      * Bump rococo spec version
      
      * Reorder the parent header into the end
      
      of the inclusion inherent.
      
      When the parent header is in the beginning, it shifts the other two
      fields, so that a previous version won't be able to decode that. If
      we put the parent header in the end, the other two fields will stay
      at their positions, thus make it possible to decode with the previous
      version.
      
      That allows us to perform upgrade of rococo runtime without needing of
      simultanuous upgrade of nodes and runtime, or restart of the network.
      
      * Squash a stray tab
      50538aa5
    • Bastian Köcher's avatar
      Improve unbacked span (#2191) · 85932d15
      Bastian Köcher authored
      We need to make sure to drop the import-statement child span before the
      parent span is dropped.
      85932d15
    • Bastian Köcher's avatar
      d975841c
  3. Jan 02, 2021
  4. Dec 29, 2020
  5. Dec 28, 2020
  6. Dec 24, 2020
    • Bastian Köcher's avatar
      Support variable session length for Rococo chains at genesis (#2167) · 14da83d5
      Bastian Köcher authored
      This pr adds support to change the session length of a Rococo chain at
      genesis. This is rather useful because Rococo has a session length of
      1 hour, while on rococo-local you will now get 1 minute. This improves
      the dev experience, because a parachain is only going live at the
      start of a new session.
      14da83d5
  7. Dec 20, 2020
  8. Dec 18, 2020
  9. Dec 17, 2020
    • asynchronous rob's avatar
      c58edafe
    • asynchronous rob's avatar
      adjust span names (#2135) · e28bcbd2
      asynchronous rob authored
      * adjust span names
      
      * fix compile
      e28bcbd2
    • asynchronous rob's avatar
      add better spans for unbacked candidates (#2132) · f714f5f4
      asynchronous rob authored
      * add better spans for unbacked candidates
      
      * improve span names
      f714f5f4
    • Bastian Köcher's avatar
      Fix bug and further optimizations in availability distribution (#2104) · affa668a
      Bastian Köcher authored
      
      
      * Fix bug and further optimizations in availability distribution
      
      - There was a bug that resulted in only getting one candidate per block
      as the candidates were put into the hashmap with the relay block hash as
      key. The solution for this is to use the candidate hash and the relay
      block hash as key.
      - We stored received/sent messages with the candidate hash and chunk
      index as key. The candidate hash wasn't required in this case, as the
      messages are already stored per candidate.
      
      * Update node/core/bitfield-signing/src/lib.rs
      
      Co-authored-by: default avatarRobert Habermeier <[email protected]>
      
      * Remove the reverse map
      
      * major refactor of receipts & query_live
      
      * finish refactoring
      
      remove ancestory mapping,
      
      improve relay-parent cleanup & receipts-cache cleanup,
      add descriptor to `PerCandidate`
      
      * rename and rewrite query_pending_availability
      
      * add a bunch of consistency tests
      
      * Add some last changes
      
      * xy
      
      * fz
      
      * Make it compile again
      
      * Fix one test
      
      * Fix logging
      
      * Remove some buggy code
      
      * Make tests work again
      
      * Move stuff around
      
      * Remove dbg
      
      * Remove state from test_harness
      
      * More refactor and new test
      
      * New test and fixes
      
      * Move metric
      
      * Remove "duplicated code"
      
      * Fix tests
      
      * New test
      
      * Change break to continue
      
      * Update node/core/av-store/src/lib.rs
      
      * Update node/core/av-store/src/lib.rs
      
      * Update node/core/bitfield-signing/src/lib.rs
      
      Co-authored-by: default avatarFedor Sakharov <[email protected]>
      
      * update guide to match live_candidates changes
      
      * add comment
      
      * fix bitfield signing
      
      Co-authored-by: default avatarRobert Habermeier <[email protected]>
      Co-authored-by: default avatarBernhard Schuster <[email protected]>
      Co-authored-by: default avatarFedor Sakharov <[email protected]>
      affa668a
    • ordian's avatar
      refactor View to include finalized_number (#2128) · c429e15c
      ordian authored
      * refactor View to include finalized_number
      
      * guide: update the NetworkBridge on BlockFinalized
      
      * av-store: fix the tests
      
      * actually fix tests
      
      * grumbles
      
      * ignore macro doctest
      
      * use Hash::repeat_bytes more consistently
      
      * broadcast empty leaves updates as well
      
      * fix issuing view updates on empty leaves updates
      c429e15c
    • Pierre Krieger's avatar
      Improve Jaeger errors and debugging experience (#2127) · 20c3d634
      Pierre Krieger authored
      * Improve Jaeger errors and debugging experience
      
      * Bind on 0.0.0.0:0 instead
      20c3d634
  10. Dec 16, 2020
    • Sergey Pepyakin's avatar
      Add logging to collation-generation (#2121) · 782cf447
      Sergey Pepyakin authored
      Right now if the collation is not happening one will have to sprinkle
      log statements and then recompile the code. It's doubly annoying if that
      happens when working with Cumulus: that means one has to resort to
      .cargo/config's `paths` or `diener`, which both are not ideal.
      
      This just adds some verbose logging to save the investigators some time
      when looking why the collations are not happening
      782cf447
    • RK's avatar
      Companion for #7536 (Pallet Treasury Refactor) (#2025) · 465e3580
      RK authored
      
      
      * wk2048 | D6 | issue-7143-treasury-refactor | integration
      
      * wk2048 | D6 | issue-7143-treasury-refactor | integration | p2
      
      * trait -> config
      
      * fix weight files and import
      
      * missed some
      
      * fix import
      
      * fix imports
      
      * alphabetize
      
      * fix config traits
      
      * fix trait
      
      * update traits
      
      * update weights
      
      * "Update Substrate"
      
      * fix features
      
      * Update runtime/kusama/src/lib.rs
      
      * Update runtime/polkadot/src/lib.rs
      
      * add bounties and tips in proxy filters
      
      * remove unused
      
      * remove unused
      
      * remove unused
      
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      Co-authored-by: parity-processbot <>
      Co-authored-by: default avatarthiolliere <[email protected]>
      465e3580
  11. Dec 15, 2020
  12. Dec 11, 2020
  13. Dec 10, 2020
    • Bernhard Schuster's avatar
      addition error definitions (#2107) · dca93d01
      Bernhard Schuster authored
      * remove low information density error doc comments
      
      * another round of error dancing
      
      * fix compilation
      
      * remove stale `None` argument
      
      * adjust test, minor slip in command
      
      * only add AvailabilityError for full node features
      
      * another None where none shuld be
      dca93d01
  14. Dec 09, 2020
  15. Dec 08, 2020
  16. Dec 07, 2020