Skip to content
  1. Jul 13, 2019
    • Demi M. Obenour's avatar
      Use `system` to get the test authorities · 67838be3
      Demi M. Obenour authored
      The genesis block used by tests defines no authorities.  Only the test
      suite is affected.
      67838be3
    • Demi M. Obenour's avatar
      Fix and simplify the BABE runtime · 141a3412
      Demi M. Obenour authored
      The BABE runtime was massively overcomplicated and also wrong.  It
      assumed it needed to:
      
      1. delay new authorities taking effect until the next epoch
      2. not delay emitting `Consensus` digests to mark epoch changes
      
      However, the first is handled by the `srml_session` crate, and the
      second is flat-out incorrect: `Consensus` digests take effect
      immediately.  Furthermore, `srml_babe` tried to duplicate the
      functionality of `srml_session::PeriodicSession`, but did it both
      clumsily and incorrectly.  Fortunately, the new code is simpler and far
      more likely to be correct.
      141a3412
  2. Jul 12, 2019
  3. Jul 11, 2019
  4. Jul 10, 2019