1. Nov 03, 2023
  2. Nov 01, 2023
  3. Oct 31, 2023
  4. Oct 27, 2023
    • Alexandru Gheorghe's avatar
      make polkadot die graciously (#2056) · 3069b0af
      Alexandru Gheorghe authored
      
      
      While investigating some db migrations that make the node startup fail,
      I noticed that the node wasn't exiting and that the log file were
      growing exponentially, until my whole system was freezing and that makes
      it really hard to actually find why it was failing in the first place.
      
      E.g:
      ```
       ls -lh /tmp/zombie-01a04c2a2c0265d85f6440cf01c0f44a_-51319-uyggzuD4wEpV/bob.log
       32,6G oct 27 11:16 /tmp/zombie-01a04c2a2c0265d85f6440cf01c0f44a_-51319-uyggzuD4wEpV/bob.log
      ```
      
      This was happening because the following errors were being printed
      continously without the subsystem main loop exiting:
      
      From dispute-coordinator:
      ```
      WARN tokio-runtime-worker parachain::dispute-coordinator: error=Subsystem(Generated(Context("Signal channel is terminated and empty.")))
      ```
      
      From availability recovery:
      ```
      Erasure task channel closed. Node shutting down ?
      ```
      
      Signed-off-by: default avatarAlexandru Gheorghe <[email protected]>
      3069b0af
  5. Oct 24, 2023
  6. Oct 23, 2023
  7. Oct 21, 2023
  8. Oct 15, 2023
  9. Oct 14, 2023
    • Julian Eager's avatar
      Discard `Executor` (#1855) · 9f7656df
      Julian Eager authored
      
      
      closes #622 
      
      Pros:
      * simpler interface, just functions:
      `create_runtime_from_artifact_bytes()` and `execute_artifact()`
      
      Cons:
      * extra overhead of constructing executor semantics each time
      
      I could make it a combination of
      * `create_runtime_config(params)` (such that we could clone the
      constructed semantics)
      * `create_runtime(blob, config)`
      * `execute_artifact(blob, config, params)`
      
      Not sure if it's worth it though.
      
      ---------
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      9f7656df
  10. Oct 13, 2023
  11. Oct 12, 2023
  12. Oct 11, 2023
  13. Oct 05, 2023
  14. Sep 28, 2023
  15. Sep 27, 2023
  16. Sep 18, 2023
  17. Sep 14, 2023
  18. Sep 13, 2023
  19. Sep 12, 2023
  20. Sep 11, 2023
  21. Sep 08, 2023
  22. Sep 07, 2023
    • ordian's avatar
      polkadot: pin one block per session (#1220) · 15503883
      ordian authored
      * polkadot: propagate UnpinHandle to ActiveLeafUpdate
      
      Also extract the leaf creation for tests
      into a common function.
      
      * dispute-coordinator: try pinned blocks for slashin
      
      * apparently 1.72 is smarter than 1.70
      
      * address nits
      
      * rename fresh_leaf to new_leaf
      15503883
  23. Sep 05, 2023
  24. Sep 04, 2023
  25. Sep 01, 2023
  26. Aug 31, 2023
    • Bastian Köcher's avatar
      Rename `polkadot-parachain` to `polkadot-parachain-primitives` (#1334) · a33d7922
      Bastian Köcher authored
      * Rename `polkadot-parachain` to `polkadot-parachain-primitives`
      
      While doing this it also fixes some last `rustdoc` issues and fixes
      another Cargo warning related to `pallet-paged-list`.
      
      * Fix compilation
      
      * ".git/.scripts/commands/fmt/fmt.sh"
      
      * Fix XCM docs
      
      ---------
      
      Co-authored-by: command-bot <>
      a33d7922
    • Lulu's avatar
      Fix polkadot-node-core-pvf-prepare-worker build with jemalloc (#1315) · aedd2808
      Lulu authored
      
      
      * Fix polkadot-node-core-pvf-prepare-worker build with jemalloc
      
      The jemalloc feature on polkadot-node-core-pvf-prepare-worker depended
      on some feature gated code in polkadot-node-core-pvf-common but there
      way no way to enable this feature gate.
      
      This commit adds the feature and makes prepare-worker enable it.
      
      * More jemalloc-allocator fixes
      
      * Fix jemalloc-allocator feature dep
      
      * Run `zepter format features`
      
      ---------
      
      Co-authored-by: default avatarMarcin S <[email protected]>
      aedd2808
    • Alin Dima's avatar
      backing: move the min votes threshold to the runtime (#1200) · d6af073a
      Alin Dima authored
      
      
      * move min backing votes const to runtime
      
      also cache it per-session in the backing subsystem
      
      Signed-off-by: default avataralindima <[email protected]>
      
      * add runtime migration
      
      * introduce api versioning for min_backing votes
      
      also enable it for rococo/versi for testing
      
      * also add min_backing_votes runtime calls to statement-distribution
      
      this dependency has been recently introduced by async backing
      
      * remove explicit version runtime API call
      
      this is not needed, as the RuntimeAPISubsystem already takes care
      of versioning and will return NotSupported if the version is not
      right.
      
      * address review comments
      
      - parametrise backing votes runtime API with session index
      - remove RuntimeInfo usage in backing subsystem, as runtime API
      caches the min backing votes by session index anyway.
      - move the logic for adjusting the configured needed backing votes with the size of the backing group
      to a primitives helper.
      - move the legacy min backing votes value to a primitives helper.
      - mark JoinMultiple error as fatal, since the Canceled (non-multiple) counterpart is also fatal.
      - make backing subsystem handle fatal errors for new leaves update.
      - add HostConfiguration consistency check for zeroed backing votes threshold
      - add cumulus accompanying change
      
      * fix cumulus test compilation
      
      * fix tests
      
      * more small fixes
      
      * fix merge
      
      * bump runtime api version for westend and rollback version for rococo
      
      ---------
      
      Signed-off-by: default avataralindima <[email protected]>
      Co-authored-by: default avatarJavier Viola <[email protected]>
      d6af073a
    • Marcin S.'s avatar
      PVF: Take back a stolen right (#1207) · 7cef7cdf
      Marcin S. authored
      7cef7cdf
  27. Aug 30, 2023
  28. Aug 29, 2023