1. Jun 12, 2019
  2. Jun 11, 2019
    • Tomasz Drwięga's avatar
      Remove compilation warnings. (#2835) · 6feab510
      Tomasz Drwięga authored
      * Remove compilation warnings.
      
      * Allow unused only not in tests.
      
      * Remove unnecessary mut.
      
      * Make CI happy.
      
      * Revert "Make CI happy."
      
      This reverts commit abb865fe4b9fe9af1ae3ec801da9d4305ea35765.
      6feab510
    • Tomasz Drwięga's avatar
      Make test-client generic over runtime (#2824) · ad2d9582
      Tomasz Drwięga authored
      * Make test-client generic over runtime.
      
      * Make sure genesis storage is constructed correctly.
      
      * Use prelude in tests.
      
      * Add an example of how to use test-client with node/runtime.
      
      * Bump version.
      
      * Rename test-clients.
      ad2d9582
    • kaichao's avatar
      Make use of StorageHasher and HasherKind (#2836) · cae32459
      kaichao authored
      * Make use of StorageHasher and HasherKind.
      
      * Use Storagehasher hasher function for key2 of double map.
      
      * Refactor to reuse hasher from implementation.
      
      * Bump up since there is srml changes.
      
      * Update metadata version.
      cae32459
    • ddorgan's avatar
      Allow check-runtime to fail (#2845) · c1654ecd
      ddorgan authored
      * Allow check-runtime to fail
      
      * Do not allow the line-width to fail
      
      * Allow failure on line-check
      c1654ecd
    • Lio李欧's avatar
    • Denis_P's avatar
      fix job (#2842) · cf8a021e
      Denis_P authored
      cf8a021e
    • Denis_P's avatar
      subkey build, cargo audit (#2752) · c24d2783
      Denis_P authored
      * subkey build, cargo audit
      
      * some fixes
      
      * cleanup
      
      * review
      
      * not to be launched on PRs
      
      * not to be launched on PRs 2
      
      * check-runtime should run on PRs only
      
      * changed only to except, easier to read
      
      * fix no jobs ran
      
      * only: rewrites when it's last
      
      * only: -branches wasn't needed
      
      * benching subkey build
      
      * benching subkey build 2
      
      * subkey check
      
      * not for 1.0
      
      * cleanup
      c24d2783
  3. Jun 10, 2019
  4. Jun 09, 2019
  5. Jun 07, 2019
    • Pierre Krieger's avatar
      More crate compiling for WASM-browser (#2825) · ac895023
      Pierre Krieger authored
      * More crate compiling for WASM-browser
      
      * Update runtime Cargo.lock
      ac895023
    • Pierre Krieger's avatar
      Move modules around in network (#2822) · 4d3396d0
      Pierre Krieger authored
      * Rename modules in protocol
      
      * Line widths
      4d3396d0
    • thiolliere's avatar
      Fix construct_runtime multiple log issue (#2816) · 693ea3cb
      thiolliere authored
      * Fix comma issue
      
      * multiple log test
      693ea3cb
    • Kian Peymani's avatar
      Enhanced Council. (#2407) · d7ba5c00
      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.
      d7ba5c00
    • Sergey Pepyakin's avatar
      srml-contract: update complexity.md (#2795) · 5a2282ce
      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
      5a2282ce
  6. Jun 06, 2019
  7. Jun 05, 2019
    • Gavin Wood's avatar
      Fix subkey (#2798) · b8c95584
      Gavin Wood authored
      * Fix ed25519 crypto
      
      * Add test
      
      * Remove unneeded import
      
      * Remove unneeded type
      
      * Remove unneeded clutter
      b8c95584
    • Svyatoslav Nikolsky's avatar
      Light client integration tests (#2638) · fc7548ce
      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
      fc7548ce
    • Pierre Krieger's avatar
      Small slots refactor (#2780) · 67bdfc7d
      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
      67bdfc7d
    • Benjamin Kampmann's avatar
      Move import lock onto backend (#2797) · eaa0ab01
      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
      eaa0ab01
    • Bastian Köcher's avatar
      Build `LongestChain` with `TestClientBuilder` (#2792) · 4f888f34
      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
      4f888f34
    • Gavin Wood's avatar
      Sensible scheduling for referenda (#2753) · 22a00a33
      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.
      22a00a33
    • Pierre Krieger's avatar
      Revert #2745 (#2791) · 89b312fe
      Pierre Krieger authored
      * Revert #2745
      
      * Fix error in merge resolve
      
      * Fix compilation
      89b312fe
    • Kian Peymani's avatar
      Some benchmarks for phragmen (#2650) · a5964e40
      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.
      a5964e40
    • Svyatoslav Nikolsky's avatar
      Restore integration tests (#2620) · 012ce587
      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
      012ce587
    • Pierre Krieger's avatar
      Minor sync refactoring (#2767) · 9ad9f7ee
      Pierre Krieger authored
      * Make maintain_sync private
      
      * Remove sync::Context::peer_info
      
      * Print errors if sync state mismatch
      
      * Line width
      9ad9f7ee
  8. Jun 04, 2019
    • Bastian Köcher's avatar
      Remove deprecated authorities function (#2785) · 4d9efbc1
      Bastian Köcher authored
      * Remove deprecated authorities function
      
      * Bump spec
      
      * Fixes compilation
      
      * Remove last piece
      4d9efbc1
    • Pierre Krieger's avatar
      Update to libp2p 0.9 (#2783) · 9ae3082e
      Pierre Krieger authored
      * Update to libp2p 0.9
      
      * Fix browser-WASM
      9ae3082e
    • Bastian Köcher's avatar
      Fix tons of warnings in newest nightly (#2784) · 6142f956
      Bastian Köcher authored
      * Fix tons of warnings in newest nightly
      
      * Fix sr-api-macro doc tests
      6142f956
    • Joshy Orndorff's avatar
      WIP: Treasury reference docs (#2557) · 97000292
      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
      97000292
    • Tomasz Drwięga's avatar
      JSON-RPC client generation (#2778) · 6112f815
      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.
      6112f815
    • Pierre Krieger's avatar
      5df89a8a
    • DemiMarie-parity's avatar
      Add runtime support for `PreRuntime` and `Consensus` digests (#2757) · 53e8ad87
      DemiMarie-parity authored
      * Try to fix runtime panic
      
      Does not work
      
      * Fix trivial typo
      
      * Add runtime support for `PreRuntime` and `Consensus` digests
      
      Fixes c7d1204c
      
      
      
      * 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.
      53e8ad87