Skip to content
  1. Mar 12, 2020
  2. Mar 11, 2020
    • Max Inden's avatar
      client/authority-discovery: Instrument code with Prometheus (#5195) · e53f42e6
      Max Inden authored
      
      
      * client/authority-discovery: Instrument code with Prometheus
      
      Introduce Prometheus metrics into the authority discovery module
      enabling one to observe:
      
      - authority_discovery_times_published_total
      
      - authority_discovery_amount_external_addresses_last_published
      
      - authority_discovery_times_requested_total
      
      - authority_discovery_dht_event_received
      
      * client/authority-discovery/src/lib.rs: Reword metric help texts
      
      Co-Authored-By: default avatarAshley <[email protected]>
      
      * client/authority-discovery/src/lib.rs: Reword metric help text
      
      Co-Authored-By: default avatarAshley <[email protected]>
      
      * client/authority-discovery/tests: Fix struct instantiation + basic test
      
      Co-authored-by: default avatarAshley <[email protected]>
      e53f42e6
  3. Mar 10, 2020
  4. Mar 09, 2020
    • Max Inden's avatar
      client/network-gossip: Merge GossipEngine and GossipEngineInner (#5042) · 78cdd3bf
      Max Inden authored
      * client/network-gossip: Merge GossipEngine and GossipEngineInner
      
      Given that GossipEngine and GossipEngineInner are not shared between
      threads anyone (public interface + background tasks), neither depends on
      being Send or Sync. Thus one can merge the two as done in this patch.
      One only needs to wrap an `Arc<Mutex<>>` around the whole structure when
      the owner (e.g. finality-grandpa) needs to share the gossip engine
      between threads.
      
      * client/finality-grandpa: Wrap GossipEngine in Arc Mutex & lock it on use
      
      GossipEngine in itself has no need to be Send and Sync, given that it
      does not rely on separately spawned background tasks anymore. Given that
      finality-grandpa shares the `NetworkBridge` potentially between threads
      its components need to be clonable, thus this patch wraps `GossipEngine`
      in an `Arc<Mutex<>>`.
      78cdd3bf
    • Marcio Diaz's avatar
      Benchmark Vesting (#5048) · 1b80152d
      Marcio Diaz authored
      
      
      * Init macro
      
      * Refactor function.
      
      * Add feature
      
      * vested transfer benchmark
      
      * Fix features
      
      * Forgot to push this fix
      
      * bump impl
      
      * Nits.
      
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      1b80152d
  5. Mar 05, 2020
  6. Mar 04, 2020
  7. Mar 03, 2020
  8. Mar 02, 2020
  9. Feb 28, 2020
  10. Feb 27, 2020
  11. 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
    • 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
  12. Feb 25, 2020
    • Benjamin Kampmann's avatar
      prepare version to alpha.1 (#5055) · 7c751574
      Benjamin Kampmann authored
      bump version to -alpha.1
      v2.0.0-alpha.1
      7c751574
    • Shawn Tabrizi's avatar
      Remove indices from node-template (#5025) · 71d10b45
      Shawn Tabrizi authored
      * Remove indices from node-template
      
      * Use identity lookup instead
      
      * Bump impl
      
      * clean cargo.toml
      71d10b45
    • Benjamin Kampmann's avatar
      adding unleash to ci (#5020) · 993e5f69
      Benjamin Kampmann authored
      * adding unleash to ci
      
      * fixing formatting
      
      * with a dot please
      
      * alpha.3 now
      
      * do not publish testing helpers
      
      * remove old test-helpers cruft
      
      * fix cargo.lock
      
      * with alpha 4
      
      * do not publish runtime-interface-test either
      
      * disable more test crates from publishing
      
      * switch to alpha.5
      
      * replace tempdir with tempfile
      
      * update lru
      
      * switch to bytes 0.5
      
      * release script fixes
      
      * switch on and to latest alpha
      
      * BUT THE SPACES
      993e5f69
  13. Feb 21, 2020
    • Benjamin Kampmann's avatar
      Cargo.toml fixups for the release (#4975) · 2406f796
      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
      2406f796
    • Cecile Tonglet's avatar
      Add tests & Service's Configuration has optional fields that shouldn't be optional (#4842) · 97ad8026
      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.
      97ad8026
    • Pierre Krieger's avatar
      Open one substream for each notifications protocol (#4909) · 397f53a1
      Pierre Krieger authored
      
      
      * Open one substream for each notifications protocol
      
      * Fix WASM build
      
      * Apply suggestions from code review
      
      Co-Authored-By: default avatarToralf Wittner <[email protected]>
      
      * Address concerns
      
      * Use unsigned-varint to read the varint
      
      * Use unsigned-varint
      
      * Forgot Cargo.lock
      
      Co-authored-by: default avatarToralf Wittner <[email protected]>
      397f53a1
  14. Feb 20, 2020