Skip to content
  1. Jul 02, 2019
    • Jim Posen's avatar
    • thiolliere's avatar
      e4f324a4
    • David Craven's avatar
      Turn storage items into parameters (#2883) · cf036f68
      David Craven authored
      * balances: Turn storage items into parameters.
      
      * contract: Turn storage items into parameters.
      
      * council: Turn storage items into parameters.
      
      * finality-tracker: Turn storage items into parameters.
      
      * treasury: Turn storage items into parameters.
      
      * democracy: Fix tests.
      
      * example: Fix tests.
      
      * executive: Fix tests.
      
      * staking: Fix tests.
      
      * Update runtime.
      
      * Update template-node.
      
      * Update runtime version.
      
      * Fix executor tests.
      
      * Fix node cli tests.
      
      * Address grumbles.
      
      * Add removed default values to docs.
      
      * Make gas price a storage item.
      
      * Set associated consts must be callable outside of build.
      
      * Fix not enough gas to pay for transfer fee.
      
      * Fix build.
      
      * Emit metadata.
      
      * Fix build.
      
      * Add default values for all parameter types.
      
      * Fix build.
      
      * Fix build.
      
      * Fix build.
      
      * Fix build.
      cf036f68
    • David Craven's avatar
      Don't label PR's with gotissues. (#2993) · b2622b61
      David Craven authored
      b2622b61
    • Gavin Wood's avatar
      Initial mechanics for 80:20 fee split (#2912) · 9c6ebfec
      Gavin Wood authored
      
      
      * Initial mechanics for 80:20 fee split
      
      Also:
      - Introduce extra functions for Imbalance manipulation;
      - Store treasury pot in an account, letting total issuance account for
        it.
      
      * Fix some tests
      
      * Fix some tests
      
      * Minor cleanups
      
      * Update parity-codec version (#2855)
      
      * Update parity-codec version
      
      * Update grandpa, rhododendron and trie-bench
      
      * Use primitive-types from crates.io
      
      * Bump impl version
      
      * Fix trie-bench version
      
      * Fix lock files
      
      * Fix versions
      
      * Update codec to 4.1
      
      * merge fix
      
      * Revert merge
      
      * More reversions
      
      * Remove accidental code
      
      * Update locks
      
      * Bump runtime
      
      * Update locks
      
      * Tweaks and label TODO
      
      * Update srml/treasury/src/lib.rs
      
      Co-Authored-By: default avatarDemiMarie-parity <[email protected]>
      
      * Update issue number
      
      * Update core/sr-primitives/src/traits.rs
      
      Co-Authored-By: default avatarRobert Habermeier <[email protected]>
      
      * Fix wasm build
      
      * Fix subkey build
      9c6ebfec
    • Bastian Köcher's avatar
      Adds a `SpawnTaskHandle` to core service (#2992) · bfe53477
      Bastian Köcher authored
      * Adds a `SpawnTaskHandle` to core service
      
      * Fixes compilation
      
      * Remove `into()`
      bfe53477
    • Weiliang Li's avatar
      Update without_std.rs (#2990) · 24595c09
      Weiliang Li authored
      fix typo
      24595c09
  2. Jul 01, 2019
    • kaichao's avatar
      typo fix in core (#2987) · 3e2c77aa
      kaichao authored
      3e2c77aa
    • Roman Borschel's avatar
      Fix peer discovery delays. (#2982) · bd7566ef
      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.
      bd7566ef
    • Bastian Köcher's avatar
      Make constants exposable in metadata (#2975) · 7202403b
      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
      7202403b
    • Niklas Adolfsson's avatar
      cargo update -p smallvec (#2983) · 5f1538b8
      Niklas Adolfsson authored
      5f1538b8
  3. Jun 30, 2019
  4. Jun 29, 2019
  5. Jun 28, 2019
  6. Jun 27, 2019
    • Jim Posen's avatar
      srml-contract: Contract refactors (#2924) · 068d99d4
      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.
      068d99d4
    • Bastian Köcher's avatar
      Implement a proper generic resolution in `decl_storage!` (#2913) · 62b7c05d
      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
      62b7c05d
    • Bastian Köcher's avatar
      Remove `Mutex` from `core-service` (#2961) · 23ea5d17
      Bastian Köcher authored
      * Remove `Mutex` from `core-service`
      
      * Fixes sync test
      23ea5d17
  7. Jun 26, 2019
  8. Jun 25, 2019
  9. Jun 24, 2019
  10. Jun 22, 2019
    • DemiMarie-parity's avatar
      Relative slots (#2820) · 48aa32be
      DemiMarie-parity authored
      
      
      * Initial work on relative slots for BABE
      
      * More work
      
      * Update core/consensus/babe/src/lib.rs
      
      `Aura` → `Babe`
      
      Co-Authored-By: default avatarPierre Krieger <[email protected]>
      
      * More work on relative slots
      
      * Add missing field in test-runtime
      
      * Bump `impl_version` and `authoring_version`
      
      * Fix compile errors and warnings
      
      * Upgrade dependencies
      
      * Update dependencies more
      
      * Revert some updates to dependencies
      
      Somehow, those broke the build
      
      * Fix compilation errors
      
      * `Duration` → `u128` in calculations
      
      * `slot_duration` is in milleseconds, not seconds
      
      * Median algorithm: ignore blocks with slot_num < sl
      
      * Fix silly compile error
      
      * Store a duration, rather than an instant
      
      It is more useful
      
      * Fix compilation errors
      
      * `INVERSE_NANO` → `NANOS_PER_SEC`
      
      Also: `1000_000_000` → `1_000_000_000`
      
      Suggested-by: default avatarNiklas Adolfsson <[email protected]>
      
      * Un-bump `authoring_version`
      
      * Disable median algorithm when `median_required_blocks` is 0
      
      Otherwise it would panic.
      
      * Apply suggestions from code review
      
      Co-Authored-By: default avatarBastian Köcher <[email protected]>
      
      * Simplify panic
      
      * Fix build error
      
      * Create `SignedDuration` struct
      
      for signed `Duration` values.
      
      Suggested-by: Bastian Köcher
      
      * Refactor median algorithm into separate function
      
      * Add issues for FIXMEs and respond to code review
      
      * Fix minor warnings
      48aa32be
  11. Jun 21, 2019