Skip to content
  1. Mar 28, 2020
  2. Mar 27, 2020
  3. Mar 26, 2020
  4. Mar 25, 2020
    • Max Inden's avatar
      client/finality-grandpa/src/until_imported: Refactor BlockGlobalMessage (#5390) · e5dbd82c
      Max Inden authored
      
      
      * client/finality-grandpa/src/until_imported: Refactor BlockGlobalMessage
      
      `BlockGlobalMessage` owns an `inner` which contains (1) a count for the
      amount of outstanding blocks to be waited on and (2) the message itself.
      
      Given that both is already wrapped in an `Arc` there is no need to keep
      track of the outstanding blocks, given that it simply corresponds to the
      amount of strong reference counts on the `Arc` itself.
      
      This commit removes the atomic counter within `inner` and piggy backs on
      the `Arc` reference counter instead.
      
      * client/finality-grandpa/src/until_imported: Remove useless match
      
      * client/finality-grandpa/src/until_imported.rs: Remove unused var
      
      Co-Authored-By: default avatarAndré Silva <[email protected]>
      
      * client/finality-grandpa/src/until_imported: Address comment suggestion
      
      Co-authored-by: default avatarAndré Silva <[email protected]>
      e5dbd82c
    • Joshy Orndorff's avatar
      Remove package aliases from node template (#5389) · 7188e463
      Joshy Orndorff authored
      * delias outer node template
      
      * dealias pallet template
      
      * Fix mock
      
      * attempt to fix warning
      
      * Revert "attempt to fix warning"
      
      This reverts commit 3d39142b.
      
      * Add call to test interface.
      7188e463