1. Feb 21, 2022
  2. Feb 10, 2022
    • Zeke Mostov's avatar
      pallet-staking: Add extrinsic `force_apply_min_commission` (#10786) · 83eed801
      Zeke Mostov authored
      
      
      * pallet-staking: Add extrinsic `force_apply_min_commission`
      
      * Add benchmarks
      
      * cargo run --quiet --profile=production  --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_staking --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/staking/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * Bound iteration by  max_validator_count
      
      * cargo run --quiet --profile=production  --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_staking --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/staking/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * Only apply to 1 validator
      
      * Update doc comments
      
      * Uncomment tests
      
      * cargo run --quiet --profile=production  --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_staking --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/staking/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * Accept signed origins
      
      * cargo run --quiet --profile=production  --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_staking --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/staking/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * Remove contains_key check
      
      * Add test for try_mutate_exists
      
      * Impove try_mutate_exists docs
      
      * Delete redundant try_mutate_exists tests;
      
      * Delete residual from removed test
      
      * cargo run --quiet --profile=production  --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_staking --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/staking/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * Return an error when the stash does not exist
      
      * Update try_mutate_exist doc wording
      
      * Update frame/staking/src/pallet/mod.rs
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarParity Bot <[email protected]>
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      83eed801
  3. Feb 08, 2022
  4. Feb 01, 2022
    • Alexander Theißen's avatar
      Release `pallet-contracts-primitives` (#10772) · 3938c1cb
      Alexander Theißen authored
      * Bump sp-storage
      
      * Bump sp-rpc
      
      * Bump sp-io
      
      * Bump sp-trie
      
      * Bump sp-state-machine
      
      * Bump sp-externalities
      
      * Bump sp-keystore
      
      * Bump sp-application-crypto
      
      * Bump pallet-contracts-primitives
      
      * Bump sp-core
      
      * Bump sp-runtime-interface
      
      * Bump sp-wasm-interface
      
      * Bump sp-runtime
      
      * Bump sp-storage
      
      * Update lock file
      
      * Revert "Bump sp-storage"
      
      This reverts commit f86c6db1ae334e28207b658fd90714ade0332e3b.
      
      * Update lock file
      3938c1cb
  5. Jan 31, 2022
  6. Jan 25, 2022
  7. Jan 24, 2022
  8. Jan 20, 2022
  9. Jan 19, 2022
  10. Jan 17, 2022
  11. Jan 06, 2022
  12. Jan 05, 2022
  13. Jan 03, 2022
  14. Dec 21, 2021
  15. Dec 19, 2021
  16. Dec 17, 2021
  17. Dec 16, 2021
    • Kian Paimani's avatar
      move generics of election trait to associated types (#10475) · f10203c7
      Kian Paimani authored
      * move generics of election trait to associated types
      
      * fix doctest
      f10203c7
    • dharjeezy's avatar
      Replace parameter_types with ConstU32 &c. (#10402) · 1b0be8ae
      dharjeezy authored
      
      
      * remove parameter types and use const type
      
      * remove parameter types and use const type
      
      * Delete {
      
      * Delete count,
      
      * refractor for beefy, benchmarking, child bounties, and collective pallets
      
      * refractor for pallet contracts
      
      * refractor for elections
      
      * refractor for more pallets
      
      * fix CI issues
      
      * fix CI issues
      
      * fix CI issues
      
      * fix CI issues
      
      * remove warning to fix CI issue
      
      * remove warning to fix CI issue
      refractor for pallet preimage
      
      * remove warning to fix CI issue
      refractor for pallet proxy
      
      * remove warning to fix CI issue
      refractor for pallet recovery
      refractor for pallet randomness-collective-flip
      
      * remove warning to fix CI issue
      refractor for pallet scored-pool
      refractor for pallet scheduler
      refractor for pallet session
      
      * remove warning to fix CI issue
      refractor for pallet society, support, system, timestamp, tips
      
      * remove warning to fix CI issue
      refractor for pallet transaction_payment, transaction_storage, treasury, uniques, utility
      
      * remove warning to fix CI issue
      
      * cargo +nightly fmt
      
      * CI fix
      
      * more param refractor on beefy-mmr
      
      * refractor for beefy
      
      * Update frame/babe/src/mock.rs
      
      * Update frame/babe/src/mock.rs
      
      * Update frame/bounties/src/tests.rs
      
      * Update frame/tips/src/tests.rs
      
      * Delete mock.rs
      
      * Update frame/examples/basic/src/tests.rs
      
      * Apply suggestions from code review
      
      * Update frame/im-online/src/mock.rs
      
      * Update frame/im-online/src/mock.rs
      
      * Update frame/offences/benchmarking/src/mock.rs
      
      * Update frame/session/benchmarking/src/mock.rs
      
      * Update frame/support/test/tests/pallet_compatibility.rs
      
      * Update frame/support/test/tests/pallet_compatibility_instance.rs
      
      * Update frame/treasury/src/tests.rs
      
      * Update test-utils/runtime/src/lib.rs
      
      * some cleanup
      
      * fmt
      
      * remove unused
      
      Co-authored-by: default avatarDamilare <[email protected]>
      Co-authored-by: default avatarGuillaume Thiolliere <[email protected]>
      1b0be8ae
  18. Dec 15, 2021
    • David's avatar
      Prepare `sp-runtime` for publication (#10451) · edf73199
      David authored
      * Bump versions of sp-core and dependencies to v4.0.0
      
      * Update references from `4.0.0-dev` –> `4.0.0`
      
      * Funny whitespace
      
      * Funny whitespace 2
      
      * Prepare `sp-runtime` for publication
      edf73199
  19. Dec 13, 2021
  20. Dec 11, 2021
    • Bastian Köcher's avatar
      `inspect-key`: Adds support for `expect-public` (#10430) · f6f58f95
      Bastian Köcher authored
      * Introduce `SecretUri`
      
      * `inspect-key`: Adds support for `expect-public`
      
      `expect-public` can be used to check that a given secret uri corresponds to the given public key.
      This is mainly useful when the secret uri is protected by a password and a new derived account
      should be generated. With `--expect-public` the user can pass the public key/account-id of the
      "base" secret uri aka the one without any derivation to ensure the correct password was inserted.
      
      * Fixes
      
      * 🤦
      
      
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarAndré Silva <[email protected]>
      
      * Review feedback
      
      * FMT
      
      * Bump the versions
      
      Co-authored-by: default avatarAndré Silva <[email protected]>
      f6f58f95
  21. Dec 09, 2021
  22. Dec 08, 2021
    • David's avatar
      Release sp-core 4.0.0 (#10447) · 92dc635f
      David authored
      * Bump versions of sp-core and dependencies to v4.0.0
      
      * Update references from `4.0.0-dev` –> `4.0.0`
      
      * Funny whitespace
      
      * Funny whitespace 2
      92dc635f
  23. Dec 07, 2021
    • Ayevbeosa Iyamu's avatar
      Used CountedStorageMap in pallet-staking (#10233) · 56fb1cfb
      Ayevbeosa Iyamu authored
      
      
      * Removed counters and used CountedStorageMap instead.
      
      * Little refactoring
      
      * Update frame/staking/src/migrations.rs
      
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      
      * Removed redundant code to update counter for validator & nominator.
      
      * Removed redundant code to update counter for validator & nominator.
      
      * Removed unreachable code to inject the hashed prefix for nominator & validator.
      
      * Removed redundant check for nominator & validator count.
      
      * Generated `fn prefix_hash` for `CountedStorageMap`.
      
      * Applied changes from `cargo fmt`
      
      * Possible correct implementation of migration code
      
      * Implemented fn module_prefix, storage_prefix and prefix_hash.
      
      * Removed counted_map.rs
      
      * Renamed `fn storage_prefix` to `storage_counter_prefix`.
      
      * Update frame/support/src/storage/types/counted_map.rs
      
      * Update frame/bags-list/remote-tests/src/snapshot.rs
      
      * Update frame/support/src/storage/types/counted_map.rs
      
      * Fixed errors.
      
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      Co-authored-by: default avatarGuillaume Thiolliere <[email protected]>
      56fb1cfb
  24. Dec 03, 2021
  25. Dec 02, 2021
    • Kian Paimani's avatar
      Minimum commission for validators (#10347) · e9a7dc3c
      Kian Paimani authored
      
      
      * Minimum commission for validators
      
      * rename
      
      * Fix benchmakrs
      
      * cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_staking --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/staking/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * Update frame/staking/src/pallet/mod.rs
      
      * cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_staking --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/staking/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      Co-authored-by: default avatarParity Bot <[email protected]>
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      e9a7dc3c
  26. Nov 30, 2021
  27. Nov 28, 2021
  28. Nov 26, 2021
  29. Nov 22, 2021
  30. Nov 18, 2021
  31. Nov 17, 2021
  32. Nov 16, 2021
    • Kian Paimani's avatar
      Update mod.rs (#10277) · 256c35f4
      Kian Paimani authored
      As many people are unbonding, I've had to explain this to a handful of people recently. This improves the error message a bit and puts it in the error description, so that it is shown in the front page of all explorers if `unbond` fails, hopefully making it clear.
      256c35f4
    • David Salami's avatar
      Add field names to pallet Event variants (#9993) · 120894fd
      David Salami authored
      * convert pallet-assets events to struct types
      
      * updated events of a couple pallets
      
      * updated pallet event field names
      
      * update pallet event field names
      
      * updated events in test files
      
      * cargo fmt
      
      * minorfixes
      
      * fix assertion error
      
      * minor fix
      
      * formatting fix
      
      * fmt
      120894fd
  33. Nov 14, 2021