Skip to content
  1. Jun 17, 2020
  2. Jun 16, 2020
  3. Jun 15, 2020
  4. Jun 14, 2020
  5. Jun 13, 2020
  6. Jun 12, 2020
    • joe petrowski's avatar
      Add events for balance reserve and unreserve functions (#6330) · 252416d3
      joe petrowski authored
      
      
      * almost works
      
      * add clone to BalanceStatus
      
      * reserve event
      
      * fix staking tests
      
      * fix balances tests
      
      * Update frame/balances/src/tests.rs
      
      Co-authored-by: default avatarKian Paimani <[email protected]>
      
      * restore tests and move event emission
      
      * move repatriate reserved event outside of mutate_account
      
      * clean up events in tests
      
      Co-authored-by: default avatarKian Paimani <[email protected]>
      252416d3
    • Alexander Theißen's avatar
      Deprecate FunctionOf and remove its users (#6340) · 7d3f1fe6
      Alexander Theißen authored
      * Deprecate FunctionOf and remove users
      
      * Remove unused import
      7d3f1fe6
    • Bastian Köcher's avatar
      Fix transaction pool event sending (#6341) · 56e2cec0
      Bastian Köcher authored
      This pr fixes a bug with the transaction pool not sending certain events
      like finalized and also fixes the order of events. The problem with the
      finalized event was that we did not extracted pruned extrinsics if there
      were not ready transactions in the pool. However this is wrong, if we
      have a re-org, a tx is clearly not ready anymore and we still need to
      send a pruned event for it because it is in a new block included. This
      also lead to sending "ready" events and tx being re-validated. The
      listener also only send the "finalized" event if it has seen a block as
      being included, which did not happen before with the old code.
      
      The second fix of the pr is the order of events. If we prune and retract the
      same transaction in the same block, we first need to send the "retract"
      event and after that the "pruned" event, because finalization takes
      longer and this would lead to the UI showing "retract" while it actually
      is included.
      56e2cec0
    • 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
    • Alexander Theißen's avatar
      Fix check-line-width CI script (#6326) · 50604fb4
      Alexander Theißen authored
      * Compare lines to the hash that the PR branched off from
      
      * Use git merge-base to determine common ancestor
      
      * Fixup
      50604fb4
    • Dan Forbes's avatar
      Basic documentation for Scheduler pallet (#6338) · 9eb6da5c
      Dan Forbes authored
      Closes #5912
      9eb6da5c
  7. Jun 11, 2020
  8. Jun 10, 2020