1. Jan 09, 2023
  2. Jan 08, 2023
  3. Jan 07, 2023
  4. Jan 06, 2023
  5. Jan 05, 2023
  6. Jan 04, 2023
  7. Jan 03, 2023
  8. Jan 02, 2023
  9. Dec 30, 2022
  10. Dec 29, 2022
  11. Dec 28, 2022
  12. Dec 27, 2022
  13. Dec 26, 2022
    • Bastian Köcher's avatar
      Make CLI state pruning optional again (#13017) · 9f5ed21f
      Bastian Köcher authored
      * Make CLI state pruning optional again
      
      The state pruning setting is stored in the database when it is created. In later runs it is fine to
      drop the `--state-pruning` CLI argument as the setting is stored in the database. The state db will
      only return an error if the stored state pruning doesn't match the state pruning given via CLI.
      
      Recently we improved the state pruning CLI handling and accidentally made the state pruning value
      always present (as we set some default value for the clap). If we could find out if a user has
      passed a value or the default value was taken, we could keep the default value in the CLI interface,
      but clap isn't supporting this right now. So, we need to go back and make `state_pruning` an
      optional with the default written into the docs.
      
      It also adds a test to ensure that we don't break this behavior again.
      
      * More docs
      9f5ed21f
    • Ankan's avatar
      Allow StakingAdmin to set `min_commission` (#13018) · 9726a10d
      Ankan authored
      * staking admin can set min commission
      
      * ".git/.scripts/bench-bot.sh" pallet dev pallet_staking
      
      * fmt
      
      * fix for pr comments
      
      Co-authored-by: command-bot <>
      9726a10d
  14. Dec 24, 2022
    • André Silva's avatar
      babe: allow skipping over empty epochs (#11727) · 017cf703
      André Silva authored
      
      
      * babe: allow skipping epochs in pallet
      
      * babe: detect and skip epochs on client
      
      * babe: cleaner epoch util functions
      
      * babe: add test for runtime handling of skipped epochs
      
      * babe: simpler implementation of client handling of skipped epochs
      
      * babe: test client-side handling of skipped epochs
      
      * babe: add comments on client-side skipped epochs
      
      * babe: remove emptyline
      
      * babe: make it resilient to forks
      
      * babe: typo
      
      * babe: overflow-safe math
      
      * babe: add test for skipping epochs across different forks
      
      * Fix tests
      
      * FMT
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      017cf703
  15. Dec 23, 2022