Skip to content
Snippets Groups Projects
  1. Mar 26, 2020
  2. Mar 25, 2020
  3. Mar 24, 2020
  4. Mar 23, 2020
  5. Mar 20, 2020
  6. Mar 19, 2020
  7. Mar 18, 2020
    • Benjamin Kampmann's avatar
      Releasing 2.0.0-alpha.4 (#5279) · 25e25a83
      Benjamin Kampmann authored
      
      * Version bump
      
      * Split generate_changelog.sh into separate script
      
      Can be run in the format `generate_changelog.sh $previous_version $version`.
      
      * remove early exit from publish_draft_release.sh
      
      * adding changelog
      
      * ci: change last_github_release to also find pre-releases
      
      Co-authored-by: default avatarMartin Pugh <pugh@s3kr.it>
      25e25a83
    • Toralf Wittner's avatar
      sc-network: Return on Poll::Pending. (#5295) · 89b93d9d
      Toralf Wittner authored
      If polling encounters a `Poll::Pending` we need to return it instead of
      continuing the loop which may turn it into a blocking operation, causing
      problems with executors.
      89b93d9d
  8. Mar 17, 2020
    • Max Inden's avatar
      client/network/src/protocol: Refactor Prometheus metric logic (#5266) · e91d4be9
      Max Inden authored
      * client/network/src/protocol: Start Prometheus metric help with capital
      
      * client/network/src/protocol: Differentiate metric status as label
      
      Prometheus query language is powerful through its multi-dimensional data
      model. Metric names are hirarchical whereas labels enable data to become
      multi-dimensional.
      
      Exposing the justification of finality-proof status as a label allows
      for more powerful queries.
      
      * client/network/src/protocol: Remove 'Total' from non counter metric help
      
      The word 'total' is reserved for accumulating counters. Counters have to
      be monotonically increasing. `obsolete_requests` can decrease, thereby
      it is defined as a `Gauge` and not a `Counter`.
      
      For more details on metric naming see
      https://prometheus.io/docs/practices/naming/
      e91d4be9
  9. Mar 12, 2020
  10. Mar 10, 2020
  11. Mar 06, 2020
  12. Mar 05, 2020
  13. Mar 04, 2020
    • Benjamin Kampmann's avatar
      Don't include `:code` by default in storage proofs (#5060) · 6ee39261
      Benjamin Kampmann authored
      
      * Adds test to verify that the runtime currently is always contained in
      the proof
      
      * Start passing the runtime wasm code from the outside
      
      * Fix compilation
      
      * More build fixes
      
      * Make the test work as expected now :)
      
      * Last fixes
      
      * Fixes benchmarks
      
      * Review feedback
      
      * Apply suggestions from code review
      
      Co-Authored-By: default avatarSergei Pepyakin <sergei@parity.io>
      
      * Review feedback
      
      * Fix compilation
      
      Co-authored-by: default avatarSergei Pepyakin <s.pepyakin@gmail.com>
      6ee39261
    • Shawn Tabrizi's avatar
      A Pallet for Benchmarking Common Runtime Operations (#4902) · 3d6329a2
      Shawn Tabrizi authored
      * Benchmark pallet
      
      * Add a bunch more benchmarks
      
      * do nothing test
      
      * new benchmarks
      
      * Clean up extra tests
      
      * Encode and Decode Vec<T::AccountId>
      
      * Starting to migrate benchmarks to macro
      
      * Use macro
      
      * Remove call and storage
      
      * Update Cargo.toml
      
      * Add storage recalc benchmark
      
      * Add support for custom functions in benchmark! macro
      
      * Reset DB for storage recalc
      
      * Feedback from review
      
      * Add more comments
      
      * Remove benchmark pallet from node
      
      * Fix cargo files
      
      * Fix comments
      
      * Change `crate` to `super`
      
      * missed one
      
      * Use results of benchmark encode/decode
      
      * Pass generic to extra functions
      
      * reset macro to master
      
      * Update lib.rs
      
      * Update to use standard syntax
      3d6329a2
  14. Mar 03, 2020
  15. Mar 02, 2020
  16. Feb 28, 2020
    • Ashley's avatar
      Remove more instances of futures01 (#4633) · 9a925faf
      Ashley authored
      
      * Start removing last few instances of futures01
      
      * Use to_poll on wasm
      
      * Revert "Use to_poll on wasm"
      
      This reverts commit 1c61728f10d520df5f9b28c415a0db68e478b9c7.
      
      * Fix fg test
      
      * Upgrade network test futures
      
      * Update offchain hyper version
      
      * Update service test
      
      * bump tokio to 0.2.10
      
      * Removed some unneeded tokios
      
      * fixes
      
      * fix run_until_all_full
      
      * Make service test debuggable
      
      * Update client/offchain/src/api/http.rs
      
      Co-Authored-By: default avatarDemi Obenour <48690212+DemiMarie-parity@users.noreply.github.com>
      
      * Add service_test to test-int output
      
      * nitpicking
      
      * Finally fix test
      
      * Give up and revert client/serviec/test
      
      * Revert gitlab ci too
      
      Co-authored-by: default avatarDemi Obenour <demi@parity.io>
      9a925faf
  17. Feb 27, 2020
  18. Feb 26, 2020
  19. Feb 25, 2020
  20. Feb 21, 2020
    • Benjamin Kampmann's avatar
      Cargo.toml fixups for the release (#4975) · c412c623
      Benjamin Kampmann authored
      * setting versions to development pre-release
      
      fixing version in dependencies
      
      * unset already released wasm-builder
      
      * do not publish test crates
      
      * adding licenses
      
      * setting homepage metadata
      
      * set repository url
      c412c623
    • asynchronous rob's avatar
      Remove `NetworkSpecialization` (#4665) · 0090fe97
      asynchronous rob authored
      
      * remove networkspecialization
      
      * Fix most of the fallout
      
      * get all tests compiling
      
      Co-authored-by: default avatarPierre Krieger <pierre.krieger1708@gmail.com>
      0090fe97
    • Cecile Tonglet's avatar
      Add tests & Service's Configuration has optional fields that shouldn't be optional (#4842) · e8000e74
      Cecile Tonglet authored
      Related to #4776 
      Related to https://github.com/paritytech/polkadot/pull/832
      
      To summarize the changes:
      1. I did not manage to validate with types the service's Configuration. But I did reduce the possibility of errors by moving all the "fill" functions to their respective structopts
      2. I split params.rs to multiple modules: one module params for just CLI parameters and one module commands for CLI subcommands (and RunCmd). Every command and params are in their own file so things are grouped better together and easier to remove
      3. I removed the run and run_subcommand helpers as they are not helping much anymore. Running a command is always a set of 3 commands: 1. init 2. update config 3. run. This still allow the user to change the config before arguments get parsed or right after.
      4. I added tests for all subcommands.
      5. [deleted]
      
      Overall the aim is to improve the situation with the Configuration and the optional parameters, add tests, make the API more consistent and simpler.
      e8000e74
    • Pierre Krieger's avatar
      Open one substream for each notifications protocol (#4909) · 7a040558
      Pierre Krieger authored
      
      * Open one substream for each notifications protocol
      
      * Fix WASM build
      
      * Apply suggestions from code review
      
      Co-Authored-By: default avatarToralf Wittner <tw@dtex.org>
      
      * Address concerns
      
      * Use unsigned-varint to read the varint
      
      * Use unsigned-varint
      
      * Forgot Cargo.lock
      
      Co-authored-by: default avatarToralf Wittner <tw@dtex.org>
      7a040558
    • Pierre Krieger's avatar
      Make sure we use libp2p 0.16.1 (#5017) · ab1351c5
      Pierre Krieger authored
      ab1351c5