• Tomasz Drwięga's avatar
    Fix tracking validator set in ImOnline (#3596) · 1a59e8ce
    Tomasz Drwięga authored
    
    
    * Use session::validators instead of staking::current_elected
    
    * Basic test framework.
    
    * Initialize validators, attempt to heartbeat.
    
    * Use dummy crypto for im-online testing.
    
    * Remove printlns.
    
    * Finish test, make it invalid.
    
    * Add reporting test.
    
    * Finalize the test.
    
    * Remove dumbness.
    
    * Updates.
    
    * Update AuRa
    
    * Update srml/im-online/src/tests.rs
    
    Co-Authored-By: default avatarBastian Köcher <[email protected]>
    
    * Derive Ord
    
    * Add some more tests.
    
    * Remove stray todo.
    
    * Bump runtime version.
    
    * Bump impl-trait-for-tuples.
    
    * Enforce new version of trait-for-tuples.
    1a59e8ce