Skip to content
  1. Jun 25, 2021
  2. Jun 22, 2021
    • asynchronous rob's avatar
      SelectChain implementation for relay chains (#3341) · b57b9cf7
      asynchronous rob authored
      * stubbed SelectRelayChain
      
      * disconnected overseer handlers
      
      * add is_disconnected
      
      * add fallback in case overseer is disconnected
      
      * fall back on fallback
      
      * fetch leaves by calling into chain-selection subsystem
      
      * implement best_chain
      
      * mostly implement finality_target
      
      * chain constrain
      
      * metrics and maximum safeguard
      
      * remove review comment after review
      b57b9cf7
  3. Jun 21, 2021
    • Shawn Tabrizi's avatar
      Use `max_code_size` and `max_wasm_data_size` from Parachains Configuration (#3329) · 6b1baba4
      Shawn Tabrizi authored
      
      
      * use `configuration::config()` for max bytes
      
      * Update integration_tests.rs
      
      * Update paras_registrar.rs
      
      * remove consts
      
      * add asserts for non-zero
      
      * more const clean up
      
      * cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=runtime_common::paras_registrar --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/runtime_common_paras_registrar.rs
      
      * cargo run --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=runtime_common::paras_registrar --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_common_paras_registrar.rs
      
      * add checks to `MAX_CODE_SIZE`
      
      * re-pot MAX_POV_SIZE
      
      * check pov limit in runtime
      
      * POV_BOMB_LIMIT multiplier
      
      * fix compile
      
      * Update configuration.rs
      
      * Update node/primitives/src/lib.rs
      
      * fix test
      
      Co-authored-by: default avatarParity Bot <[email protected]>
      6b1baba4
  4. Jun 20, 2021
  5. Jun 19, 2021
  6. Jun 16, 2021
  7. Jun 14, 2021
  8. Jun 11, 2021
  9. Jun 09, 2021
    • dependabot[bot]'s avatar
      Bump futures from 0.3.14 to 0.3.15 (#3178) · 4de30aa5
      dependabot[bot] authored
      
      
      Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.14 to 0.3.15.
      - [Release notes](https://github.com/rust-lang/futures-rs/releases)
      - [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md)
      - [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.14...0.3.15)
      
      ---
      updated-dependencies:
      - dependency-name: futures
        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>
      4de30aa5
    • Keith Yeung's avatar
      Companion for #8990 (#3194) · 99d49ad7
      Keith Yeung authored
      * Use new naming scheme for all Event enums generated by construct_runtime
      
      * Use new naming scheme for all GenesisConfig fields generated by construct_runtime
      
      * Fix overlooked GenesisConfig field renaming
      
      * update Substrate
      
      Co-authored-by: parity-processbot <>
      99d49ad7
  10. Jun 08, 2021
    • Bastian Köcher's avatar
      polkadot-service: Make native runtime configurable (#3189) · f6cbe8e8
      Bastian Köcher authored
      * polkadot-service: Make native runtime configurable
      
      This pull requests adds support for configuring the native runtimes used
      by polkadot-service. While this whole pr doesn't change that much for
      polkadot, besides not having the light-node enabled for the default
      polkadot binary. However, downstream projects (parachains) will have a
      much better compile time. In cumulus for example the `cargo test --all
      --release` is about 4m faster to compile.
      
      * Fixes
      
      * Fix
      
      * Enable rococo-native
      
      * Fix light client
      
      * 🤦
      
      * Fixes
      f6cbe8e8
    • Lldenaurois's avatar
      Remove candidate selection (#3148) · 2abaca3a
      Lldenaurois authored
      * Create validator_side module
      
      * Subsume Candidate Selection
      
      * Add test to ensure candidate backing logic is correct
      
      * Ensure secondings are adequately cleaned up and address test flakyness
      
      * Address Feedback
      2abaca3a
  11. Jun 07, 2021
  12. Jun 04, 2021
  13. Jun 03, 2021
  14. May 31, 2021
  15. May 28, 2021
  16. May 27, 2021
  17. May 26, 2021
  18. May 25, 2021
    • Bastian Köcher's avatar
      Introduce polkadot code substitute (#3093) · 332cfad8
      Bastian Köcher authored
      
      
      * Introduce polkadot code substitute
      
      This introduces a code substitute for the on-chain wasm of Polkadot from
      block
      `0x86aa36a140dfc449c30dbce16ce0fea33d5c3786766baa764e33f336841b9e29`
      on wards. The underlying problem was that there exists some
      miscompilation by the rust compiler in the wasm runtime that results in
      state mismatches between the native/wasm runtime of the
      the 0.8.30 release. This resulted in blocks being authored by the native
      runtime not being importable by nodes using the wasm runtime. The
      on-chain wasm is replaced by a wasm build from the 0.8.30 using the
      rustc nightly from 1.03.2021.
      
      * update the wasm substitute blob
      
      * update Substrate
      
      Co-authored-by: default avatarAndré Silva <[email protected]>
      Co-authored-by: parity-processbot <>
      332cfad8
  19. May 24, 2021
  20. May 22, 2021
  21. May 20, 2021
  22. May 18, 2021
  23. May 13, 2021
    • Hernando Castano's avatar
      Add Bridge Header Sync to Rococo Runtime (#2983) · 95072669
      Hernando Castano authored
      
      
      * Add bridges code to workspace
      
      * Add Rococo and Wococo bridge instances to Rococo runtime
      
      * Add Rococo and Wococo runtime APIs
      
      * Add GenesisConfig parameters for bridge pallet
      
      * Update Rococo spec_version used by bridge relayer
      
      * Add scripts for running Rococo and Wococo dev nodes
      
      * Add scripts for running Rococo<>Wococo header sync
      
      * Apply patch for build artifact location
      
      * Remove bridges crates from workspace
      
      * Downgrade async related dependencies
      
      * Change bridge pallet owner to be `root_key`
      
      * Bump number of `MaxRequests` allowed
      
      * Revert changes in `bridges` subtree folder
      
      * Use correct account for Sudo
      
      * Add comment explaining duplicate bridge pallets
      
      * Remove WeightInfo comment.
      
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      95072669
    • Sergey Pepyakin's avatar
      0e6c96a8
  24. May 12, 2021
  25. May 11, 2021
    • Gavin Wood's avatar
      Initial integration of Gilts pallet (Kusama) (#2587) · bc6efb04
      Gavin Wood authored
      
      
      * Initial integration of Gilts pallet (Kusama)
      
      * Fixes
      
      * Fixes
      
      * Fixes
      
      * Fixes
      
      * Fixes
      
      * Fixes
      
      * cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_gilt --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/
      
      * Use real weights
      
      * Update lock
      
      * Merge
      
      * Fixes
      
      * Add working.
      
      * Add proper curve arithmetic
      
      * Fixes
      
      * Fixes
      
      * Make build
      
      * Fixes
      
      * Fixes
      
      * Fix build
      
      * remove dep.
      
      * undo dep.
      
      * upadte substrate
      
      * Fix
      
      * Bump Substrate
      
      * Fixes
      
      * Fixes
      
      * Fix test
      
      * Remove cap and some tests
      
      * Fixes
      
      * Fixes
      
      * Update runtime/kusama/src/lib.rs
      
      Co-authored-by: default avatarKian Paimani <[email protected]>
      
      * bump the lock file
      
      * Fixes
      
      * Fixes
      
      * Fixes
      
      * Fixes
      
      * Fixes
      
      * Fixes
      
      * Fixes
      
      * Fixes
      
      * Fixes
      
      Co-authored-by: default avatarParity Benchmarking Bot <[email protected]>
      Co-authored-by: default avatarkianenigma <[email protected]>
      Co-authored-by: default avatarKian Paimani <[email protected]>
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      bc6efb04