Skip to content
  1. Aug 16, 2023
    • Serban Iorga's avatar
      Add equivocation detector crate and implement clients (#2348) (#2353) · 620db2b1
      Serban Iorga authored
      * Split FinalitySyncPipeline and SourceClient
      
      * Move some logic to finality_base
      
      * Add empty equivocation detection clients
      
      * Add equivocation reporting logic to the source client
      
      * Use convenience trait for SubstrateFinalitySyncPipeline
      
      * Define JustificationVerificationContext for GRANDPA
      
      * Equivocation source client: finality_verification_context()
      
      * Equivocation source client: synced_headers_finality_info()
      
      * reuse HeaderFinalityInfo
      
      * Define EquivocationsFinder
      
      * Fix spellcheck
      
      * Address review comments
      
      * Avoid equivocations lookup errors
      620db2b1
  2. Oct 28, 2022
  3. Feb 24, 2022
  4. Nov 16, 2021
    • Adrian Catangiu's avatar
      Remove unused `relays/headers` (#1216) · 39140d0b
      Adrian Catangiu authored
      
      
      * Decouple `relays/client-substrate` from `headers_relay`
      * Remove `blocks_in_state` from `SyncLoopMetrics`
          This metric was only relevant for PoA <> Substrate bridge.
      * Move `sync_loop_metrics.rs` to `relays/finality`
      * Remove unused `SyncLoopMetrics::update()`
      * Hook up SyncLoopMetrics to finality_loop
      * Delete now unused `relays/headers`
      
      Signed-off-by: default avataracatangiu <[email protected]>
      39140d0b
  5. Sep 24, 2021
  6. Apr 22, 2021
  7. Apr 06, 2021
  8. Apr 01, 2021
    • Hernando Castano's avatar
      Use GrandpaJustification instead of Vec<u8> in Pallet API (#847) · ca98d090
      Hernando Castano authored
      * 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.
      ca98d090
  9. Mar 23, 2021
  10. Mar 12, 2021
  11. Mar 11, 2021
  12. Mar 08, 2021