Skip to content
  1. Jun 14, 2019
  2. Jun 13, 2019
    • Michael Müller's avatar
      Various minor fixes (#2860) · 5c3d1f82
      Michael Müller authored
      * Make sr-api-macros benchmark work again
      
      It broke with 4f888f34.
      
      * Give better indication of import progress
      
      * Only send consensus info when explicitly enabled
      
      This is only necessary for validators and they can
      explicitly enable it via
      
      	--telemetry-url 'wss://telemetry.polkadot.io 1'
      
      (or some other endpoint)
      
      * Remove unnecessary mutable
      
      * Fix style
      5c3d1f82
    • Pierre Krieger's avatar
      Merge network-libp2p into network (#2843) · 12bbc2ff
      Pierre Krieger authored
      * Move network-libp2p into network
      
      * Merge libp2p_service into service
      
      * Don't expose RegisteredProtocol in the API
      
      * Extract DiscoveryBehaviour from Behaviour
      
      * Restore libp2p tests
      
      * Add a test for discovery
      
      * Line width
      
      * Remove bandwidth check
      
      * Fix gitlab
      12bbc2ff
    • Gavin Wood's avatar
      Subkey supports 24-word phrases (#2827) · f4afdd2f
      Gavin Wood authored
      * Revamp crypto API and make seeds work better in subkey
      
      * Final tweaks
      
      * Update tests
      
      * line spacing
      
      * Avoid escapes in hex constants
      
      * Fix build
      
      * Another fix
      
      * More fixes
      
      * Minor nits
      f4afdd2f
  3. Jun 12, 2019
  4. 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
  5. Jun 10, 2019
  6. Jun 09, 2019
  7. 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
  8. Jun 06, 2019
  9. 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