Skip to content
  1. Apr 17, 2020
  2. Apr 16, 2020
  3. Apr 15, 2020
  4. Apr 14, 2020
    • Bastian Köcher's avatar
      `decl_runtime_apis!` - check that a method without `changed_in` exists (#5635) · b267b172
      Bastian Köcher authored
      
      
      * `decl_runtime_apis!` - check that a method without `changed_in` exists
      
      This adds another check to the macro that ensures that not only methods
      with `changed_in` exists, but there are also the default methods exist.
      
      * Update primitives/api/proc-macro/src/decl_runtime_apis.rs
      
      Co-Authored-By: default avatarNikolay Volf <[email protected]>
      
      * Fix test
      
      Co-authored-by: default avatarNikolay Volf <[email protected]>
      b267b172
    • Benjamin Kampmann's avatar
      Prepping release of alpha.6 (#5629) · 51f9bb3c
      Benjamin Kampmann authored
      * bumping version
      
      * cargo update
      
      * adding changelog
      51f9bb3c
    • Fredrik Harrysson's avatar
      889a9763
    • Max Inden's avatar
      .maintain/sentry-node: Add monitoring to docker-compose stack (#5321) · 61d64e2c
      Max Inden authored
      
      
      * Substrate Dashboard example
      
      * Improve README
      
      * Update README_dashboard.md
      
      * Add screenshots
      
      * Minor fix
      
      * Minor fix, image link
      
      * .maintain/sentry-node: Add monitoring to docker-compose stack
      
      With this patch a user can run the following fully configured and
      monitored setup with a single command:
      
      `docker-compose -f .maintain/sentry-node/docker-compose.yml up`
      
      - 2 validators in two different network namespaces, connected via one
      sentry node.
      
      - Polkadot-js/apps to connect to one of the nodes above.
      
      - Prometheus scraping the 3 Substrate nodes.
      
      - Grafana displaying data from Prometheus with community dashboards
      
      * .maintain/monitoring/grafana: Change default datasource name
      
      * .maintain/monitoring/grafana: Add metric namespace option
      
      * .maintain/monitoring/grafana: Remove `host` metric from most metrics
      
      * .maintain/monitoring/grafana: Remove underscore from metric_namespace
      
      * .maintain/monitoring: Use `instance` label instead of `hostname`
      
      To identify a scrape target, one should use `instance` and not
      `hostname` as multiple targets might run on the same node.
      
      See https://prometheus.io/docs/concepts/jobs_instances/ for details.
      
      * .maintain/monitoring: Introduce instance variable
      
      * .maintain/monitoring/grafana: Rename substrate_block_height_number
      
      * .maitain/monitoring/grafana: Use instance instead of host in legend
      
      * .maintain/monitoring: Remove node exporter dependency
      
      * .maintain/sentry-node/prometheus: Simplify configuration
      
      * .maintain/monitoring/grafana: Update README and remove images
      
      * .maintain/sentry-node: Improve docs
      
      * .maintain/monitoring/grafana: Use metric_namespace template variable
      
      * Use --sentry from v0.7.29 instead of a reserved-node
      
      * .maintain/sentry-node: Revert sentry-a using validator-b as bootnode
      
      Co-authored-by: default avatarDerFredy - @derfredy:matrix.org <[email protected]>
      Co-authored-by: default avatardavid <[email protected]>
      61d64e2c
    • Alexander Theißen's avatar
      Add tests for weight refund (#5624) · af756331
      Alexander Theißen authored
      
      
      * Add tests for weight refund
      
      * Update frame/system/src/lib.rs
      
      Co-Authored-By: default avatarKian Paimani <[email protected]>
      
      * Fixed formatting
      
      * Format fixes
      
      Co-authored-by: default avatarKian Paimani <[email protected]>
      af756331
    • thiolliere's avatar
      Phragmen solution should submit for current era and be checked… (#5583) · 57659b8c
      thiolliere authored
      * submit solution for current era
      
      * add test
      
      * address comment
      
      * fix tests
      57659b8c