Skip to content
  1. Jun 09, 2021
  2. 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
  3. Jun 07, 2021
  4. Jun 04, 2021
  5. Jun 03, 2021
  6. May 31, 2021
  7. May 28, 2021
  8. May 27, 2021
  9. May 26, 2021
  10. 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
  11. May 24, 2021
  12. May 22, 2021
  13. May 20, 2021
  14. May 18, 2021
  15. 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
  16. May 12, 2021
  17. 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
    • Martin Pugh's avatar
      Bump version to v0.9.1 and spec_version to v9010 (#3001) · 25cd6743
      Martin Pugh authored
      * bump version and spec_version
      
      * fix generate_release_text.rb
      
      * Revert "fix generate_release_text.rb"
      
      This reverts commit 9e01e0ae4f6db2155d123f69063db7d7564588e0.
      
      * fix publish_draft_release
      
      * fix publish_draft_release
      
      * update target cache
      25cd6743
  18. May 10, 2021
  19. May 04, 2021
  20. May 03, 2021
  21. May 01, 2021
    • asynchronous rob's avatar
      Add parachains modules to Westend and Kusama runtimes (#2854) · 2d18b261
      asynchronous rob authored
      
      
      * add `force_set_active_config`
      
      * add parachains modules to Westend
      
      * add parachains modules to Kusama runtime
      
      * use real runtime API impl
      
      * add module indices and remove auctions, crowdloan
      
      * add benchmarks
      
      * remove previous migrations and add host configuration set migration
      
      * make compile
      
      * Add Call Filter for Registrar and Slots except Root
      
      * cargo run --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=slots --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/
      
      * cargo run --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=paras_registrar --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/
      
      * fix build
      
      * update `add_benchmark`
      
      * 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=kusama-dev --steps=50 --repeat=20 --pallet=runtime_common::slots --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/runtime_common_slots.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
      
      * cargo run --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=runtime_common::slots --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_common_slots.rs
      
      * fix weights
      
      * tweak more constants
      
      * Fix up the kusama runtime
      
      * Westend runtime fixups
      
      * Fix MMR & Beefy for westend
      
      * Fixes
      
      * fix tests
      
      * Update runtime/polkadot/src/constants.rs
      
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      
      * Update runtime/westend/src/lib.rs
      
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      Co-authored-by: default avatarParity Benchmarking Bot <[email protected]>
      Co-authored-by: default avatarGav Wood <[email protected]>
      2d18b261
    • Andreas Doerr's avatar
      Make KeyStore optional (#2964) · 99b10213
      Andreas Doerr authored
      99b10213
  22. Apr 29, 2021
  23. Apr 28, 2021
    • Martin Pugh's avatar
      Bump version, bump substrate & update benchmarks in preparation for v0.8.31 (#2938) · 9c609829
      Martin Pugh authored
      
      
      * bump version
      
      * bump cargo
      
      * update benchmarks
      
      * cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_identity --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/
      
      * cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_staking --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/
      
      Co-authored-by: default avatarParity Benchmarking Bot <[email protected]>
      9c609829
  24. Apr 27, 2021
    • Robert Klotzner's avatar
      Send statements to own backing group first (#2927) · c86a774b
      Robert Klotzner authored
      * Factor out runtime module into utils.
      
      * First fatal error design.
      
      * Better error handling infra.
      
      * Error handling cleanup.
      
      * Send to peers of our group first.
      
      * Finish backing group prioritization.
      
      * Little cleanup.
      
      * More cleanup.
      
      * Forgot to checkin error.rs.
      
      * Notes.
      
      * Runtime -> RuntimeInfo
      
      * qed in debug assert.
      
      * PolkaErr -> Fault.
      c86a774b
    • Hernando Castano's avatar
      Add Dev Config for Rococo and Wococo (#2928) · 470383ce
      Hernando Castano authored
      * Add `rococo-dev` chain option
      
      * Add `wococo-dev` CLI option
      
      * Sort Chain ID match arms
      470383ce
  25. Apr 22, 2021
    • André Silva's avatar
      Introduce Wococo testnet (#2918) · ae558997
      André Silva authored
      
      
      * runtime: remove mmr and beefy from westend runtime
      
      * runtime: westend: remove pallet_beefy config
      
      * node: only start beefy gadget on rococo
      
      * node: remove beefy keys from westend chain spec
      
      * node: add wococo testnet chain spec
      
      * node: add comments about beefy gadget task
      
      * runtime: update wococo chainspec
      
      * Remove stale comment
      
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      Co-authored-by: default avataradoerr <[email protected]>
      ae558997
  26. Apr 21, 2021