Skip to content
  1. Mar 17, 2020
  2. Mar 16, 2020
  3. Mar 15, 2020
    • Bastian Köcher's avatar
      Move runtime upgrade to `frame-executive` (#5197) · 064ca16f
      Bastian Köcher authored
      * Move runtime upgrade to `frame-executive`
      
      Instead of storing the runtime upgraded in the space of `frame-system`,
      this moves it to `frame-executive`. We also start storing the
      `spec_version` and `impl_version` the last runtime upgrade was applied.
      
      This scheme has multiple advantages:
      - We don't need to make sure that runtime upgrade was set.
      - This will work in the future when we want to test a runtime upgrade,
      because the `on_runtime_upgrade` will be executed automatically when the
      runtime changes.
      
      * Move `LAST_RUNTIME_UPGRADE` key to `frame-executive`
      
      * Add some more documentation
      
      * Make sure `spec_version` always increases between runtime upgrades
      
      * Fix test
      
      * Upgrade `parity-multiaddr` to fix compilation
      
      * Also check if the `spec_name` changed
      
      * Remove `RuntimeUpgraded` storage entry
      
      * Don't run on genesis
      064ca16f
  4. Mar 12, 2020
  5. 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
  6. Mar 10, 2020
  7. 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
  8. Mar 05, 2020
  9. Mar 04, 2020
  10. Mar 03, 2020
  11. Mar 02, 2020
  12. Feb 28, 2020
  13. Feb 27, 2020
  14. 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
  15. 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