Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

BABE Epochs #3028

Merged
merged 128 commits into from
Jul 23, 2019
Merged

BABE Epochs #3028

merged 128 commits into from
Jul 23, 2019

Commits on Jul 4, 2019

  1. Configuration menu
    Copy the full SHA
    8e01c0a View commit details
    Browse the repository at this point in the history
  2. Add slot calculations

    Demi-Marie committed Jul 4, 2019
    Configuration menu
    Copy the full SHA
    5f45181 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2019

  1. Configuration menu
    Copy the full SHA
    93e9bbf View commit details
    Browse the repository at this point in the history
  2. Apply suggestions from code review

    Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com>
    Demi-Marie and bkchr committed Jul 5, 2019
    Configuration menu
    Copy the full SHA
    2a40e5c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d844317 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    92b4b5e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    527620e View commit details
    Browse the repository at this point in the history
  6. Bump spec_version

    Demi-Marie committed Jul 5, 2019
    Configuration menu
    Copy the full SHA
    a2bb5a3 View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2019

  1. Configuration menu
    Copy the full SHA
    49a094d View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2019

  1. Configuration menu
    Copy the full SHA
    d851119 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2019

  1. Configuration menu
    Copy the full SHA
    a250c8d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fb033dd View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2019

  1. Configuration menu
    Copy the full SHA
    1fce6b6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    92e1d43 View commit details
    Browse the repository at this point in the history
  3. Try to fix compilation

    Currently causes a stack overflow in the compiler
    Demi-Marie committed Jul 9, 2019
    Configuration menu
    Copy the full SHA
    696ad68 View commit details
    Browse the repository at this point in the history
  4. Fix rustc stack overflow

    bkchr committed Jul 9, 2019
    Configuration menu
    Copy the full SHA
    34db79b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c1b84ed View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    816f488 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    43132cb View commit details
    Browse the repository at this point in the history
  8. Clone epoch

    Demi-Marie committed Jul 9, 2019
    Configuration menu
    Copy the full SHA
    27d7070 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    2a99589 View commit details
    Browse the repository at this point in the history
  10. Implement clone for Epoch

    Demi-Marie committed Jul 9, 2019
    Configuration menu
    Copy the full SHA
    c859168 View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2019

  1. Configuration menu
    Copy the full SHA
    835de44 View commit details
    Browse the repository at this point in the history
  2. Merge master

    Demi-Marie committed Jul 10, 2019
    Configuration menu
    Copy the full SHA
    87efaaa View commit details
    Browse the repository at this point in the history
  3. AUTHORING TEST PASSES!!!

    Demi-Marie committed Jul 10, 2019
    Configuration menu
    Copy the full SHA
    9db6862 View commit details
    Browse the repository at this point in the history
  4. Fix compilation

    Demi-Marie committed Jul 10, 2019
    Configuration menu
    Copy the full SHA
    a0104cf View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    20a1070 View commit details
    Browse the repository at this point in the history
  6. Bump spec_version

    Demi-Marie committed Jul 10, 2019
    Configuration menu
    Copy the full SHA
    9f91a31 View commit details
    Browse the repository at this point in the history
  7. Fix compilation

    Demi-Marie committed Jul 10, 2019
    Configuration menu
    Copy the full SHA
    b3e3ba6 View commit details
    Browse the repository at this point in the history
  8. Fix compilation (again)

    Demi-Marie committed Jul 10, 2019
    Configuration menu
    Copy the full SHA
    5ceaf29 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    d7fb02d View commit details
    Browse the repository at this point in the history
  10. Remove an outdated FIXME

    Demi-Marie committed Jul 10, 2019
    Configuration menu
    Copy the full SHA
    45c0303 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2019

  1. Configuration menu
    Copy the full SHA
    028ce81 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    05b215e View commit details
    Browse the repository at this point in the history
  3. Delete commented-out code

    Demi-Marie committed Jul 11, 2019
    Configuration menu
    Copy the full SHA
    8d8cd43 View commit details
    Browse the repository at this point in the history
  4. Fix documentation

    Co-Authored-By: André Silva <andre.beat@gmail.com>
    Demi-Marie and andresilva committed Jul 11, 2019
    Configuration menu
    Copy the full SHA
    0e84df8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f2d7779 View commit details
    Browse the repository at this point in the history
  6. Respond to review

    Demi-Marie committed Jul 11, 2019
    Configuration menu
    Copy the full SHA
    ad8eccb View commit details
    Browse the repository at this point in the history
  7. typo

    Demi-Marie committed Jul 11, 2019
    Configuration menu
    Copy the full SHA
    6f3a52b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    7e5c15e View commit details
    Browse the repository at this point in the history
  9. Remove slot_number from Epoch

    It is not needed, and only served to waste space and cause confusion.
    Demi-Marie committed Jul 11, 2019
    Configuration menu
    Copy the full SHA
    c17b020 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    260c968 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    9f327f3 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    0b0a6a2 View commit details
    Browse the repository at this point in the history
  13. Fix compile error

    Demi-Marie committed Jul 11, 2019
    Configuration menu
    Copy the full SHA
    6b3d7b2 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    6978cfc View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    44c865f View commit details
    Browse the repository at this point in the history
  16. More compiler error fixex

    Demi-Marie committed Jul 11, 2019
    Configuration menu
    Copy the full SHA
    a0213a7 View commit details
    Browse the repository at this point in the history
  17. Unbound variable

    Demi-Marie committed Jul 11, 2019
    Configuration menu
    Copy the full SHA
    5e8363a View commit details
    Browse the repository at this point in the history
  18. more compile errors

    Demi-Marie committed Jul 11, 2019
    Configuration menu
    Copy the full SHA
    709ba89 View commit details
    Browse the repository at this point in the history
  19. another compile error

    Demi-Marie committed Jul 11, 2019
    Configuration menu
    Copy the full SHA
    f34a715 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    557de53 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2019

  1. another compile error

    Demi-Marie committed Jul 12, 2019
    Configuration menu
    Copy the full SHA
    1987bfa View commit details
    Browse the repository at this point in the history
  2. Another compile error

    Demi-Marie committed Jul 12, 2019
    Configuration menu
    Copy the full SHA
    af63e26 View commit details
    Browse the repository at this point in the history
  3. Fix wasm build

    Demi-Marie committed Jul 12, 2019
    Configuration menu
    Copy the full SHA
    e7e0b8f View commit details
    Browse the repository at this point in the history
  4. missing import

    Demi-Marie committed Jul 12, 2019
    Configuration menu
    Copy the full SHA
    ba11417 View commit details
    Browse the repository at this point in the history
  5. Fix more compile errors

    Demi-Marie committed Jul 12, 2019
    Configuration menu
    Copy the full SHA
    b2564cd View commit details
    Browse the repository at this point in the history
  6. yet another compile error

    Demi-Marie committed Jul 12, 2019
    Configuration menu
    Copy the full SHA
    6b8f277 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5087d09 View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2019

  1. Fix and simplify the BABE runtime

    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.
    Demi-Marie committed Jul 13, 2019
    Configuration menu
    Copy the full SHA
    141a341 View commit details
    Browse the repository at this point in the history
  2. Use system to get the test authorities

    The genesis block used by tests defines no authorities.  Only the test
    suite is affected.
    Demi-Marie committed Jul 13, 2019
    Configuration menu
    Copy the full SHA
    67838be View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8e5ac5c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c2483d1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a6746a0 View commit details
    Browse the repository at this point in the history
  6. Fix compilation

    Demi-Marie committed Jul 13, 2019
    Configuration menu
    Copy the full SHA
    a3e3309 View commit details
    Browse the repository at this point in the history
  7. Cached authorities are in the form of an epoch

    not a `Vec<AuthorityId>`.
    Demi-Marie committed Jul 13, 2019
    Configuration menu
    Copy the full SHA
    9fab8e6 View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2019

  1. slots_per_epoch is not fixed in general

    The BABE code previously assumed `slots_per_epoch` to be a constant,
    but that assumption is false in general.  Furthermore, removing this
    assumption also allows a lot of code to go away.
    Demi-Marie committed Jul 15, 2019
    Configuration menu
    Copy the full SHA
    dc06615 View commit details
    Browse the repository at this point in the history
  2. fix compile error

    Demi-Marie committed Jul 15, 2019
    Configuration menu
    Copy the full SHA
    2d71676 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    078c30f View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2019

  1. Implement epoch checker

    Demi-Marie committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    3f53747 View commit details
    Browse the repository at this point in the history
  2. Fix runtime compilation

    Demi-Marie committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    0ddf0c4 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2019

  1. Configuration menu
    Copy the full SHA
    f4f6157 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f8c20f8 View commit details
    Browse the repository at this point in the history
  3. 3 Configuration menu
    Copy the full SHA
    548dafc View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ca21779 View commit details
    Browse the repository at this point in the history
  5. Merge remote-tracking branch 'origin/andre/validate-epoch-transitions…

    …' into demi-sign-epoch-randomness
    Demi-Marie committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    49c9f6d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b34b1aa View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2019

  1. Expose the queued validator set to SRML modules

    BABE needs to know not only what the current validator set is, but also
    what the next validator set will be.  Expose this to clients of the
    session module.
    Demi-Marie committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    ad3db4f View commit details
    Browse the repository at this point in the history
  2. Bump hex-literal

    Hopefully this will fix the panic
    Demi-Marie committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    5e93ed0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    11a9cbf View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f2369be View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    843b0a0 View commit details
    Browse the repository at this point in the history
  6. Fix compile error in tests

    Demi-Marie committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    62a1558 View commit details
    Browse the repository at this point in the history
  7. Fix compile error in tests

    Demi-Marie committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    ba3b73c View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    9da2be3 View commit details
    Browse the repository at this point in the history
  9. Fix compilation of tests

    Demi-Marie committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    ae05a4b View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    b36ce84 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    b6e1433 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    c9490b7 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    f8933ca View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    5411f10 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    9e3533f View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2019

  1. Initial part of test code

    Demi-Marie committed Jul 19, 2019
    Configuration menu
    Copy the full SHA
    64444e2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9f9a7e5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    133ae59 View commit details
    Browse the repository at this point in the history
  4. bump spec_version

    Demi-Marie committed Jul 19, 2019
    Configuration menu
    Copy the full SHA
    22f67cb View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e415249 View commit details
    Browse the repository at this point in the history
  6. Run the tests again

    Demi-Marie committed Jul 19, 2019
    Configuration menu
    Copy the full SHA
    122fc7d View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2019

  1. Configuration menu
    Copy the full SHA
    bc4780e View commit details
    Browse the repository at this point in the history
  2. Fix compiler diagnostics

    Demi-Marie committed Jul 21, 2019
    Configuration menu
    Copy the full SHA
    ecbdad1 View commit details
    Browse the repository at this point in the history
  3. Bump spec_version

    Demi-Marie committed Jul 21, 2019
    Configuration menu
    Copy the full SHA
    d7bc7f6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2f1b26f View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2019

  1. Configuration menu
    Copy the full SHA
    88b6ef1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d7352a4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bbd4e53 View commit details
    Browse the repository at this point in the history
  4. babe: fix logging target

    andresilva committed Jul 22, 2019
    Configuration menu
    Copy the full SHA
    0caa5eb View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9268546 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    0a0b219 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d6b823d View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    a880626 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    296f30b View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    ac256c4 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    56c9661 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    b786d51 View commit details
    Browse the repository at this point in the history
  13. cleanup gitignore

    andresilva committed Jul 22, 2019
    Configuration menu
    Copy the full SHA
    39ec92e View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    44a5b8f View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    9484a48 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    dd4dcd1 View commit details
    Browse the repository at this point in the history
  17. fork-tree: docs

    andresilva committed Jul 22, 2019
    Configuration menu
    Copy the full SHA
    bba81f7 View commit details
    Browse the repository at this point in the history
  18. fork-tree: add tests

    andresilva committed Jul 22, 2019
    Configuration menu
    Copy the full SHA
    6d50604 View commit details
    Browse the repository at this point in the history
  19. babe: style

    andresilva committed Jul 22, 2019
    Configuration menu
    Copy the full SHA
    c7dd556 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    e3f0c8e View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    fb09ef0 View commit details
    Browse the repository at this point in the history
  22. babe: style fixes

    andresilva committed Jul 22, 2019
    Configuration menu
    Copy the full SHA
    2017cd4 View commit details
    Browse the repository at this point in the history
  23. babe: add docs

    andresilva committed Jul 22, 2019
    Configuration menu
    Copy the full SHA
    5eec764 View commit details
    Browse the repository at this point in the history
  24. babe: fix tests

    andresilva committed Jul 22, 2019
    Configuration menu
    Copy the full SHA
    0cb53cc View commit details
    Browse the repository at this point in the history
  25. node: bump spec_version

    andresilva committed Jul 22, 2019
    Configuration menu
    Copy the full SHA
    a7a5d86 View commit details
    Browse the repository at this point in the history
  26. babe: fix tests

    andresilva committed Jul 22, 2019
    Configuration menu
    Copy the full SHA
    0a2599a View commit details
    Browse the repository at this point in the history