Skip to content
  • Sergey Pepyakin's avatar
    Add relay storage root to persisted validation data (#2161) · a864eaa0
    Sergey Pepyakin authored
    * Cont.: Implement the state root obtaining during inclusion
    
    During inclusion now we obtain the storage root by passing it through
    the inclusion_inherent.
    
    * Fix tests
    
    * Bump rococo spec version
    
    * Reorder the parent header into the end
    
    of the inclusion inherent.
    
    When the parent header is in the beginning, it shifts the other two
    fields, so that a previous version won't be able to decode that. If
    we put the parent header in the end, the other two fields will stay
    at their positions, thus make it possible to decode with the previous
    version.
    
    That allows us to perform upgrade of rococo runtime without needing of
    simultanuous upgrade of nodes and runtime, or restart of the network.
    
    * Squash a stray tab
    a864eaa0