1. Jun 07, 2019
    • 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
  2. Jun 06, 2019
  3. 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
  4. Jun 04, 2019
  5. Jun 03, 2019
  6. Jun 01, 2019
  7. May 31, 2019
    • Gavin Wood's avatar
      Remove unneeded derive (#2743) · 4446107f
      Gavin Wood authored
      4446107f
    • Tomasz Drwięga's avatar
      Offchain-worker APIs stubs (#2615) · 308ab4f2
      Tomasz Drwięga authored
      * WiP: HTTP Apis.
      
      * Working on the API.
      
      * Add docs, clean up the API.
      
      * Expose ext_ stuff as well.
      
      * Implement HTTP helpers for offchain sr-io.
      
      * Remove HTTP stuff.
      
      * Revert "Remove HTTP stuff."
      
      This reverts commit 7cca029d6ae93c5849b50edfcc6d2c313ba3e5bf.
      
      * HTTP apis.
      
      * Additional offchain methods.
      
      * Make it compile.
      
      * Implement wasm-ext boundary of offchain methods.
      
      * Add stubs for offchain stuff to prevent panics.
      
      * Fix tests.
      
      * Addres some more issues.
      
      * Introduce typedef, use unsafe from_utf8
      
      * Bump runtime version.
      
      * Introduce error to distinguish deadline and io errors.
      
      * Add local_storage_cas
      
      * Some tests for offchain stuff.
      
      * Address more grumbles.
      
      * Fix tests compilation.
      
      * Fix borked merge.
      
      * Improve docs for expected return values from ext functions.
      
      * Adding new sign/enrypt/decrypt APIs.
      308ab4f2
    • Bastian Köcher's avatar
      Remove `StorageList` (#2725) · 80b18c85
      Bastian Köcher authored
      * Remove `StorageList`
      
      `StorageList` is not used anymore by `decl_storage!` and thus, it can be
      removed.
      
      * Fixes tests
      80b18c85
    • Svyatoslav Nikolsky's avatar
      Import headers from BlockAnnounce message on light nodes (#2731) · 0d9fad43
      Svyatoslav Nikolsky authored
      * import headers from announce message on light
      
      * lines width
      
      * added comments
      0d9fad43
  8. May 30, 2019