Skip to content
  1. Dec 25, 2021
  2. Dec 24, 2021
    • cheme's avatar
      Companion for substrate#9732 (#4104) · 48dc6750
      cheme authored
      * merge master (do not compile)
      
      * fix
      
      * lock
      
      * update lock
      
      * Update to refactoring.
      
      * runtime version
      
      * fmt
      
      * remove trie patch
      
      * remove patch
      
      * No layout alias for bridge proof.
      
      * update depupdate depss
      
      * No switch until migration.
      
      * master lock
      
      * test
      
      * test
      
      * Revert "test"
      
      This reverts commit 57325ef73332bf4b054aa4a667bb716fcf8a0d89.
      
      * Revert "test"
      
      This reverts commit ce74d0e2062806f72c0e9e9ca07b14165f43521e.
      
      * rename feature
      
      * state version as parameter, use the feature only on runtimes.
      
      * update
      
      * update to state version in runtime
      
      * state version from storage
      
      * update lockfile for substrate
      
      Co-authored-by: parity-processbot <>
      48dc6750
    • Robert Klotzner's avatar
      03495958
  3. Dec 23, 2021
    • Bastian Köcher's avatar
      Fix checking for the `ParachainHost` runtime api (#4594) · b409837b
      Bastian Köcher authored
      The function `has_api` checks that the api + version matches, which
      isn't true anymore after bumping the version. The fix is to just compare
      the runtime api version being at least `1`.
      b409837b
    • Bastian Köcher's avatar
      runtime-api: Fix runtime version checking (#4595) · 97506a15
      Bastian Köcher authored
      The runtime version check `runtime_version <= version` was wrong, it
      needs to be `>=`. Besides that the `WIDELY_DEPLOYED_API_VERSION` is
      removed. The runtime version is already cached, aka we don't always call
      into the runtime when requesting the runtime version. So, there is no
      need to "optimize" this.
      97506a15
    • dependabot[bot]'s avatar
      Bump syn from 1.0.82 to 1.0.83 (#4590) · 18a47cf2
      dependabot[bot] authored
      
      
      Bumps [syn](https://github.com/dtolnay/syn) from 1.0.82 to 1.0.83.
      - [Release notes](https://github.com/dtolnay/syn/releases)
      - [Commits](https://github.com/dtolnay/syn/compare/1.0.82...1.0.83)
      
      ---
      updated-dependencies:
      - dependency-name: syn
        dependency-type: direct:production
        update-type: version-update:semver-patch
      ...
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      
      Co-authored-by: default avatardependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
      18a47cf2
    • Robert Klotzner's avatar
      First step in implementing #4386 (#4437) · 846828f6
      Robert Klotzner authored
      * First step in implementing https://github.com/paritytech/polkadot/issues/4386
      
      This PR:
      
      - Reduces MAX_UNSHARED_UPLOAD_TIME to 150ms
      - Increases timeout on collation fetching to 1200ms
      - Reduces limit on needed backing votes in the runtime
      
      This PR does not yet reduce the number of needed backing votes on the
      node as this can only be meaningfully enacted once the changed limit in
      the runtime is live.
      
      * Fix tests.
      
      * Guide updates.
      
      * Review remarks.
      
      * Bump minimum required backing votes to 2 in runtime.
      
      * Make sure node side code won't make runtime vomit.
      
      * cargo +nightly fmt
      846828f6
  4. Dec 22, 2021
  5. Dec 21, 2021
  6. Dec 20, 2021
  7. Dec 18, 2021
  8. Dec 17, 2021
  9. Dec 16, 2021
  10. Dec 15, 2021
  11. Dec 14, 2021
    • Sergey Pepyakin's avatar
      PVF validation host: do not alter niceness (#4525) · 1493fed1
      Sergey Pepyakin authored
      We wanted to change niceness to accomodate the fact that some of the
      preparation tasks are low priority. For example, when a node sees that
      there is a new para was onboarded the node may start preparing right
      away. Since all other activities are more important, such as network I/O
      or validation of the backed candidates and preparation of the
      immediatelly needed PVFs.
      
      However, it turned out that this approach does not work: generally
      non-root processes can only decrease niceness and they cannot increase
      it to the previous value, as was assumed by the code.
      
      Apart from that, https://github.com/paritytech/polkadot/pull/4123
      assumes all PVFs are prepared in the same way. Specifically, that if a
      PVF preparation failed before, then PVF pre-checking will also report
      that it was failed, even though it could happen that preparation failed
      due to being low-priority. In order to avoid such cases, we decided to
      simplify the whole preparation model. Preparation under low priority
      does not work well with that.
      
      Closes https://github.com/paritytech/polkadot/issues/4520
      1493fed1
    • Sergey Pepyakin's avatar
      pvf-precheck: teach runtime-api to work with versions (#4510) · 2ccbf38b
      Sergey Pepyakin authored
      As part of #3211 we will need to add a couple of runtime APIs. That
      change is coming in a following PR.
      
      The runtime API for pre-checking will be introduced with a version bump
      for `ParachainHost`. This commit prepares the ground for that change,
      by introducing a error condition that signals that the given API is not
      supported.
      2ccbf38b
    • Koute's avatar
      Companion for Substrate#10394 (#4471) · c328d1e6
      Koute authored
      * Align PVF executor to changes in Substrate
      
      * Update to the newest `substrate`
      c328d1e6
    • Gavin Wood's avatar
      Companion #10403: Remove Default for AccountId (#4500) · ca72ad63
      Gavin Wood authored
      * Some work
      
      * Fixes
      
      * Tests builds
      
      * Fixes
      
      * Fixes
      
      * Fixes
      
      * Fixes
      
      * Fixes
      
      * Formatting
      
      * Formatting
      
      * Fix
      
      * Fixes
      
      * Fixes
      
      * Fixes
      
      * Fixes
      
      * Update Cargo.lock
      
      * Bump
      
      * Fixes
      ca72ad63
  12. Dec 13, 2021
  13. Dec 12, 2021