Skip to content
  1. Feb 26, 2020
  2. Feb 25, 2020
  3. Feb 21, 2020
  4. Feb 20, 2020
  5. Feb 19, 2020
    • Toralf Wittner's avatar
      Log kademlia errors when get/put record fails. (#4988) · ab53994d
      Toralf Wittner authored
      
      
      * Log kademlia errors when get/put record fails.
      
      The current approach makes it difficult to figure out what the
      underlying error was, that made the operation fail.
      
      * Formatting
      
      Co-Authored-By: default avatarPierre Krieger <[email protected]>
      
      Co-authored-by: default avatarPierre Krieger <[email protected]>
      ab53994d
    • Pierre Krieger's avatar
      Cleanup the exports of sc-network (#4983) · 0fb8e84c
      Pierre Krieger authored
      * Cleanup the exports of sc-network
      
      * Fix RPC tests
      
      * Revert moving the NetworkStateInfo trait
      
      * Fix GrandPa tests
      0fb8e84c
    • Pierre Krieger's avatar
      9c0a5150
    • Max Inden's avatar
      Introduce Prometheus metric endpoint replacing Grafana endpoint (#4981) · ebd42434
      Max Inden authored
      
      
      * Refactor rebase master prometheus_v0.3
      
      * Milestone1: Final Version of v0.3
      
      * no-std or warm compatibility issues, grapana-data -source code reference and correction,applicable
      
      * Cargo.lock paritytech/master rebase
      
      * prometheus networking.rs del, grafana-data-source networking.rs pub edit and note
      
      * chore: reflect various feedback
      
      * Spaces to tabs.
      
      * Replace grafana and tidy
      
      * Add generics
      
      * Add photo back
      
      * Re-fix spaces in primitives/consensus/babe/src/inherents.rs
      
      * Refactor rebase master prometheus_v0.3
      
      * Milestone1: Final Version of v0.3
      
      * no-std or warm compatibility issues, grapana-data -source code reference and correction,applicable
      
      * prometheus networking.rs del, grafana-data-source networking.rs pub edit and note
      
      * chore: reflect various feedback
      
      * Replace grafana and tidy
      
      * Add generics
      
      * Add photo back
      
      * Re-fix spaces in primitives/consensus/babe/src/inherents.rs
      
      * chore: revert this file back to paritytech/master inherents.rs.
      
      * Add newline at EOF
      
      * Tidy
      
      * Use local registry
      
      * fix typo
      
      Co-Authored-By: default avatarMax Inden <[email protected]>
      
      * chore:  Apply review feedback
      
      * endpoint -> exporter
      
      * fix readme
      
      * Remove lazy_static, use ServiceMetrics struct instead
      
      * Switch to using GaugeVecs
      
      * chore: without nightly , edit README
      
      * block_height -> block_height_number
      
      * Switch to a ready_transactions_number gauge
      
      * Update utils/prometheus/src/lib.rs
      
      Co-Authored-By: default avatarMax Inden <[email protected]>
      
      * no-prometheus flag add
      
      * /metrics url Input check
      
      * remove prometheus in Tracing
      
      * remove prometheus in Tracing
      
      * chore: master code rebase edit
      
      * gitlab-check-web-wasm edit code
      
      * From:from and cargo.lock update
      
      * with_prometheus_registry add background_tasks
      
      * utils/prometheus/src/lib.rs: Restructure #[cfg] for wasm without hyper
      
      Given that Hyper is not compatible with WASM targets it needs to be
      excluded from WASM builds. Instead of introducing #[cfg] lines
      throughout the crate, this patch splits the crate into two: known_os and
      unknown_os (WASM).
      
      * utils/prometheus/src/lib.rs: Feature gate known_os module
      
      * client/cli/src/lib.rs: Re-add newline at end of file
      
      Co-authored-by: default avatarJeseonLEE <[email protected]>
      Co-authored-by: default avatarGavin Wood <[email protected]>
      Co-authored-by: default avatarAshley <[email protected]>
      Co-authored-by: default avatarHyungsuk Kang <[email protected]>
      ebd42434
    • Bastian Köcher's avatar
      Consolidate frame benchmarking into a frame crate (#4977) · c077a2b5
      Bastian Köcher authored
      This prs cleans up some of the frame benchmarking stuff:
      - Move CLI into `frame-benchmarking-cli`. No frame related CLI should
      exists in the default Substrate CLI.
      - Move all traits and types related to frame benchmarking into the
      `frame-benchmarking` trait. Frame types should be isolated in Frame.
      c077a2b5
  6. Feb 18, 2020
    • Nikolay Volf's avatar
      Build block without checking signatures (#4916) · dc92587b
      Nikolay Volf authored
      
      
      * in executive
      
      * in other places
      
      * to UnsafeResult
      
      * move doc comment
      
      * apply suggestions
      
      * allow validity mocking for TestXt
      
      * add test
      
      * augment checkable instead of another trait
      
      * fix im online test
      
      * blockbuilder dihotomy
      
      * review suggestions
      
      * update test
      
      * Update client/block-builder/src/lib.rs
      
      * updae spec_version
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      dc92587b
    • Stanislav Tkach's avatar
      [In Progress] Remove deprecated api (#4973) · f92b44cc
      Stanislav Tkach authored
      * Remove deprecated api
      
      * Revert changes to wasm-build-runner
      f92b44cc
    • Pierre Krieger's avatar
      646e7fb3
    • Tomasz Drwięga's avatar
      Inspection extension to node CLI (#4697) · d9952dd5
      Tomasz Drwięga authored
      * Initial inspect.
      
      * WiP
      
      * Add parsing tests.
      
      * Finalize CLI.
      
      * Update to latest substrate.
      
      * Remove unused imports.
      
      * Support ImportParams as well, to get the right pruning setting.
      
      * Mention in docs that hash is no 0x.
      
      * Move bytes above extrinsics.
      
      * Switch to fill helper from sc_cli.
      
      * Remove overwrite.
      
      * Fix error.
      
      * Fix error message.
      
      * Remove extra allow.
      
      * init_config
      d9952dd5
    • Ashley's avatar
      Re-enable networking on wasm (#4880) · c1a03a60
      Ashley authored
      * Use noise and timeouts on wasm
      
      * Don't use wasm-opt when compiling to wasm
      
      * Forgot lockfile
      
      * Add node about disabling wasm-opt
      
      * Enable timeouts in telemetry on wasm
      c1a03a60
    • Nikolay Volf's avatar
      Fix flaky finalisation test (#4967) · 6f05ef20
      Nikolay Volf authored
      6f05ef20
    • André Silva's avatar
      sync: process empty response for justification requests (#4957) · e312eba8
      André Silva authored
      * sync: process empty response for justification request
      
      * sync: add test for justification request empty response
      
      * network: remove deprecated comment
      e312eba8
    • Toralf Wittner's avatar
      Remove direct yamux dependency. (#4968) · 9b33c471
      Toralf Wittner authored
      libp2p-0.16 allows configuring yamux through libp2p-yamux, so the
      direct dependency is no longer needed.
      
      While at it we also update to the latest versions of yamux and
      nohash-hasher, though the code changes do not depend on it.
      9b33c471
    • Cecile Tonglet's avatar
      Make GenesisSource thread-safe (#4960) · 7242c7e1
      Cecile Tonglet authored
      This change makes service's Configuration and GenesisSource thread-safe.
      
      Related to: https://github.com/paritytech/cumulus/issues/44
      
      Forked at: 099cd0f2
      Parent branch: origin/master
      7242c7e1
    • Igor Matuszewski's avatar
      offchain: Upgrade hyper to 0.13, which uses tokio 0.2 (#4860) · 0c8e0592
      Igor Matuszewski authored
      * service: Don't depend on tokio-executor
      
      Seems to be a leftover dependency that's not used anymore.
      
      * offchain: Upgrade hyper to 0.13, which uses tokio 0.2
      
      * offchain: Adapt HTTP tests to Tokio 0.2
      
      * network: Don't transitively include tokio 0.2 in WASM
      
      1) We don't specifically depend on Tokio codec impls
      2) Conflating features in Cargo means that enabling Tokio runtime
      in the native environment will also do so in WASM, where it's
      obviously not implemented and causes a compilation error.
      
      * grafana-data-source: Pull hyper/tokio only in native environment
      0c8e0592
  7. Feb 17, 2020