• Svyatoslav Nikolsky's avatar
    Fix light client synchronization on master (#3301) · 20ae4875
    Svyatoslav Nikolsky authored
    * value ranges in consensus cache
    
    * skip values in cache
    
    * read epoch0 + epoch1 data from genesis in babe
    
    * sync authorities + session validators at genesis
    
    * removed some debug printlns
    
    * fixed cache encoding
    
    * Revert "skip values in cache"
    
    This reverts commit ce451c32.
    
    * Revert "value ranges in consensus cache"
    
    This reverts commit 9062f943
    
    .
    
    * get rid of cache::AUTHORITIES in Babe
    
    * cleaning up
    
    * cleaning up
    
    * update spec version
    
    * lost changes
    
    * fixed tests
    
    * Update node/runtime/src/lib.rs
    
    Co-Authored-By: default avatarDemiMarie-parity <[email protected]>
    
    * fix once-per-block condition
    
    * fix standalone babe + temp_storage in BuildGenesis
    
    * fix benhes compilation
    
    * fixed comment
    
    * re-added light nodes to integration tests
    
    * finalize_with_ancestors from extra_requests
    
    * post-merge fix
    
    * aaand removed debug code
    
    * (another one)
    
    * fix warn in logs (do not call ForkTree::finalize twice for the same block)
    
    * sync digest.next_authorities with actual next authorities
    
    * more docs
    
    * reverting all commits affecting storage
    
    * also remove keys from babe trait
    
    * fixed warnings
    
    * post-merge fixes
    
    * reverted some redundant changes
    
    * reverted more changes
    20ae4875