1. May 08, 2023
    • Chris Sosnin's avatar
      paras: dismiss `pvf_checking_enabled` configuration (#7138) · 9c08536d
      Chris Sosnin authored
      * paras: unconditionally precheck pvfs
      
      * Update integration tests
      
      * paras_registrar tests
      
      * runtime benchmark tests
      
      * fix bench
      
      * bypass prechecking in test node
      
      * adjust bench
      
      * ".git/.scripts/commands/bench/bench.sh" runtime polkadot runtime_parachains::paras
      
      * ".git/.scripts/commands/bench/bench.sh" runtime kusama runtime_parachains::paras
      
      * ".git/.scripts/commands/bench/bench.sh" runtime rococo runtime_parachains::paras
      
      * ".git/.scripts/commands/bench/bench.sh" runtime westend runtime_parachains::paras
      
      * use test helper
      
      * fix new test
      
      ---------
      
      Co-authored-by: command-bot <>
      9c08536d
    • Oliver Tale-Yazdi's avatar
      Tests can use dbg macro (#7197) · 580111dd
      Oliver Tale-Yazdi authored
      
      
      There is a deny(clippy::dbg_macro) in the crate root, so newer
      Clippy fails here since tests use dbg.
      But dbg in tests are fine IMHO.
      
      Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
      580111dd
    • Chevdor's avatar
      Add a new template to show the list of host functions (#7158) · 4809bb03
      Chevdor authored
      * Add a new template to show the list of host functions
      
      * Fix release notes template for host functions
      
      ---------
      
      Co-authored-by: parity-processbot <>
      4809bb03
  2. May 07, 2023
  3. May 05, 2023
  4. May 04, 2023
  5. May 03, 2023
  6. May 02, 2023
  7. Apr 28, 2023
  8. Apr 27, 2023
  9. Apr 26, 2023
  10. Apr 25, 2023
  11. Apr 24, 2023
    • Andrei Sandu's avatar
      Fix rolling session window (#7126) · 634b2f6a
      Andrei Sandu authored
      * Use stored sessions 🤦
      
      
      
      Signed-off-by: default avatarAndrei Sandu <[email protected]>
      
      * Add test
      
      Signed-off-by: default avatarAndrei Sandu <[email protected]>
      
      * remove redundant
      
      Signed-off-by: default avatarAndrei Sandu <[email protected]>
      
      ---------
      
      Signed-off-by: default avatarAndrei Sandu <[email protected]>
      634b2f6a
    • Alexander Samusev's avatar
      25d557f9
    • Alejandro Martinez Andres's avatar
      63d354ae
    • Frederik Gartenmeister's avatar
      XCM: Remote account converter (#6662) · 3f3a0416
      Frederik Gartenmeister authored
      * Draft remote account converter
      
      * Tests and doc comments
      
      * Adapt naming, tests fix
      
      * Try with prefix in account
      
      * Revert "Try with prefix in account"
      
      This reverts commit 461759794cc9f59f768aad0e0899df6dc8cba747.
      
      * Adapt code and test to review suggestions
      
      * adapt to take into account parent in conversion
      
      * fix: docs
      
      * fix: try doc fix v2
      3f3a0416
    • Tsvetomir Dimitrov's avatar
      Rework `dispute-coordinator` to use `RuntimeInfo` for obtaining session... · 3f4ce632
      Tsvetomir Dimitrov authored
      
      Rework `dispute-coordinator` to use `RuntimeInfo` for obtaining session information instead of `RollingSessionWindow` (#6968)
      
      * Pass `SessionInfo` directly to `CandidateEnvironment::new` otherwise it should be an async function
      
      * Replace calls to `RollingSessionWindow` with `RuntimeInfo`
      
      Adjust `dispute-coordinator` initialization to use `RuntimeInfo`
      
      * Modify `dispute-coordinator` initialization
      
      * Pass `Hash` to `process_on_chain_votes` so that `RuntimeInfo` calls can be made
      
      Remove some fixmes
      
      * Pass `Hash` to `handle_import_statements` to perform `RuntimeInfo` calls
      
      * remove todo comments
      
      * Remove `error` from `Initialized`
      
      Rework new session handling code
      
      * Remove db code which is no longer used
      
      * Update stale comment and remove unneeded type specification
      
      * Cache SessionInfo on startup
      
      * Use `DISPUTE_WINDOW` from primitives
      
      * Fix caching in `process_active_leaves_update`
      
      * handle_import_statements: leaf_hash -> block_hash
      
      * Restore `ensure_available_session_info`
      
      * Don't interrupt `process_on_chain_votes` if SessionInfo can't be fetched
      
      * Small style improvements in logging
      
      * process_on_chain_votes: leaf_hash -> block_hash
      
      * Restore `note_earliest_session` - it is required to prune disputes and votes
      
      * Cache new sessions only when there is an actual session change
      
      * Fix tests
      
      * `CandidateEnvironment::new` gets `session_idx` and fetches SessionInfo by itself to avoid the invariant where the input SessionIndex and SessionInfo parameters don't match
      
      * Fix handling of missing session info
      
      * Move sessions caching in `handle_startup` and fix tests
      
      * Load `relay_parent` from db in `handle_import_statements` instead of passing it as a parameter via two functions
      
      * Don't do two db reads
      
      * Fix the twisted logic in `handle_import_statements`
      
      * fixup
      
      * Small style fix
      
      * Decrease log levels for caching errors to debug and fix a typo
      
      * Update outdated comment
      
      * Remove `ensure_available_session_info`
      
      * Load relay parent from db in `process_on_chain_votes`
      
      * Revert "Load relay parent from db in `process_on_chain_votes`"
      
      This reverts commit 978ad4f223d517faa7a7fbad96e3f8de4fa17501.
      
      * Keep track of highest seen session and last session cached without gaps.
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarordian <[email protected]>
      
      * Handle session caching failure on startup correctly
      
      * Update node/core/dispute-coordinator/src/initialized.rs
      
      Co-authored-by: default avatarordian <[email protected]>
      
      * Simplify session caching retries
      
      * Update stale comment
      
      * Fix lower bound calculation for session caching
      
      ---------
      
      Co-authored-by: default avatarordian <[email protected]>
      3f4ce632
    • Keith Yeung's avatar
      Revert default proof size back to 64 KB (#7115) · a8d80532
      Keith Yeung authored
      * Revert default proof size back to 64 KB
      
      * Fix test expectations
      
      * Enhance unit test
      
      * cargo fmt
      
      * Fix comment
      a8d80532
  12. Apr 21, 2023
    • ordian's avatar
      update rocksdb to 0.20.1 (#7113) · 439ab875
      ordian authored
      * update rocksdb to 0.20.1
      
      * update lockfile for {"substrate"}
      
      ---------
      
      Co-authored-by: parity-processbot <>
      439ab875
    • Keith Yeung's avatar
      Reduce base proof size weight component to zero (#7081) · 8b0b8665
      Keith Yeung authored
      * Reduce base proof size weight component to 1KiB
      
      * Create TempFixedXcmWeight and set PoV weight to 0
      
      * Set DEFAULT_PROOF_SIZE to 0
      
      * Fix comment
      
      * Update test expectations
      
      * Fix comment
      8b0b8665
    • 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