Skip to content
  1. Mar 31, 2020
    • Nikolay Volf's avatar
      remove ws feature from json client (#5478) · d477017f
      Nikolay Volf authored
      d477017f
    • Max Inden's avatar
      client/finality-grandpa: Instrument until-imported queue (#5438) · 95c4e64a
      Max Inden authored
      
      
      * client/finality-grandpa: Instrument until-imported queue
      
      The `UntilImported` queue takes as input finality grandpa messages that
      depend on blocks that are not yet imported and holds them back until
      those blocks are imported.
      
      This commit adds a basic metric, the amount of messages waiting in the
      queue, to the module. For now this metric is only available for the
      global `UntilImported` queue awaiting blocks for commit and catch-up
      messages.
      
      * client/finality-grandpa/src/until_imported: Update metric help text
      
      Co-Authored-By: default avatarAshley <[email protected]>
      
      Co-authored-by: default avatarAshley <[email protected]>
      95c4e64a
    • Pierre Krieger's avatar
      Increase limit on light client response size (#5461) · dca30b25
      Pierre Krieger authored
      * Increase limit on light client response size
      
      * Address review
      dca30b25
    • Bastian Köcher's avatar
      Implements mocking of runtime apis (#5448) · ea5ea420
      Bastian Köcher authored
      
      
      * Implements mocking of runtime apis
      
      This pr adds support for easily mock runtime api implementations for
      tests by using the `mock_impl_runtime_apis!` macro. The syntax is
      similar to `impl_runtime_apis!`. The mocked implementation automatically
      implements `ApiExt`, `ApiErrorExt` and `Core` as these are required by
      the runtime api traits, but not required in tests or only a subset of them.
      
      * Fix warnings
      
      * Update primitives/api/proc-macro/src/utils.rs
      
      Co-Authored-By: default avatarNikolay Volf <[email protected]>
      
      * Review feedback
      
      Co-authored-by: default avatarNikolay Volf <[email protected]>
      ea5ea420
    • Nikolay Volf's avatar
      And one more fix to flaky tests (#5467) · a691281f
      Nikolay Volf authored
      * imporoved intervallier version
      
      * remove extra event
      
      * use version 0.3.1
      
      * fix warning
      a691281f
    • Cecile Tonglet's avatar
      Allow changing the behavior for imported blocks (#5236) · fa71ce9c
      Cecile Tonglet authored
      * Added option to disable default block announce
      
      * Added on_block_imported on NetworkService
      
      * Revert "Added on_block_imported on NetworkService"
      
      This reverts commit ba360cad.
      
      * Do not announce block if set to not announce block
      
      * Revert fix
      
      * Moving default announce block to NetworkConfig
      
      * WIP
      
      Forked at: 41bb2193
      Parent branch: origin/master
      
      * WIP
      
      Forked at: 41bb2193
      Parent branch: origin/master
      
      * Removing boolean in favor of explicit call
      
      * Fixing tests
      
      * WIP
      
      Forked at: 41bb2193
      Parent branch: origin/master
      
      * WIP
      
      Forked at: 41bb2193
      Parent branch: origin/master
      
      * increase spec_version
      
      * increase spec_version
      
      * Fixed test
      
      * Fixing test
      
      * Renamed should_announce_imported_blocks to announce_imported_blocks
      
      * Updated assert_cmd
      fa71ce9c
  2. Mar 30, 2020
  3. Mar 29, 2020
  4. Mar 28, 2020
  5. Mar 27, 2020
  6. Mar 26, 2020
  7. Mar 25, 2020
  8. Mar 24, 2020
  9. Mar 23, 2020
    • Bastian Köcher's avatar
      Show an error when we connect to a bootnode with a different peer id (#5365) · b9ea236f
      Bastian Köcher authored
      Currently when we connect to a bootnode and it returns a different peer
      id, than the one we provided, we disconnect silently. This pr changes
      the behavior to printing an error when a bootnode returns a different
      peer id than the provided one.
      b9ea236f
    • Wei Tang's avatar
      Simplify BABE pre-digest definitions (#5289) · 3b347059
      Wei Tang authored
      
      
      * Init vrf crate without type alias
      
      * Generic PreDigest definition for BABE
      
      * Fix BABE vrf interface change
      
      * Missing default-features def in sp-consensus-babe
      
      * Fix sp-consensus-babe compile
      
      * frame-babe: fix type inference
      
      * Unify type definitions of vrf output/proof and randomness
      
      * frame-babe: fix tests
      
      * Bump node impl version
      
      * Update cargo lock
      
      * Derive Copy for RawVRFOutput and RawVRFProof
      
      * Fix duplicated derive
      
      Co-authored-by: default avatarGavin Wood <[email protected]>
      3b347059
    • Pierre Krieger's avatar
      dd23d45c
    • Max Inden's avatar
      client/network-gossip/state_machine: Fix log message (#5350) · 682ff1f9
      Max Inden authored
      A gossip validator returns `ValidationResult::Discard` for messages that
      should not be processed nor kept due to not being useful for the node.
      Examples are out-of-scope messages or messages with bad signatures. The
      corresponding log message did not reflect this, thus the update through
      this patch.
      
      One caveat is a finality grandpa neighbor packet. Given that the concept
      of neighbor packets is handled in the finality grandpa gossip validator
      only, valid neighbor packets are always discarded on the
      `client/network-gossip` layer.
      682ff1f9
  10. Mar 21, 2020
  11. Mar 20, 2020