1. Mar 05, 2020
    • Benjamin Kampmann's avatar
      Hide benchmarks behind a feature flag (#5024) · 5cbc17a9
      Benjamin Kampmann authored
      * Hide benchmarks behind a feature flag
      
      * Propage attributes in impl_runtime_apis macro
      
      * Bump impl_version
      
      * Fillter cfg attributes
      
      * Hide more things under the feature
      
      * Fix set_block_number availability
      
      * Rename filter_attrs -> filter_cfg_attrs
      
      * Rename runtime_benchmarks to runtime-benchmarks
      5cbc17a9
    • Gavin Wood's avatar
      use fixed quote (#5135) · bea883b3
      Gavin Wood authored
      bea883b3
    • Gavin Wood's avatar
      Task manager for background/async tasks in service (#5092) · e3bef607
      Gavin Wood authored
      * Reorganize tasks into task manager
      
      * move to separate file and improve api
      
      * address api issues
      
      * fix spawning inside closures
      
      * decouple executor
      
      * tasks_setup -> tasks_builder
      
      * remove drops
      
      * add deprecatiion comment
      
      * add pub(super)
      
      * fix identation
      e3bef607
    • Benjamin Kampmann's avatar
      Support enabling features with `wasm-builder` (#5131) · f633e461
      Benjamin Kampmann authored
      This adds support for enabling features in the wasm build. The `default` and
      `std` feature are ignored in the build.
      f633e461
    • Benjamin Kampmann's avatar
      Reduce usage of `Blake2Hasher` (#5132) · 76acf5d6
      Benjamin Kampmann authored
      This reduces the usage of `Blake2Hasher` in the code base and replaces
      it with `BlakeTwo256`. The most important change is the removal of the
      custom extern function for `Blake2Hasher`. The runtime `Hash` trait is
      now also simplified and directly requires that the implementing type
      implements `Hashable`.
      76acf5d6
  2. Mar 04, 2020
  3. Mar 03, 2020
    • Gavin Wood's avatar
      Lazy payouts (#4474) · 75116bd8
      Gavin Wood authored
      * TODOs
      
      * Remove superfluous:
      
      * partial implementation
      
      * full implementation
      
      * fix preferences
      
      * update comments
      
      * upgrade test WIP
      
      * fix more tests
      
      * fix cutoff
      
      * fix saturation
      
      * comment
      
      * upgrade mock
      
      * upgrade test
      
      * WIP migration
      
      * WIP migration
      
      * remove slot stake stuff
      
      * fix merge
      
      * migration of ledger
      
      * remove equalize from test
      
      * add test
      
      * fix
      
      * update doc
      
      * fix compilation
      
      * improve test readibility
      
      * improve doc
      
      * fix most todo
      
      * fix migration and test
      
      * remove println
      
      * WIP
      
      * add test and spec
      
      * weight
      
      * update doc
      
      * safer end_era
      
      * fix exposure of conversion
      
      * Revert "safer end_era"
      
      This reverts commit 72ff737d
      
      .
      
      * fix useless put
      
      * exposure clipped
      
      * doc
      
      * fix payout with clipped
      
      * fix node runtime
      
      * add doc
      
      * pluggable and generalized staking module
      
      * remove print
      
      * update doc
      
      * refactor
      
      * improve documentation and implementation
      
      * fix test
      
      * Fix test
      
      * fix test
      
      * fix test
      
      * fix remove lowest stake from exposure, not biggest.
      
      * nomination index arguments in nominator_payout
      
      * add test
      
      * try to fix offence
      
      * apply slashed and bond eras until active era
      
      * doc
      
      * update spec version
      
      * add test upgrade from previous test environment
      
      * Apply suggestions from code review
      
      Co-Authored-By: default avatarShawn Tabrizi <[email protected]>
      
      * nominators upgrade has been cleaned
      
      * dynamic history depth implementation
      
      * make current_era - history_depth included
      
      * Change equality check to start era to less than or equal
      
      * Use era specific validator prefs
      
      * Add print statement and comment about start era if <
      
      * fix next_reward overflow
      
      * make more check for bad era claim for zero cost
      
      * small refactor
      
      * code refactor + fix use of deprecated storage
      
      * fix wasm build
      
      * add comment
      
      * Fix tests
      
      * remove outdated comment
      
      * Apply suggestions from code review
      
      Co-Authored-By: default avatarShawn Tabrizi <[email protected]>
      
      * gather active era information into one storage
      
      Co-authored-by: default avatarthiolliere <[email protected]>
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      75116bd8
    • Bastian Köcher's avatar
      Update to SCALE 1.2.0 (#5113) · 870540b7
      Bastian Köcher authored
      This updates `parity-scale-codec` to `1.2.0`, which includes multiple
      performance improvements and a fix that bounds the capacity of a vector
      at decoding.
      870540b7
    • Ashley's avatar
      Add more metrics to prometheus (#5034) · a201f349
      Ashley authored
      * Add a few things
      
      * Add finality_grandpa_round
      
      * fix fg tests
      
      * Nitpicks
      
      * Nitpicks
      
      * Fix name of prometheus crate
      a201f349
    • joe petrowski's avatar
    • Bastian Köcher's avatar
      Expose `state-db` memory info (#5110) · 9fb3a7f7
      Bastian Köcher authored
      This exposes memory statistics from the state-db.
      9fb3a7f7
  4. Mar 02, 2020
  5. Feb 28, 2020
  6. Feb 27, 2020
  7. Feb 26, 2020
    • Benjamin Kampmann's avatar
      set missing metadata fields, prepping alpha.2 (#5067) · 2afecf81
      Benjamin Kampmann authored
      * setting first batch of descriptions
      
      * fix what I just broke
      
      * next batch
      
      * and pallets, too
      
      * last batch
      
      * set cargo.lock
      
      * keep'em dev-deps
      
      * bump version to alpha.2
      v2.0.0-alpha.2
      2afecf81
    • Eric's avatar
      Fix/div by zero (#5041) · 5b415750
      Eric authored
      * Handle gas_price being zero separately
      
      * Bump spec_version
      
      * Add a unit & integration tests for gas price = 0
      5b415750
    • s3krit's avatar
      Activate publishing of draft releases... (#5062) · 0f4f9d76
      s3krit authored
      * Activate publishing of draft releases...
      
      ... And fix the message sending (missing parameter).
      
      * publish_draft_release.sh now checks latest...
      
      ... release on github rather than just a tag
      0f4f9d76
    • Denis_P's avatar
      Fix the issue with `trybuild`'s `ui` tests (#4992) · bad1280e
      Denis_P authored
      * repro ui bug
      
      * fix the tests
      
      * test with the new image
      
      * test without CARGO_HOME
      
      * test without fixes
      
      * test again
      
      * fix trybuild old versions
      
      * bump CArgo.lock
      
      * fix trybuild newest versions
      
      * bump Cargo.lock
      
      * trying on the latest image
      
      * bump Cargo.lock
      
      * run with the old image
      
      * ci will be green on the image from 2020-02-19 [skip ci]
      
      * bump Cargo.lock
      bad1280e