1. Apr 07, 2020
    • Marcio Diaz's avatar
      Benchmark Offences Pallet (#5411) · 9f1bddf9
      Marcio Diaz authored
      * Add initial report_ofence bench.
      
      * Remove unused imports
      
      * Style nit
      
      * Add nominators
      
      * Remove logs.
      
      * Nits.
      
      * Add nominators param.
      
      * Reorg, comment.
      
      * Remove whitespaces.
      
      * Apply review suggestion: move benchmark to own crate.
      
      * Remove import.
      
      * Remove line.
      
      * Add feature flag.
      
      * Pass can_report.
      
      * Cleaning up.
      
      * More cleaning
      9f1bddf9
    • Shawn Tabrizi's avatar
      Generate Unit Tests for Benchmarks (#5527) · 545aa615
      Shawn Tabrizi authored
      * Update to latest staking
      
      * generate tests for benchmarking
      
      * add tests, fix warnings
      
      * starting on democracy
      
      * impl_benchmark_tests
      
      * Way more readable
      
      * add test feature flag (does this work?)
      
      * Fix `successful_origin` impl
      
      * democracry benchmark tests
      
      * Fix example benchmarks, add tests
      
      * identity benchmark tests
      
      * Update im-online benchmark tests
      
      * try to add session benchmarking tests (problem with mock)
      
      * staking and timestamp
      
      * add test for treasury, issue with dynamic contains
      
      * utility
      
      * Vesting
      
      * test instead of check
      
      * hide until we figure out what is wrong
      
      * add docs
      
      * close code
      
      * Create custom mock for session-pallet-benchmarking
      
      * Use refcell pattern
      
      * make un-pub
      
      * test-linux-stable includes `runtime-benchmarks` feature
      
      * Revert "test-linux-stable includes `runtime-benchmarks` feature"
      
      This reverts commit a2dab38a.
      
      * run tests in `--release`
      
      * undo balance change
      
      * build wasm
      545aa615
    • Denis_P's avatar
      change (ci): merge check warnings into test linux job (#5546) · 8d985b06
      Denis_P authored
      * change (ci): merge check warnings into test linux job
      
      * change (ci): newline doesn't make sense here
      8d985b06
  2. Apr 06, 2020
  3. Apr 05, 2020
  4. Apr 04, 2020
    • Benjamin Kampmann's avatar
      Fix non-linux build of sc-client (#5524) · d8d87147
      Benjamin Kampmann authored
      * procfs is linux only
      
      * also for the import
      
      * fixup non-linux build
      d8d87147
    • Benjamin Kampmann's avatar
      Additional Metrics collected and exposed via prometheus (#5414) · 8991aab9
      Benjamin Kampmann authored
      
      
      This PR refactors the metrics measuring and Prometheus exposing entity in sc-service into its own submodule and extends the parameters it exposes by:
      
      - system load average (over one, five and 15min)
      - the TCP connection state of the process (lsof), refs #5304
      - number of tokio threads
      - number of known forks
      - counter for items in each unbounded queue (with internal unbounded channels)
      - number of file descriptors opened by this process (*nix only at this point)
      - number of system threads (*nix only at this point)
      
      refs #4679
      
      Co-authored-by: default avatarMax Inden <[email protected]>
      Co-authored-by: default avatarAshley <[email protected]>
      8991aab9
    • Shawn Tabrizi's avatar
      Simple Staking Payouts (#5406) · e33dae64
      Shawn Tabrizi authored
      * Simple Payouts
      
      * explicit test for out of order claiming
      
      * Add `payout_all` benchmark
      
      * Fix merge
      
      * add docs
      
      * change event to controller
      
      * Fix timestamp test warnings
      
      * Revert "change event to controller"
      
      This reverts commit 5d4a9783
      
      .
      
      * Update Reward event doc
      
      * Add "non-production" test
      
      * add unlock chunk to test
      
      * fix merge
      
      * End payout early if no reward points
      
      * payout_validator -> payout_stakers
      
      * bring back payout nominator/validator, but limit their use to before migration era
      
      * Add test for before migration
      
      * New payout works for the era that we migrate
      
      * Fix logic, check that migration era works
      
      * Migrate Era tests (copypasta)
      
      * Move comment
      
      * Add mock back to external functions
      
      * Fixes based on review from gui
      
      * Update Cargo.lock
      
      * Update Cargo.lock
      
      * small docs update
      
      Co-authored-by: default avatarjoepetrowski <[email protected]>
      e33dae64
    • Gavin Wood's avatar
      EnsureOrigin is a frame abstraction - it should be in frame_support (#5521) · bbf4df60
      Gavin Wood authored
      * EnsureOrigin is a frame abstraction - it should be in frame_support
      
      * Fixes
      bbf4df60
    • André Silva's avatar
      support: add lateness trait (#5519) · 0c7f8b22
      André Silva authored
      * support: add lateness trait
      
      * babe: implement the lateness trait
      
      * babe: add docs about lateness entry lifetime
      
      * babe: don't use option for lateness storage entry
      0c7f8b22
  5. Apr 03, 2020
  6. Apr 02, 2020
  7. Apr 01, 2020