Skip to content
Snippets Groups Projects
  1. Jun 15, 2020
  2. Jun 14, 2020
  3. Jun 12, 2020
    • André Silva's avatar
      client: use appropriate ExecutionContext for initial sync / regular import (#6180) · 2b59d57c
      André Silva authored
      * client: use appropriate ExecutionContext for sync/import
      
      * client: remove dead code
      
      * client: ExecutionContext: distinguish between own and foreign imports
      
      * client: fix cli parameter doc
      
      * Revert "client: ExecutionContext: distinguish between own and foreign imports"
      
      This reverts commit 0fac11520704c364a82432c5b927e987ba043cdb.
      
      * primitives: add docs for ExecutionContext
      
      * cli: execution strategy docs
      
      * cli: use different execution context for importing block on validator
      
      * cli: remove defaults from execution context flags
      2b59d57c
  4. Jun 11, 2020
  5. Jun 10, 2020
  6. Jun 09, 2020
  7. Jun 08, 2020
  8. Jun 06, 2020
    • Ashley's avatar
      Fix the metered unbounded sender/recievers (#6246) · 84cdb029
      Ashley authored
      
      * Fix the metered unbounded sender/recievers
      
      * Use a counter instead
      
      * Update client/rpc/src/system/tests.rs
      
      * Add an is_terminated check
      
      * Add FusedStream impl
      
      Co-authored-by: default avatarBastian Köcher <bkchr@users.noreply.github.com>
      84cdb029
    • Marcio Diaz's avatar
      Enable fixed point u128 (#6214) · 7c051caa
      Marcio Diaz authored
      * Add fixed u128.
      
      * remove move
      
      * Change sat_from_integer impl.
      
      * checked_pow is always positive
      
      * Revert.
      
      * rename fixed file
      
      * Rename to FixedI
      
      * rename fixed file
      
      * Add newline.
      
      * Use Multiplier in impls.
      
      * Renames negate() to saturating_negate().
      
      * Uncomment test.
      
      * Add Signed to macro.
      
      * Add some tests for Saturating trait.
      7c051caa
  9. Jun 05, 2020
  10. Jun 04, 2020
  11. Jun 02, 2020
  12. Jun 01, 2020
  13. May 29, 2020
  14. May 28, 2020
    • Bastian Köcher's avatar
      Wasm-builder `runtime-wasm` feature (#6177) · c9cc46de
      Bastian Köcher authored
      * Enable the `runtime-wasm` for wasm builds
      
      This enables the `runtime-wasm` feature for wasm builds. The feature is
      not mandatory and will only be activated if it exists in the
      `Cargo.toml`.
      
      * Fix compilation
      
      * Update docs
      
      * Uprgade version
      
      * Apply suggestions from code review
      c9cc46de
    • Alexander Theißen's avatar
      Make post dispatch fee consistent with a direct calculation (#6165) · c672cce4
      Alexander Theißen authored
      * Make post dispatch fee consistent with a direct calculation
      
      * Remove unnecessary `saturated_into` calls
      
      * Add test with negative multipliers
      
      * Added regression test
      
      * Test improvements
      c672cce4
    • Bernhard Schuster's avatar
      offchain storage lock (#6010) · 95d73994
      Bernhard Schuster authored
      
      * feat/offchain/storage: add remove interface method
      
      * feat/offchain/storeage: add remote to StorageValueRef
      
      * feat/offchain/storage: add storage lock
      
      * fix/review: Apply suggestions from code review
      
      Co-authored-by: default avatarTomasz Drwięga <tomusdrw@users.noreply.github.com>
      Co-authored-by: default avatarPeter Goodspeed-Niklaus <coriolinus@users.noreply.github.com>
      
      * refactor/offchain/storage/lock: introduce `Lockable` trait part 1 of 2
      
      * chore/offchain/rename: _remove -> clean
      
      * feat/offchain/storage/lock: add TimeAndBlock based part 2 of 2
      
      * fix/offchain/storage/lock: block and time expiry must be && not ||
      
      * chore/offchain/storage: minor fmt doc comments
      
      * doc/comment: prefer markdown emphasis over CAPS
      
      * doc/comment: rewrap multiline module level docs
      
      * doc/comment: rephrase
      
      * impl sleep_until and use the actual time for the test env
      
      * feat/test: add more tests, ignore some sample impl doctests
      
      * fix/review: Apply suggestions from code review
      
      Co-authored-by: default avatarNikolay Volf <nikvolf@gmail.com>
      
      * doc/comment: better description
      
      * fix/review: Apply suggestions from code review
      
      Co-authored-by: default avatarNikolay Volf <nikvolf@gmail.com>
      
      * chore/storage: lifetime cleanup
      
      * fix/cleanup: trait bounds, cargo-spellcheck + extra explanations
      
      * fix/doc: periods +-
      
      * fix/review: Apply suggestions from code review
      
      Co-authored-by: default avatarTomasz Drwięga <tomusdrw@users.noreply.github.com>
      
      * cleanup: remove explicit lifetime bound, copy -> clone
      
      * fix/review: make trait Lockable contain only static, try_lock should not return Err(Option<L>),
      
      * chore/lifetimes: remove a couple of lifetime bounds which the compiler can figure out
      
      * refactor: migrate to an instant based
      
      * fix/feedback: fix, reduce, rename, docs update pending
      
      * docs/reword: adjust to changed code
      
      * fix/offchain/testing: timestamp and sleep_until shall not block
      
      * chore/lines: lines must < 100 chars
      
      * fix/docs: add missing pub field doc comments
      
      * refactor/x: try_lock does not need to return an Option<_>
      
      * refactor/simplify: a better way of waiting for a lock to resolve
      
      * docs: consistency
      
      * fix/line: < 100
      
      * fix/doctest/use: avoid crate::
      
      * fix/doctest: *
      
      * fix/review: remove unused trait bound
      
      * fix/review: pretty by const fn
      
      * fix/review: reduce default timeout to 20s
      
      * docs: grammar
      
      * fix/review: add with_block_deadline
      
      * doc: revamp BlockNumberProvider documentation to be less frame centric
      
      * chore: fmt
      
      * docs: add missing doc comment
      
      Co-authored-by: default avatarBernhard Schuster <bernhard@parity.io>
      Co-authored-by: default avatarTomasz Drwięga <tomusdrw@users.noreply.github.com>
      Co-authored-by: default avatarPeter Goodspeed-Niklaus <coriolinus@users.noreply.github.com>
      Co-authored-by: default avatarNikolay Volf <nikvolf@gmail.com>
      95d73994
  15. May 27, 2020
  16. May 26, 2020
  17. May 25, 2020
  18. May 23, 2020
  19. May 21, 2020
  20. May 20, 2020
    • Alexander Theißen's avatar
      Refactor OverlayedChanges (#5989) · 7a5bdb89
      Alexander Theißen authored
      * Hide internal structure of OverlayChanges
      
      * Fix tests for OverlayChanges refactor
      
      * Do not clone pending changes
      
      Discarding prospective changes should be equivalent as a state machine
      is not to be called with peding changes.
      
      This will be replaced by a storage transaction that is rolled back before
      executing the call the second time removing this constraint.
      
      * Doc fixes
      
      * Remove overlong line
      
      * Revert "Do not clone pending changes"
      
      This reverts commit 4799491f4ac16f8517287a0fcf4a3f84ad56f46e.
      
      * Deduplicate chield tries returned from child_infos()
      
      * Remove redundant type annotation
      
      * Avoid changing the storage root in tests
      
      * Preserve extrinsic indices in trie build test
      
      * Swap order of comitted and prospective in fn child_infos
      
      This is only for consistency and does not impact the result.
      
      * Rename set_pending to replace_pending for clearity
      7a5bdb89