1. Jul 22, 2021
  2. Jul 20, 2021
  3. Jul 16, 2021
  4. Jul 14, 2021
    • Denis_P's avatar
      WIP: CI: add spellcheck (#3421) · fc253e6e
      Denis_P authored
      
      
      * CI: add spellcheck
      
      * revert me
      
      * CI: explicit command for spellchecker
      
      * spellcheck: edit misspells
      
      * CI: run spellcheck on diff
      
      * spellcheck: edits
      
      * spellcheck: edit misspells
      
      * spellcheck: add rules
      
      * spellcheck: mv configs
      
      * spellcheck: more edits
      
      * spellcheck: chore
      
      * spellcheck: one more thing
      
      * spellcheck: and another one
      
      * spellcheck: seems like it doesn't get to an end
      
      * spellcheck: new words after rebase
      
      * spellcheck: new words appearing out of nowhere
      
      * chore
      
      * review edits
      
      * more review edits
      
      * more edits
      
      * wonky behavior
      
      * wonky behavior 2
      
      * wonky behavior 3
      
      * change git behavior
      
      * spellcheck: another bunch of new edits
      
      * spellcheck: new words are koming out of nowhere
      
      * CI: finding the master
      
      * CI: fetching master implicitly
      
      * CI: undebug
      
      * new errors
      
      * a bunch of new edits
      
      * and some more
      
      * Update node/core/approval-voting/src/approval_db/v1/mod.rs
      
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      
      * Update xcm/xcm-executor/src/assets.rs
      
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      
      * Suggestions from the code review
      
      * CI: scan only changed files
      
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      fc253e6e
  5. Jul 13, 2021
  6. Jul 12, 2021
  7. Jul 09, 2021
  8. Jul 06, 2021
    • 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
  9. Jul 01, 2021
  10. Jun 28, 2021
    • 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
    • Squirrel's avatar
      Use associated constant for max (#3375) · dcb08fd5
      Squirrel authored
      dcb08fd5
  11. 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
  12. Jun 24, 2021
  13. Jun 22, 2021
  14. 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
  15. Jun 19, 2021
  16. Jun 16, 2021
    • Keith Yeung's avatar
      Companion for #8949 (#3216) · 7d82d93f
      Keith Yeung authored
      * Remove Call part imports of the offences and authority discovery pallets
      
      * Remove non-existent Call enum variants
      
      * Move ValidateUnsigned impl to be under #[pallet::validate_unsigned] in claims pallet
      
      * Remove unused imports
      
      * Remove Call part import for randomness collective flip pallet
      
      * update Substrate
      
      Co-authored-by: parity-processbot <>
      7d82d93f
  17. Jun 15, 2021
  18. Jun 14, 2021
  19. Jun 12, 2021
  20. Jun 09, 2021
  21. Jun 04, 2021
  22. Jun 03, 2021
  23. Jun 02, 2021
  24. Jun 01, 2021
  25. May 24, 2021
  26. May 22, 2021
  27. May 20, 2021
  28. May 19, 2021
  29. May 18, 2021
  30. May 14, 2021
  31. May 11, 2021
    • Shawn Tabrizi's avatar
      Add Auctions and Crowdloans to Kusama and Westend (#2999) · c68903f3
      Shawn Tabrizi authored
      
      
      * add to westend
      
      * fixes
      
      * fix runtime tests
      
      * add to kusama
      
      * 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
      
      * fix auctions benchmarks
      
      * add benchmark to kusama
      
      * update weights
      
      * 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=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
      
      * update to use weights
      
      * 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
      
      * Initiate auctions with 2/3 council
      
      * add check and docs
      
      * update crowdloan deposits
      
      * move tests
      
      * move other tests
      
      * update ending period
      
      * 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
      
      * fix origin
      
      * 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
      
      Co-authored-by: default avatarParity Bot <[email protected]>
      Co-authored-by: default avatarGavin Wood <[email protected]>
      c68903f3