1. Nov 08, 2022
    • Kian Paimani's avatar
      Add batching to fast-unstake pallet (#12394) · c42db933
      Kian Paimani authored
      
      
      * implement a brand new batch with all tests passing.
      
      * fix benchmarks as well
      
      * make benchmarks more or less work
      
      * fix migration
      
      * add some testing
      
      * Update frame/fast-unstake/src/benchmarking.rs
      
      Co-authored-by: default avatarRoman Useinov <[email protected]>
      
      * review comments
      
      * some fixes
      
      * fix review comments
      
      * fix build
      
      * fmt
      
      * fix benchmarks
      
      * fmt
      
      * update
      
      Co-authored-by: default avatarRoman Useinov <[email protected]>
      c42db933
    • Oliver Tale-Yazdi's avatar
      74b52f93
    • Arkadiy Paronyan's avatar
      State-db refactoring (#12239) · 617fa6c0
      Arkadiy Paronyan authored
      * Prune discarded blocks immediately
      
      * state-db refactoring part 1
      
      * Some renames
      
      * Get rid of pending state
      
      * Revert "Prune discarded blocks immediately"
      
      This reverts commit b60d98c569e8af18d99087da93f0911d4f24006e.
      
      * Cleanup
      
      * Make clippy happy
      
      * Minor changes
      617fa6c0
    • Bastian Köcher's avatar
      `payment_queryInfo`: Make it work with `WeightV2` (#12633) · ec6a428a
      Bastian Köcher authored
      * `payment_queryInfo`: Make it work with `WeighV2`
      
      The runtime api for querying the payment info depends on the `Weight` type and broke for old
      runtimes that still use the `WeighV1`. This pull requests fixes this by:
      
      1. Bumping the version of the runtime api.
      2. Making the node side code use the correct runtime api function depending on the version of the
      runtime api.
      3. Make the RPC always return `WeighV1`.
      
      Users of the api should switch to `state_call` and decide based on the version of the runtime api
      which `Weight` type is being returned.
      
      * Fix tests
      
      * Review comment
      ec6a428a
    • Alexander Samusev's avatar
      Fix UI tests (#12642) · 2e223121
      Alexander Samusev authored
      2e223121
    • Bastian Köcher's avatar
      `sp_trie::Recorder`: Fix recording the same key for different tries (#12636) · 8fcc6f2e
      Bastian Köcher authored
      With `StateVersion::V1` values over a certain size are not inlined and being put into the backend
      with their own hash. When accessing a value in the trie with a recorder, we check if the value is maybe already
      recorded and thus, we can check the cache. To check if a value is already recorded, we use the key
      of the value to differentiate them. The problem is when there are multiple tries, like multiple
      child tries that all have different values under the same key. Before this pull request we didn't
      have differentiated for which trie we already had recorded a (key, value) pair. This is now done by also taking
      the storage root into account in the recorder to differentiate the different (key, value) pair in
      the tries.
      8fcc6f2e
    • Alexander Samusev's avatar
      Pipeline with ci image with rust 1.65 (#12628) · 698f415b
      Alexander Samusev authored
      * Pipeline with ci image with rust 1.65
      
      * fix tests
      
      * use image with sha
      698f415b
  2. Nov 07, 2022
  3. Nov 05, 2022
  4. Nov 04, 2022
    • Sergej Sakac's avatar
      Move Throughput into `sc-sysinfo` (#12368) · 65b285e6
      Sergej Sakac authored
      
      
      * move Throughput to sc-sysinfo
      
      * replace u64
      
      * fix in tests
      
      * change Throughput
      
      * refactored Throughput
      
      * fixes
      
      * moved tests & fixes
      
      * custom serializer
      
      * note
      
      * fix serializer
      
      * forgot to remove
      
      * deserialize
      
      * functioning deserialization :)
      
      * try to make clipply happy
      
      * Serialize as function
      
      * test HwBench
      
      * rename
      
      * fix serialization
      
      * deserialize as function
      
      * unused import
      
      * move serialize/deserialize
      
      * don't serialize none
      
      * remove nonsense
      
      * remove nonsense comment :P
      
      * fixes
      
      * remove all the todos
      
      * return enum
      
      * fixes
      
      * fix nit
      
      * improve docs & readability
      
      * Update client/sysinfo/src/sysinfo.rs
      
      Co-authored-by: default avatarOliver Tale-Yazdi <[email protected]>
      
      * fix all the nits
      
      * rename
      
      * fix
      
      * Update client/sysinfo/src/sysinfo.rs
      
      Co-authored-by: default avatarOliver Tale-Yazdi <[email protected]>
      
      * remove unit from serialization
      
      * Update utils/frame/benchmarking-cli/src/machine/hardware.rs
      
      Co-authored-by: default avatarOliver Tale-Yazdi <[email protected]>
      65b285e6
  5. Nov 03, 2022
  6. Nov 02, 2022
  7. Nov 01, 2022
  8. Oct 31, 2022
  9. Oct 30, 2022
  10. Oct 29, 2022
  11. Oct 28, 2022