1. Feb 22, 2022
  2. Feb 21, 2022
  3. Feb 20, 2022
  4. Feb 19, 2022
  5. Feb 18, 2022
  6. Feb 17, 2022
  7. Feb 16, 2022
  8. Feb 15, 2022
    • Pierre Krieger's avatar
      Mark sync_state_genSyncSpec JSON-RPC as safe (#10832) · 9a788396
      Pierre Krieger authored
      * Mark sync_state_genSyncSpec JSON-RPC as safe
      
      * Note that parameter is unused
      
      * Ideally I'd wait for compilation to be finished before pushing, but it's really taking a long time
      
      * Remove deny_unsafe parameter
      
      * Remove unused dependency
      9a788396
    • Davide Galassi's avatar
      Fix beefy mock ecdsa keys (#10854) · 6f53b974
      Davide Galassi authored
      Compressed ECDSA keys requires to have 0x02 or 0x03 as their first byte
      in order to allow public key recovery.
      
      Nevertheless the test was working because of the `unwrap_or_default()`
      at the end of the conversion routine (i.e. the invalid keys were
      converted to an empty vector).
      6f53b974
    • Alexander Samusev's avatar
      [ci] fix publish-rustdocs (#10858) · 4519145d
      Alexander Samusev authored
      4519145d
    • Koute's avatar
      43c3e709
    • Alexander Theißen's avatar
      contracts: Fix `seal_call` weights (#10796) · b82cfbac
      Alexander Theißen authored
      
      
      * Fix call weights
      
      * Fix instantiate benchmark
      
      * cargo run --quiet --profile=production  --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_contracts --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/contracts/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * Remove stale and superflous comments
      
      * `decrement_refcount` should be infallible
      
      * Don't hardcode increment_refcount, decrement_refcount
      
      * Rename CopyIn/CopyOut
      
      * Fix warning in tests
      
      Co-authored-by: default avatarParity Bot <[email protected]>
      b82cfbac
  9. Feb 14, 2022
    • Bastian Köcher's avatar
      wasm-builder: Support latest nightly (#10837) · 47622d69
      Bastian Köcher authored
      * wasm-builder: Support latest nightly
      
      With latest nightly, aka rust version 1.60+ namespaced features are added. This changes the handling
      of optional dependencies. We currently have features that enable optional dependencies when `std` is
      enabled. This was before no problem, but now the wasm-builder detects them as enabled. To support
      the transition period until 1.60 is released as stable, this pr adds an heuristic to not enable these
      optional crates in the wasm build when they are enabled in the `std` feature. This heuristic fails
      when someones enables these optional dependencies from the outside as well as via the `std` feature,
      however we hope that no one is doing this at the moment. When namespaced features are enabled, these
      dependencies needs to be enabled using `dep:dependency-name` to solve this properly.
      
      https://doc.rust-lang.org/cargo/reference/unstable.html#namespaced-features
      
      * Remove accidentally added features
      47622d69
    • Bastian Köcher's avatar
      Remove `u32_trait` (#10850) · fdd49f07
      Bastian Köcher authored
      * Remove `u32_trait`
      
      This trait only existed because there wasn't any const generic support at time of creation. However,
      we now have support for it :)
      
      * FMT
      fdd49f07
    • Bastian Köcher's avatar
      subkey: Support `--version` cli command (#10853) · 888131b6
      Bastian Köcher authored
      * subkey: Support `--version` cli command
      
      * FMT 🤦
      888131b6
  10. Feb 13, 2022
  11. Feb 11, 2022
  12. 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
    • Bastian Köcher's avatar
      UncheckedExtrinsic: Harden decode and clarify `EXTRINSIC_FORMAT_VERSION` (#10829) · 20b2bba1
      Bastian Köcher authored
      * UncheckedExtrinsic: Harden decode and clarify `EXTRINSIC_FORMAT_VERSION`
      
      * Apply suggestions from code review
      20b2bba1