Skip to content
  1. Jul 03, 2019
  2. Jul 02, 2019
  3. Jul 01, 2019
    • kaichao's avatar
      typo fix in core (#2987) · eb63d506
      kaichao authored
      eb63d506
    • Roman Borschel's avatar
      Fix peer discovery delays. (#2982) · e63598b6
      Roman Borschel authored
      * Fix DiscoveryBehaviour::poll.
      
      The previous implementation regularly returned `NotReady` from `poll`
      despite the inner Kademlia behaviour having events ready, thus letting
      the `poll`ing be largely driven by the task wakeups from the Delay for
      the next random Kademlia query, inducing major delays in consuming
      the ready Kademlia events and thus slowing progress.
      
      The discovery test now passes quickly, as expected.
      
      * Ensure the Delay is polled right after reset.
      
      For task wakeup.
      e63598b6
    • Bastian Köcher's avatar
      Make constants exposable in metadata (#2975) · c3be75da
      Bastian Köcher authored
      
      
      * Some cleanup
      
      * Add module constant metadata declaration
      
      * Begin to integrate the constants in `decl_module`
      
      * Fixes tests
      
      * Fix compilation and add tests
      
      * Remove duplicate code
      
      * Expose constants in democracy and staking + further fixes
      
      * Update srml/metadata/src/lib.rs
      
      Co-Authored-By: default avatarYJ <[email protected]>
      
      * Hide `RawEvent` metadata function
      
      * Prevent whitespaces in types
      
      * Fix `offchain_worker` and `constants` with instances
      
      * Up the `impl_version`
      
      * Fix macro
      
      * Incrase impl_version
      c3be75da
    • Niklas Adolfsson's avatar
      cargo update -p smallvec (#2983) · 13b4915c
      Niklas Adolfsson authored
      13b4915c
  4. Jun 30, 2019
  5. Jun 29, 2019
  6. Jun 28, 2019
  7. Jun 27, 2019
    • Jim Posen's avatar
      srml-contract: Contract refactors (#2924) · 563a7136
      Jim Posen authored and Sergey Pepyakin's avatar Sergey Pepyakin committed
      * srml-contract: Refactor away unnecessary Option.
      
      * srml-contract: Add assertion to gas_left test.
      
      * srml-contract: Refactor try_evict_or_and_pay_rent to make tests pass.
      
      * srml-contract: Add tests and comments for bugs in rent payment logic.
      
      * srml-contract: Minor cleanup using GasMeter constructor.
      
      * Bump node runtime impl version.
      563a7136
    • Pierre Krieger's avatar
      Add a memory-only option for the network · 3638e0e9
      Pierre Krieger authored
      3638e0e9
    • Bastian Köcher's avatar
      Implement a proper generic resolution in `decl_storage!` (#2913) · da91f052
      Bastian Köcher authored
      
      
      * Add failing test case
      
      * move storage maps to blake2_128 (#2268)
      
      * remove default hash, introduce twox_128 and blake2
      
      * use blake2_128 & create ext_blake2_128
      
      * refactor code
      
      * add benchmark
      
      * factorize generator
      
      * fix
      
      * parameterizable hasher
      
      * some fix
      
      * fix
      
      * fix
      
      * fix
      
      * metadata
      
      * fix
      
      * remove debug print
      
      * map -> blake2_256
      
      * fix test
      
      * fix test
      
      * Apply suggestions from code review
      
      Co-Authored-By: default avatarthiolliere <[email protected]>
      
      * impl twox 128 concat (#2353)
      
      * impl twox_128_concat
      
      * comment addressed
      
      * fix
      
      * impl twox_128->64_concat
      
      * fix test
      
      * Fix compilation and cleanup some docs
      
      * Lol
      
      * Remove traits from storage types that are not generic
      
      * Get instance test almost working as wanted
      
      * Make `srml-support-test` compile again :)
      
      * Fixes test of srml-support
      
      * Fix compilation
      
      * Break some lines
      
      * Remove incorrect macro match arm
      
      * Integrates review feedback
      
      * Update documentation
      
      * Fix compilation
      da91f052
    • Bastian Köcher's avatar
      Remove `Mutex` from `core-service` (#2961) · e8eaec1d
      Bastian Köcher authored
      * Remove `Mutex` from `core-service`
      
      * Fixes sync test
      e8eaec1d
  8. Jun 26, 2019
    • Tomasz Drwięga's avatar
      Enable hosts filtering. (#2959) · 1e84f26f
      Tomasz Drwięga authored
      1e84f26f
    • Pierre Krieger's avatar
      Remove tokio dependencies (#2935) · 2393e9b5
      Pierre Krieger authored
      * Remove dependencies on tokio
      
      * Make service not depend on tokio
      
      * Fix service tests
      
      * Manually poll the import queue if failed to start
      
      * Spawn all tasks at the end
      
      * Remove executor from TelemetryOnConnect
      
      * Remove TaskExecutor from offchain workers
      
      * Remove TaskExecutor from AuthoritySetup
      
      * Remove TaskExecutor from service
      
      * Remove tokio dependency from RPC
      
      * Remove finality-grandpa from WASM checks
      
      * Fix offchain tests
      
      * Line widths
      
      * Fix RPC tests
      
      * Fix service tests
      
      * Fix bad futures polling
      
      * Address some concerns
      
      * Better error handling
      
      * Is it the connectivity test that's not passing? I don't know, let's try
      
      * Revert "Is it the connectivity test that's not passing? I don't know, let's try"
      
      This reverts commit 28bbe51f.
      
      * Fix test
      2393e9b5
    • cheme's avatar
      Additional state check. (#2915) · 08707e35
      cheme authored
      
      
      * check resulting state root on import.
      
      * get root from last method.
      
      * Fix test runtime (was changing state after root calculation).
      
      * Do reset new authorities (just take before root calculation).
      
      * bump impl runtime version.
      
      * Update core/sr-api-macros/tests/trybuild.rs
      
      Co-Authored-By: default avatarBastian Köcher <[email protected]>
      08707e35
    • Stanislav Tkach's avatar
      Update codec version to the 4.1 version (#2948) · d6099e91
      Stanislav Tkach authored
      * Update codec version to the 4.1 version
      
      * Bump impl_version
      
      * Update lock files
      
      * Update codec to 4.1.1 version
      
      * Bump impl version
      d6099e91
    • Jim Posen's avatar
      srml-contract: Fix Gas type to u64 (#2944) · 827be5b5
      Jim Posen authored
      * srml-contract: Move gas costs from Config to Schedule.
      
      * srml-contract: Define Gas units fixed as u64.
      
      This removes Gas as a configurable type on the contracts Trait.
      
      * Bump node runtime spec/impl versions.
      827be5b5
    • Pierre Krieger's avatar
      Fix build (#2958) · 3486b976
      Pierre Krieger authored
      3486b976
    • Fedor Sakharov's avatar
      Add DHT key-value behaviour (#2937) · 999fb275
      Fedor Sakharov authored and Pierre Krieger's avatar Pierre Krieger committed
      
      
      * Add DHT key-value behaviour
      
      * Apply suggestions from code review
      
      Co-Authored-By: default avatarBastian Köcher <[email protected]>
      
      * Apply suggestions from code review
      
      Co-Authored-By: default avatarPierre Krieger <[email protected]>
      
      * Return which key failed to be inserted
      999fb275
    • asynchronous rob's avatar
      Generic authorship and uncle inclusion module (#2941) · c4ea8fb5
      asynchronous rob authored
      
      
      * generalized uncle processing
      
      * add some uncle tests
      
      * set author and do event handling
      
      * OnePerAuthorPerHeight no longer O(n^2) and test
      
      * bump impl_version of node
      
      * Documentation and style fixes
      
      Co-Authored-By: default avatarDemiMarie-parity <[email protected]>
      
      * fix #2949: index-based FindAuthor wrapper for srml-session
      
      * use for_each_tuple
      c4ea8fb5