Skip to content
  • Bernhard Schuster's avatar
    [runtime] follow up relay chain cleanups (#4657) · b7a05fd4
    Bernhard Schuster authored
    
    
    * fix miscalculation of remaining weight
    
    * rename a var
    
    * move out enforcing filtering by dropping inherents
    
    * prepare for dispute statement validity check being split off
    
    * refactor
    
    * refactor, only check disputes we actually want to include
    
    * more refactor and documentation
    
    * refactor and minimize inherent checks
    
    * chore: warnings
    
    * fix a few tests
    
    * fix dedup regression
    
    * fix
    
    * more asserts in tests
    
    * remove some asserts
    
    * chore: fmt
    
    * skip signatures checks, some more
    
    * undo unwatend changes
    
    * Update runtime/parachains/src/paras_inherent/mod.rs
    
    Co-authored-by: default avatarsandreim <[email protected]>
    
    * cleanups, checking CheckedDisputeStatments makes no sense
    
    * integrity, if called create_inherent_inner, it shall do the checks, and not rely on enter_inner
    
    * review comments
    
    * use from impl rather than into
    
    * remove outdated comment
    
    * adjust tests accordingly
    
    * assure no weight is lost
    
    * address review comments
    
    * remove unused import
    
    * split error into two and document
    
    * use assurance, O(n)
    
    * Revert "adjust tests accordingly"
    
    This reverts commit 3cc9a3c449f82db38cea22c48f4a21876603374b.
    
    * fix comment
    
    * fix sorting
    
    * comment
    
    Co-authored-by: default avatarsandreim <[email protected]>
    b7a05fd4