Skip to content
  1. Nov 01, 2019
  2. Oct 31, 2019
  3. Oct 30, 2019
  4. Oct 29, 2019
  5. Oct 28, 2019
    • Bastian Köcher's avatar
      Remove footgun around session keys/handlers (#3949) · 43961e85
      Bastian Köcher authored
      * Remove footgun around session keys/handlers
      
      - `OpaqueKeys` now has an associated type `KeyTypeIdProviders`. This can
      be used in the runtime as input for `SessionHandler` from the session
      trait.
      - `impl_opaque_keys` now works with modules and extracts the `KeyTypeId`
      from the module directly.
      - Added some checks to the `session` storage initialization that checks
      that the `SessionHandler` and `Keys` use the same number of keys and
      that the order is equal.
      
      * Update core/sr-primitives/src/traits.rs
      43961e85
    • Tomasz Drwięga's avatar
      Fix a import+prune+replace case for multi-provides transactions. (#3939) · 7389b73f
      Tomasz Drwięga authored
      * Fix a import+prune+replace case for multi-provides transactions.
      
      * Fix tests.
      7389b73f
    • Nikolay Volf's avatar
      Basic extrinsic pool benchmarks (#3922) · 30faeef4
      Nikolay Volf authored
      * Working bench for 50 sequental
      
      * configured benches
      
      * fix warnings
      
      * Optimize and fix issues
      
      * add preamble
      
      * Fix benchmarks.
      
      * fix compilation
      
      * remove unneeded features for now
      30faeef4
    • Kian Paimani's avatar
      RPC to query transaction fee + weight + info (#3876) · 4f6f830a
      Kian Paimani authored
      * initial version for testing
      
      * New version that compiles
      
      * optional at block parameter
      
      * Fix some more view grumbles.
      
      * Update srml/transaction-payment/src/lib.rs
      4f6f830a
    • Kian Paimani's avatar
      Updates to elections-phragmen and some runtime docs. (#3940) · 33e56523
      Kian Paimani authored
      * minor changes
      
      * Refactors for phragmen-election
      
      * Bump.
      
      * Fix genesis stuff
      
      * Fix rest of the errors
      33e56523
    • Pierre Krieger's avatar
      Too many addresses for a node is now a debug! rather than warn! (#3938) · 2ceb89e8
      Pierre Krieger authored
      * Too many addresses for a node is now a debug! rather than warn!
      
      * I managed to fail this change
      2ceb89e8
    • Gavin Wood's avatar
      Tip payment is a different withdraw reason. (#3937) · 0e3001a1
      Gavin Wood authored
      * Tip payment is a different withdraw reason.
      
      * Bump runtime version.
      
      * Test fix.
      
      * Fix lock type
      0e3001a1
    • Max Inden's avatar
      *: Disable authority discovery module (#3914) · 5c505d19
      Max Inden authored
      The authority discovery module enables authorities to be discoverable
      and discover other authorities to improve interconnection among them. In
      order to achieve this the module needs to know when the authority set
      changes, thus when a session changes.
      
      One has to register a module as a *session handler* in order for it to
      be notified of changing sessions. The order and number of these *session
      handlers* **MUST** correspond to the order and number of the *session
      keys*.
      
      Commit 7fc21cea added the authority discovery to the `SessionHandlers`.
      Given that the authority discovery module piggybacks on the Babe session
      keys the commit violated the above constraint.
      
      This commit reverts most of 7fc21cea, leaving `core/authority-discovery`
      and `srml/authority-discovery` untouched.
      5c505d19