Skip to content
  1. Apr 10, 2024
    • Hernando Castano's avatar
      Use GrandpaJustification instead of Vec<u8> in Pallet API (#847) · 67cdca8a
      Hernando Castano authored and Bastian Köcher's avatar Bastian Köcher committed
      * Stop passing raw encoded justifications to pallet API
      
      By having the API accept a struct-ified justification we are able to
      better utilize the justifications fields for weight calculations.
      
      * Update relayer code to use decoded justifications
      
      * Add justification to `expect()` statement
      
      * Fix some imports
      
      * Make justification wrapper contain decoded justification
      
      * Rename some fields
      
      * Get rid of warnings
      
      * Appease Clippy
      
      * Only decode justification once at init time
      
      * Remove unnecessary method
      
      * Remove justification wrapper
      
      This became kinda unnecessary since we could implement the FinalityProof
      trait on GrandpaJustification directly.
      67cdca8a
    • Svyatoslav Nikolsky's avatar
      Changed how relay loops are started (#840) · a17c7eb8
      Svyatoslav Nikolsky authored and Bastian Köcher's avatar Bastian Köcher committed
      * slightly changed relay loop initialization
      
      * git mv
      
      * clippy
      
      * more clippy
      
      * loop_run -> run_loop
      
      * review and clippy
      
      * clippy
      a17c7eb8
    • Tomasz Drwięga's avatar
      Flatten back the structure (#837) · acb872fb
      Tomasz Drwięga authored and Bastian Köcher's avatar Bastian Köcher committed
      * Remove chains.
      
      * Move relay clients.
      
      * Flatten generic.
      
      * Fix fmt.
      acb872fb