Skip to content
  1. Jun 27, 2019
    • Jim Posen's avatar
      srml-contract: Contract refactors (#2924) · 068d99d4
      Jim Posen authored and Sergey Pepyakin's avatar Sergey Pepyakin committed
      * srml-contract: Refactor away unnecessary Option.
      
      * srml-contract: Add assertion to gas_left test.
      
      * srml-contract: Refactor try_evict_or_and_pay_rent to make tests pass.
      
      * srml-contract: Add tests and comments for bugs in rent payment logic.
      
      * srml-contract: Minor cleanup using GasMeter constructor.
      
      * Bump node runtime impl version.
      068d99d4
    • Bastian Köcher's avatar
      Implement a proper generic resolution in `decl_storage!` (#2913) · 62b7c05d
      Bastian Köcher authored
      
      
      * Add failing test case
      
      * move storage maps to blake2_128 (#2268)
      
      * remove default hash, introduce twox_128 and blake2
      
      * use blake2_128 & create ext_blake2_128
      
      * refactor code
      
      * add benchmark
      
      * factorize generator
      
      * fix
      
      * parameterizable hasher
      
      * some fix
      
      * fix
      
      * fix
      
      * fix
      
      * metadata
      
      * fix
      
      * remove debug print
      
      * map -> blake2_256
      
      * fix test
      
      * fix test
      
      * Apply suggestions from code review
      
      Co-Authored-By: default avatarthiolliere <[email protected]>
      
      * impl twox 128 concat (#2353)
      
      * impl twox_128_concat
      
      * comment addressed
      
      * fix
      
      * impl twox_128->64_concat
      
      * fix test
      
      * Fix compilation and cleanup some docs
      
      * Lol
      
      * Remove traits from storage types that are not generic
      
      * Get instance test almost working as wanted
      
      * Make `srml-support-test` compile again :)
      
      * Fixes test of srml-support
      
      * Fix compilation
      
      * Break some lines
      
      * Remove incorrect macro match arm
      
      * Integrates review feedback
      
      * Update documentation
      
      * Fix compilation
      62b7c05d
    • Bastian Köcher's avatar
      Remove `Mutex` from `core-service` (#2961) · 23ea5d17
      Bastian Köcher authored
      * Remove `Mutex` from `core-service`
      
      * Fixes sync test
      23ea5d17
  2. Jun 26, 2019
    • Pierre Krieger's avatar
      Remove tokio dependencies (#2935) · 1b73b653
      Pierre Krieger authored
      * Remove dependencies on tokio
      
      * Make service not depend on tokio
      
      * Fix service tests
      
      * Manually poll the import queue if failed to start
      
      * Spawn all tasks at the end
      
      * Remove executor from TelemetryOnConnect
      
      * Remove TaskExecutor from offchain workers
      
      * Remove TaskExecutor from AuthoritySetup
      
      * Remove TaskExecutor from service
      
      * Remove tokio dependency from RPC
      
      * Remove finality-grandpa from WASM checks
      
      * Fix offchain tests
      
      * Line widths
      
      * Fix RPC tests
      
      * Fix service tests
      
      * Fix bad futures polling
      
      * Address some concerns
      
      * Better error handling
      
      * Is it the connectivity test that's not passing? I don't know, let's try
      
      * Revert "Is it the connectivity test that's not passing? I don't know, let's try"
      
      This reverts commit 28bbe51f0e2e4885fe1f901e11078604604cb212.
      
      * Fix test
      1b73b653
    • Stanislav Tkach's avatar
      Update codec version to the 4.1 version (#2948) · 443ad90b
      Stanislav Tkach authored
      * Update codec version to the 4.1 version
      
      * Bump impl_version
      
      * Update lock files
      
      * Update codec to 4.1.1 version
      
      * Bump impl version
      443ad90b
    • Jim Posen's avatar
      srml-contract: Fix Gas type to u64 (#2944) · 4c52aec2
      Jim Posen authored
      * srml-contract: Move gas costs from Config to Schedule.
      
      * srml-contract: Define Gas units fixed as u64.
      
      This removes Gas as a configurable type on the contracts Trait.
      
      * Bump node runtime spec/impl versions.
      4c52aec2
    • thiolliere's avatar
      Update parity-scale codec minor version (#2951) · 8b89c7ae
      thiolliere authored
      * update parity-scale codec minor version
      
      * update to 3.5.3
      
      * update locks
      
      * increase impl version
      
      * Update to 3.5.4
      
      * Update WASM lockfiles
      8b89c7ae
  3. Jun 25, 2019
  4. Jun 24, 2019
  5. Jun 21, 2019
  6. Jun 20, 2019
    • Sergey Pepyakin's avatar
      Ditch the input buffer (#2911) · 83d38815
      Sergey Pepyakin authored
      * Pass input data via the scratch buffer.
      
      Remove calls to ext_input_*.
      
      * Fix tests and docs
      
      * Bump the version.
      
      * Remove ext_input_* from COMPLEXITY.md
      
      * Return back the length check and add more comments
      
      * Update the documentation of the scratch buffer.
      
      * Fix a silly mistake.
      83d38815
  7. Jun 19, 2019
  8. Jun 18, 2019
  9. Jun 17, 2019
  10. Jun 15, 2019
  11. Jun 14, 2019
    • Gavin Wood's avatar
      New sessions, kill consensus module (#2802) · bda86418
      Gavin Wood authored
      
      
      * Draft of new sessions
      
      * Reintroduce tuple impls
      
      * Move staking module to new session API
      
      * More work on staking and grandpa.
      
      * Use iterator to avoid cloning and tuple macro
      
      * Make runtime build again
      
      * Polish the OpaqueKeys devex
      
      * Move consensus logic into system & aura.
      
      * Fix up system module
      
      * Get build mostly going. Stuck at service.rs
      
      * Building again
      
      * Update srml/staking/src/lib.rs
      
      Co-Authored-By: default avatarDemiMarie-parity <[email protected]>
      
      * Refactoring out Consensus module, AuthorityIdOf, &c.
      
      * Refactored out DigestItem::AuthoritiesChanged. Building.
      
      * Remove tentative code
      
      * Remove invalid comment
      
      * Make Seal opaque and introduce nice methods for handling opaque items.
      
      * Start to use proper digest for Aura authorities tracking.
      
      * Fix up grandpa, remove system::Raw/Log
      
      * Refactor Grandpa to use new logging infrastructure.
      
      Also make authorityid/sessionkey static. Switch over to storing
      authorities in a straight Vec.
      
      * Building again
      
      * Tidy up some AuthorityIds
      
      * Expunge most of the rest of the AuthorityKey confusion.
      
      Also, de-generify Babe and re-generify Aura.
      
      * Remove cruft
      
      * Untangle last of the `AuthorityId`s.
      
      * Sort out finality_tracker
      
      * Refactor median getting
      
      * Apply suggestions from code review
      
      Co-Authored-By: default avatarRobert Habermeier <[email protected]>
      
      * Session tests works
      
      * Update core/sr-primitives/src/generic/digest.rs
      
      Co-Authored-By: default avatarDemiMarie-parity <[email protected]>
      
      * Session tests works
      
      * Fix for staking from @dvc94ch
      
      * log an error
      
      * fix test runtime build
      
      * Some test fixes
      
      * Staking mock update to new session api.
      
      * Fix build.
      
      * Move OpaqueKeys to primitives.
      
      * Use on_initialize instead of check_rotate_session.
      
      * Update tests to new staking api.
      
      * fixup mock
      
      * Fix bond_extra_and_withdraw_unbonded_works.
      
      * Fix bond_with_little_staked_value_bounded_by_slot_stake.
      
      * Fix bond_with_no_staked_value.
      
      * Fix change_controller_works.
      
      * Fix less_than_needed_candidates_works.
      
      * Fix multi_era_reward_should_work.
      
      * Fix nominating_and_rewards_should_work.
      
      * Fix nominators_also_get_slashed.
      
      * Fix phragmen_large_scale_test.
      
      * Fix phragmen_poc_works.
      
      * Fix phragmen_score_should_be_accurate_on_large_stakes.
      
      * Fix phragmen_should_not_overflow.
      
      * Fix reward_destination_works.
      
      * Fix rewards_should_work.
      
      * Fix sessions_and_eras_should_work.
      
      * Fix slot_stake_is_least_staked_validator.
      
      * Fix too_many_unbond_calls_should_not_work.
      
      * Fix wrong_vote_is_null.
      
      * Fix runtime.
      
      * Fix wasm runtime build.
      
      * Update Cargo.lock
      
      * Fix warnings.
      
      * Fix grandpa tests.
      
      * Fix test-runtime build.
      
      * Fix template node build.
      
      * Fix stuff.
      
      * Update Cargo.lock to fix CI
      
      * Re-add missing AuRa logs
      
      Runtimes are required to know about every digest they receive ― they
      panic otherwise.  This re-adds support for AuRa pre-runtime digests.
      
      * Update core/consensus/babe/src/digest.rs
      
      Co-Authored-By: default avatarDemiMarie-parity <[email protected]>
      
      * Kill log trait and all that jazz.
      
      * Refactor staking tests.
      
      * Fix ci runtime wasm check.
      
      * Line length 120.
      
      * Make tests build again
      
      * Remove trailing commas in function declarations
      
      The `extern_functions!` macro doesn’t like them, perhaps due to a bug in
      rustc.
      
      * Fix type error
      
      * Fix compilation errors
      
      * Fix a test
      
      * Another couple of fixes
      
      * Fix another test
      
      * More test fixes
      
      * Another test fix
      
      * Bump runtime.
      
      * Wrap long line
      
      * Fix build, remove redundant code.
      
      * Issue to track TODO
      
      * Leave the benchmark code alone.
      
      * Fix missing `std::time::{Instant, Duration}`
      
      * Indentation
      
      * Aura ConsensusLog as enum
      bda86418
  12. Jun 13, 2019
    • 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
  13. Jun 12, 2019
  14. Jun 11, 2019
  15. 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
  16. Jun 06, 2019
  17. Jun 05, 2019
    • 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
    • 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
    • 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
  18. Jun 04, 2019