Skip to content
Snippets Groups Projects
  1. Sep 17, 2023
  2. Sep 09, 2023
  3. Aug 31, 2023
    • 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 <marcin@realemail.net>
  4. Aug 30, 2023
  5. Aug 29, 2023
  6. Aug 28, 2023
  7. Aug 25, 2023
  8. Aug 18, 2023
    • asynchronous rob's avatar
      Asynchronous Backing MegaPR (#5022) · 5174b9d2
      asynchronous rob authored
      * inclusion emulator logic for asynchronous backing (#4790)
      
      * initial stab at candidate_context
      
      * fmt
      
      * docs & more TODOs
      
      * some cleanups
      
      * reframe as inclusion_emulator
      
      * documentations yes
      
      * update types
      
      * add constraint modifications
      
      * watermark
      
      * produce modifications
      
      * v2 primitives: re-export all v1 for consistency
      
      * vstaging primitives
      
      * emulator constraints: handle code upgrades
      
      * produce outbound HRMP modifications
      
      * stack.
      
      * method for applying modifications
      
      * method just for sanity-checking modifications
      
      * fragments produce modifications, not prospectives
      
      * make linear
      
      * add some TODOs
      
      * remove stacking; handle code upgrades
      
      * take `fragment` private
      
      * reintroduce stacking.
      
      * fragment constructor
      
      * add TODO
      
      * allow validating fragments against future constraints
      
      * docs
      
      * relay-parent number and min code size checks
      
      * check code upgrade restriction
      
      * check max hrmp per cand...
      5174b9d2
  9. Aug 16, 2023
  10. Aug 14, 2023
    • jserrat's avatar
      pvf: use test-utils feature to export test only (#7538) · d4ad8d5e
      jserrat authored
      
      * pvf: use test-utils feature to export test only
      
      * adding comment to test-utils feature
      
      * make prepare-worker and execute-worker as optional dependencies and add comments to test-utils
      
      * remove doc hidden from pvf testing
      
      * add prepare worker and execute worker entrypoints to test-utils feature
      
      * pvf: add sp_tracing as optional dependency of test-utils
      
      * add test-utils for polkadot and malus
      
      * add test-utils feature to prepare and execute workers script
      
      * remove required features from prepare and executing
      
      * Try to trigger CI again to fix broken jobs
      
      ---------
      
      Co-authored-by: default avatarMarcin S <marcin@realemail.net>
      d4ad8d5e
  11. Aug 04, 2023
  12. Jul 31, 2023
    • Marcin S.'s avatar
      98.6% OF DEVELOPERS CANNOT REVIEW THIS PR! [read more...] (#7337) · 85b06f18
      Marcin S. authored
      
      * [WIP] PVF: Split out worker binaries
      
      * Address compilation problems and re-design a bit
      
      * Reorganize once more, fix tests
      
      * Reformat with new nightly to make `cargo fmt` test happy
      
      * Address `clippy` warnings
      
      * Add temporary trace to debug zombienet tests
      
      * Fix zombienet node upgrade test
      
      * Fix malus and its CI
      
      * Fix building worker binaries with malus
      
      * More fixes for malus
      
      * Remove unneeded cli subcommands
      
      * Support placing auxiliary binaries to `/usr/libexec`
      
      * Fix spelling
      
      * Spelling
      
      Co-authored-by: default avatarMarcin S. <marcin@realemail.net>
      
      * Implement review comments (mostly nits)
      
      * Fix worker node version flag
      
      * Rework getting the worker paths
      
      * Address a couple of review comments
      
      * Minor restructuring
      
      * Fix CI error
      
      * Add tests for worker binaries detection
      
      * Improve tests; try to fix CI
      
      * Move workers module into separate file
      
      * Try to fix failing test and workers not printing latest version
      
      - Tests were not findin...
      85b06f18
  13. Jul 06, 2023
  14. Jul 04, 2023
    • Bastian Köcher's avatar
      Do not depend on native runtimes for `RuntimeApi` (#7451) · e53d15aa
      Bastian Köcher authored
      * Implement runtime apis for fake runtime
      
      These runtime api implementations are only used to make the compiler
      think that we have implemented all required runtime apis. They will not
      be called as we switch the executor to `WasmExecutor`. In the near
      future we will not require these fake implementations anymore after
      Substrate has shifted away from this compile time requirement.
      
      This brings us the advantage that the `polkadot-service` doesn't need to
      depend on the runtimes for getting the `RuntimeApi` type.
      
      It also removes around 1min of build time on my machine ;)
      
      * Fix warning
      
      * FMT
      
      * ".git/.scripts/commands/fmt/fmt.sh"
      
      * Use more descriptive id
      
      * Fix warnings
      
      * Adapt path
      
      * Fix :see_no_evil:
      
      ---------
      
      Co-authored-by: command-bot <>
      e53d15aa
  15. Jun 29, 2023
  16. Jun 13, 2023
  17. May 25, 2023
    • Marcin S.'s avatar
      PVF: Refactor workers into separate crates, remove host dependency (#7253) · 8782dde4
      Marcin S. authored
      * PVF: Refactor workers into separate crates, remove host dependency
      
      * Fix compile error
      
      * Remove some leftover code
      
      * Fix compile errors
      
      * Update Cargo.lock
      
      * Remove worker main.rs files
      
      I accidentally copied these from the other PR. This PR isn't intended to
      introduce standalone workers yet.
      
      * Address review comments
      
      * cargo fmt
      
      * Update a couple of comments
      
      * Update log targets
      8782dde4
  18. May 21, 2023
  19. May 11, 2023
  20. Apr 21, 2023
    • Marcin S.'s avatar
      PVF: Move PVF workers into separate crate (#7101) · e277f95b
      Marcin S. authored
      * Move PVF workers into separate crate
      
      * Fix indentation
      
      * Fix compilation errors
      
      * Fix more compilation errors
      
      * Rename `worker.rs` files, make host interface to worker more clear
      
      * Fix more compilation errors
      
      * Fix more compilation errors
      
      * Add link to issue
      
      * Address review comments
      
      * Update comment
      e277f95b
  21. Apr 17, 2023
    • Mara Broda's avatar
      sync versions with current release (#7083) · 926f9a63
      Mara Broda authored
      * sync workspace version with current release
      
      * polkadot: sync spec with current release
      
      * westend: sync spec with current release
      
      * kusama: sync spec with current release
      
      * rococo: sync spec with current release
      926f9a63
  22. Mar 14, 2023
  23. Feb 09, 2023
  24. Feb 07, 2023
  25. Feb 06, 2023
  26. Jan 25, 2023
  27. Jan 20, 2023
  28. Jan 09, 2023
  29. Dec 06, 2022
    • Marcin S.'s avatar
      Companion for paritytech/substrate#12795 (#6374) · 3f951cce
      Marcin S. authored
      
      * Begin removing `parity-util-mem`; remove `collect_memory_stats`
      
      * Update some dependencies that were using `parity-util-mem`
      
      * Remove `trie-memory-tracker` feature
      
      * Update Cargo.lock
      
      * Update `kvdb-shared-tests`
      
      * Add back jemalloc
      
      * Add missing license header
      
      * update lockfile for {"substrate"}
      
      Co-authored-by: parity-processbot <>
      Co-authored-by: default avatarAndronik <write@reusable.software>
      3f951cce
  30. Dec 05, 2022
  31. Nov 30, 2022
  32. Nov 13, 2022
  33. Oct 22, 2022
    • Mara Broda's avatar
      sync versions with current release (0.9.31) (#6176) · f8cc39a7
      Mara Broda authored
      * Bump spec_version to 9310
      
      * bump transaction_version (0.9.31) (#6171)
      
      * Bump transaction_version for polkadot
      
      * Bump transaction_version for kusama
      
      * Bump transaction_version for rococo
      
      * Bump transaction_version for westend
      
      * Bump transaction_version for polkadot
      
      * Bump transaction_version for kusama
      
      * Bump transaction_version for rococo
      
      * Bump transaction_version for westend
      
      * Bump crate versions (0.9.31)
      f8cc39a7
  34. Oct 18, 2022
  35. Oct 05, 2022
    • ordian's avatar
      update kvdb & co (#6111) · af6a5cd9
      ordian authored
      
      * toml changes
      
      * REVERTME: patch
      
      * adapt parachains db interface
      
      * fix Cargo.toml patch after master rebase
      
      * fix av-store
      
      * fix chain-selection
      
      * fix parachains-db?
      
      * Revert "fix Cargo.toml patch after master rebase"
      
      This reverts commit 3afcbf033c86027b3f2b909d83ec703591bdd287.
      
      * Revert "REVERTME: patch"
      
      This reverts commit 464b717cf4142d3d09c3d77b83700b632d8c5f54.
      
      * Use `Ok` imported from prelude
      
      Co-authored-by: default avatarBastian Köcher <info@kchr.de>
      
      * update lockfile for {"substrate"}
      
      * Revert "update lockfile for {"substrate"}"
      
      This reverts commit fdc623de226f7645741b86c4b1a7d030fed2172d.
      
      * cargo update -p sp-io
      
      Co-authored-by: default avatarBastian Köcher <info@kchr.de>
      Co-authored-by: parity-processbot <>
      af6a5cd9
  36. Oct 04, 2022
    • Robert Klotzner's avatar
      Batch vote import in dispute-distribution (#5894) · 938bc96a
      Robert Klotzner authored
      
      * Start work on batching in dispute-distribution.
      
      * Guide work.
      
      * More guide changes. Still very much WIP.
      
      * Finish guide changes.
      
      * Clarification
      
      * Adjust argument about slashing.
      
      * WIP: Add constants to receiver.
      
      * Maintain order of disputes.
      
      * dispute-distribuion sender Rate limit.
      
      * Cleanup
      
      * WIP: dispute-distribution receiver.
      
      - [ ] Rate limiting
      - [ ] Batching
      
      * WIP: Batching.
      
      * fmt
      
      * Update `PeerQueues` to maintain more invariants.
      
      * WIP: Batching.
      
      * Small cleanup
      
      * Batching logic.
      
      * Some integration work.
      
      * Finish.
      
      Missing: Tests
      
      * Typo.
      
      * Docs.
      
      * Report missing metric.
      
      * Doc pass.
      
      * Tests for waiting_queue.
      
      * Speed up some crypto by 10x.
      
      * Fix redundant import.
      
      * Add some tracing.
      
      * Better sender rate limit
      
      * Some tests.
      
      * Tests
      
      * Add logging to rate limiter
      
      * Update roadmap/implementers-guide/src/node/disputes/dispute-distribution.md
      
      Co-authored-by: default avatarTsvetomir Dimitrov <tsvetomir@parity.io>
      
      * Update roadmap/implementers-guide/src/node/disputes/dispute-distribution.md
      
      Co-authored-by: default avatarTsvetomir Dimitrov <tsvetomir@parity.io>
      
      * Update node/network/dispute-distribution/src/receiver/mod.rs
      
      Co-authored-by: default avatarTsvetomir Dimitrov <tsvetomir@parity.io>
      
      * Review feedback.
      
      * Also log peer in log messages.
      
      * Fix indentation.
      
      * waker -> timer
      
      * Guide improvement.
      
      * Remove obsolete comment.
      
      * waker -> timer
      
      * Fix spell complaints.
      
      * Fix Cargo.lock
      
      Co-authored-by: default avatarTsvetomir Dimitrov <tsvetomir@parity.io>
      938bc96a
  37. Oct 03, 2022