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) · 057636fd
      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
      057636fd
    • Tomasz Drwięga's avatar
      Fix a import+prune+replace case for multi-provides transactions. (#3939) · 06433c98
      Tomasz Drwięga authored
      * Fix a import+prune+replace case for multi-provides transactions.
      
      * Fix tests.
      06433c98
    • Nikolay Volf's avatar
      Basic extrinsic pool benchmarks (#3922) · 448ce2ad
      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
      448ce2ad
    • Kian Paimani's avatar
      RPC to query transaction fee + weight + info (#3876) · 7e87dfdc
      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
      7e87dfdc
    • Kian Paimani's avatar
      Updates to elections-phragmen and some runtime docs. (#3940) · 9b1dd268
      Kian Paimani authored
      * minor changes
      
      * Refactors for phragmen-election
      
      * Bump.
      
      * Fix genesis stuff
      
      * Fix rest of the errors
      9b1dd268
    • Pierre Krieger's avatar
      Too many addresses for a node is now a debug! rather than warn! (#3938) · fbe9cfad
      Pierre Krieger authored
      * Too many addresses for a node is now a debug! rather than warn!
      
      * I managed to fail this change
      fbe9cfad
    • Gavin Wood's avatar
      Tip payment is a different withdraw reason. (#3937) · ec7655cc
      Gavin Wood authored
      * Tip payment is a different withdraw reason.
      
      * Bump runtime version.
      
      * Test fix.
      
      * Fix lock type
      ec7655cc
    • Max Inden's avatar
      *: Disable authority discovery module (#3914) · e110cd7a
      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 027d8879 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 027d8879, leaving `core/authority-discovery`
      and `srml/authority-discovery` untouched.
      e110cd7a