Skip to content
  1. Jun 07, 2019
    • 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
  2. Jun 06, 2019
  3. 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
  4. Jun 04, 2019
  5. Jun 03, 2019
  6. Jun 01, 2019
  7. May 31, 2019
    • Gavin Wood's avatar
      Remove unneeded derive (#2743) · 4a143611
      Gavin Wood authored
      4a143611
    • Tomasz Drwięga's avatar
      Offchain-worker APIs stubs (#2615) · c93ca93e
      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 7cca029d.
      
      * 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.
      c93ca93e
    • Bastian Köcher's avatar
      Remove `StorageList` (#2725) · 9605d854
      Bastian Köcher authored
      * Remove `StorageList`
      
      `StorageList` is not used anymore by `decl_storage!` and thus, it can be
      removed.
      
      * Fixes tests
      9605d854
    • Svyatoslav Nikolsky's avatar
      Import headers from BlockAnnounce message on light nodes (#2731) · 910747af
      Svyatoslav Nikolsky authored
      * import headers from announce message on light
      
      * lines width
      
      * added comments
      910747af
  8. May 30, 2019