Skip to content
  1. Jul 07, 2021
  2. Jul 06, 2021
    • Martin Pugh's avatar
      Update all weights, add run_all_benches.sh script (#3400) · 5ba0de03
      Martin Pugh authored
      * update all weights
      
      * add run_all_benches.sh
      5ba0de03
    • ferrell-code's avatar
      paras.rs to FRAME V2 (#3403) · 39969ca5
      ferrell-code authored
      * to v2 macro
      
      * line width
      
      * fix mock
      
      * actually compile moxk
      
      * compile tests
      
      * add hooks
      
      * origin back in mocks
      
      * assimilate_storage
      
      * add generic
      
      * maybe mock compiles now
      
      * origin between parachain and system causing problem
      
      * change origin
      
      * type alias as origin
      
      * keep origin
      
      * add aliases to tests
      
      * remove unnecessary imports
      
      * Parachain -> Paras
      
      * paras test
      
      * nvm
      
      * use genesis build in mock
      39969ca5
  3. Jul 05, 2021
  4. Jul 01, 2021
  5. Jun 28, 2021
    • Shawn Tabrizi's avatar
      Companion for #9193 (#3376) · 4911251a
      Shawn Tabrizi authored
      * update name
      
      * update Substrate
      
      Co-authored-by: parity-processbot <>
      4911251a
    • Peter Goodspeed-Niklaus's avatar
      Companion for Decouple Staking and Election - Part 3: Signed Phase (#2793) · 95736d1b
      Peter Goodspeed-Niklaus authored
      * Companion for Decouple Staking and Election - Part 3: Signed Phase
      
      https://github.com/paritytech/substrate/pull/7910
      
      * remove some config types
      
      * allow up to 5 signed submissions on polkadot and kusama
      
      * signed phase is equal induration to unsigned phase
      
      * use chain defaults for base and per-byte deposits; >= 16 SignedMaxSubmissions
      
      * use a small but non-trivial solution reward
      
      * reduce signed deposit per byte fee
      
      * reduce signed reward, adjust polkadot expected soln size
      
      * copy submit benchmark from substrate
      
      * demo calculating an appropriate fee for the signed reward
      
      Unfortunately, this doesn't work: it needs to be a constant function,
      and AFAIK there's no way to make a trait method constant.
      
      * SignedRewardBase is 1.5x the fee to submit a signed solution
      
      * all chains use deposit byte of base per 50k
      
      * update Substrate
      
      * cargo update -p pallet-election-provider-multi-phase
      
      Co-authored-by: parity-processbot <>
      95736d1b
  6. Jun 25, 2021
    • Martin Pugh's avatar
      Bump versions & spec_versions (#3368) · 022e8bc1
      Martin Pugh authored
      * bump versions & spec_versions
      
      * bump Cargo.lock
      022e8bc1
    • Shawn Tabrizi's avatar
      Don't allow bids for a ParaId where there is an overlapping lease period (#3361) · acec54a7
      Shawn Tabrizi authored
      
      
      * add already leased
      
      Co-Authored-By: parity-processbot <>
      
      * add unit test
      
      Co-Authored-By: parity-processbot <>
      
      * add integration test and fix
      
      Co-Authored-By: parity-processbot <>
      
      * better doc
      
      Co-Authored-By: parity-processbot <>
      
      * Update runtime/common/src/slots.rs
      
      * Update runtime/common/src/slots.rs
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarAndré Silva <[email protected]>
      Co-authored-by: default avatarKian Paimani <[email protected]>
      
      * Update runtime/common/src/integration_tests.rs
      
      * Update runtime/common/src/integration_tests.rs
      
      * cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=runtime_common::auctions --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/runtime_common_auctions.rs
      
      * cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=runtime_common::auctions --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/runtime_common_auctions.rs
      
      * cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=runtime_common::crowdloan --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/runtime_common_crowdloan.rs
      
      * cargo run --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=runtime_common::auctions --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_common_auctions.rs
      
      * cargo run --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=runtime_common::crowdloan --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_common_crowdloan.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::slots --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_common_slots.rs
      
      Co-authored-by: default avatarAndré Silva <[email protected]>
      Co-authored-by: default avatarKian Paimani <[email protected]>
      Co-authored-by: default avatarParity Bot <[email protected]>
      acec54a7
  7. Jun 22, 2021
  8. 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
  9. Jun 20, 2021
  10. Jun 19, 2021
  11. Jun 18, 2021
  12. Jun 16, 2021
  13. Jun 14, 2021
  14. Jun 12, 2021
  15. Jun 11, 2021
  16. Jun 09, 2021
    • 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
  17. Jun 08, 2021
  18. Jun 04, 2021
  19. Jun 03, 2021
  20. Jun 01, 2021
  21. May 31, 2021
  22. May 28, 2021
  23. May 26, 2021