Skip to content
  1. Jun 12, 2019
  2. Jun 11, 2019
  3. Jun 10, 2019
  4. Jun 09, 2019
  5. Jun 07, 2019
    • Pierre Krieger's avatar
      More crate compiling for WASM-browser (#2825) · 43164e24
      Pierre Krieger authored
      * More crate compiling for WASM-browser
      
      * Update runtime Cargo.lock
      43164e24
    • Pierre Krieger's avatar
      Move modules around in network (#2822) · c67dff53
      Pierre Krieger authored
      * Rename modules in protocol
      
      * Line widths
      c67dff53
    • thiolliere's avatar
      Fix construct_runtime multiple log issue (#2816) · dacdac6a
      thiolliere authored
      * Fix comma issue
      
      * multiple log test
      dacdac6a
    • Kian Peymani's avatar
      Enhanced Council. (#2407) · 84045689
      Kian Peymani authored
      * first --unclean-- working version of locks and weight decay
      
      * Refactor voter activity history.
      
      * Tuning offset calculation and tests
      
      * Remove print.
      
      * Configurable decay ratio.
      
      * Remove spaces.
      
      * Name for activity.
      
      * Fix some style
      
      * Re-write voters as chunked map-vec.
      
      * Adds panic todo.
      
      * Fix some of the grumbles.
      
      * Fix some of the grumbles.
      
      * Chunked approvals vector.
      
      * Introduce voter_index for set_approvas in favor of complexity.
      
      * Add a bit more docs
      
      * Add boolean approvals as scalar.
      
      * Some cleanups TODO removes.
      
      * enhance some error checking.
      
      * No more double_map
      
      * Combined voter info and fee.
      
      * Fix global tests
      
      * Bump.
      
      * Fix line length
      
      * Fix error message.
      
      * Kill As<T>.
      
      * Final fix.
      
      * _Further_ kill As.
      
      * Proper imbalance for fee.
      
      * Bump.
      
      * Fix spacing.
      
      * Update
      
      * Address grumbles.
      
      * Line width.
      84045689
    • Sergey Pepyakin's avatar
      srml-contract: update complexity.md (#2795) · 12f4f5d8
      Sergey Pepyakin authored
      
      
      * Update COMPLEXITY.md
      
      * Update the doc.
      
      * Mention child tries. And format.
      
      * most probably → most likely
      
      * Update for state rent
      
      * Apply suggestions from code review
      
      Co-Authored-By: default avatarthiolliere <[email protected]>
      
      * Update COMPLEXITY.md
      12f4f5d8
  6. Jun 06, 2019
  7. Jun 05, 2019
    • Gavin Wood's avatar
      Fix subkey (#2798) · 49845251
      Gavin Wood authored
      * Fix ed25519 crypto
      
      * Add test
      
      * Remove unneeded import
      
      * Remove unneeded type
      
      * Remove unneeded clutter
      49845251
    • Svyatoslav Nikolsky's avatar
      Light client integration tests (#2638) · 21e63bc3
      Svyatoslav Nikolsky authored
      * add light nodes to test_sync && test_consensus
      
      * forbid light2light connections
      
      * add light nodes to test_connectivity
      
      * fixed light2light connection penalty
      
      * post-merge fixes
      
      * remove best_queued from Client info
      21e63bc3
    • Pierre Krieger's avatar
      Small slots refactor (#2780) · c17a5451
      Pierre Krieger authored
      * Deprecate SlotWorker::on_start
      
      * start_slot_worker no longer needs an Arc
      
      * start_slot_worker now always succeeds
      
      * Removed on_exit parameter from start_*_worker
      
      * Minor doc
      
      * Fix node-template
      c17a5451
    • Benjamin Kampmann's avatar
      Move import lock onto backend (#2797) · 3c2e55bd
      Benjamin Kampmann authored
      * Drop import_lock from client, move it into backend, impl default version via static mutex
      
      * still need to allow depcretion because of client.backend
      
      * additional docs
      
      * Remove default impl of get_import_lock, impl on instances
      
      * Bump parking_lot to 0.8.0 accross the board
      3c2e55bd
    • Bastian Köcher's avatar
      Build `LongestChain` with `TestClientBuilder` (#2792) · 70cf5b0f
      Bastian Köcher authored
      * Switch to `TestClientBuilder` and support generating LongestChain
      
      * Make sure test-client works without the wasm blob
      
      * Use `TestClientBuilder` in more places
      70cf5b0f
    • Gavin Wood's avatar
      Sensible scheduling for referenda (#2753) · 9687db56
      Gavin Wood authored
      
      
      * Nonlinear locking and cleanups
      
      * Bump runtime version
      
      * Minor cleanup
      
      * Fix tests
      
      * Fix council tests
      
      * Fix flaw in turnout counting
      
      * Initial work on referendum schedules
      
      * Refactor council-democracy interface.
      
      * Fix build
      
      * Update srml/democracy/src/lib.rs
      
      Co-Authored-By: default avatarLuke Schoen <[email protected]>
      
      * Update srml/democracy/src/lib.rs
      
      Co-Authored-By: default avatarLuke Schoen <[email protected]>
      
      * Tests compile again
      
      * Tests!
      
      * Update todo
      
      * Fix build
      
      * Ensure votes arer not double-counted on member-transitions
      
      * Extra logic for normal council changes
      
      * Typo
      
      * A few grumbles addressed.
      9687db56
    • Pierre Krieger's avatar
      Revert #2745 (#2791) · 54d02855
      Pierre Krieger authored
      * Revert #2745
      
      * Fix error in merge resolve
      
      * Fix compilation
      54d02855
    • Kian Peymani's avatar
      Some benchmarks for phragmen (#2650) · bfabed51
      Kian Peymani authored
      * Add some benchmarks for phragmen
      
      * Fix dep. import.
      
      * Clean up with some macros.
      
      * more details.
      
      * Fix dual import.
      
      * Remove wrong assertions.
      
      * Add a few more.
      bfabed51
    • Svyatoslav Nikolsky's avatar
      Restore integration tests (#2620) · f7ec159a
      Svyatoslav Nikolsky authored
      * restored test_consensus
      
      * restored test_sync
      
      * run integration tests only on CI
      
      * use single test-thread for integration tests
      
      * post-merge fix
      
      * panic when integration test runs for too long
      
      * add some traces to integration logs
      
      * manual wait -> timeout
      
      * post-merge fix
      
      * post-merge fix
      f7ec159a
    • Pierre Krieger's avatar
      Minor sync refactoring (#2767) · 3ec6f452
      Pierre Krieger authored
      * Make maintain_sync private
      
      * Remove sync::Context::peer_info
      
      * Print errors if sync state mismatch
      
      * Line width
      3ec6f452
  8. Jun 04, 2019
    • Bastian Köcher's avatar
      Remove deprecated authorities function (#2785) · 94236e5d
      Bastian Köcher authored
      * Remove deprecated authorities function
      
      * Bump spec
      
      * Fixes compilation
      
      * Remove last piece
      94236e5d
    • Pierre Krieger's avatar
      Update to libp2p 0.9 (#2783) · 9a8e8b7d
      Pierre Krieger authored
      * Update to libp2p 0.9
      
      * Fix browser-WASM
      9a8e8b7d
    • Bastian Köcher's avatar
      Fix tons of warnings in newest nightly (#2784) · ec62d24c
      Bastian Köcher authored
      * Fix tons of warnings in newest nightly
      
      * Fix sr-api-macro doc tests
      ec62d24c
    • Joshy Orndorff's avatar
      WIP: Treasury reference docs (#2557) · 45cff87d
      Joshy Orndorff authored
      * Some initial re-organization.
      
      * Text looking decent. No Example Yet.
      
      * Clarify that using block rewards is jsut an example.
      
      * Clarify the purpose of OnDilution.
      
      * Update lib.rs
      45cff87d
    • Tomasz Drwięga's avatar
      JSON-RPC client generation (#2778) · e8739300
      Tomasz Drwięga authored
      * Bump jsonrpc & generate clients.
      
      * Initial version of JSON-RPC client.
      
      * Re-wort
      
      * Remove spurious `#[derive(Encode, Decode)]`
      
      They did not compile, since `Encode` and `Decode` are deliberately not
      implemented for `usize`.
      
      Fixes #2742.
      
      * Re-write rpc-client example.
      
      * Update to jsonrpc=12.0.0
      
      * Remove unnecessary import
      
      * Bump version.
      
      * Revert version bump.
      
      * Bump again.
      e8739300
    • Pierre Krieger's avatar
      a7dd2559
    • DemiMarie-parity's avatar
      Add runtime support for `PreRuntime` and `Consensus` digests (#2757) · 46121f7c
      DemiMarie-parity authored
      * Try to fix runtime panic
      
      Does not work
      
      * Fix trivial typo
      
      * Add runtime support for `PreRuntime` and `Consensus` digests
      
      Fixes 6e253c89
      
      
      
      * Fix silly compile error.
      
      * Fix overly-long lines
      
      Also remove some in-progress code that would not wind up being useful
      anyway.
      
      * Respond to review comments
      
      * delete `unset RUSTC_WRAPPER` from scripts/common.sh
      * delete unnecessary `use aura::AURA_ENGINE_ID` from
        `node/runtime/src/lib.rs`
      * add comments explaining why `PreRuntime` and `Consensus` must be
        special-cased in `core/sr-primitives/lib.rs`
      * switch to using `$crate::rstd::marker::PhantomData` in
        `impl_outer_log!`
      * improve documentation of `DigestItem::Seal`
      
      * Fix compilation and add proof that we do not panic
      
      Also fix some warnings.
      
      * Apply suggestions from code review
      
      Mostly for readability
      
      Co-Authored-By: default avatarSergei Pepyakin <[email protected]>
      
      * Apply suggestions from code review
      
      Co-Authored-By: default avatarBastian Köcher <[email protected]>
      
      * $crate::rstd::marker::PhantomData → Default::default()
      
      The import is still needed, as `Default::default()` can’t be used in
      patterns.
      
      * Bump `spec_version`
      
      Also do some reformatting.
      46121f7c